A US semiconductor company called Lyric Semiconductor, backed by DARPA and MIT, announced a new technology this week that it says can improve performance while sharply reducing the energy used by electronic devices. Instead of relying on conventional NAND gates that operate on binary values, the system uses “Bayesian NAND gates,” which work with probabilities. Could this spell the end of digital electronics?

The microprocessors in computers and other electronic devices—including the one you’re using to read this article—are built on the foundations of digital technology, rooted in binary algebra. These chips recognize just two clearly defined states, known as bits: in binary, ones and zeros. Bits can be stored, compared, and used in mathematical operations. The basic components that perform those operations are familiar to Neoteo readers: logic gates, tiny transistor-based circuits that produce an output based on their inputs. With just two possible values—binary zeros and ones—a microprocessor can do everything needed to let you browse the web or play a game of Crysis. But binary is not the only possible basis for a chip.

BDE4.jpg
These chips could speed up all current devices.

Boston-based Lyric Semiconductor, supported by organizations such as DARPA and MIT, has recently proposed a probability-based approach that, it says, could speed up processing in all current devices. Under this approach, chips accept probabilities as input, process them, and produce a probability as output. Rather than conventional logic gates, they use a different design called “Bayesian NAND gates,” named for statistician Thomas Bayes, whose work laid the foundations for this technology.

The project’s developers say probability-based chips are better suited to certain computational tasks. Software that handles statistical operations—for example, recommendation engines used by companies such as Amazon and Netflix—could run much faster and more efficiently on this kind of silicon. Filters that protect us from spam could also benefit.

The basic idea is simple. A binary system lets you rate how appealing a pizza is using only two choices, “good” or “bad” (1 or 0). A probability-based system offers a whole range of shades, including “pretty good” or “worse than average.”

BDE8.jpg
Is rating this pizza “Good” or “Bad” enough?

DARPA, the Pentagon agency tasked with funding far-fetched projects that might have some remote military application, has provided the money needed to bring this project, which began in 2006, to fruition. Beyond recommending a pizza or a book, probability-based processors could help the military reconstruct audio signals degraded by noise, whether accidentally or deliberately. They could also enable object-recognition applications in computer vision that would make today’s systems look like an abacus.

If the program stays on track, the first general-purpose processors based on this technology could appear within the next three years. In the meantime, Lyric Semiconductor has already put a license on the market for a small chip designed to correct errors in flash memory. The company hopes that its error-correction chip will be incorporated into new flash memory for devices such as smartphones and tablets within the next two years.

Because of the way flash memory works, on average one in every thousand bits is read incorrectly. A controller in a USB flash drive, for example, detects the error and corrects it if necessary. That can mean reading a memory sector again, costing time and energy. Lyric’s processor, called Lyric Error Correction (LEC), performs the same task with an error rate 30 times lower while using just 10 percent of the energy required by its “binary counterparts.”

BDEA.jpg
These chips use what are known as “Bayesian NAND gates.”

Of course, the arrival of this technology does not mean binary electronics—the foundation of modern computing—will be abandoned in four or five years. Binary remains the best approach for many applications, and conventional microprocessors will continue to handle those tasks. Still, chips such as LEC are likely to make gradual inroads in other fields.

As seen on POPSci.