---
title: Faster than real-time simulation, a new hammer
date: 2020-11-26 19:32
author: "Matt Webb"
pubDate: "Thu, 26 Nov 2020 19:32:00 +0000"
link: "https://interconnected.org/home/2020/11/26/cerebras"
urlPrev: "https://interconnected.org/home/2020/11/23/chorleywood.md"
urlNext: "https://interconnected.org/home/2020/11/27/synthetic_self.md"
---
# Faster than real-time simulation, a new hammer

_By {{page.author}} on {{page.pubDate}}._

There's a new computer chip called the _Cerebras Wafer-Scale Engine_ which is
massive.

Chips are usually the size of a postage stamp, and you get faster computers by
linking a bunch of them together. A different approach: the Cerebras is the
size of an iPad.

The Cerebras has 1.2 trillion transistors, 20 times bigger than the world's
next largest chip, and 75 times bigger than the new Apple M1 chip.
_Singularity Hub_ has all the details: [The Trillion-Transistor Chip That Just
Left a Supercomputer in the Dust.][1]

Anyway, this line from the announcement caught my eye:

> it can tell you what is going to happen in the future faster than the laws
> of physics produce that same result.
>
> -- Cerebras blog, [Beyond AI for Wafer Scale Compute][2]

Faster than real-time simulation.

I mean, that's what physics does anyway, right? We can figure out the position
of the planets in the solar system for a thousand years in the future without
having to run the calculation for a thousand years.

And yet... something provocative about this.

One of the challenges with nuclear fission, the holy grail of clear energy
generating, is the plasma going out of control, and the magnetic fields in the
torus can't be adjusted fast enough to contain it. The physics is too hard;
nobody's "solved" the plasma problem yet. But if the entire thing can be
simulated from the bottom up, faster than realtime, you don't _need_ a model.
You just run the simulation.

What are the civilian applications?

I can imagine a wearable device that continuously snapshots the world around
you, runs the simulation in fast forward, and pre-emptively warns you about a
mugging, or a bike going off course. Call it _augmented apprehension._

Or how about intelligent fire extinguishers that simulate the fire in
faster-than-realtime and dynamically direct the spray to uncannily effective
spots.

I think it's that uncanniness that draws me the most. Fluid dynamics and
chaotic systems generally are weird and interesting. I think of the weird
interference patterns you get in a pool of water if you get ripples to meet up
in specific ways, or the strange behaviours of inverted pendulums that stand
upright if you vibrate them at the right frequency. (Human skeletons are
basically realtime adjusted inverted pendulums.)

So, with powerful simulation, could you figure out how to hit a mass of water
with puffs of air so that it rises up and moves around the room, washing the
windows; or robots with reed-thin jointed limbs that should never be able to
hold themselves up, but with motors at each joint running at _just_ the right
vibration to keep the thing moving?

The general algorithm would seem to be:

  * sense and simulate the system
  * solve for the most energy-efficient intervention that leads to a
    improbable yet desired outcome, faster than that outcome can occur in real
    time
  * perform that action
  * rinse and repeat

...which is how dolphins swim and bumblebees fly.

Just as machine learning is getting into everything, and changing all software
to the point that we don't really know what will happen, unlocked by Google's
efforts with TensorFlow really, which componentised the technology, what is
the equivalent path for faster than real-time simulation?

If somebody can turn _faster than real-time simulation_ into a new hammer,
what nails could we hit?

   [1]: https://singularityhub.com/2020/11/22/the-trillion-transistor-chip-that-just-left-a-supercomputer-in-the-dust/

   [2]: https://www.cerebras.net/beyond-ai-for-wafer-scale-compute-setting-records-in-computational-fluid-dynamics/


