Press "Enter" to skip to content

Analog Supercomputers: From Quantum Atom to Living Body | Rahul Sarpeshkar | TEDxDartmouth


I’m going to tell you about powerful
analog computers in physics engineering
and biology I’m gonna begin with biology
I’m gonna show you the picture of a cell
you say wait a minute that’s not a cell
that’s an analog electronic board from
my PC when I open up my computer and I
give up and I can’t fix it it’s really
complicated that’s not a cell you’re
correct the cell actually is like an
electronic circuit in the sense that it
has a staggering number of interactions
amongst its molecules there are
undergoing trillions of chemical
reactions transforming things in it the
cell is growing dividing inputs come in
to the cell surface they get processed
the cells secrete something glucose
comes in insulin goes out suddenly the
environment changes that the cell up
regulates thousands of genes within it
those genes change tens of billions of
proteins those proteins change in
metabolites and there’s literally in the
lifecycle of a bacterium just 20 minutes
of the simplest bacterium on earth maybe
a little bit less simple but it’s we are
doing trillions of chemical reactions
that would take a powerful computer
likely many years to simulate that’s how
complicated a cell is that is why
medicine and biotechnology are still
black arts relatively speaking and it’s
very hard to engineer and understand the
cell and the cell works with unreliable
noisy shades of grey’ analog parts not
reliable ones and zeros that turn off
and turn on and these shades of gray
that are all probabilistic it may work
may not work sometimes are all combined
together to do something reliable for
example for T cell divisions in your
mother’s womb led to you as a baby and
that had to be a very reliable
computation the cells had to be in the
right place at the right time
synchronized
in the right cell type divide in the
right numbers otherwise you would have
come out a freak and with six fingers or
whatever and if you look at the feedback
differential equations that go on in
your mother’s womb you will be staggered
and how clever it is in correcting error
with the feedback loops and getting
everything to work even with the noisy
and unreliable parts it’s so smart it
even uses noise to bet hedge the reason
we cannot for example cure antibiotics
and antibiotic resistance is a big
problem or tumor resistance is a big
problem is just by sher randomness some
cells are gonna escape so given that
this is pretty incredible and its energy
is astounding this single cell in the
human body
on average consumes a trillionth of a
watt a trillionth of Y that’s not one
thousand it’s not one over 1 million
it’s not 1 over 1 billion it’s 1 over 10
to the 12th that’s the power consumption
of the cell and that is why the 37
trillion cells in your body still give
you a total power consumption of 80
point 6 watts for your whole body it’s
incredible they are the most energy
efficient computers built that we know
they are already nearer very close to
the fundamental laws of physics and
electronics not in five years not in 10
years not in 20 years
not in any lifetime is going to beat the
cell in terms of its energy efficiency
because the cells already as good as it
can be very near the fundamental laws of
physics already today we’re a thousand
to ten thousand times worse in energy
efficiency on our computers to say okay
this is great the cell uses analog
signals shades of gray who cares about
shades of gray I’d rather do precise
black-and-white why would we want
something noisy and analog to actually
do something how does it do something
where is the power of analog computing
coming from and the answer is that math
is already built into science we don’t
need to reinvent it so let me tell you
what I mean by that if I take a chemical
reaction in a cell and two molecules
come together
the more molecules of one kind I have
and the more molecules of another kind I
have the more likely the reactions going
to happen that means I have a multiply
for free why should I reinvent the
multiply digitally with logic I’ve
already got it for free well let’s say
two inputs come into the cell and each
of them makes the same output molecule
well those two things come together and
add then the same output molecule they
add I don’t need to reinvent the ad for
free all right
I have Boltzmann thermodynamics that
gives me a free exponential if you don’t
want to know what an exponential is
don’t worry it’s some complicated
function I put that in a feedback loop I
have a free logarithm Wow my cell
already has a logarithm like built-in
okay I take a cell and I degrade a
protein within it i diffuse a molecule
and I have a free filter and time and
space
in fact the differential equations in
your mother’s womb are using those
diffusion things with incredible
feedback loops when the human baby is
made so given that I have all of this
math available to me why would I stay
the only thing I care about is a 100
zero and all I should do is logic
because if you did that you’re gonna
take a lot of logic gates a lot of ones
and zeros to do something even simple
which I may as well almost is free in
science so that’s what the cell does it
exploits its own basis functions in
physics and chemistry and I call them
basis functions to mean the elementary
computing functions that are all
composed together in this rich man’s
language of computing rather than the
poor man’s ones and zeros it puts them
together and it’s efficient at low
precision what does that mean
your cell is not going to add two
numbers to 64 bits of precision like
your computer it doesn’t care it would
blow its entire power budget if it did
that it’s not that brain-dead okay it
actually computes with moderate
precision two to five bits of precision
some things are 10% accurate some things
are 50 some things are one percent
accurate it depends on what it cares
about but it computes with very moderate
precision and this is the reason the
cell scales and the old analog computers
did not so analog computers that were
built decades ago which everyone thinks
our old fashioned did not scale because
they tried to put too much
one wire and one channel in process all
the information in one place and after
some point you can’t build an analogue
computer to add two numbers to 20 bits
and precision is very difficult it’s
easy to build a digital computer to add
two numbers to 20 bits of precision why
because a digital computer does a very
clever divide and conquer strategy it
says if I take many one bit precise
units and I have them collectively
interact with logic and the mechanism of
a carry which you learned in high school
you know how to add binary digits and
carry numbers I can scale addition to
arbitrary precision arbitrary length
arbitrary complexity I restore the
signal everything scales so digital
scaled beat out analog and became the
paradigm of computing cells can’t do
that first of all things don’t even go
off in there they leak so the switch
never turns off and second of all and
you just do a simple calculation you’ll
finally cannot even add to ten bit
numbers would blow their entire power
budget they’re so energy efficient so
they’ve hit on an ingenious strategy it
is what I call collective analog
computing you use moderate precision
analog units but you have them
collectively interact to do what it is
you want and feedback loops preserve the
precision that you need and you get the
job done so to make a very loose analogy
analog would be the one man company
genius trying to do everything doesn’t
scale digital would be lots of one bit
morons
Oh together with low skill sets too many
of them going on and off and on and off
not getting a big picture and just the
company’s not scaling because there’s
just no competence right collective
analog would be the in-between where you
say you have a few people in the company
they have good skill sets of monitors
precision they’re not all geniuses but
that company works together and scales
so that’s the collective analog solution
okay so given that we have a collective
analog solution you can say this is a
very clever idea shouldn’t we not be
doing this in computers ourselves
shouldn’t we be building computers like
this not only that if we just copy the
cell and emulated its differential
equations we should be able to design
computers that model the cell and
understand
so and if you can model the cell and
understand the cell you can literally do
anything I mean anything it’s like
engineering the atom in physics if you
can engineer the atom in physics the
world opens up to you if you can
understand model and engineer the cell
the world opens up to in biotechnology
and medicine so how do we do that so
fortunately for us electronics and
chemistry are very deeply linked and
it’s no surprise because chemistry is
about the motion of electron
rearrangements and atoms and molecules
and electronics why it’s called
electronics is about electrons moving
from one place to another long-range in
fact atomic electronics is chemistry
which means that if electronics and
chemistry are deeply linked we have a
way in principle of taking electronic
circuits and mapping them to circuits
and cells with DNA and proteins and RNA
the molecules in cells that do the
computation and we can go the other way
we can build a analog supercomputer to
try and model the cell so let me just go
in the first direction which is the
direction of synthetic biology as a
proof of concept because the logarithm
is so important in these Boltzmann
Exponential’s we said we could engineer
a calculator in a cell by using a
logarithm how many of you know what a
slide rule is okay so you’re you’re
showing your age so we went to the moon
with slide rules they were amazing
computers they did log a plus log B’s
log a B log a minus log B is log a by B
they could take square roots by just
taking half the logarithm to get a
square root and they did amazing things
at approximate precision and what we
showed is that we could build a
logarithmic calculator that could take a
bacteria and make the bacteria take
square roots in fact it took square
roots 65 times better than you could
possibly do with digital logic gates
that would blow the budget and was 10
times faster than an in vitro solution
the point sure to make is not the fact
that we’ve built a calculator but that
we can engineer cells in a principled
way without a lot of electronic circuits
to do what we want well what about the
other direction what if we wanted to
model cell
on electronic chips so these electronic
chips might look just like the chips
that you have on your cell phones in
computers their microprocessor type
chips except their analog inside they’re
built with analog electronics that is
mimicking these chemical reactions but
they’re digitally programmable so you
can interact with them with a regular
computer and software to program them so
for example if you program them you
might be able to emulate the p53 cancer
pathway you don’t know what that is
it’s a molecule that is very important
in cancer decides when the cell is going
to commit suicide or not if there’s DNA
damage very important to get right a
very low copy number you have to get the
stochastic sand noise right and what
that means is you have to really
understand what’s going on in that
cancer cell to get it right so why would
you do this you would do this because
it’s blazing-fast to do it on an
analogue computer rather than digital we
now already can do it 31,000 times
faster than MATLAB software can do it
and even more important the digital
computer as you scale to larger and
larger and larger numbers of reactions
and larger and larger numbers of
molecules gets slower and slower and
slower and slower the analog computer
stays flat in its speed and you say how
could how why is that it’s because a
digital computer tries to emulate
randomness and time with a clock and so
the only way to get it to simulate is to
wait for everything to finish and then
get the next clock update otherwise it’s
not accurate it can’t emulate randomness
properly with a pseudo-random number
generator and get it all right and so
basically because it has a clock to
represent time because it emulates
randomness with pseudo-random numbers it
has a fake way of representing
temperature it actually is too slow it
doesn’t scale an analogue computer on
the other hand physically has
temperature represent itself time
represents itself it is inherently
parallel because the algorithm is
naturally plus all it’s relying on the
electron random motions and thermal
noise to make it so which means that it
can scale
so why should you care here’s why let’s
now take this to the next step let’s put
a whole bunch of chips together on a PC
board you can see where I’m going all
right now let’s take those pc boards and
stack them together alright I reached
the roof now now let’s take those pc
boards and make a few more now let’s
build a computer the size of this room
if we build a computer the size of this
room in five to ten years we could
possibly simulate the entire human body
that’s 37 trillion cells that might be a
little bit ambitious I would actually
probably start with an electronic liver
or an immune system and the thing about
doing this is that you can bio google
medical cures there are so many
parameters in biology biology is so
complex
you’ve now built this gigantic cloud
computer that literally can Google all
the possibilities and with a few
improvements in these chips they could
be seven million times faster not just
thirty one thousand which means
literally something that would take a
computer 12 years to do now could be
possibly done in six minutes if you can
do it in six minutes you just try
everything you don’t kill hundreds of
thousands of animals to do your drug
test you do it electronically you have
an electronic organ that you do your
tests on you use it to design
biotechnological things you use it to
design medicine if you think I’m talking
about science fiction and I’m crazy I am
NOT I am very very grounded in this
regard ok so just keep that in mind ok
so you say oh this is cool and all
computers really powerful that should
have paid more attention to them in my
physics and electrical engineering
classes it’s of just writing software or
whatever so now you say that all
computers are so powerful aren’t there
like powerful things you can do in
physics I like reading in the newspaper
that quantum computers are kind of like
change everything that quantum computers
actually have all these interesting
functions that digital computers can’t
do and it’s very hard for them to do
exactly right and you know why
it’s not because quantum computers have
ones and zeros in them it’s because
quantum computers use analog wave
functions that exploit the full power of
analog waves and to give you an analogy
the way they work and the reason they’re
so powerful is it’s like imagine a lens
waves go in all sorts of pots a light
might start out and go into the lens and
the lens will collect all of them all
the possibilities will simultaneously
interfere they’re all going on in
parallel it does a whole bunch of
computations which is called a spatial
Fourier transform and the answer is that
the focus with high probability if the
answer is wrong all those waves that are
going through the lens will interfere it
wrong it’s a blur yeah the answer’s no
probability that it’s here so what the
quantum computers are doing is they’re
interfering all the waves simultaneously
and using them to look at all the
possibilities until a high probable
outcome happens somewhere and they are
in parallel putting all the
possibilities of all the states in a
superposition so you’re exploring these
in parallel to get your answer so you
say oh well even a lot of computers are
that powerful they should be able to
emulate quantum mechanics too in fact
they should be able their quantum
mechanics at room temperature which
means we don’t need to build something
that is refrigerated to be quantum we
can change the value of Planck’s
constant H bar and keep the temperature
the same but if we’ve gotten this far
you should be asking yourself if analog
computers are powerful in biology and a
lot computers are powerful in physics
can we actually build an analog computer
that emulates both maybe it looks at
analog wave processing in biology an
analog wave processing in physics and
combines them and at this point you
should be going no no I don’t know wave
processing that’s that’s this if that’s
not biology biology it doesn’t do wave
processing well every single one of you
right now is doing incredible wave
processing with an analogue
supercomputer in your head it’s called a
human ear this is the antenna sound
waves are coming in the sound waves are
getting coupled through the middle ear
into an incredible coiled spiral analog
computer inside you called the inner ear
ha clear and what the cochlea is doing
is its separating out the sounds into
different frequencies inside it it has
these fluid membrane resonators what
these are are kind of like think of a
guitar string that’s got some fluid on
it and so at the beginning it’s very
stiff so it likes the high frequencies
there and at the end is very kind of
flexible like a long string and so
that’s where it likes the low
frequencies and so when all these
frequencies in the sound come in the
beginning the right side will get the
highs and the end will get the lows kind
of like a reverse piano these are the
piano keys on the hind these are the
piano keys on the low and I’ve separated
out all those frequencies and I built
what is called a spectrum analyzer very
very important and it turns out the
earth is an incredible spectrum analyzer
it’s faster than any known to man for
broadband spectral analysis it has
gained control in a spectrum so that
faint sounds are amplified more than
soft I mean then loud and it puts this
all together to get a very big range in
hearing certain eyes well Adams are also
resonators they’re not built with fluids
and membranes but Adams actually have a
frequency response they will absorb
things a little bit off resonance but
they have a certain frequency range that
they like in this case it’s light not
sound but if I copied the clever
exponentially tapered architecture of
the biological cochlear I could build a
quantum cochlear so what is a quantum
cochlea it’s actually using quantum
mechanics and hearing to build a quantum
spectrum analyzer and now if I put light
waves into it I would get a certain
pattern of excitation that pattern of
excitation we could recognize the
probabilities and now separate out the
light waves so now it would be like a
rainbow the violet would be here like
the high frequency of the piano key and
the red the lower frequencies would be
here like the low frequencies of the
piano key not only that this quantum
spectrum analyzer can do things that you
can’t do classically and spectrum
analysis is at the heart of all of
quantum computing
prime number factorization lots of
things like order finding and such rely
on this so if you can do spectrum
analysis well and couple these atoms you
have the potential to do something quite
big at room temperature in the palm of
your hand which is why it is interesting
so I’ve gone a long distance from
physics through chemistry to biology to
computer science you must be wondering
how are these all connected and it’s
actually very simple physics led to
chemistry through quantum and classical
interactions physics led to electronics
through quantum and classical
interactions I just showed you how to
map chemistry to electronics with the
sight amorphic Boltzmann mapping because
of that we can do synthetic biology
which is the top piece where chemistry
goes into biology with molecular
reaction circuits we can also build
computers to emulate cells which are the
electronic analog in digital circuits
which means and not only that I just
showed you you can also be inspired by
biology you could take an architecture
in the biology to do something in
computer science you would have never
imagined before
a quantum inspired by Owens cochlea
inspired computer and for a long time
math has been used to use biology as
well so what I’m telling you is that the
wet and the dry are very deeply
connected we have to learn to be
amphibians and if we do there are a lot
of applications that can bring together
this universal language of analog
circuits in the analog circuit pentagon
to do many things
so my paradigm shift is actually a very
very simple one we need to go back to
the future’ collective analog computers
like nature does in physics chemistry
and biology and not be so mesmerized by
the ones and zeros that we think are so
great in fact the founders of computer
science Alan Turing was working on
biological computing near the end of his
life
a person who built the first digital
computer of von Neumann widely
acknowledged to do so was looking at
quantum measurement
the founders of computer science
understood this von neumann said the
only reason I am working on a digital
computer is because it’s the simplest
thing to do
logic and ones and zeros he was already
studying the brain to study its analog
properties so we have to move from the
set of zeros and ones to the line of
real numbers and to the set of complex
numbers in quantum mechanics and if we
do the future is not digital it’s analog
let’s go back to it thank you [Applause]
Please follow and like us: