Why My Slime Mold is Better than Your Hadoop Cluster
Update: Organism without a brain creates external memories for navigation shows slime mold is even cooler than originally thought, storing a record of where it's been using slime: The authors conclude, the slime isn't just the mold's calling card. Instead, it's a way of marking the environment so that the organism can sense where it's been, and not expend effort on searches that won't pay off. Although the situation isn't an exact parallel, the authors make a comparison to the pheromone trails used by ants.
In After Life: The Strange Science Of Decay there’s a truly incredible sequence of gorgeously shot video showing how creeping slime mold solves mazes and performs other other amazing feats of computation. Take a look at what simple one celled organisms can do:
The whole video is really well done and shockingly revelatory. It’s the story of decay, how atoms created during the Big Bang and through countless supernova explosions are continually rearranged and reused by the complex process of life.
The most glaring take away for me was how sterile is the world of computing.
In the real-world material is plentiful and follows basic physical and chemical rules for self-assembly. Inside cells chemicals and bits of RNA and DNA whiz around each other at amazing rates of speed. They crash into each other and if there's a fit a reaction takes place and something larger is created. And the process continues until larger and larger structures are built. All without organization. Everything happens because there are elements with basic properties, supplies of those elements, ways of those elements coming into contact with each other, ways for those elements to combine together, and ways for those elements to be torn apart and recycled.
Code, which you would think would be the most alive part of our systems, is as dead as statues in a church. Code is carefully constructed, deployed, groomed, and maintained. Code is no more alive than a golem.
Data is far worse off than code. Data has no independent reality or opportunity for serendipitous creation. Data is dead. A data physics, an attempt to give life to data in the same way elements in the table elements come alive when brought together in a physical world. Imbue data with a vitality and create a physical universe in which they can combine according to their nature. That’s what we need to make computing come alive.
The Circle of Life
To have something to decay it must have been alive at some point in time. That begs the question of what is life?
Stuart Kauffman defines life as a collectively autocatalytic system:
No single molecule knows how to replicate, but together they do. There are thousands of kinds of molecules in your cells. No molecule knows how to replicate. DNA requires RNA, which requires proteins, which require the translation of RNA to proteins, which requires proteins to do the translation, which are called synthetase, they load the right amino acids on to the right transfer RNAs that bind to the right sites on the messenger RNA. A cell is a collectively autocatalytic system. All free living organisms are collectively autocatalytic systems, in richly coupled cross catalytic network.
As the diversity of molecules increases the number of interactions increases faster. At some point there's a phase transition and you just get popping out at you the emergence of collectively autocatalytic sets. It's not reducible to the underlying physics.
This documentary picks up where Kauffman leaves off, but what we are seeing is a higher level autocatalytic system composed not of atoms, but of what happens to those atoms once they’ve got the life ball rolling. And that is, unfortunately, death.
Death followed by decay provides the building blocks of life. Nutrients locked in plants and animals are freed by an intricate cycle of bacteria, mold, fungi, and beetles who work to decompose every living thing. A process dramatically shown by the video. Life has evolved this glorious system of converting simple atoms to complex entities and for then ripping them back down to simple parts. Atoms are reused in an endless cycle. Queue the Lion King, but it is a beautiful thing.
Slime Mold - The Decomposers
Slime mold is part of the decomposition process. They feed on decaying vegetation, bacteria, fungi, and even other slime molds. Largest of the single celled organisms, they can grow to more than 3 square meters. Single celled does not mean boring. Slime molds are self organized systems, like bird flocking, that has no leader and no central point of control, yet it acts a single unit.
Professor John Tyler Bonner has spent a lifetime studying slime molds has this to say about these incredible beings:
Slime molds are "no more than a bag of amoebae encased in a thin slime sheath, yet they manage to have various behaviours that are equal to those of animals who possess muscles and nerves with ganglia -- that is, simple brains."
Fascinating as these beings are, what’s cool for computer people is the solution they’ve evolved to solve the problem of efficiently finding and distributing food that seems more elegant than any human solution to the Travelling salesman problem.
Amazing
Slime mold can solve simple mazes. Put food at the center of a maze and the slime mold will find the quickest route to the food.
- Typically a maze is solved by visiting all possible passages and marking them as visited until the exit is found. This is a serial approach.
- Slime mold solves a maze in one pass without visiting all passages by following the food gradient created by the food inserted into the maze. It does not always find the shortest path and sometimes it finds the longest path.
Better Network Designers than Humans
Mazes are just the start. Computation problems can be simulated by distributing food sources and letting the slime mold forage. In the process they’ll create a network.
- As an example, lay food representing the distribution of cities around Tokyo. Apparently slime mold loves oats so they use oats as the food source. Let’s see what kind of network the slime mold comes up with. How will it compare with the rail network designed by humans?
- The network that the slime mold came up with to link all its food sources is nearly identical the rail network created by humans to link up cities around Tokyo by rail. In fact, it’s better in that it’s more resilient, it’s more reliable as the slime mode has built in more redundant links. The slime mold has figured out how to efficiently link together multiple locations, without the entire toolkit available to humans.
- Start the experiment by setting a chunk of slime mold near the oats. The slime mold grows out in all directions until encompasses all the food sources.
- Within hours it shrinks back leaving an intricate web of tubes linking all the food sources.
- The tubes are used to transfer nutrients to the slime mold. The entire network is part of one single cell. Watch the video, it’s stunning to watch.
- Slime mold is constantly pulsating as it creeps around looking for food. As one part of it finds something to eat it pulses more rapidly. Scientists believe it’s this pulsing that transmit information across the entire cell allowing the slime mold to move towards it food source. These pulsations control where and how they grow across the forest floor and around the food sources. With this approach slime mold can make multiple decisions simultaneously.
- It’s building an efficient network to transport food around, yet at the same time the network it builds can’t cost too much, it can’t use too many resources.
- Since the network is subject to damage the slime builds in redundant links between locations to make sure its food supply is not cut off.
The slime mold is showing smart behaviour. It hasn’t got a brain, yet it can solve complex problems with simple rules.
Daleks!
I know what you are thinking. Make a cyborg! Meet the phi-bot, a robot controlled by slime mold that sits on a chip.
The chip detects these pulses and translates them into robot movement. Yes, it was inspired by Dalek’s from Dr. Who. How cool is that! The idea is the slime mold process information in completely different way than standard algorithms and they are trying to learn more about how that works.
If you have a little Maker in you, you can actually buy your own slime mold. Or just wait awhile and I imagine we may see a specialized Slime Mold Cloud in the future. With Mechanical Turk Amazon put an API in front of a collection of humans, with new robot technology why not put an API in front of slime mold and create a Slime Mold Instance?