The surprising usefulness of sloppy arithmetic
January 4, 2011 By Larry Hardesty
Graphic: Christine Daniloff
Ask a computer to add 100 and 100, and its answer will be 200. But what if it sometimes answered 202, and sometimes 199, or any other number within about 1 percent of the correct answer?
Arithmetic circuits that returned such imprecise answers would be much smaller than those in todays computers. They would consume less power, and many more of them could fit on a single chip, greatly increasing the number of calculations it could perform at once. The question is how useful those imprecise calculations would be.
If early results of a research project at MIT are any indication, the answer is, surprisingly useful. About a year ago, Joseph Bates, an adjunct professor of computer science at Carnegie Mellon University, was giving a presentation at MIT and found himself talking to Deb Roy, a researcher at MITs Media Lab. Three years earlier, before the birth of his son, Roy had outfitted his home with 11 video cameras and 14 microphones, intending to flesh out what he calls the surprisingly incomplete and biased observational data about human speech acquisition. Data about a childs interactions with both its caregivers and its environment could help confirm or refute a number of competing theories in developmental psychology. But combing through more than 100,000 hours of video for, say, every instance in which either a child or its caregivers says ball, together with all the childs interactions with actual balls, is a daunting task for human researchers and artificial-intelligence systems alike. Bates had designed a chip that could perform tens of thousands of simultaneous calculations using sloppy arithmetic and was looking for applications that leant themselves to it.
Roy and Bates knew that algorithms for processing visual data are often fairly error-prone: A system that identifies objects in static images, for instance, is considered good if its right about half the time. Increasing a video-processing algorithms margin of error ever so slightly, the researchers reasoned, probably wouldnt compromise its performance too badly. And if the payoff was the ability to do thousands of computations in parallel, Roy and his colleagues might be able to perform analyses of video data that they hadnt dreamt of before.
High tolerance
So in May 2010, with funding from the U.S. Office of Naval Research, Bates came to MIT as a visiting professor, working with Roys group to determine whether video algorithms could be retooled to tolerate sloppy arithmetic. George Shaw, a graduate student in Roys group, began by evaluating an algorithm, commonly used in object-recognition systems, that distinguishes foreground and background elements in frames of video.
To simulate the effects of a chip with imprecise arithmetic circuits, Shaw rewrote the algorithm so that the results of all its numerical calculations were either raised or lowered by a randomly generated factor of between 0 and 1 percent. Then he compared its performance to that of the standard implementation of the algorithm. The difference between the low-precision and the standard arithmetic was trivial, Shaw says. It was about 14 pixels out of a million, averaged over many, many frames of video. No human could see any of that, Bates adds.
Of course, a really useful algorithm would have to do more than simply separate foregrounds and backgrounds in frames of video, and the researchers are exploring what tasks to tackle next. But Bates chip design looks to be particularly compatible with image and video processing. Although he hasnt had the chip manufactured yet, Bates has used standard design software to verify that it will work as anticipated. Where current commercial computer chips often have four or even eight cores, or separate processing units, Bates chip has a thousand; since they dont have to provide perfectly precise results, theyre much smaller than conventional cores.
But the chip has another notable idiosyncrasy. In most commercial chips, and even in many experimental chips with dozens of cores, any core can communicate with any other. But sending data across the breadth of a chip consumes much more time and energy than sending it locally. So in Bates chip, each core can communicate only with its immediate neighbors. That makes it much more efficient a chip with 1,000 cores would really be 1,000 times faster than a conventional chip but it also limits its use. Any computation that runs on the chip has to be easily divided into subtasks whose results have consequences mainly for small clusters of related subtasks those running on the adjacent cores.
On the grid
Fortunately, video processing seems to fit the bill. Digital images are just big blocks of pixels, which can be split into smaller blocks of pixels, each of which is assigned its own core. If the task is to, say, determine whether the image changes from frame to frame, each core need report only on its own block. The core associated with the top left corner of the image doesnt need to know whats happening in the bottom right corner.
Bates has identified a few other problems that his chip also handles well. One is a standard problem in computer science called nearest-neighbor search, in which you have a set of objects that can each be described by hundreds or thousands of criteria, and you want to find the one that best matches some sample. Another is computer analysis of protein folding, in which you need to calculate all the different ways in which the different parts of a long biological molecule could interact with each other.
Bob Colwell, who was the chief architect on several of Intels Pentium processors and has been a private consultant since 2000, thinks that the most promising application of Bates chip could be in human-computer interactions. Theres a lot of places where the machine does a lot of work on your behalf just to get information in and out of the machine suitable for a human being, Colwell says. If you put your hand on a mouse, and you move it a little bit, it really doesnt matter where exactly the mouse is, because youre in the loop. If you dont like where the cursor goes, youll move it a little more. Real accuracy in the input is really not necessary. A system that can tolerate inaccuracy in the input, Colwell, argues can also tolerate (some) inaccuracy in its calculations. The type of graphics processors found in most modern computers are another example, Colwell says, since they work furiously hard to produce 3-D images that probably dont need to be rendered perfectly.
Bates stresses that his chip would work in conjunction with a standard processor, shouldering a few targeted but labor-intensive tasks, and Colwell says that, depending on how Bates chip is constructed, there could be some difficulty in integrating it with existing technologies. But he doesnt see any of the technical problems as insurmountable. But theres going to be a fair amount of people out in the world that as soon as you tell them Ive got a facility in my new chip that gives sort-of wrong answers, thats what theyre going to hear no matter how you describe it, he adds. Thats kind of a non-technical barrier, but its real nonetheless.
This story is republished courtesy of MIT News (http://web.mit.edu/newsoffice/), a popular site that covers news about MIT research, innovation and teaching.
Provided by
Massachusetts Institute of Technology
-
From lemons to lemonade: Reaction uses carbon dioxide to make carbon-based semiconductor,
28 comments
-
Thioridazine kills cancer stem cells in human while avoiding toxic side-effects of conventional cancer treatments,
3 comments
-
SpaceX private rocket blasts off for space station (Update),
41 comments
-
Climate scientists say they have solved riddle of rising sea,
30 comments
-
Scotland passes turbine test to harness tidal power,
41 comments
-
Ideas to mitigate risk of 911 calls being misdirected
May 24, 2012
-
Live scribe pen?
May 10, 2012
-
Shallow water flow simulation
May 07, 2012
-
Tablet for taking notes?
May 05, 2012
-
Best fit tablet for me?
May 05, 2012
-
Measure of Informaton
May 04, 2012
- More from Physics Forums - Computing & Technology
More news stories
SpotterRF debuts Radar Backpack Kit (w/ Video)
(Phys.org) -- SpotterRF has announced a special radar backpack kit designed to enhance situational awareness for soldiers on the ground. The company says its special radar is designed for warfighters as part ...
Yahoo kills 'Livestand' just 6 months after debut
(AP) -- Yahoo is killing a tablet magazine called Livestand just six months its debut on the iPad.
22 hours ago |
not rated yet |
1
Yahoo! ditches digital newsstand for iPads
Yahoo! shuttered its fledgling digital newsstand for iPads on Friday in what it said was the start of a product purge intended to make the floundering Internet pioneer more nimble.
23 hours ago |
not rated yet |
0
Probability of contamination from severe nuclear reactor accidents is higher than expected: study
Catastrophic nuclear accidents such as the core meltdowns in Chernobyl and Fukushima are more likely to happen than previously assumed. Based on the operating hours of all civil nuclear reactors and the number ...
Technology / Energy & Green Tech
May 22, 2012 |
3.4 / 5 (17) |
49
|
Delphi gasoline-injection engine technique rivals hybrid's edge
(Phys.org) -- Running a diesel like engine on gasoline is something Delphi is doing in notable fashion. They claim they are on to a promising way to enjoy an engine that gives the vehicle owner high efficiency ...
Australia hails surprise super-telescope decision
Australia has hailed a surprise decision giving it a role in a radio telescope project aimed at revolutionising astronomy, vowing to draw on its decades of experience in space science.
Astronomers seize last chance in lifetime for Venus Transit
Astronomers are gearing for one the rarest events in the Solar System: an alignment of Earth, Venus and the Sun that will not be seen for another 105 years.
Thousands of shellfish found dead in Peru
Thousands of crustaceans were found dead off the coast of Lima following the mystery mass death of dolphins and pelicans, the Peruvian Navy said Friday.
SpaceX capsule has 'new car' smell, astronauts say
SpaceX's Dragon cargo vessel smells like a new car, said astronauts at the International Space Station after opening the hatches Saturday following the spacecraft's landmark mission to the orbiting lab.
Family history of Alzheimer's affects functional connectivity
(HealthDay) -- Cognitively normal individuals with a family history of late-onset Alzheimer's disease (AD) may display lower resting state functional connectivity in the default mode network (DMN) of the brain, ...
Astronauts enter world's 1st private supply ship
(AP) -- Space station astronauts floated into the Dragon on Saturday, a day after its heralded arrival as the world's first commercial supply ship.
Jan 04, 2011
Rank: 5 / 5 (6)
It's kind of funny it took so long to get here. The human mind is anything but an exact computational device. As we move along in our reverse engineering of the brain I think we are going to find analogs to this multi-sloppy core design occurring iteratively down to the simplest levels in the brain.
AI
AI
AI
Jan 04, 2011
Rank: 5 / 5 (2)
Jan 04, 2011
Rank: not rated yet
Interesting thought. I think we'll find a wildly complex emergent system designed of many small, simple units.
Jan 04, 2011
Rank: not rated yet
Jan 04, 2011
Rank: 1 / 5 (1)
12 + 12 = 20
11* 13 = 100
He so smart.
Jan 04, 2011
Rank: 5 / 5 (4)
It isn't even funny how many applications in
The applications go much further than that example, but it is a very clear example for those who cannot imagine why bad results can work effectively.
Jan 04, 2011
Rank: not rated yet
Jan 04, 2011
Rank: 5 / 5 (4)
Sorry if I missed something, but... Are you kidding? AI is pretty much a direct product of simulation of the human brain. I agree with rynex regarding the "wildly complex emergent system", but fail to see how this is incompatible with multi-sloppy cores.
Ultimately pattern recognition is somewhere near the root of our intelligence and this technology is going to let us synthesize this ability.
QC is right that a mind with poor error correction/detection is laughable, but that is where redundancy and significance come into play. Funny that point came from somebody with his record of correctness.
Jan 04, 2011
Rank: 5 / 5 (1)
Jan 05, 2011
Rank: not rated yet
Jan 05, 2011
Rank: 1 / 5 (1)
Jan 05, 2011
Rank: not rated yet
Jan 10, 2011
Rank: not rated yet
Jan 21, 2011
Rank: not rated yet