Analog Computing Resurgence


Analog Computing Resurgence

Corey
So for hundreds of years, analog computers were the most powerful machines around — predicting eclipses, tides, even guiding anti-aircraft guns. But once solid-state transistors came along, digital took over completely.

Maria
Right, and now it's hard to imagine using anything else. But I've heard analog might be making a comeback. What's driving that?

Corey
A perfect storm, actually. First, digital is hitting physical limits — Moore's Law is slowing down. Second, we're running huge neural networks that need massive matrix multiplications, which analog can do incredibly efficiently. And third, neural networks don't need the precision of digital — a 1% error doesn't matter if the answer is still 'chicken'.

Maria
Let's start with the basics. What exactly makes an analog computer 'analog'? I've seen those old machines with all the wires.

Corey
Instead of zeros and ones, analog computers use continuous voltages. For example, you can wire one to simulate a mass on a spring — the voltage oscillates just like the mass, and you can change parameters like damping or spring constant in real time. That's why it's called an 'analog' — the circuit is a physical analogy of the problem.

Maria
So it's like a physical model. And I imagine that makes it fast and energy-efficient?

Corey
Exactly. To add two eight-bit numbers digitally takes about 50 transistors. Analog? Just connect two wires and the currents add. Multiplication? Pass a current through a resistor — V = I * R, done. A digital multiplier uses a thousand transistors switching zeros and ones.

Maria
But there must be downsides. Why did we switch to digital in the first place?

Corey
Analog has three major drawbacks. First, it's not general-purpose — you won't run Word on it. Second, because inputs and outputs are continuous, you can't get exact repeatable results — there's always about a 1% error. And third, manufacturing variations in components like resistors mean each machine behaves slightly differently.

Maria
So for most computing tasks, digital won because it's precise, reliable, and programmable. But now AI is changing the game. Let's talk about that history — starting with the perceptron in the 1950s.

Corey
Right. Frank Rosenblatt built the perceptron to mimic how neurons work. Each neuron fires if the weighted sum of its inputs exceeds a bias. He used 400 photocells as input pixels, all connected to one output neuron with adjustable weights. To train it to tell circles from rectangles, you simply add or subtract the input activations from the weights when it makes a mistake.

Maria
And it worked for simple shapes, but not for complex ones like cats vs dogs. That led to the first AI winter after Minsky and Papert's critique in 1969.

Corey
Then in the 1980s, there was a resurgence with ALVINN, a self-driving car that used a neural network with a hidden layer. That added a matrix multiplication between layers. But it was slow — only one or two kilometers per hour — because the computer couldn't do the math fast enough.

Maria
So the hardware was the bottleneck. Flash forward to the 2000s — Fei-Fei Li created ImageNet, a huge labeled dataset of 1.2 million images. That led to the AlexNet breakthrough in 2012.

Corey
AlexNet had eight layers and 60 million weights — training required 700 million math operations per image. They used GPUs for fast parallel computation, and the top-5 error rate dropped from 28% to 16% in one year. By 2015, error rates were below human performance.

Maria
But all that computation comes at a cost — energy, the von Neumann bottleneck, and the end of Moore's Law. That's where analog steps back in.

Corey
Exactly. Neural networks are essentially giant matrix multiplications, and analog can do those in one go. I visited a startup called Mythic AI that makes analog chips for AI. They use flash memory cells as variable resistors: you store the weight as the conductance, and when you apply the input voltage, the resulting current is voltage times conductance — that's the multiplication. Wire multiple cells together and the currents add, completing the matrix multiply in hardware.

Maria
And they claim 25 trillion operations per second at just 3 watts. That's way more efficient than a digital GPU doing the same thing.

Corey
But there's still a problem: analog signal degrades over multiple layers. Mythic's solution is to convert back to digital between stages, then back to analog. That preserves accuracy. So analog isn't replacing digital entirely — it's a hybrid approach.

Maria
It's funny — Rosenblatt originally built his perceptron with analog components because the digital IBM computer was too slow. Maybe he was right all along. Our brains are both digital (neurons either fire or not) and analog (everything works in parallel). So maybe the future of AI is analog.

Corey
Right. Digital seemed like the endpoint for music, video, everything. But for AI, analog's strengths — speed, low power, and tolerance for imprecision — might make it the dominant technology a hundred years from now.

Ask anything
We've read this whole study set, so questions about it get the best answers.