Your browser is not supported. Please update it.

15 August 2014

IBM's Neurosynaptic chip mimics brains for ultra-low power CPU

IBM has unveiled the latest progress on a CPU that functions like a human brain, which promises to use thousands of times less power than traditional CPU architectures. The potential for this super low-power processor in IoT applications is huge, and the neurosynaptic processor, as it is called by IBM, complements Big Blue’s other tangentially related IoT project ‘ the machine learning Artificial Intelligence called Watson.

Along with researchers from Cornell University and iniLabs, IBM has produced the most brain-like chip in history, codenamed TrueNorth, and the evolution of an earlier brain chip. The project was undertaken for the Defense Advanced Research Project Agency’s (DARPA) Systems of Neuromorphic Adaptive Plastic Scalable Electronics (SyNAPSE) project.

IBM research fellow and chief scientist for brain-inspired computing, Dharmendra Modha, said ‘our architecture is designed to approximate the structure and function of the brain in silicon while being efficient in terms of power. It could become the silicon brain for the IoT. It could transform the mobile experience as we know it.’

The largest potential change these chips could bring about is to disrupt cloud computing, with the next biggest shift being the potentially massive improvements in battery life for screen-less devices. In the standard cloud computing model, data is collected at the edge of a network and then backhauled to the central cloud, where it is processed by racks of servers before a decision is made based on the data. For example, the temperature and rainfall sensors in a smart home pass their environmental data to the cloud, where a central server decides that it is in fact raining in the Smith family smart home and that it should send a message to the smart home hub to shut the windows and turn the air conditioning off.

But that data is actually fairly straightforward to process, and the system could be designed to handle those computations at the network edge, inside the home using today’s CPUs. You don’t need neurosynaptic chips for that job. But complex tasks such as image recognition currently require lots more computational power than you can fit inside a home hub economically, and so you have to backhaul image data to the cloud for processing. With a new low-power but very powerful chip located at the edge, you could be able to process all the heavy computational tasks at the edge instead of having to backhaul them. As video based apps are a large part of smart home security and automation functionality, the neurosynaptic processing power would reduce the need to upload gigabytes of video per house per week to the cloud for analysis.

As Modha puts it, ‘we are populating the Earth and space with sensors, cameras and microphones, and then moving the data they create to the datacenter. Data is going to computation. But with a low-power and brain-like capabilities of our chips and the ability to do pattern recognition, we can move intelligent computation back to the edge. The sensor becomes the computer.’

After all, the human brain is very good at spotting snakes in the undergrowth, seeing the flash of movement that leaps from the shadows or the subtle movements of prey in the distance. Rapid image processing and decision making is a fundamental aspect of our brain function, but it is something that computers have difficulty with unless programmers spend hours teaching them how to spot the differences between lions and leopards or snakes and slow worms. If TrueNorth can replicate the workings of human intelligence, it could serve as the foundation of a self-learning machine intelligence such as IBM’s Watson’ one that learns things by itself instead of needing to be shown by people.

Google has already run a 16,000 CPU neural network in its cloud servers, consisting of only around 1 billion transistors, which analyzed YouTube thumbnails and amusingly found itself particularly drawn to cat videos. In the space of three days, this digital brain taught itself cats with 16% detection accuracy, but the IBM chip has ‘5.4 billion transistors, in a form factor the size of a postage stamp and 176,000 times more electrically efficient than a traditional CPU running ‘brain-like applications, at 400 billion synaptic operations per second per watt.’ Qualcomm also has its Zeroth brain-silicon project, aiming for much the same goal.

But as good as the human brain is at image processing, it is not so powerful when it comes to complex mathematical number crunching. As YouTube personality Barnecules quipped, ‘the last time you tried to calculate Pi to 4 million decimal places, how long did it take you to do it, because a computer can do it in like 3 seconds. Are they calling it ‘brain-like’ because ‘dumb’ just wouldn’t sell chips?’

And while he’s being sarcastic and a little facetious, his comment does highlight the stark difference between the human brain and a CPU. These new neurosynaptic chips require a completely different programming approach, language, and software stack than all other computers ‘ all to achieve a very specific task instead of the general purpose approach of a normal CPU. So while a combination of traditional CPU and neurosynaptic chip could eliminate the costs of cloud servers and backhaul bandwidth for image processing, the brain-like chips that are in development now are probably never going to replace the SoC in your smartphone by themselves. The global neurosynaptic development process will also take years to catch up with the likes of x86, x64 and ARM.

The chip’s development team are working on turning this military project into a commercially feasible product. It contains 1 million artificial neurons, which imitate brain cells and act as processors, and 256 million synapses, which act as storage, all of which are powered by 4,096 neurosynaptic cores. These cores coordinate the computation, communication and memory access functions of the brain chip.

The chip does not conform to the von Neumann architecture that is used in most CPUs. Essentially, the von Neumann approach solves problems in a serial and sequential fashion, and cannot perform an instruction fetch and data operation at the same time because the two operations share the same bus in the processor ‘ like trying to simultaneously drive oncoming cars in a single lane street; the traffic can’t move.

Instead the 4,096 neurosynaptic cores are able to function independently, and thanks to the chip’s architecture, a single core can fail without the entire chip crashing ‘ called a fault-tolerant design. A mesh communication design allows each core to speak to any other core on the chip via multiple pathways, instead of the single bus dictated by the von Neumann architecture.

Modha adds that ‘with 5.4 billion transistors, it is the biggest chip IBM has ever made, and as far as we know it is the biggest chip anyone has ever made. And yet, it consumes just 70 millWatts of power.’

IBM used a new unit of measurement to quantify the chip’s power. Instead of floating point operations per second (FLOPS), the neurosynaptic chip is measured with synaptic operations per second (SOPS). IBM says it delivers 46 billion SOPS per Watt of electricity. The chip’s design means it uses 20 milliWatts per cm2, which is around 5,000 times less power than regular CPUs.
Modha says this ‘is literally a super computer the size of a postage stamp, with the weight of a feather and using a power source the size of a hearing aid battery. It’s ideal for monitoring sensors, mobile devices, executing cloud services and supercomputing.’

IBM has so far linked 16 of these chips together to give some indication of their potential for supercomputer projects thanks to their scalability, with the goal of creating a system equivalent to the human brain’s 100 billion (1011) synapses. That would require 390 of the brain chips in their current guise (1011 synapses in average brain over 2.56 x 108 synapses per chip), but given that in one generation IBM progressed from a chip with 1 neurosynaptic core and 256 neurons to a chip with 4,096 cores and 1 million neurons, the next generation of processors might be able to hit that 100 billion goal within the next few years using far less than 390 processors in a brain replica array, in a form factor that might easily fit in a server rack.

In addition, the current chip was fabricated using Samsung’s 28nm process, but Intel is preparing to release its 14nm Broadwell chips in Q1 2015. Reducing the die size by 50% would improve the BOM per chip, but another benefit reported by Intel of its Broadwell architecture is that the mobile versions of the CPU can be underclocked so that they don’t require fans to cool.

Given that the neurosynaptic architecture uses around 5,000 times less than a processor such as the Broadwell family, the brain chip has the potential for staggeringly long lasting batteries in mobile devices. Unfortunately, CPUs have not been the biggest power draw in these devices for quite some time. For mobile performance to improve significantly, more energy efficient display technology is required ‘ that or bigger batteries, which have been the biggest bottleneck in recent years.

But this processor hasn’t been designed to eliminate traditional CPUs, rather to complement them by performing the complex computational tasks in parallel with a regular processor, but crucially at the edge of the network instead of having to rely on centralized cloud instances. This silicon design could revolutionize things like crash avoidance systems in automated vehicles, but as DARPA is funding the project, this will most likely see the light of day in a military application before it arrives in the civilian markets.

Subscribe to RIoT Weekly here: http://eepurl.com/WoPrb