Unlocking the black box of AI reasoning

 

Connecting state and local government leaders

Research with generative adversarial networks may explain how neural networks learn and make decisions.

While artificial intelligence has proved effective at many tasks critical to government -- such as protecting power grids against hacking -- some agencies have been reluctant to employ AI tools because their inner workings are unintelligible to humans.  How can a solution be trusted if nobody knows how it works?

MORE INFO

The dangers of 'deep fakes'

With advanced technologies like artificial intelligence and machine learning, manipulated digital media will be easier to create and more difficult to detect. Read more.

David Bau, a Ph.D. student at the Massachusetts Institute of Technology, thinks generative adversarial networks may help show how AI algorithms reach their conclusions. Bau and others are testing GANs not only as tools for performing tasks, such as pattern recognition, but for examining how neural networks made decisions.

GANs -- which gained recent notoriety for being used to create the first AI painting sold at auction and, more disturbingly, for superimposing the faces of celebrities on porn stars in videos -- work differently than other AI algorithms, according to Bau. 

“Most neural network training is done is as a one-player game, where we set up … rules and the network learns to beat the game,” Bau said. Training a GAN uses a two-player game model in which the goal is for the GAN to achieve better results than a neural network adversary in generating accurate images, he said.

“Under normal training we would train a neural network to mimic the human behavior,” Bau said.  In this case, we “show a neural network a huge number of images, completely unlabeled by a person.”  It’s up to the GAN to find any discernable structures in the images -- airplanes, cars, gates, trees -- without cues from humans. 

Bau said there are only two ways an algorithm can accomplish the task.  One is to memorize the pixel-by-pixel characteristics of images and then compare those images to freshly provided images.  The other strategy, he said, is one that humans use --specifically, a compositional strategy, analyzing and image and breaking it into its parts. 

To see how the GAN made its choices, the team cracked it open partway through a job, Bau said.  “We stopped the computation halfway through, and we looked at the internal variables that the GAN produced.”

The researchers looked for signs that certain patterns of numbers being processed by the GAN correlated with structured data in the image.  Did one sequence of numbers represent the concept “tree”?

Conceding that analyzing the processing of GAN would bring even veteran programmers to their knees, Bau said that the team used a different neural network to look for patterns and correlations in the GAN’s process.

And the team found that, indeed, the GAN had isolatable number sequences, which researchers dubbed “neurons,” that corresponded to objects in images.  “We found that this neural network has neurons that correspond to trees, other ones that correspond the doors, other ones that correspond to rooftops,” Bau said.  “The correlations are high enough that it is really suggestive that the network is breaking down the images in terms of objects that humans would call compositional, things that make up the scene.”

The team then tested that finding by erasing selected neurons and then running the GAN again.  Sure enough, when they erased the algorithm’s neurons that correlated with “tree” the image eventually generated by the GAN was missing trees.

Perhaps even more surprising, “when we get rid of the trees, the neural network keeps on painting a reasonable picture,” Bau said.  “It doesn't just draw blotches all over the place. Instead of the tree it will draw the building that was behind the tree.”

The researchers' paper is posted online and includes an interactive photo manipulation app that demonstrates this kind of object-level control. Each brush stroke activates a set of neurons in a GAN that has learned to draw scenes.

 In short, the algorithm seems to be learning how to capture the real structure of the world without human intervention.  “That’s one of the holy grails of machine learning,” Bau said.

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.