Slime Molds and Problem Solving

*December 1st, 2026* *Oğul Can Yurdakul* *Department of Cognitive Science, UC Irvine*
|Click the links!|Presentation|Handout| |-|:-:|:-:| |Dark mode|[link](https://ogulyurdakul.github.io/files/cogs210b_slimeMold/)|[link](https://ogulyurdakul.github.io/files/cogs210b_slimeMold/dark_handout.pdf)| |Light mode|[link](https://ogulyurdakul.github.io/files/cogs210b_slimeMold/light.html)|[link](https://ogulyurdakul.github.io/files/cogs210b_slimeMold/light_handout.pdf)|


the slime itself: Physarum polycephalum

- eukaryote but not a fungus! - amoeboid protist - "syncytium:" one cell, *millions* of nuclei! ![width:350 center](/files/cogs210b_slimeMold/plasmodium.jpg) - plasmodium: mobile form - few mm$^2$ to over half a m$^2$ - can move up to 1cm/h - has inspired many work, including an optimization algorithm
![width:400 center](/files/cogs210b_slimeMold/slimeCycle.png) (a) Fragments of sclerotium. (b) Sporangia. (c) Spores. (d) Swarm cell (arrowed). c, d Scale bar = 10$\upmu$m

slime molds as “problem solvers”

path finding

- maze solving $\quad\quad$ [YouTube: Slime mold solving a maze in the lab](https://www.youtube.com/watch?v=F3z_mdaQ5ac)
- Tokyo subway map $\quad\quad\quad\quad$ [YouTube: Slime mold form a map of the Tokyo-area railway system](https://www.youtube.com/shorts/GwKuFREOgmo)

slime molds as “problem solvers” - 2

traveling salesperson problem

- under standard foraging, the plasmodium doesn't solve the TSP ![width:500 center](/files/cogs210b_slimeMold/image-1.png)
- Bajpai et al. (2026): light feedback to keep the plasmodium in non-equilibrium ![width:500 center](/files/cogs210b_slimeMold/travelingSlime.png)

slime molds as “problem solvers” - 3

towers of Hanoi puzzle

![width:550 center](/files/cogs210b_slimeMold/hanoiSetup.png) again needs some feedback!
![width:400 center](/files/cogs210b_slimeMold/hanoiSolution-2.png)

slime molds as ???

- urban designers? ![width:500 center](/files/cogs210b_slimeMold/urbanDesign.png) - Romans?? ![width:500 center](/files/cogs210b_slimeMold/balkans.png)
- colonizers??? ![width:500 center](/files/cogs210b_slimeMold/colonization.png) ![width:500 center](/files/cogs210b_slimeMold/colonization2.png)
- the universe???? - dark matter filaments: ![width:500 center](/files/cogs210b_slimeMold/universe.png) - cosmic web: ![width:500 center](/files/cogs210b_slimeMold/universe-2.png)

to err is human slime mold

speed-accuracy trade-off

when having to choose between food sources, adding stressors reduce accuracy of choosing the larger one

![width:350 center](/files/cogs210b_slimeMold/satSetup.png) black: easy discrimination task gray: difficult discrimination task
![width:600 center](/files/cogs210b_slimeMold/satResultFull.png)

to err is human slime mold - 2

independence of irrelevant alternatives

when an overall worse option is introduced into a choice among two, slime molds sometimes choose it!

overall worse decoy ![width:350 center](/files/cogs210b_slimeMold/iiaSetup.jpg) black: two-choice setup gray: three-choice setup
non-starved plasmodia ![width:350 center](/files/cogs210b_slimeMold/iiaResult_a.jpeg) ![width:350 center](/files/cogs210b_slimeMold/iiaResult_xlabel.jpeg)
starved plasmodia ![width:350 center](/files/cogs210b_slimeMold/iiaResult_b.jpeg) ![width:350 center](/files/cogs210b_slimeMold/iiaResult_xlabel.jpeg)

computational models

**analytically derived** - the slime mold's thickness is assumed to be/approximated by a mathematical rule $$\frac{\partial s}{\partial t} = \nabla\cdot(sM\nabla p)$$ ![width:400 center](/files/cogs210b_slimeMold/solFlow.png)
![width:290](/files/cogs210b_slimeMold/circuitReal.png) real slime mold patterns
![width:290](/files/cogs210b_slimeMold/circuitSim.png) simulation results
**Monte Carlo-based** - lots of small particles make small decisions to generate overall behavior ![width:250 center](/files/cogs210b_slimeMold/MCunit.png) ![width:490 center](/files/cogs210b_slimeMold/MCgeneral.png)

analyticaly derived models

Tero et al (2007) adapted Kobayashi et al. (2006)’s model to graphs

height:170 center

- flux $Q_{ij}$ from node $i$ to $j$: $$\qquad Q_{ij} = \dfrac{D_{ij}}{L_{ij}}(p_i - p_j)$$ where $D_{ij}$ is the conductivity of the edge, $p_i$ are pressures at nodes
flux _conserved_ at regular node $i$ $$\sum_j Q_{ij} = 0$$
flux _generated_ at source node $$\sum_j Q_{\textrm{source},j} = I_0$$
flux _consumed_ at sink node $$\sum_j Q_{\textrm{sink},j} = -I_0$$
- adapt the conductivities according to $$\dfrac{d}{dt}D_{ij} = f(|Q_{ij}|) - rD_{ij}$$ where $$f(x) = x^\mu$$ or $$f(x) = \dfrac{(1+\alpha)x^\mu}{1 +\alpha x^\mu}$$

analyticaly derived models - 2

- **this is just a lumped circuit model!** $$\qquad Q_{ij} = \dfrac{D_{ij}}{L_{ij}}(p_i - p_j)$$ - $p_i$ is node voltages, - $Q_{ij}$ is the current, - $G_{ij} = \dfrac{D_{ij}}{L_{ij}}$ is the conductance ![width:300 center](/files/cogs210b_slimeMold/image.png)
Tero et al. (2010) replicate the Tokyo railway: ![width:400 center](/files/cogs210b_slimeMold/image-3.png) Bonifaci et al. (2012) proves that the circuit model is optimal, with a shorter proof by Bonifaci (2012)

Monte Carlo-based models

simple actions of little particles can give rise to complex behavior at the population level…

Jones (2010a)'s model: ![width:300 center](/files/cogs210b_slimeMold/MCalgo.png) ![width:300 center](/files/cogs210b_slimeMold/MCunit.png)
Jones (2010b)'s _update_ to the model: chemoattraction and chemorepulsion ![width:500 center](/files/cogs210b_slimeMold/image-2.png) Elek et al. (2022)'s model: ![width:500 center](/files/cogs210b_slimeMold/MCPM.png)

Monte Carlo-based models - 2

Jones and Adamatzky (2014) use the model in Jones (2010b) to devise a solution to TSP

![width:500 center](/files/cogs210b_slimeMold/travelingSlime2.png)
![width:500 center](/files/cogs210b_slimeMold/travelingSlime2_read.png)

results and outcomes

  • a ratinabox-style toolbox emerges!
    • world = slimeWorld(node_locs, C_, light, slime, opts)
    • slime = circuitSlime(world, options)
    • slime = softmaxSlime(world, options)
    • slime = MHslime(world, options)

results and outcomes

  • a ratinabox-style toolbox emerges!
    • world = slimeWorld(node_locs, C_, light, slime, opts)
    • slime = circuitSlime(world, options)
    • slime = softmaxSlime(world, options)
    • slime = MHslime(world, options)
  • example:
![height:300 center](/files/cogs210b_slimeMold/results/random_map.png)
![height:300 center](/files/cogs210b_slimeMold/results/random_env.png)

results and outcomes

  • a ratinabox-style toolbox emerges!
    • world = slimeWorld(node_locs, C_, light, slime, opts)
    • slime = circuitSlime(world, options)
    • slime = softmaxSlime(world, options)
    • slime = MHslime(world, options)
  • example:
![height:300 center](/files/cogs210b_slimeMold/results/random_map.png)
![height:300 center](/files/cogs210b_slimeMold/results/random_env.png)
![height:300 center](/files/cogs210b_slimeMold/results/circuit_random.gif)

results and outcomes - 2

path-finding and detours

![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld.gif)

results and outcomes - 2

path-finding and detours

![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld.gif)
![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld2.gif)

results and outcomes - 3

path memory

![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld2.gif)

results and outcomes - 3

path memory

![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld2.gif)
![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld3.gif)

results and outcomes - 4

undesirable paths

![height:500 center](/files/cogs210b_slimeMold/results/light_gridWorld.png)

results and outcomes - 4

undesirable paths

![height:500 center](/files/cogs210b_slimeMold/results/light_gridWorld.png)
![height:500 center](/files/cogs210b_slimeMold/results/circuit_gridWorld4.gif)

results and outcomes - 5

railway map

![height:500 center](/files/cogs210b_slimeMold/results/bigger/circuit_gridWorld_noShuffle.gif)

results and outcomes - 5

railway map

![height:500 center](/files/cogs210b_slimeMold/results/bigger/circuit_gridWorld_noShuffle.gif)
![height:500 center](/files/cogs210b_slimeMold/results/bigger/circuit_gridWorld_multiShuffle.gif)

future directions

- spatial memory - Tolman's sun maze: latent learning in slime molds? - temporal memory: habituation to repeated stimuli - foraging experiments - memory sharing in slime molds in contact - equivalence between models - ...
![height:300 center](/files/cogs210b_slimeMold/sunMaze_before.png)
![height:300 center](/files/cogs210b_slimeMold/sunMaze_after.png)

thank you!