Mostrando entradas con la etiqueta Redes Neurales. Mostrar todas las entradas
Mostrando entradas con la etiqueta Redes Neurales. Mostrar todas las entradas

miércoles, 19 de noviembre de 2014

A Worm's Mind In A Lego Body

Take the connectome of a worm and transplant it as software in a Lego Mindstorms EV3 robot - what happens next?

It is a deep and long standing philosophical question. Are we just the sum of our neural networks. Of course, if you work in AI you take the answer mostly for granted, but until someone builds a human brain and switches it on we really don't have a concrete example of the principle in action. 

KDS444, modified by Nnemo

The nematode worm Caenorhabditis elegans (C. elegans) is tiny and only has 302 neurons. These have been completely mapped and the OpenWorm project is working to build a complete simulation of the worm in software. One of the founders of the OpenWorm project, Timothy Busbice, has taken the connectome and implemented an object oriented neuron program.

The model is accurate in its connections and makes use of UDP packets to fire neurons. If two neurons have three synaptic connections then when the first neuron fires a UDP packet is sent to the second neuron with the payload "3". The neurons are addressed by IP and port number. The system uses an integrate and fire algorithm. Each neuron sums the weights and fires if it exceeds a threshold. The accumulator is zeroed if no message arrives in a 200ms window or if the neuron fires. This is similar to what happens in the real neural network, but not exact.

The software works with sensors and effectors provided by a simple LEGO robot. The sensors are sampled every 100ms. For example, the sonar sensor on the robot is wired as the worm's nose. If anything comes within 20cm of the "nose" then UDP packets are sent to the sensory neurons in the network.

The same idea is applied to the 95 motor neurons but these are mapped from the two rows of muscles on the left and right to the left and right motors on the robot. The motor signals are accumulated and applied to control the speed of each motor. The motor neurons can be excitatory or inhibitory and positive and negative weights are used. 






And the result?
It is claimed that the robot behaved in ways that are similar to observed C. elegans. Stimulation of the nose stopped forward motion. Touching the anterior and posterior touch sensors made the robot move forward and back accordingly. Stimulating the food sensor made the robot move forward.

Watch the video to see it in action. 


The key point is that there was no programming or learning involved to create the behaviors. The connectome of the worm was mapped and implemented as a software system and the behaviors emerge.

The conectome may only consist of 302 neurons but it is self-stimulating and it is difficult to understand how it works - but it does.


Currently the connectome model is being transferred to a Raspberry Pi and a self-contained Pi robot is being constructed. It is suggested that it might have practical application as some sort of mobile sensor - exploring its environment and reporting back results. Given its limited range of behaviors, it seems unlikely to be of practical value, but given more neurons this might change. 


  • Is the robot a C. elegans in a different body or is it something quite new? 
  • Is it alive?

These are questions for philosophers, but it does suggest that the ghost in the machine is just the machine.


For us AI researchers, we still need to know if the principle of implementing a connectome scales. 

More Information


Related Articles

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.


ORIGINAL: i-Programmer
Written by Lucy Black 
16 November 2014

lunes, 25 de agosto de 2014

Why a deep-learning genius left Google & joined Chinese tech shop Baidu (interview)

Image Credit: Jordan Novet/VentureBeat

SUNNYVALE, California — Chinese tech company Baidu has yet to make its popular search engine and other web services available in English. But consider yourself warned: Baidu could someday wind up becoming a favorite among consumers.

The strength of Baidu lies not in youth-friendly marketing or an enterprise-focused sales team. It lives instead in Baidu’s data centers, where servers run complex algorithms on huge volumes of data and gradually make its applications smarter, including not just Web search but also Baidu’s tools for music, news, pictures, video, and speech recognition.

Despite lacking the visibility (in the U.S., at least) of Google and Microsoft, in recent years Baidu has done a lot of work on deep learning, one of the most promising areas of artificial intelligence (AI) research in recent years. This work involves training systems called artificial neural networks on lots of information derived from audio, images, and other inputs, and then presenting the systems with new information and receiving inferences about it in response.

Two months ago, Baidu hired Andrew Ng away from Google, where he started and led the so-called Google Brain project. Ng, whose move to Baidu follows Hugo Barra’s jump from Google to Chinese company Xiaomi last year, is one of the world’s handful of deep-learning rock stars.

Ng has taught classes on machine learning, robotics, and other topics at Stanford University. He also co-founded massively open online course startup Coursera.

He makes a strong argument for why a person like him would leave Google and join a company with a lower public profile. His argument can leave you feeling like you really ought to keep an eye on Baidu in the next few years.

I thought the best place to advance the AI mission is at Baidu,” Ng said in an interview with VentureBeat.

Baidu’s search engine only runs in a few countries, including China, Brazil, Egypt, and Thailand. The Brazil service was announced just last week. Google’s search engine is far more popular than Baidu’s around the globe, although Baidu has already beaten out Yahoo and Microsoft’s Bing in global popularity, according to comScore figures.

And Baidu co-founder and chief executive Robin Li, a frequent speaker on Stanford’s campus, has said he wants Baidu to become a brand name in more than half of all the world’s countries. Presumably, then, Baidu will one day become something Americans can use.

Above: Baidu co-founder and chief executive Robin Li.
Image Credit: Baidu
Now that Ng leads Baidu’s research arm as the company’s chief scientist out of the company’s U.S. R&D Center here, it’s not hard to imagine that Baidu’s tools in English, if and when they become available, will be quite brainy — perhaps even eclipsing similar services from Apple and other tech giants. (Just think of how many people are less than happy with Siri.)

A stable full of AI talent
But this isn’t a story about the difference a single person will make. Baidu has a history in deep learning.

A couple years ago, Baidu hired Kai Yu, a engineer skilled in artificial intelligence. Based in Beijing, he has kept busy.

I think Kai ships deep learning to an incredible number of products across Baidu,” Ng said. Yu also developed a system for providing infrastructure that enables deep learning for different kinds of applications.

That way, Kai personally didn’t have to work on every single application,” Ng said.

In a sense, then, Ng joined a company that had already built momentum in deep learning. He wasn’t starting from scratch.
Above: Baidu’s Kai Yu.
Image Credit: Kai Yu

Only a few companies could have appealed to Ng, given his desire to push artificial intelligence forward. It’s capital-intensive, as it requires lots of data and computation. Baidu, he said, can provide those things.

Baidu is nimble, too. Unlike Silicon Valley’s tech giants, which measure activity in terms of monthly active users, Chinese Internet companies prefer to track usage by the day, Ng said.

It’s a symptom of cadence,” he said. “What are you doing today?” And product cycles in China are short; iteration happens very fast, Ng said.

Plus, Baidu is willing to get infrastructure ready to use on the spot.

Frankly, Kai just made decisions, and it just happened without a lot of committee meetings,” Ng said. “The ability of individuals in the company to make decisions like that and move infrastructure quickly is something I really appreciate about this company.

That might sound like a kind deference to Ng’s new employer, but he was alluding to a clear advantage Baidu has over Google.

He ordered 1,000 GPUs [graphics processing units] and got them within 24 hours,Adam Gibson, co-founder of deep-learning startup Skymind, told VentureBeat. “At Google, it would have taken him weeks or months to get that.

Not that Baidu is buying this type of hardware for the first time. Baidu was the first company to build a GPU cluster for deep learning, Ng said — a few other companies, like Netflix, have found GPUs useful for deep learning — and Baidu also maintains a fleet of servers packing ARM-based chips.
Above: Baidu headquarters in Beijing.
Image Credit: Baidu

Now the Silicon Valley researchers are using the GPU cluster and also looking to add to it and thereby create still bigger artificial neural networks.

But the efforts have long since begun to weigh on Baidu’s books and impact products. “We deepened our investment in advanced technologies like deep learning, which is already yielding near term enhancements in user experience and customer ROI and is expected to drive transformational change over the longer term,” Li said in a statement on the company’s earnings the second quarter of 2014.

Next step: Improving accuracy
What will Ng do at Baidu? The answer will not be limited to any one of the company’s services. Baidu’s neural networks can work behind the scenes for a wide variety of applications, including those that handle text, spoken words, images, and videos. Surely core functions of Baidu like Web search and advertising will benefit, too.

All of these are domains Baidu is looking at using deep learning, actually,” Ng said.

Ng’s focus now might best be summed up by one word: accuracy.

That makes sense from a corporate perspective. Google has the brain trust on image analysis, and Microsoft has the brain trust on speech, said Naveen Rao, co-founder and chief executive of deep-learning startup Nervana. Accuracy could potentially be the area where Ng and his colleagues will make the most substantive progress at Baidu, Rao said.

Matthew Zeiler, founder and chief executive of another deep learning startup, Clarifai, was more certain. “I think you’re going to see a huge boost in accuracy,” said Zeiler, who has worked with Hinton and LeCun and spent two summers on the Google Brain project.

One thing is for sure: Accuracy is on Ng’s mind.
Above: The lobby at Baidu’s office in Sunnyvale, Calif.
Image Credit: Jordan Novet/VentureBeat

Here’s the thing. Sometimes changes in accuracy of a system will cause changes in the way you interact with the device,” Ng said. For instance, more accurate speech recognition could translate into people relying on it much more frequently. Think “Her”-level reliance, where you just talk to your computer as a matter of course rather than using speech recognition in special cases.

Speech recognition today doesn’t really work in noisy environments,” Ng said. But that could change if Baidu’s neural networks become more accurate under Ng.

Ng picked up his smartphone, opened the Baidu Translate app, and told it that he needed a taxi. A female voice said that in Mandarin and displayed Chinese characters on screen. But it wasn’t a difficult test, in some ways: This was no crowded street in Beijing. This was a quiet conference room in a quiet office.

There’s still work to do,” Ng said.

‘The future heroes of deep learning’
Meanwhile, researchers at companies and universities have been hard at work on deep learning for decades.

Google has built up a hefty reputation for applying deep learning to images from YouTube videos, data center energy use, and other areas, partly thanks to Ng’s contributions. And recently Microsoft made headlines for deep-learning advancements with its Project Adam work, although Li Deng of Microsoft Research has been working with neural networks for more than 20 years.

In academia, deep learning research groups all over North America and Europe. Key figures in the past few years include Yoshua Bengio at the University of Montreal, Geoff Hinton of the University of Toronto (Google grabbed him last year through its DNNresearch acquisition), Yann LeCun from New York University (Facebook pulled him aboard late last year), and Ng.

But Ng’s strong points differ from those of his contemporaries. Whereas Bengio made strides in training neural networks, LeCun developed convolutional neural networks, and Hinton popularized restricted Boltzmann machines, Ng takes the best, implements it, and makes improvements.

Andrew is neutral in that he’s just going to use what works,” Gibson said. “He’s very practical, and he’s neutral about the stamp on it.

Not that Ng intends to go it alone. To create larger and more accurate neural networks, Ng needs to look around and find like-minded engineers.

He’s going to be able to bring a lot of talent over,Dave Sullivan, co-founder and chief executive of deep-learning startup Ersatz Labs, told VentureBeat. “This guy is not sitting down and writing mountains of code every day.

And truth be told, Ng has had no trouble building his team.

Hiring for Baidu has been easier than I’d expected,” he said.

A lot of engineers have always wanted to work on AI. … My job is providing the team with the best possible environment for them to do AI, for them to be the future heroes of deep learning.

More information:


Google's innovative search technologies connect millions of people around the world with information every day. Founded in 1998 by Stanford Ph.D. students Larry Page and Sergey Brin, Google today is a top web property in all major glob... read more »


Powered by VBProfiles

ORIGINAL: VentureBeat
July 30, 2014 8:03 AM 

viernes, 22 de agosto de 2014

"Brain" In A Dish Acts As Autopilot Living Computer

A glass dish contains a "brain" -- a living network of 25,000 rat brain cells connected to an array of 60 electrodes.University of Florida/Ray Carson
downloadable pdf
A University of Florida scientist has grown a living “brain” that can fly a simulated plane, giving scientists a novel way to observe how brain cells function as a network.The “brain” — a collection of 25,000 living neurons, or nerve cells, taken from a rat’s brain and cultured inside a glass dish — gives scientists a unique real-time window into the brain at the cellular level. By watching the brain cells interact, scientists hope to understand what causes neural disorders such as epilepsy and to determine noninvasive ways to intervene.
Thomas DeMarse holds a glass dish containing a living network of 25,000 rat brain cells connected to an array of 60 electrodes that can interact with a computer to fly a simulated F-22 fighter plane.
As living omputers, they may someday be used to fly small unmanned airplanes or handle tasks that are dangerous for humans, such as search-and-rescue missions or bomb damage assessments." We’re interested in studying how brains compute,” said Thomas DeMarse, the UF assistant professor of biomedical engineering who designed the study. “If you think about your brain, and learning and the memory process, I can ask you questions about when you were 5 years old and you can retrieve information. That’s a tremendous capacity for memory. In fact, you perform fairly simple tasks that you would think a computer would easily be able to accomplish, but in fact it can’t.

While computers are very fast at processing some kinds of information, they can’t approach the flexibility of the human brain, DeMarse said. In particular, brains can easily make certain kinds of computations — such as recognizing an unfamiliar piece of furniture as a table or a lamp — that are very difficult to program into today’s computers.

If we can extract the rules of how these neural networks are doing computations like pattern recognition, we can apply that to create novel computing systems,” he said.
DeMarse’s experimental “brain” interacts with an F-22 fighter jet flight simulator through a specially designed plate called a multi-electrode array and a common desktop computer. It’s essentially a dish with 60 electrodes arranged in a grid at the bottom,” DeMarse said. “Over that we put the living cortical neurons from rats, which rapidly begin to reconnect themselves, forming a living neural network — a brain.” The brain and the simulator establish a two-way connection, similar to how neurons receive and interpret signals from each other to control our bodies. By observing how the nerve cells interact with the simulator, scientists can decode how a neural network establishes connections and begins to compute, DeMarse said. When DeMarse first puts the neurons in the dish, they look like little more than grains of sand sprinkled in water. However, individual neurons soon begin to extend microscopic lines toward each other, making connections that represent neural processes. “You see one extend a process, pull it back, extend it out — and it may do that a couple of times, just sampling who’s next to it, until over time the connectivity starts to establish itself,” he said. “(The brain is) getting its network to the point where it’s a live computation device.” To control the simulated aircraft, the neurons first receive information from the computer about flight conditions: whether the plane is flying straight and level or is tilted to the left or to the right.

The neurons then analyze the data and respond by sending signals to the plane’s controls. Those signals alter the flight path and new information is sent to the neurons, creating a feedback system. Initially when we hook up this brain to a flight simulator, it doesn’t know how to control the aircraft,” DeMarse said. “So you hook it up and the aircraft simply drifts randomly. And as the datacome in, it slowly modifies the (neural) network so over time, the network gradually learns to fly the aircraft.” Although the brain currently is able to control the pitch and roll of the simulated aircraft in weather conditions ranging from blue skies to stormy, hurricane-force winds, the underlying goal is a more fundamental understanding of how neurons interact as a network, DeMarse said. “There’s a lot of data out there that will tell you that the computation that’s going on here isn’t based on just one neuron. 

The computational property is actually an emergent property of hundreds or thousands of neurons cooperating to produce the amazing processing power of the brain.” With José Principe, a UF distinguished professor of electrical engineering and director of UF’s Computational NeuroEngineering Laboratory, DeMarse has a $500,000 National Science Foundation grant to create a mathematical model that reproduces how the neurons compute. Thomas DeMarse, tdemarse@bme.ufl.edu"

ORIGINAL: U of Florida
by Jennifer Viegas  
Nov 27, 2012

sábado, 16 de agosto de 2014

Google buys city guides app Jetpac, support to end on September 15


Google has acquired the team behind Jetpac, an iPhone app for crowdsourcing city guides from public Instagram photos.

The app will be pulled from the App Store in coming days, and support for the service will be discontinued on September 15.

Jetpac’s deep learning software used a nifty trick of scanning our photos to evaluate businesses and venues around town. As MIT Technology Review notes, the app could tell whether visitors were tourists, whether a bar is dog-friendly and how fancy a place was.

It even employed humans to find hipster spots by training the system to count the number of mustaches and plaid shirts.

Interestingly, Jetpac’s technology was inspired by Google researcher Geoffrey Hinton, so it makes perfect sense for Google to bring the startup into its fold. If this means that Google Now will gain the ability to automatically alert me when I’m entering a hipster-infested area, then I’m an instant fan.

Jetpac also built two iOS apps that tapped into its Deep Belief neural network to offer users object recognition.

Imagine all photos tagged automatically, the ability to search the world by knowing what is in the world’s shared photos, and robots that can see like humans,” the App Store description for its Spotter app reads. If that’s not a Googly description, I don’t know what is.

Jetpac

(h/t Ouriel Ohayon)

Thumbnail image credit: GEORGES GOBET/AFP/Getty Images


ORIGINAL: The Next Web

lunes, 13 de enero de 2014

Computer science: The learning machines

Using massive amounts of data to recognize photos and speech, deep-learning computers are taking a big step towards true artificial intelligence.

Article tools
PDF
Rights & Permissions

BRUCE ROLFF/SHUTTERSTOCK

Three years ago, researchers at the secretive Google X lab in Mountain View, California, extracted some 10 million still images from YouTube videos and fed them into Google Brain — a network of 1,000 computers programmed to soak up the world much as a human toddler does. After three days looking for recurring patterns, Google Brain decided, all on its own, that there were certain repeating categories it could identify: human faces, human bodies and … cats1.

Google Brain's discovery that the Internet is full of cat videos provoked a flurry of jokes from journalists. But it was also a landmark in the resurgence of deep learning: a three-decade-old technique in which massive amounts of data and processing power help computers to crack messy problems that humans solve almost intuitively, from recognizing faces to understanding language.

Deep learning itself is a revival of an even older idea for computing: neural networks. These systems, loosely inspired by the densely interconnected neurons of the brain, mimic human learning by changing the strength of simulated neural connections on the basis of experience. Google Brain, with about 1 million simulated neurons and 1 billion simulated connections, was ten times larger than any deep neural network before it. Project founder Andrew Ng, now director of the Artificial Intelligence Laboratory at Stanford University in California, has gone on to make deep-learning systems ten times larger again.

Such advances make for exciting times in artificial intelligence (AI) — the often-frustrating attempt to get computers to think like humans. In the past few years, companies such as Google, Apple and IBM have been aggressively snapping up start-up companies and researchers with deep-learning expertise. For everyday consumers, the results include software better able to sort through photos, understand spoken commands and translate text from foreign languages. For scientists and industry, deep-learning computers can search for potential drug candidates, map real neural networks in the brain or predict the functions of proteins.

AI has gone from failure to failure, with bits of progress. This could be another leapfrog,” says Yann LeCun, director of the Center for Data Science at New York University and a deep-learning pioneer.

Over the next few years we'll see a feeding frenzy. Lots of people will jump on the deep-learning bandwagon,” agrees Jitendra Malik, who studies computer image recognition at the University of California, Berkeley. But in the long term, deep learning may not win the day; some researchers are pursuing other techniques that show promise. “I'm agnostic,” says Malik. “Over time people will decide what works best in different domains.

Inspired by the brain

Back in the 1950s, when computers were new, the first generation of AI researchers eagerly predicted that fully fledged AI was right around the corner. But that optimism faded as researchers began to grasp the vast complexity of real-world knowledge — particularly when it came to perceptual problems such as what makes a face a human face, rather than a mask or a monkey face. Hundreds of researchers and graduate students spent decades hand-coding rules about all the different features that computers needed to identify objects. “Coming up with features is difficult, time consuming and requires expert knowledge,” says Ng. “You have to ask if there's a better way.

IMAGES: ANDREW NG

 In the 1980s, one better way seemed to be deep learning in neural networks. These systems promised to learn their own rules from scratch, and offered the pleasing symmetry of using brain-inspired mechanics to achieve brain-like function. The strategy called for simulated neurons to be organized into several layers. Give such a system a picture and
  • the first layer of learning will simply notice all the dark and light pixels. 
  • The next layer might realize that some of these pixels form edges; 
  • the next might distinguish between horizontal and vertical lines. 
  • Eventually, a layer might recognize eyes, and might realize that two eyes are usually present in a human face (see 'Facial recognition').

The first deep-learning programs did not perform any better than simpler systems, says Malik. Plus, they were tricky to work with. “Neural nets were always a delicate art to manage. There is some black magic involved,” he says. The networks needed a rich stream of examples to learn from — like a baby gathering information about the world. In the 1980s and 1990s, there was not much digital information available, and it took too long for computers to crunch through what did exist. Applications were rare. One of the few was a technique — developed by LeCun — that is now used by banks to read handwritten cheques.

By the 2000s, however, advocates such as LeCun and his former supervisor, computer scientist Geoffrey Hinton of the University of Toronto in Canada, were convinced that increases in computing power and an explosion of digital data meant that it was time for a renewed push. “We wanted to show the world that these deep neural networks were really useful and could really help,” says George Dahl, a current student of Hinton's.

As a start, Hinton, Dahl and several others tackled the difficult but commercially important task of speech recognition. In 2009, the researchers reported2 that after training on a classic data set — three hours of taped and transcribed speech — their deep-learning neural network had broken the record for accuracy in turning the spoken word into typed text, a record that had not shifted much in a decade with the standard, rules-based approach. The achievement caught the attention of major players in the smartphone market, says Dahl, who took the technique to Microsoft during an internship. “In a couple of years they all switched to deep learning.” For example, the iPhone's voice-activated digital assistant, Siri, relies on deep learning.

Giant leap
When Google adopted deep-learning-based speech recognition in its Android smartphone operating system, it achieved a 25% reduction in word errors. “That's the kind of drop you expect to take ten years to achieve,” says Hinton — a reflection of just how difficult it has been to make progress in this area. “That's like ten breakthroughs all together.

Meanwhile, Ng had convinced Google to let him use its data and computers on what became Google Brain. The project's ability to spot cats was a compelling (but not, on its own, commercially viable) demonstration of unsupervised learning — the most difficult learning task, because the input comes without any explanatory information such as names, titles or categories. But Ng soon became troubled that few researchers outside Google had the tools to work on deep learning. “After many of my talks,” he says, “depressed graduate students would come up to me and say: 'I don't have 1,000 computers lying around, can I even research this?'”

So back at Stanford, Ng started developing bigger, cheaper deep-learning networks using graphics processing units (GPUs) — the super-fast chips developed for home-computer gaming3. Others were doing the same. “For about US$100,000 in hardware, we can build an 11-billion-connection network, with 64 GPUs,” says Ng.

Victorious machine

But winning over computer-vision scientists would take more: they wanted to see gains on standardized tests. Malik remembers that Hinton asked him: “You're a sceptic. What would convince you?” Malik replied that a victory in the internationally renowned ImageNet competition might do the trick.

In that competition, teams train computer programs on a data set of about 1 million images that have each been manually labelled with a category. After training, the programs are tested by getting them to suggest labels for similar images that they have never seen before. They are given five guesses for each test image; if the right answer is not one of those five, the test counts as an error. Past winners had typically erred about 25% of the time. In 2012, Hinton's lab entered the first ever competitor to use deep learning. It had an error rate of just 15% (ref. 4).

Deep learning stomped on everything else,” says LeCun, who was not part of that team. The win landed Hinton a part-time job at Google, and the company used the program to update its Google+ photo-search software in May 2013.

Malik was won over. “In science you have to be swayed by empirical evidence, and this was clear evidence,” he says. Since then, he has adapted the technique to beat the record in another visual-recognition competition5. Many others have followed: in 2013, all entrants to the ImageNet competition used deep learning.


“Over the next few years we'll see a feeding frenzy. Lots of people will jump on the deep-learning bandwagon.”

With triumphs in hand for image and speech recognition, there is now increasing interest in applying deep learning to natural-language understanding — comprehending human discourse well enough to rephrase or answer questions, for example — and to translation from one language to another. Again, these are currently done using hand-coded rules and statistical analysis of known text. The state-of-the-art of such techniques can be seen in software such as Google Translate, which can produce results that are comprehensible (if sometimes comical) but nowhere near as good as a smooth human translation. “Deep learning will have a chance to do something much better than the current practice here,” says crowd-sourcing expert Luis von Ahn, whose company Duolingo, based in Pittsburgh, Pennsylvania, relies on humans, not computers, to translate text. “The one thing everyone agrees on is that it's time to try something different.

Deep science

In the meantime, deep learning has been proving useful for a variety of scientific tasks. “Deep nets are really good at finding patterns in data sets,” says Hinton. In 2012, the pharmaceutical company Merck offered a prize to whoever could beat its best programs for helping to predict useful drug candidates. The task was to trawl through database entries on more than 30,000 small molecules, each of which had thousands of numerical chemical-property descriptors, and to try to predict how each one acted on 15 different target molecules. Dahl and his colleagues won $22,000 with a deep-learning system. “We improved on Merck's baseline by about 15%,” he says.

Biologists and computational researchers including Sebastian Seung of the Massachusetts Institute of Technology in Cambridge are using deep learning to help them to analyse three-dimensional images of brain slices. Such images contain a tangle of lines that represent the connections between neurons; these need to be identified so they can be mapped and counted. In the past, undergraduates have been enlisted to trace out the lines, but automating the process is the only way to deal with the billions of connections that are expected to turn up as such projects continue. Deep learning seems to be the best way to automate. Seung is currently using a deep-learning program to map neurons in a large chunk of the retina, then forwarding the results to be proofread by volunteers in a crowd-sourced online game called EyeWire.

“Deep learning has the property that if you feed it more data, it gets better and better.”

William Stafford Noble, a computer scientist at the University of Washington in Seattle, has used deep learning to teach a program to look at a string of amino acids and predict the structure of the resulting protein — whether various portions will form a helix or a loop, for example, or how easy it will be for a solvent to sneak into gaps in the structure. Noble has so far trained his program on one small data set, and over the coming months he will move on to the Protein Data Bank: a global repository that currently contains nearly 100,000 structures.

For computer scientists, deep learning could earn big profits: Dahl is thinking about start-up opportunities, and LeCun was hired last month to head a new AI department at Facebook. The technique holds the promise of practical success for AI. “Deep learning happens to have the property that if you feed it more data it gets better and better,” notes Ng. “Deep-learning algorithms aren't the only ones like that, but they're arguably the best — certainly the easiest. That's why it has huge promise for the future.

Not all researchers are so committed to the idea. Oren Etzioni, director of the Allen Institute for Artificial Intelligence in Seattle, which launched last September with the aim of developing AI, says he will not be using the brain for inspiration. It's like when we invented flight,” he says; the most successful designs for aeroplanes were not modelled on bird biology. Etzioni's specific goal is to invent a computer that, when given a stack of scanned textbooks, can pass standardized elementary-school science tests (ramping up eventually to pre-university exams). To pass the tests, a computer must be able to read and understand diagrams and text. How the Allen Institute will make that happen is undecided as yet — but for Etzioni, neural networks and deep learning are not at the top of the list.

One competing idea is to rely on a computer that can reason on the basis of inputted facts, rather than trying to learn its own facts from scratch. So it might be programmed with assertions such as 'all girls are people'. Then, when it is presented with a text that mentions a girl, the computer could deduce that the girl in question is a person. Thousands, if not millions, of such facts are required to cover even ordinary, common-sense knowledge about the world. But it is roughly what went into IBM's Watson computer, which famously won a match of the television game show Jeopardy against top human competitors in 2011. Even so, IBM's Watson Solutions has an experimental interest in deep learning for improving pattern recognition, says Rob High, chief technology officer for the company, which is based in Austin, Texas.

Google, too, is hedging its bets. Although its latest advances in picture tagging are based on Hinton's deep-learning networks, it has other departments with a wider remit. In December 2012, it hired futurist Ray Kurzweil to pursue various ways for computers to learn from experience — using techniques including but not limited to deep learning. Last May, Google acquired a quantum computer made by D-Wave in Burnaby, Canada (see Nature 498, 286–288; 2013). This computer holds promise for non-AI tasks such as difficult mathematical computations — although it could, theoretically, be applied to deep learning.

Despite its successes, deep learning is still in its infancy. “It's part of the future,” says Dahl. “In a way it's amazing we've done so much with so little.” And, he adds, “we've barely begun”. Nature505,146–148(09 January 2014)doi:10.1038/505146a
References Le, Q. V. et al. Preprint at http://arxiv.org/abs/1112.6209 (2011). Show context
Mohamed, A. et al. 2011 IEEE Int. Conf. Acoustics Speech Signal Process. http://dx.doi.org/10.1109/ICASSP.2011.5947494 (2011). Show context
Coates, A. et al. J. Machine Learn. Res. Workshop Conf. Proc. 28, 1337–1345 (2013). Show context
Krizhevsky, A., Sutskever, I. & Hinton, G. E. In Advances in Neural Information Processing Systems 25; available at http://go.nature.com/ibace6 Show context
Girshick, R., Donahue, J., Darrell, T. & Malik, J. Preprint at http://arxiv.org/abs/1311.2524 (2013).

lunes, 25 de noviembre de 2013

Neural Networks and Deep Learning Book Project


A book that will teach you the core concepts of neural networks and deep learning

About the book
This book will teach you the core concepts of neural networks and deep learning. These are powerful machine learning techniques which have achieved outstanding results for problems in image recognition, speech recognition, and natural language processing. Neural networks and deep learning are now being adopted by many companies, including Google, Microsoft, and Facebook.

I'm writing this book to bridge the gap between popular accounts and the many technical papers on neural networks and deep learning. The book will make it easy and fun for people with programming and basic mathematical skills to come up to speed.

I love explaining complex technical subjects. I've written two previous books. The first book, "Quantum Computation and Quantum Information" (joint with Ike Chuang), is the standard text on quantum computing, and one of the ten most cited books in the history of physics. The second book, "Reinventing Discovery: The New Era of Networked Science", is a book for a general audience about networked science. It was named one of the best books of 2011 by The Financial Times and the Boston Globe.

In addition to my books I've written many technical articles, including "Lisp as the Maxwell's equations of software", "How to crawl a quarter billion webpages in 40 hours", and "Why Bloom filters work the way they do", all of which made the top five posts on Hacker News.

You can see a draft of chapter 1 of the book at neuralnetworksanddeeplearning.com.

The book will be made freely available online, under a Creative Commons Attribution-Non-Commercial license.

As an independent writer and scientist, the reason I'm undertaking this Indiegogo campaign is to give me some partial support while I complete the book.

Draft table of contents
  • Using neural nets to recognize handwritten digits: We get off to a flying start, creating a neural network that can solve a hard problem - recognizing handwritten digits.
  • Using backpropagation to speed up learning: We'll master the ins-and-outs of the backpropagation algorithm, which is the fundamental algorithm used to learn in neural nets, and the basis for deep learning.
  • Neural nets: the big picture: How do artificial neural nets compare to biological brains? Is there a simple universal algorithm for thinking? How can we use neural nets to solve problems in speech recognition and natural language processing? Can we use neural nets to compute an arbitrary function?
  • Deep learning: What makes deep neural networks hard to train with conventional approaches? How can we overcome those challenges? We'll see how deep neural nets can be pre-trained, and how they can learn high-level representations of knowledge from complex data.
  • Recent progress in image recognition: We'll dive into exciting recent work using deep learning to solve difficult problems in image recognition, including recognizing the images in ImageNet, and the Stanford-Google "cat neuron" paper.
  • The future of neural nets: Will neural nets help lead to artificial intelligence? Can they be used to simulate a human brain?
ORIGINAL: Indiegogo

sábado, 13 de julio de 2013

The Quest to Build a Silicon Brain

ORIGINAL: Discover
May 24, 2013

An engineer's revolutionary new chip, inspired by how our own brains work, could turn computing on its head.
This neon swirl was inspired by the neural architecture of a rhesus macaque brain, used by Modha to help him design the chip. Initials around the swirl’s rim indicate discrete regions in the macaque brain.
IBM Research
The day he got the news that would transform his life, Dharmendra Modha, 17, was supervising a team of laborers scraping paint off iron chairs at a local Mumbai hospital. He felt happy to have the position, which promised steady pay and security — the most a poor teen from Mumbai could realistically aspire to in 1986.

Modha’s mother sent word to the job site shortly after lunch: The results from the statewide university entrance exams had come in. There appeared to be some sort of mistake, because a perplexing telegram had arrived at the house.

Modha’s scores hadn’t just placed him atop the city, the most densely inhabited in India — he was No. 1 in math, physics and chemistry for the entire province of Maharashtra, population 100 million. Could he please proceed to the school to sort it out?

Back then, Modha couldn’t conceive what that telegram might mean for his future. Both his parents had ended their schooling after the 11th grade. He could count on one hand the number of relatives who went to college.

But Modha’s ambitions have expanded considerably in the years since those test scores paved his way to one of India’s most prestigious technical academies, and a successful career in computer science at IBM’s Almaden Research Center in San Jose, Calif.

Recently, the diminutive engineer with the bushy black eyebrows, closely cropped hair and glasses sat in his Silicon Valley office and shared a vision to do nothing less than transform the future of computing. “Our mission is clear,” said Modha, now 44, holding up a rectangular circuit board featuring a golden square.


We’d like these chips to be everywhere — in every corner, in everything. We’d like them to become absolutely essential to the world.

Traditional chips are sets of miniaturized electrical components on a small plate used by computers to perform operations. They often consist of millions of tiny circuits capable of encoding and storing information while also executing programmed commands.

Modha’s chips do the same thing, but at such enormous energy savings that the computers they comprise would handle far more data, by design. With the new chips as linchpin, Modha has envisioned a novel computing paradigm, one far more powerful than anything that exists today, modeled on the same magical entity that allowed an impoverished laborer from Mumbai to ascend to one of the great citadels of technological innovation: the human brain.

Turning to Neuroscience

The human brain consumes about as much energy as a 20-watt bulba billion times less energy than a computer that simulates brainlike computations. It is so compact it can fit in a two-liter soda bottle. Yet this pulpy lump of organic material can do things no modern computer can.

Sure, computers are far superior at performing pre-programmed computations — crunching payroll numbers or calculating the route a lunar module needs to take to reach a specific spot on the moon. But even the most advanced computers can’t come close to matching the brain’s ability to make sense out of unfamiliar sights, sounds, smells and events, and quickly understand how they relate to one another.

Nor can such machines equal the human brain’s capacity to learn from experience and make predictions based on memory.

Five years ago, Modha concluded that if the world’s best engineers still hadn’t figured out how to match the brain’s energy efficiency and resourcefulness after decades of trying using the old methods, perhaps they never would.

So he tossed aside many of the tenets that have guided chip design and software development over the past 60 years and turned to the literature of neuroscience. Perhaps understanding the brain’s disparate components and the way they fit together would help him build a smarter, more energy-efficient silicon machine.

These efforts are paying off. Modha’s new chips contain silicon components that crudely mimic the physical layout of, and connections between, microscopic carbon-based brain cells. Modha is confident that his chips can be used to build a cognitive computing system on the scale of a human brain for only 100 times more power, making it 10 million times more energy efficient than the computers of today.

Already, Modha’s team has demonstrated some basic capabilities. Without the help of a programmer explicitly telling them what to do, the chips they’ve developed can learn to play the game Pong, moving a bar along the bottom of the screen and anticipating the exact angle of a bouncing ball. They can also recognize the numbers zero through nine as a lab assistant scrawls them on a pad with an electronic pen.

Of course, plenty of engineers have pulled off such feats — and far more impressive ones. An entire subspecialty known as machine learning is devoted to building algorithms that allow computers to develop new behaviors based on experience. Such machines have beaten the world’s best minds in chess and Jeopardy!

But while machine learning theorists have made progress in teaching computers to perform specific tasks within a strict set of parameters — such as how to parallel park a car or plumb encyclopedias for answers to trivia questions — their programs don’t enable computers to generalize in an open-ended way.

Modha hopes his energy-efficient chips will usher in change. “Modern computers were originally designed for three fundamental problems: business applications, such as billing; science, such as nuclear physics simulation; and government programs, such as Social Security,” Modha states.

The brain, on the other hand, was forged on the crucible of evolution to quickly make sense of the world around it and act upon its conclusions. “It has the ability to pick out a prowling predator in huge grasses, amid a huge amount of noise, without being told what it is looking for. It isn’t programmed. It learns to escape and avoid the lion.


Dharmendra Modha stands alongside the brain wall, used by his cognitive computing team to simulate brain activity and model neural chips at IBM. In his hand is a neurosynaptic chip, the core component of a new generation of computers based on the architecture of the brain. Majed Abolfazli
Machines with similar capabilities could help solve one of mankind’s most pressing problems: the overload of information. Between 2005 and 2012, the amount of digital information created, replicated and consumed worldwide increased over 2,000 percent — exceeding 2.8 trillion gigabytes in 2012.

By some estimates, that’s almost as many bits of information as there are stars in the observable universe. The arduous task of writing the code that instructs today’s computers to make sense of this flood of information — how to order it, analyze it, connect it, what to do with it — is already far outstripping the abilities of human programmers.

Cognitive computers, Modha believes, could plug the gap. Like the brain, they will weave together inputs from multiple sensory streams, form associations, encode memories, recognize patterns, make predictions and then interpret, perhaps even act — all using far less power than today’s machines.

Drawing on data streaming in from a multitude of sensors monitoring the world’s water supply, for instance, the computer might learn to recognize changes in pressure, temperature, wave size and tides, then issue tsunami warnings, even though current science has yet to identify the constellation of variables associated with the monster waves.

Brain-based computers could help emergency department doctors render elusive diagnoses even when science has yet to recognize the collection of changes in body temperature, blood composition or other variables associated with an underlying disease.

You will still want to store your salary, your gender, your Social Security number in today’s computers,” Modha says. “But cognitive computing gives us a complementary paradigm for a radically different kind of machine.

Lighting the Network
Modha is hardly the first engineer to draw inspiration from the brain. An entire field of computer science has grown out of insights derived from the way the smallest units of the brain — cells called neurons — perform computations.

It is the firing of neurons that allows us to think, feel and move. Yet these abilities stem not from the activity of any one neuron, but from networks of interconnected neurons sending and receiving simple signals and working in concert with each other.

The potential for brainlike machines emerged as early as 1943, when neurophysiologist Warren McCulloch and mathematician Walter Pitts proposed an idealized mathematical formulation for the way networks of neurons interact to cause one another to fire, sending messages throughout the brain.

In a biological brain, neurons communicate by passing electrochemical signals across junctions known as synapses. Often the process starts with external stimuli, like light or sound. If the stimulus is intense enough, voltage across the membrane of receiving neurons exceeds a given threshold, signaling neurochemicals to fly across the synapses, causing more neurons to fire and so on and so forth.

When a critical mass of neurons fire in concert, the input is perceived by the cognitive regions of the brain. With enough neurons firing together, a child can learn to ride a bike and a mouse can master a maze.

McCulloch and Pitts pointed out that no matter how many inputs their idealized neuron might receive, it would always be in one of only two possible states — activated or at rest, depending upon whether the threshold for excitement had been passed.

Because neurons follow this “all-or-none law,” every computation the brain performs can be reduced to series of true or false expressions, where true and false can be represented by 1 and 0, respectively. Modern computers are also based on logic systems using 1s and 0s, with information coming from electric switches instead of the outside environment.

McCulloch and Pitts had captured a fundamental similarity between brains and computers. If endowed with the capacity to ask enough yes-or-no questions, either one should presumably eventually arrive at the solution to even the most complicated of questions.

As an example, to draw a boundary between a group of red dots and blue dots, one might ask of each dot if it is red (yes/no) or blue (yes/no). Then one might ask if two neighboring pairs of dots are of differing colors (yes/no). With enough layers of questions and answers, one might answer almost any complex question at all.

Yet this kind of logical ability seemed far removed from the capacity of brains, made of networks of neurons, to encode memories or learn. That capacity was explained in 1949 by Canadian psychologist Donald Hebb, who hypothesized that when two neurons fire in close succession, connections between them strengthen. “Neurons that fire together wire together” is the catchy phrase that emerged from his pivotal work.

Connections between neurons explain how narrative memory is formed. In a famous literary example, Marcel Proust’s childhood flooded back when he dipped a madeleine in his cup of tea and took a bite. The ritual was one he had performed often during childhood. When he repeated it years later, neurons fired in the areas of the brain storing these taste and motor memories.

As Hebb had suggested, those neurons had strong physical connections to other neurons associated with other childhood memories. Thus when Proust tasted the madeleine, the neurons encoding those memories also fired — and Proust was flooded with so many associative memories he filled volumes of his masterwork, In Search of Lost Time.
Gathering in front of the brain wall this February are the Cognitive Computing Lab team members (from left) John Arthur, Paul Merolla, Bill Risk, Dharmendra Modha, Bryan Jackson, Myron Flickner and Steve Esser.

By 1960, computer researchers were trying to model Hebb’s ideas about learning and memory. One effort was a crude brain mock-up called the perceptron. The perceptron contained a network of artificial neurons, which could be simulated on a computer or physically built with two layers of electrical circuits.

The space between the layers was said to represent the synapse. When the layers communicated with each other by passing signals over the synapse, that was said to model (roughly) a living neural net. One could adjust the strength of signals passed between the two layers — and thus the likelihood that the first layer would activate the second (much like one firing neuron activates another to pass a signal along).

Perceptron learning occurred when the second layer was instructed to respond more powerfully to some inputs than others. Programmers trained an artificial neural network to “read,” activating more strongly when shown patterns of light depicting certain letters of the alphabet and less strongly when shown others.

The idea that one could train a computer to categorize data based on experience was revolutionary. But the perceptron was limited: Consisting of a mere two layers, it could only recognize a “linearly separable” pattern, such as a plot of black dots and white dots that can be separated by a single straight line (or, in more graphic terms, a cat sitting next to a chair). But show it a plot of black and white dots depicting something more complex, like a cat sitting on a chair, and it was utterly confused.

It wasn’t until the 1980s that engineers developed an algorithm capable of taking neural networks to the next level. Now programmers could adjust the weights not just between two layers of artificial neurons, but also a third, a fourth — even a ninth layer — in between, representing a universe where many more details could live.

This expanded the complexity of questions such networks could answer. Suddenly neural networks could render squiggly lines between black and white dots, recognizing both the cat and the chair it was sitting in at the same time.

Out of Bombay

Just as the neural net revival was picking up steam, Modha entered India’s premier engineering school, the Indian Institute of Technology in Bombay. He graduated with a degree in computer science and engineering in 1990.

As Modha looked to continue his education, few areas seemed as hot as the reinvigorated field of neural networks. In theory, the size of neural networks was limited only by the size of computers and the ingenuity of programmers.

In one powerful example of the new capabilities around that time, Carnegie Mellon graduate student Dean Pomerleau used simulated images of road conditions to teach a neural network to interpret live road images picked up by cameras attached to a car’s onboard computer. Traditional programmers had been stumped because even subtle changes in angle, lighting or other variables threw off pre-programmed software coded to recognize exact visual parameters.

Instead of trying to precisely code every possible image or road condition, Pomerleau simply showed a neural network different kinds of road conditions. Once it was trained to drive under specific conditions, it was able to generalize to drive under similar but not identical conditions.

Using this method, a computer could recognize a road with metal dividers based on its similarities to a road without dividers, or a rainy road based on its similarity to a sunny road — an impossibility using traditional coding techniques. After being shown images of various left-curving and right-curving roads, it could recognize roads curving at any angle.

Other programmers designed a neural network to detect credit card fraud by exposing it to purchase histories of good versus fraudulent card accounts. Based on the general spending patterns found in known fraudulent accounts, the neural network was able to recognize the behavior and flag new fraud cases.

The neural networking mecca was San Diego — in 1987, about 1,500 people met there for the first significant conference on neural networking in two decades. And in 1991, Modha arrived at the University of California, San Diego to pursue his Ph.D. He focused on applied math, constructing equations to examine how many dimensions of variables certain systems could handle, and designing configurations to handle more.

By the time Modha was hired by IBM in 1997 in San Jose, another computing trend was taking center stage: the explosion of the World Wide Web. Even back then, it was apparent that the flood of new data was overwhelming programmers. The Internet offered a vast trove of information about human behavior, consumer preferences and social trends.

But there was so much of it: How did one organize it? How could you begin to pick patterns out of files that could be classified based on tens of thousands of characteristics?

Current computers consumed way too much energy to ever handle the data or the massive programs required to take every contingency into account. And with a growing array of sensors gathering visual, auditory and other information in homes, bridges, hospital emergency departments and everywhere else, the information deluge would only grow.

A Canonical Path
The more Modha thought about it, the more he became convinced that the solution might be found by turning back to the brain, the most effective and energy-efficient pattern recognition machine in existence. Looking to the neuroscientific literature for inspiration, he found the writings of MIT neuroscientist Mriganka Sur.

Sur had severed the neurons connecting the eyes of newborn ferrets to the brain’s visual cortex; then he reconnected those same neurons to the auditory cortex. Even with eyes connected to the sound-processing areas of the brain, the rewired animals could still see as adults.

To Modha, this revealed a fascinating insight: The neural circuits in Sur’s ferrets were flexible — as interchangeable, it seemed, as the back and front tires of some cars. Sur’s work implied that to build an artificial cortex on a computer, you only needed one design to create the “circuit” of neurons that formed all its building blocks.

If you could crack the code of that circuit — and embody it in computation — all you had to do was repeat it. Programmers wouldn’t have to start over every time they wanted to add a new function to a computer, using pattern recognition algorithms to make sense of new streams of data. They could just add more circuits.

The beauty of this whole approach,” Modha enthusiastically explains, “is that if you look at the mammalian cerebral cortex as a road map, you find that by adding more and more of these circuits, you get more and more functionality.
Dharmendra Modha and team member Bill Risk stand by a supercomputer at the IBM Almaden facility. Using the supercomputers at Almaden and Lawrence Livermore National Laboratory, the group simulated networks that crudely approximated the brains of mice, rats, cats and humans. Majed Abolfazli
In search of a master neural pattern, Modha discovered that European researchers had come up with a mathematical description of what appeared to be the same as the circuit Sur investigated in ferrets, but this time in cats.

If you unfolded the cat cortex and unwrinkled it, you would find the same six layers repeated again and again. When connections were drawn between different groups of neurons in the different layers, the resulting diagrams looked an awful lot like electrical circuit diagrams.

Modha and his team began programming an artificial neural network that drew inspiration from these canonical circuits and could be replicated multiple times. The first step was determining how many of these virtual circuits they could they link together and run on IBM’s traditional supercomputers at once.

Would it be possible to reach the scale of a human cortex?
At first Modha and his team hit a wall before they reached 40 percent of the number of neurons present in the mouse cerebral cortex: roughly 8 million neurons, with 6,300 synaptic connections apiece. The truncated circuitry limited the learning, memory and creative intelligence their simulation could achieve.

So they turned back to neuroscience for solutions. The actual neurons in the brain, they realized, only become a factor in the organ’s overall computational process when they are activated. When inactive, neurons simply sit on the sidelines, expending little energy and doing nothing. So there was no need to update the relationship between 8 million neurons 1,000 times a second. Doing so only slowed the system down.

Instead, they could emulate the brain by instructing the computer to focus attention only on neurons that had recently fired and were thus most likely to fire again. With this adjustment, the speed at which the supercomputer could simulate a brain-based system increased a thousandfold. By November 2007, Modha had simulated a neural network on the scale of a rat cortex, with 55 million neurons and 442 billion synapses.

Two years later his team scaled it up to the size of a cat brain, simulating 1.6 billion neurons and almost 9 trillion synapses. Eventually they scaled the model up to simulate a system of 530 billion neurons and 100 trillion synapses, a crude approximation of the human brain.

Building a Silicon Brain
The researchers had simulated hundreds of millions of repetitions of the kind of canonical circuit that might one day enable a new breed of cognitive computer. But it was just a model, running at a maddeningly slow speed on legacy machines that could never be brainlike, never step up to the cognitive plate.

In 2008, the federal Defense Advanced Research Projects Agency (DARPA) announced a program aimed at building the hardware for an actual cognitive computer. The first grant was the creation of an energy-efficient chip that would serve as the heart and soul of the new machine — a dream come true for Modha.

With DARPA’s funding, Modha unveiled his new, energy-efficient neural chips in summer 2011. Key to the chips’ success was their processors, chip components that receive and execute instructions for the machine. Traditional computers contain a small number of very fast processors (modern laptops usually have two to four processors on a single chip) that are almost always working. Every millisecond, these processors scan millions of electrical switches, monitoring and flipping thousands of circuits between two possible states, 1 and 0 — activated or not.

To store the patterns of ones and zeros, today’s computers use a separate memory unit. Electrical signals are conveyed between the processor and memory over a pathway known as a memory bus. Engineers have increased the speed of computing by shortening the length of the bus.

Some servers can now loop from memory to processor and back around a few hundred-million times per second. But even the shortest buses consume energy and create heat, requiring lots of power to cool.

The brain’s architecture is fundamentally different, and a computer based on the brain would reflect that. Instead of a small number of large, powerful processors working continuously, the brain contains billions of relatively slow, small processors — its neurons — which consume power only when activated. And since the brain stores memories in the strength of connections between neurons, inside the neural net itself, it requires no energy-draining bus.

The processors in Modha’s new chip are the smallest units of a computer that works like the brain: Every chip contains 256 very slow processors, each one representing an artificial neuron (By comparison, a roundworm brain consists of about 300 neurons.) Only activated processors consume significant power at any one time, making energy consumption low.

But even when activated, the processors need far less power than their counterparts in traditional computers because the tasks they are designed to execute are far simpler: Whereas a traditional computer processor is responsible for carrying out all the calculations and operations that allow a computer to run, Modha’s tiny units only need to sum up the number of signals received from other virtual neurons, evaluate their relative weights and determine whether there are enough of them to prompt the processor to emit a signal of its own.

Modha has yet to link his new chips and their processors in a large-scale network that mimics the physical layout of a brain. But when he does, he is convinced that the benefits will be vast. Evolution has invested the brain’s anatomy with remarkable energy efficiencies by positioning those areas most likely to communicate closer together; the closer neurons are to one another, the less energy they need to push a signal through. By replicating the big-picture layout of the brain, Modha hopes to capture these and other unanticipated energy savings in his brain-inspired machines.

He has spent years poring over studies of long-distance connections in the rhesus macaque monkey brain, ultimately creating a map of 383 different brain areas, connected by 6,602 individual links. The map suggests how many cognitive computing chips should be allocated to the different regions of any artificial brain, and which other chips they should be wired to.

For instance, 336 links begin at the main vision center of the brain. An impressive 1,648 links emerge from the frontal lobe, which contains the prefrontal cortex, a centrally located brain structure that is the seat of decision-making and cognitive thought. As with a living brain, the neural computer would have most connections converging on a central point.

Of course, even if Modha can build this brainiac, some question whether it will have any utility at all. Geoff Hinton, a leading neural networking theorist, argues the hardware is useless without the proper “learning algorithm” spelling out which factors change the strength of the synaptic connections and by how much. Building a new kind of chip without one, he argues, is “a bit like building a car engine without first figuring out how to make an explosion and harness the energy to make the wheels go round.

But Modha and his team are undeterred. They argue that they are complementing traditional computers with cognitive-computing-like abilities that offer vast savings in energy, enabling capacity to grow by leaps and bounds. The need grows more urgent by the day. By 2020, the world will generate 14 times the amount of digital information it did in 2012. Only when computers can spot patterns and make connections on their own, says Modha, will the problem be solved.

Creating the computer of the future is a daunting challenge. But Modha learned long ago, halfway across the world as a teen scraping the paint off of chairs, that if you tap the power of the human brain, there is no telling what you might do.
[This article originally appeared in print as "Mind in the Machine."


IBM Research

Inside Modha's Neural Chip

A circuit board containing Modha’s golden neural chip is shown at right. Within the square of gold is a smaller, golden rectangle the size of a grain of rice. The rectangle is the core that houses the electronic equivalent of biological nerve cells, or neurons.

In living neurons, electrochemical signals travel down a long, slender stalk, called an axon, to protrusions called dendrites. The signals leap from the axons across a synapse, or gap, to the dendrites of the next nerve cell in the neural net.

The process is emulated in Modha’s silicon chip, where 256 processors in the core each serve as an artificial neuron that receives signals from its own “dendrite line.” (See magnified grid, far right.) Those lines are arranged parallel to one another but perpendicular to the signal-sending “axon lines.”

Within the grid, each axon-dendrite intersection is a synapse — analogous to a biological synapse — that shunts impulses from axon lines to all processors. In neurons, the signal crosses the synapse if it is intense enough. In Modha’s golden core, each processor counts up the signals it receives from incoming axons by way of the dendrites.

If a certain threshold is exceeded, the processor sends out its own signal, or spike. Spikes are routed via the green circuit board to an external computer for data collection before being sent back to the chip.

— Fangfei Shen

Mapping the Monkey Brain

To gain more insight into neural computing, Modha has mapped the brain of the rhesus macaque monkey, which is similar to our own. He later used the map to simulate a human-scale brain on an IBM supercomputer.

The macaque-derived map models the core — the prefrontal cortex and other parts of the brain involved in consciousness, cognition and higher thought. Communication throughout the network is mainly conducted through the core, where 88 percent of all connections start or end.

In a computer, such connectivity could be implemented through a network of golden chips spanning the entire system. What Modha finds most interesting is that the macaque’s innermost core appears to include two brain networks found in humans — one that activates introspective thought and another that activates goal-oriented action, suggesting a special role in consciousness.

To take on that role in a machine, the core would have to connect to the other parts of the brain, diagrammed as a network at right. There you can see the cerebral cortex, the center of memory and intellect, and its four major parts:
  • the frontal lobe, associated with higher cognition and expressive language
  • the parietal lobe, associated with processing pressure, touch and pain; and the 
  • occipital and 
  • temporal lobes for processing vision and sound, respectively.
Hoping to emulate the macaque, Modha has also included circuits to represent the basal ganglia, which controls movement and motivation, and the insula and cingulate, both involved in processing emotion, among many others for a total of 383 regions connected by 6,602 individual links.

— Fangfei Shen
IBM Research
ORIGINAL: DARPA