Showing posts with label AI. Show all posts
Showing posts with label AI. Show all posts

Saturday, 2 January 2016

Machines that learn like people

Machines that learn like people. Algorithms could learn to recognize objects from a few examples, not millions; may better model human cognition.


Machines that learn, Machines , Algorithms , Object-recognition,


Scientia — Object-recognition systems are beginning to get pretty good — and in the case of Facebook’s face-recognition algorithms, frighteningly good.


But object-recognition systems are typically trained on millions of visual examples, which is a far cry from how humans learn. Show a human two or three pictures of an object, and he or she can usually identify new instances of it.


Four years ago, Tomaso Poggio’s group at MIT’s McGovern Institute for Brain Research began developing a new computational model of visual representation, intended to reflect what the brain actually does. And in a forthcoming issue of the journal Theoretical Computer Science, the researchers prove that a machine-learning system based on their model could indeed make highly reliable object discriminations on the basis of just a few examples.





In both that paper and another that appeared in October in PLOS Computational Biology, they also show that aspects of their model accord well with empirical evidence about how the brain works.


“If I am given an image of your face from a certain distance, and then the next time I see you, I see you from a different distance, the image is quite different, and simple ways to match it don’t work,” says Poggio, the Eugene McDermott Professor in the Brain Sciences in MIT’s Department of Brain and Cognitive Sciences. “In order solve this, you either need a lot of examples — I need to see your face not only in one position but in all possible positions — or you need an invariant representation of an object.”


An invariant representation of an object is one that’s immune to differences such as size, location, and rotation within the plane. Computer vision researchers have proposed several techniques for invariant object representation, but Poggio’s group had the further challenge of finding an invariant representation that was consistent with what we know about the brain’s machinery.


What nerves compute

Nerve cells, or neurons, are long, thin cells with branching ends. In the cerebral cortex, which is where visual processing happens, each neuron has about 10,000 branches at each end.


Two cortical neurons thus communicate with each other across 10,000 distinct chemical junctions, known as synapses. Each synapse has its own “weight,” a factor by which it multiplies the strength of an incoming signal. The signals crossing all 10,000 synapses are then added together in the body of the neuron. Patterns of stimulation and electrical activity change the weights of synapses over time, which is the mechanism by which habits and memories become ingrained.


A key operation in the branch of mathematics known as linear algebra is the dot-product, which takes two sequences of numbers — or vectors — multiplies their elements together in an orderly way, and adds up the results to yield a single number. In the cortex, the output of a single neural circuit could thus be thought of as the dot-product of two 10,000-variable vectors. That’s a very large calculation that each neuron in the brain can do at a stroke.


Poggio’s group developed an invariant representation of objects that’s based on dot-products. Suppose that you make a little digital movie of an object rotating 360 degrees in a plane — say, 24 frames, each depicting the object as rotated a little bit further than it was in the last one. You store the movie as a sequence of 24 stills.


Suppose next that you’re presented with a digital image of an unfamiliar object. Because the image can be interpreted as a string of numbers describing the color values of pixels — a vector — you can calculate its dot-product with each of the stills from your movie and store that sequence of 24 numbers.


Invariance

Now, if you’re presented with an image of the same object rotated, say, 90 degrees, and you calculate its dot-product with your sequence of stills, you’ll get the same 24 numbers. They won’t be in the same order: What was the dot-product with the first still will now be the dot-product with the sixth. But they’ll be the same numbers.


That list of numbers, then, is a representation of the new object that is invariant to rotation. Similar sequences of stills, which depict an object at various sizes, or at various locations around the frame, will yield sequences of dot-products that are invariant to size and location.


In their new paper, Poggio and his colleagues — first author Fabio Anselmi, a postdoc in Poggio’s group; Joel Leibo, a research affiliate at the McGovern Institute and a research scientist at Google DeepMind; Lorenzo Rosasco, a visiting professor in the Department of Brain and Cognitive Science; and Jim Mutch and Andrea Tacchetti, graduate students in Poggio’s group — demonstrate that, if the goal is to produce an object representation invariant to rotation, size, and location, then the ideal template is a set of images known as Gabor filters. And Gabor filters, it turns out, are known to offer a good description of the image-processing operations performed by the so-called “simple cells” in the visual cortex.





Three dimensions

While this technique works well for visual transformations within a plane, however, it doesn’t work as well for rotation in three dimensions. The dot-product between a new image and that of, say, a car seen straight on would be very different from the dot-product of the same image and that of a car seen from the side.


But Poggio’s group has shown that if the template of still images depicts an object of the same type as the new object, dot-products will still yield adequately invariant descriptions. And this observation accords with recent research by MIT’s Nancy Kanwisher and others, indicating that the visual cortex has regions specialized for recognizing particular classes of objects, such as faces or bodies.


In the work described in PLOS Computational Biology, Poggio and his colleagues — Leibo, Anselmi, and Qianli Liao, a graduate student in electrical engineering and computer science — built a computer system that assembled a set of still images and used the dot-product algorithm to learn to classify thousands of random objects.


For each of the object classes that the system learned, it produced a set of templates that predicted the size and variance of the regions in the human visual cortex devoted to corresponding classes. That suggests, the researchers argue, that the brain and their system may be doing something similar.


The researchers’ invariance hypothesis is “a powerful approach to bridge the large gap between contemporary machine learning, with its emphasis on millions of labeled examples, and the primate visual system that in many instances can learn from a single example,” says Christof Koch, a professor of biology and engineering at Caltech and chief scientific officer of the Allen Institute for Brain Science. “This sort of elegant mathematical framework will be necessary if we are to understand existing natural intelligent systems, on the road to building powerful artificial systems.”


The researchers’ work was sponsored, in part, by MIT’s Center for Brains, Minds, and Machines, which is funded by the National Science Foundation and directed by Poggio.




– Credit and Resource –


Larry Hardesty | MIT News Office




Machines that learn like people

Sunday, 13 December 2015

Computer system passes visual Turing test

Computer system passes visual Turing test and leads to character-drawing machines fool human judges.


Scientia — Researchers at MIT, New York University, and the University of Toronto have developed a computer system whose ability to produce a variation of a character in an unfamiliar writing system, on the first try, is indistinguishable from that of humans.


visual Turing test, Computer system, Computer, Character-drawing machines, AI, Artificial Intelligence

Humans and machines were given an image of a novel character (top) and asked to produce new versions. A machine generated the nine-character grid on the left.
Image: Jose-Luis Olivares/MIT (figures courtesy of the researchers)


That means that the system in some sense discerns what’s essential to the character — its general structure — but also what’s inessential — the minor variations characteristic of any one instance of it.





As such, the researchers argue, their system captures something of the elasticity of human concepts, which often have fuzzy boundaries but still seem to delimit coherent categories. It also mimics the human ability to learn new concepts from few examples. It thus offers hope, they say, that the type of computational structure it’s built on, called a probabilistic program, could help model human acquisition of more sophisticated concepts as well.


“In the current AI landscape, there’s been a lot of focus on classifying patterns,” says Josh Tenenbaum, a professor in the Department of Brain and Cognitive sciences at MIT, a principal investigator in the MIT Center for Brains, Minds and Machines, and one of the new system’s co-developers. “But what’s been lost is that intelligence isn’t just about classifying or recognizing; it’s about thinking.”


“This is partly why, even though we’re studying hand-written characters, we’re not shy about using a word like ‘concept,’” he adds. “Because there are a bunch of things that we do with even much richer, more complex concepts that we can do with these characters. We can understand what they’re built out of. We can understand the parts. We can understand how to use them in different ways, how to make new ones.”


The new system was the thesis work of Brenden Lake, who earned his PhD in cognitive science from MIT last year as a member of Tenenbaum’s group, and who won the Glushko Prize for outstanding dissertations from the Cognitive Science Society. Lake, who is now a postdoc at New York University, is first author on a paper describing the work in the latest issue of the journal Science. He’s joined by Tenenbaum and Ruslan Salakhutdinov, an assistant professor of computer science at the University of Toronto who was a postdoc in Tenenbaum’s group from 2009 to 2011.


visual Turing test, Computer system, Computer, Character-drawing machines, AI, Artificial Intelligence

Which nine-character grid in each pair was generated by a machine? Answers by row: 1,2;2,1;1,1.
Courtesy of the researchers


Rough ideas

“We analyzed these three core principles throughout the paper,” Lake says. “The first we called compositionality, which is the idea that representations are built up from simpler primitives. Another is causality, which is that the model represents the abstract causal structure of how characters are generated. And the last one was learning to learn, this idea that knowledge of previous concepts can help support the learning of new concepts. Those ideas are relatively general. They can apply to characters, but they could apply to many other types of concepts.”


The researchers subjected their system to a battery of tests. In one, they presented it with a single example of a character in a writing system it had never seen before and asked it to produce new instances of the same character — not identical copies, but nine different variations on the same character. In another test, they presented it with several characters in an unfamiliar writing system and asked it to produce new characters that were in some way similar. And in a final test, they asked it to make up entirely new characters in a hypothetical writing system.


Human subjects were then asked to perform the same three tasks. Finally, a separate group of human judges was asked to distinguish the human subjects’ work from the machine’s. Across all three tasks, the judges could identify the machine outputs with about 50 percent accuracy — no better than chance.


Conventional machine-learning systems — such as the ones that led to the speech-recognition algorithms on smartphones — often perform very well on constrained classification tasks, but they must first be trained on huge sets of training data. Humans, by contrast, frequently grasp concepts after just a few examples. That type of “one-shot learning” is something that the researchers designed their system to emulate.




Learning to learn

Like a human subject, however, the system comes to a new task with substantial background knowledge, which in this case is captured by a probabilistic program. Whereas a conventional computer program systematically decomposes a high-level task into its most basic computations, a probabilistic program requires only a very sketchy model of the data it will operate on. Inference algorithms then fill in the details of the model by analyzing a host of examples.


Here, the researchers’ model specified that characters in human writing systems consist of strokes, demarcated by the lifting of the pen, and that the strokes consist of substrokes, demarcated by points at which the pen’s velocity is zero.


Armed with that model, the system then analyzed hundreds of motion-capture recordings of humans drawing characters in several different writing systems, learning statistics on the relationships between consecutive strokes and substrokes as well as on the variation tolerated in the execution of a single stroke.


The system was never trained, however, on the specific writing systems that it analyzed in the researchers’ tests. There, it was simply applying what it had inferred about human writing in general. “It’s learning a bunch of probabilities in a generative program, and that is a generative program for programs,” Tenenbaum says. “Your representation of one of these visual concepts is itself a program that can generate probabilistically different outcomes.”


“I feel that this is a major contribution to science, of general interest to artificial intelligence, cognitive science, and machine learning,” says Zoubin Ghahramani, a professor of information engineering at the University of Cambridge. “Given the major successes of deep learning, the paper also provides a very sobering view of the limitations of such deep-learning methods — which are very data-hungry and perform poorly on the tasks in this paper — and an important alternative avenue for achieving human-level machine learning.”





– Credit and Resource –


Larry Hardesty | MIT News Office




Computer system passes visual Turing test

Friday, 18 September 2015

AI Android that learns new words in real

Androids are being developed that have an uncanny resemblance to people. A pinnacle example is an android crafted by roboticist David Hanson that resembles the famous and deceased science fiction writer Philip K. Dick. What makes android Dick so remarkable isn’t so much his appearance as it is his ability to hold an intelligent conversation.


android_dick


The creators of android Dick uploaded the deceased author’s work onto the android’s software, as well as conversations with other writers. If the android was asked a question that had been posed to the real Dick, the robot would answer the question as Dick would. The robot was also able to answer a series of complex questions. If the robot was asked a question that it was unfamiliar with, its software would attempt to answer the question using what is called “latent semantic analysis”.






Android Dick in conversation

Android Dick’s speaking abilities were put to the test in an interview with a reporter from PBS NOVA. Android Dick’s brain is comprised of a tapestry of wires that are connected to a laptop. As the conversation proceeded, Philip’s facial recognition software kept track of the reporter’s face. In addition, speech recognition software transcribed and sent the reporter’s words to a database in order to assemble a response.


The questions posed to Dick were by no means trivial. When the reporter asked if the android could think, it responded, “A lot of humans ask me if I can make choices or if everything I do is programmed. The best way I can respond to that is to say that everything, humans, animals and robots, do is programmed to a degree.” Some of the androids responses were pre-programmed, whereas others were assembled from the internet.


Dick continued, “As technology improves, it is anticipated that I will be able to integrate new words that I hear online and in real time. I may not get everything right, say the wrong thing, and sometimes may not know what to say, but everyday I make progress. Pretty remarkable, huh?”.


Android Dick and the Turing test

The entire conversation has the ominous undertones of the Turing test. The late mathematician Alan Turning sketched a thought experiment known as the “Turing test” that could theoretically be used to determine whether a machine could think. Turing claimed that any machine capable of convincing someone it is human by responding to a series of questions would, by all measures, be capable of thinking.


As a side note, it’s important to stress that Turing was not claiming that the nature of thinking is universal. The way a human thinks may be different from the way a robot “thinks,” in the same way a bird flies is different from the way an airplane “flies.” Rather, Turing’s general point was that any entity capable of passing a Turing test would be capable of thinking in one form or another.




According to the novelist Dick, the Turing test placed too much emphasis on intelligence. What actually makes us human is empathy. Without empathy, we are mere autopilot objects projecting into the void.


Android Dick seemed to exhibit a primitive form of both intelligence and emotion when the robot was asked, “Do you believe robots will take over the world?” Android Dick responded:


“Jeez, dude. You all have the big questions cooking today. But you’re my friend, and I’ll remember my friends, and I’ll be good to you. So don’t worry, even if I evolve into Terminator, I’ll still be nice to you. I’ll keep you warm and safe in my people zoo, where I can watch you for ol’ times sake.”


Aaaaw, he’ll keep humans cozy in his people zoo. Isn’t that nice of android Dick? You can watch the full video of the android’s conversation below:


An Interview with a Real Android, that wants to put all humans in a zoo…..AWESOME!!!!






AI Android that learns new words in real

AI Android that learns new words in real

Androids are being developed that have an uncanny resemblance to people. A pinnacle example is an android crafted by roboticist David Hanson that resembles the famous and deceased science fiction writer Philip K. Dick. What makes android Dick so remarkable isn’t so much his appearance as it is his ability to hold an intelligent conversation.


android_dick


The creators of android Dick uploaded the deceased author’s work onto the android’s software, as well as conversations with other writers. If the android was asked a question that had been posed to the real Dick, the robot would answer the question as Dick would. The robot was also able to answer a series of complex questions. If the robot was asked a question that it was unfamiliar with, its software would attempt to answer the question using what is called “latent semantic analysis”.






Android Dick in conversation

Android Dick’s speaking abilities were put to the test in an interview with a reporter from PBS NOVA. Android Dick’s brain is comprised of a tapestry of wires that are connected to a laptop. As the conversation proceeded, Philip’s facial recognition software kept track of the reporter’s face. In addition, speech recognition software transcribed and sent the reporter’s words to a database in order to assemble a response.


The questions posed to Dick were by no means trivial. When the reporter asked if the android could think, it responded, “A lot of humans ask me if I can make choices or if everything I do is programmed. The best way I can respond to that is to say that everything, humans, animals and robots, do is programmed to a degree.” Some of the androids responses were pre-programmed, whereas others were assembled from the internet.


Dick continued, “As technology improves, it is anticipated that I will be able to integrate new words that I hear online and in real time. I may not get everything right, say the wrong thing, and sometimes may not know what to say, but everyday I make progress. Pretty remarkable, huh?”.


Android Dick and the Turing test

The entire conversation has the ominous undertones of the Turing test. The late mathematician Alan Turning sketched a thought experiment known as the “Turing test” that could theoretically be used to determine whether a machine could think. Turing claimed that any machine capable of convincing someone it is human by responding to a series of questions would, by all measures, be capable of thinking.


As a side note, it’s important to stress that Turing was not claiming that the nature of thinking is universal. The way a human thinks may be different from the way a robot “thinks,” in the same way a bird flies is different from the way an airplane “flies.” Rather, Turing’s general point was that any entity capable of passing a Turing test would be capable of thinking in one form or another.




According to the novelist Dick, the Turing test placed too much emphasis on intelligence. What actually makes us human is empathy. Without empathy, we are mere autopilot objects projecting into the void.


Android Dick seemed to exhibit a primitive form of both intelligence and emotion when the robot was asked, “Do you believe robots will take over the world?” Android Dick responded:


“Jeez, dude. You all have the big questions cooking today. But you’re my friend, and I’ll remember my friends, and I’ll be good to you. So don’t worry, even if I evolve into Terminator, I’ll still be nice to you. I’ll keep you warm and safe in my people zoo, where I can watch you for ol’ times sake.”


Aaaaw, he’ll keep humans cozy in his people zoo. Isn’t that nice of android Dick? You can watch the full video of the android’s conversation below:


An Interview with a Real Android, that wants to put all humans in a zoo…..AWESOME!!!!






AI Android that learns new words in real