Unconventional computing
Unconventional computing is computing done in ways that differ from the standard digital computer. A standard computer has three main features:[1]
- It stores data as binary digits (bits).
- It follows a program one instruction at a time.
- It is built from electronic switches.
Unconventional computing changes at least one of these features. For example, it may compute with:[1][2]
- light
- DNA and other molecules
- chemical waves
- living cells
- superconducting circuits, which carry current with no resistance when very cold
- quantum effects, the behavior of matter and energy at the scale of atoms and smaller particles
- chips modeled on the brain
The field is a branch of computer science that overlaps with physics, chemistry, and biology.
Most approaches are still research, but some exist as working hardware. Examples include:[2][3]
- D-Wave quantum annealers, commercial machines that use quantum effects to search for the low-energy state that encodes the answer to a problem.
- Research neuromorphic chips, such as Intel's Loihi.
What makes computing conventional
Conventional computing has been the main form of computing since the 1950s. Bruce MacLennan's list of its common features includes:[1]
- Information is digital, and in fact binary.
- The machine follows the von Neumann architecture, which keeps memory separate from a processor that fetches data, works on it, and sends it back.
- The processor runs instructions one at a time, in separate steps.
- Programs are organized sequences of instructions that can branch, repeat, and call subprograms.
- The logic is built from electronically controlled electronic switches.
An unconventional computer differs in at least one of these features.[1] The field is also called non-standard computing.[2] The table shows common differences.
| Convention | Unconventional alternative | Examples |
|---|---|---|
| Binary digits | Continuous values, three-valued digits, random bit streams, or quantum bits | Analog computers, ternary computers, stochastic computing, quantum computing |
| Memory kept apart from the processor | Computing inside the memory | Analog AI accelerators, neuromorphic computing |
| One step at a time | Massive parallelism (doing many computations at the same time) | DNA computing, chemical waves |
| Electronic switches | Light, molecules, superconductors, living matter | Optical computing, superconducting computing, slime moulds |
| Programs as organized instruction sequences | Training, evolution, or the material's own behavior | Reservoir computing, evolution in materio (evolving settings that make a material do a task) |
The gap between logic and physics
In a conventional computer, the program runs on a simplified model of digital logic that has little to do with the physics underneath. Susan Stepney calls this distance a "semantic gap".[2] Any material that can be made into a digital switch will do, from silicon transistors to the vacuum tubes of early computers to the brass gears of Charles Babbage's engine.[2]
Many unconventional computers narrow this gap through embodiment, where the physical behavior of the device does part of the computation itself. An analog circuit whose voltage swings like a real pendulum, for example, can predict the pendulum's motion.[2]
Why look beyond conventional computers
Limits of shrinking chips
For decades, computers improved because transistors kept shrinking, the trend known as Moore's law. Under Dennard scaling, voltage and current fell with transistor size, so the power used per unit of chip area stayed constant.[1]
Dennard scaling began to break down around 2005. Smaller transistors leak current through quantum tunneling, even when they are not switching. In tunneling, electrons pass through a barrier that classical physics (the physics of everyday objects, as opposed to quantum physics) says they cannot cross.[1]
By 2006 to 2007 this leakage had created a "power wall", a point where power use and heat limit how much faster chips can run.[1]
MacLennan argues that this will change how computers work. As devices approach the scale of the underlying physics, computation will have to become more like the physical processes that carry it out.[1]
An energy floor
Physics sets a minimum energy cost for erasing information. Erasing one bit releases a tiny minimum amount of heat that depends on temperature, so a computer that never erases data could in principle use far less energy than one that does.[4][5]
Problems that suit physical systems
Some problems match what a physical system does naturally:
- Huge parallel searches. In his 1994 DNA experiment, Leonard Adleman estimated that about joining operations happened in a single step.[6]
- Simulating quantum physics. Simulating a quantum system on a classical computer often carries a large overhead, while a quantum computer uses quantum effects directly.[2]
- Perception and learning. Carver Mead argued in 1990 that for many problems with messy or uncertain input, biological solutions are far more effective than digital ones.[7]
Main approaches
The table compares the main approaches by what carries information and the main idea behind each. Some differ mostly in their physical material, while others differ in how they represent numbers, how they are organized, or whether they erase data.
| Approach | What carries information | Main idea |
|---|---|---|
| Quantum computing | Qubits (quantum bits) | Superposition (combined states) and entanglement (linked states) |
| Optical computing | Light | Use light for fast, parallel arithmetic on arrays of numbers |
| Neuromorphic computing | Spikes (brief signals) or analog signals (which vary smoothly) in brain-like circuits | Copy how neurons and synapses (links where nerve cells pass signals to each other) work |
| Analog AI accelerators | Voltages, currents, and conductances (how easily current flows) | Multiply matrices (grids of numbers) inside memory arrays |
| DNA computing and molecular programming | DNA strands | Massive parallel chemistry |
| Superconducting computing | Short pulses of magnetic flux (the amount of magnetic field passing through a loop) | Very fast, low-power switching when cold |
| Stochastic computing | Random bit streams | Numbers as probabilities |
| Ternary computers | Three-valued digits | Base 3 instead of base 2 |
| Reversible computing | Any, with no erased data | Avoid the energy cost of erasure |
Quantum computing
A quantum computer replaces bits with qubits, which can exist in a superposition of 0 and 1. Its gates, the operations that change qubits, use superposition and entanglement, and they are reversible.[2]
Ordinary chips also rely on quantum effects, but only to build classical switches.[2]
The quantum circuit model describes a computation as a sequence of gates acting on qubits. Its abilities almost certainly exceed those of classical (ordinary, non-quantum) computers for some problems.[2] Known quantum algorithms include Shor's algorithm for factoring and Grover's algorithm for search.[2]
Quantum annealing is a separate approach, used in the commercial D-Wave machine. A quantum state is the condition of a quantum system, which sets the chances of each possible measurement result. In annealing, the state changes slowly, and quantum tunneling lets the system find its lowest-energy state, which encodes the answer.[2]
Optical computing
Optical computing processes information with light instead of electric current.[8]
The idea is old. It has been studied on and off for over 50 years, and recent interest centers on optical processors designed for specific tasks, especially neural networks.[8]
The speed of light is not the main source of any advantage. Peter McMahon's review lists 11 features of optics that a design can use, and argues that beating modern electronics will likely require careful designs that use more than one of them.[8]
Analog computers
An analog computer represents quantities with continuous physical values, such as voltage or position, that behave like the problem being solved. The MONIAC, for example, modeled the UK economy with flowing water standing in for money.[2]
Neuromorphic computing
Neuromorphic computing builds circuits modeled on the nervous system. Mead credited the brain's advantage to using basic physical effects as computing steps and to coding information as relative analog values.[7]
Such circuits have a cost and a benefit. They need adaptive methods to cope with differences between components, but they use far less power.[7]
Many neuromorphic chips run spiking neural networks, which send brief pulses between model neurons. These chips aim to bring memory and computing elements closer together than in a von Neumann machine.[9]
Early results show energy savings on some tasks. In one 2019 study, a spiking network on Intel's Loihi chip used 100 times less energy than a standard mapping algorithm on a CPU, with comparable accuracy.[3]
Analog AI accelerators
An analog AI accelerator multiplies a matrix by a vector inside a grid of memory devices. Each device stores a number as its electrical conductance, often in a memristor or a phase-change memory cell, which stores data by switching its material between physical phases.[10] Circuit laws then do the arithmetic in one step.[10][11]
Here is the input voltage on row , is the conductance of the device where row crosses column , and is the total current out of column . Ohm's law gives each device's current, , and Kirchhoff's current law adds the currents on each column.
The main drawback is the link to digital parts. In common designs, the units that convert signals between analog and digital form can use more than 95% of the system's power.[12]
DNA and molecular computing
DNA computing began in 1994, when Adleman solved a small Hamiltonian path problem with DNA. His problem used a directed graph, a network of seven points (vertices) joined by one-way links (edges). The task was to find a route that starts at vertex 0, ends at vertex 6, and enters every other vertex exactly once.[6]
DNA is a chain built from four kinds of chemical units called bases. Adleman encoded the graph in DNA in three steps:[6]
- Give each vertex a random 20-base DNA strand.
- Give each edge a strand made from the last half of one vertex strand and the first half of the next. Edges leaving vertex 0 or entering vertex 6 used that vertex's whole strand instead of half.
- Add complementary strands, whose bases pair with the bases of a vertex strand. These act as splints that hold matching edges end to end.
He then ran five steps to build random paths and filter them.[6] Length is measured in base pairs, where a base pair is two matching bases joined across the two strands of DNA.
- Mix the strands so that edges join into random paths through the graph.
- Copy only paths that start at vertex 0 and end at vertex 6, using PCR.
- Keep only molecules 140 base pairs long, which encode exactly seven vertices.
- Keep only paths that contain each of vertices 1 to 5, using magnetic beads coated with matching strands.
- Check whether any DNA remains. If it does, a path exists.
The method promised high energy efficiency. Adleman estimated that 1 joule could in principle drive about joining operations.[6]
The method also scales badly. Adleman noted that the amount of DNA needed should grow exponentially with the number of vertices.[6] Exponential growth means the amount is multiplied by a roughly fixed factor for each added vertex.
Molecular programming designs molecules that compute by themselves. Examples include:[2]
- DNA tiles. Short DNA "tiles" carry sticky ends, single-stranded ends that bind only to matching ends, and self-assemble into patterned structures that compute a range of functions.
- Gene circuits. In synthetic biology, an engineered gene that switches on only when two specific proteins are present acts as an AND gate inside a living cell.
Chemical, biological, and other materials
Many materials compute through their own behavior, an idea called in materio computing.[2] Examples include:
- Chemical waves. In a reaction-diffusion system, chemicals spread and react to form moving waves. Such systems have computed Voronoi diagrams, maps that split a surface into the regions closest to each of a set of points, and have found paths through mazes.[2]
- Slime mould. In 2000, Toshiyuki Nakagaki and colleagues showed that the single-celled organism Physarum polycephalum finds the shortest path between two points in a maze.[13]
- Complex materials. Several have been tested as computing media:[2]
- liquid crystals
- carbon nanotubes
- conductive foam
These materials rarely come with a way to program them. One fix, evolution in materio, uses an evolutionary algorithm to search for control voltages that make the material perform a chosen task.[2]
Reservoir computing gives a general model for such hardware. A fixed network or medium with random internal connections turns inputs into rich patterns. Only the output weights, the numbers that combine the reservoir's signals into an answer, are trained, and the reservoir itself can be simulated or be a physical material.[2]
Superconducting computing
Superconducting computing uses Josephson junctions as switches and stores bits as magnetic flux in superconducting loops.[14] Complex circuits today use niobium, so they must be cooled well below 9.2 K, by liquid helium or by cryocoolers.[14]
Its main logic family, rapid single flux quantum (RSFQ), codes a 1 as the presence of a short voltage pulse and a 0 as its absence.[14]
Each pulse carries exactly one flux quantum, the smallest allowed unit of magnetic flux in a superconducting circuit. Its size is volt-seconds, where is Planck's constant and is the electron charge.[14]
RSFQ was proposed in 1985 by Konstantin Likharev's group at Moscow State University, and it supports clock rates above 100 gigahertz (100 billion cycles per second).[14] In 1991, Likharev and Semenov reported tests of the simplest RSFQ parts above 100 GHz and expected speeds beyond 300 GHz.[15]
Stochastic computing
Stochastic computing represents a number between 0 and 1 as a stream of random bits. The number is the fraction of 1s, so a stream with 25% 1s stands for 0.25.[16]
This makes arithmetic very cheap. Suppose two streams with values and are uncorrelated, meaning the bits of one do not predict the bits of the other. If both enter a single AND gate, the output stream has value .[16]
The method also tolerates errors. Every bit has the same weight, so one flipped bit moves a result such as 3/8 only to 2/8 or 4/8.[16]
The trade-off is low precision and low speed, since accurate values need long streams.[16]
Ternary computers
A ternary computer uses digits with three values instead of two.
The Setun, assembled at Moscow State University by the end of 1958, used balanced ternary, with digits , , and .[17] This system writes negative numbers without a separate sign code.[17]
Setun went into serial production, which stopped by 1965.[17]
Nature-inspired algorithms
Some unconventional computing is software rather than hardware. These algorithms borrow ideas from physics or biology but usually run on ordinary computers.[2] Examples include:[2]
- Simulated annealing, inspired by the slow cooling of metal, which uses a stand-in for temperature to control how widely it searches.
- Evolutionary algorithms, based on a population of candidates competing to survive.
- Ant colony optimization, based on ants cooperating to find a short path.
- Particle swarm optimization, based on flocks of birds cooperating in a search for food.
This work overlaps with natural computing.
Energy and reversibility
Landauer's principle
An operation is logically irreversible when its output does not let you recover its input, as when a bit is erased or two computation paths merge. Landauer's principle says that any such operation must raise entropy, a measure of how many physical states a system can be in, in the computer's other parts or its surroundings.[18] Rolf Landauer showed in 1961 that resetting a bit releases at least of heat.[4]
Here is the least heat released per erased bit, is Boltzmann's constant, and is the absolute temperature (temperature measured from absolute zero) of the surroundings. At room temperature, J, so J.[1]
The bound applies only to irreversible steps. Real computers give off far more energy than this minimum.[18]
Reversible computation
In 1973, Charles Bennett showed that a general-purpose machine, such as a Turing machine (a simple mathematical model of a general-purpose computer), can be made logically reversible at every step.[5] His machine works in three stages:[5]
- Compute forward, saving every intermediate result instead of erasing it.
- Copy the answer to a separate output.
- Run the first stage backward, which removes the saved results without erasing anything.
The machine ends holding only the input and the answer. Bennett later noted that such a reversible version need not use much more time or memory than the original. It can in principle run on suitable hardware without any net increase in entropy.[18]
This idea is the basis for reversible computing.
Conservative logic and the billiard-ball model
In 1982, Edward Fredkin and Tommaso Toffoli proposed conservative logic, a model that mirrors two principles of physics, reversibility and conservation. Every step can be undone, and the number of 1s never changes.[19] The model shows that sequential circuits (circuits with memory that process inputs in a series of steps) can in principle run with zero internal power loss.[19]
Conservative logic has two basic parts.[19]
- The unit wire carries a single bit, whether the bit is moving or being stored.
- The Fredkin gate uses one control bit to decide whether its two other inputs swap places.
Their billiard-ball model builds such logic from identical hard balls bouncing off each other and off fixed mirrors. A ball at a point stands for a 1, and every place two balls might collide acts as a logic gate.[19][20] In the authors' words, a perfect gas in a suitably shaped container could reproduce the behavior of a general-purpose digital computer.[19]
A cellular automaton is a grid of simple cells that each update from their neighbors' states.[2] In 1984, Norman Margolus defined a reversible cellular automaton rule, the BBMCA, that imitates the billiard-ball model in purely digital form.[20]
Open problems
Programming
Conventional computers have high-level languages that hide the hardware. Most unconventional materials have no such programming model, so researchers often search for working setups, for example with evolutionary methods, instead of writing programs.[2]
Does it compute?
It is not always clear whether a system is computing or simply following its own physics. Clare Horsman, Susan Stepney, and colleagues have proposed a theory of when a physical system computes.[2]
Noise, precision, and scale
Analog and physical systems are noisy and vary from part to part:
- Neuromorphic circuits need adaptive methods to correct for differences between components.[7]
- Stochastic circuits trade precision for simplicity, and short streams are unreliable.[16]
- DNA methods make errors, such as wrongly joined strands, and Adleman's method needs exponentially more DNA as graphs grow.[6]
- Superconducting chips must be cooled to a few kelvin, by liquid helium or by cryocoolers.[14]
Beyond Turing machines?
Some ask whether unconventional systems could achieve hypercomputation, computing things no Turing machine can. MacLennan calls this an important theoretical question but argues that focusing on it can distract from wider questions, such as how to build error, uncertainty, and reversibility into models of computation.[1]
History
The field gathered ideas from many decades before it had a name.
- 1958: Setun, a balanced-ternary computer, runs at Moscow State University.[17]
- 1959: Richard Feynman gives a talk on building "sub-microscopic" computers.[6]
- 1961: Landauer links erasing information to heat.[4]
- Mid-1960s: stochastic computing is developed in parallel in the UK and the US.[16]
- 1973: Bennett shows computation can be logically reversible.[5]
- 1982: Fredkin and Toffoli publish conservative logic, and Feynman publishes "Simulating physics with computers".[19][2]
- 1985: Likharev's group proposes RSFQ logic.[14]
- 1990: Mead publishes "Neuromorphic electronic systems".[7]
- 1994: Adleman computes with DNA.[6]
- 1998: the first conference on Unconventional Models of Computation meets in Auckland, New Zealand.[21]
- 2000: a slime mould solves a maze.[13]
- 2002 onward: journals appear, including Natural Computing (2002) and the International Journal of Unconventional Computing (2005).[21]
The 1998 conference grew into the Unconventional Computation and Natural Computation series, with Cristian Calude as founding chair of its steering committee.[21]
References
- Unconventional Computation, Bruce J. MacLennan, University of Tennessee, 2019.
- Introduction to Unconventional Computing, Susan Stepney, in Guide to Unconventional Computing for Music, Springer, 2017.
- Spiking Neural Network on Neuromorphic Hardware for Energy-Efficient Unidimensional SLAM, arXiv, 2019.
- Irreversibility and Heat Generation in the Computing Process, Rolf Landauer, IBM Journal of Research and Development, 1961.
- Logical Reversibility of Computation, Charles H. Bennett, IBM Journal of Research and Development, 1973.
- Molecular Computation of Solutions to Combinatorial Problems, Leonard M. Adleman, Science 266, 1994.
- Neuromorphic electronic systems, Carver Mead, Proceedings of the IEEE 78, 1990.
- The physics of optical computing, Peter L. McMahon, arXiv, 2023.
- Spiking Neural Networks Hardware Implementations and Challenges: a Survey, arXiv, 2020.
- Accurate Emulation of Memristive Crossbar Arrays for In-Memory Computing, arXiv, 2020.
- Solving matrix equations in one step with cross-point resistive arrays, Proceedings of the National Academy of Sciences, 2019.
- Reliability-Aware Deployment of DNNs on In-Memory Analog Computing Architectures, arXiv, 2022.
- Maze-solving by an amoeboid organism, Toshiyuki Nakagaki, Hiroyasu Yamada, and Ágota Tóth, Nature 407, 2000.
- Applied Superconductivity, Chapter 5: Digital Electronics, Rudolf Gross and Achim Marx, Walther-Meißner-Institut lecture notes, 2010.
- RSFQ logic/memory family: a new Josephson-junction technology for sub-terahertz-clock-frequency digital systems, K. K. Likharev and V. K. Semenov, IEEE Transactions on Applied Superconductivity, 1991.
- Survey of Stochastic Computing, Armin Alaghi and John P. Hayes, ACM Transactions on Embedded Computing Systems, 2013.
- Ternary Computers: The Setun and the Setun 70, Nikolay P. Brusentsov and José Ramil Alvarez, SoRuCom 2006, Springer, 2011.
- Notes on Landauer's principle, reversible computation, and Maxwell's Demon, Charles H. Bennett, Studies in History and Philosophy of Modern Physics, 2003.
- Conservative Logic, Edward Fredkin and Tommaso Toffoli, International Journal of Theoretical Physics 21, 1982.
- Physics-like Models of Computation, Norman Margolus, Physica D 10, 1984.
- Unconventional Computing: A Brief Subjective History, Cristian S. Calude, CDMTCS Research Report, University of Auckland, 2015.
