Slime Molds and Cognitive Maps

November 24st, 2026

Oğul Can Yurdakul

Department of Cognitive Science, UC Irvine


Slime Molds and Cognitive Maps

November 24st, 2026

Oğul Can Yurdakul

Department of Cognitive Science, UC Irvine



World of the Slime Mold

The slime itself: Physarum polycephalum

- eukaryote but not a fungus! - amoeboid protist - "syncytium:" one cell, *millions* of nuclei! ![width:350 center](/files/cogs229_presentation/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/cogs229_presentation/slimeCycle.png) (a) Fragments of sclerotium. (b) Sporangia. (c) Spores. (d) Swarm cell (arrowed). c, d Scale bar = 10$\upmu$m

Mapping the world with/of the slime mold

Slime molds as path finders

- Maze solving $\quad\quad$

Mapping the world with/of the slime mold

Slime molds as path finders

- Maze solving $\quad\quad$
- Tokyo subway map $\quad\quad\quad\quad$

Mapping the world with/of the slime mold - 2

Slime molds as “problem solvers”

- Traveling salesperson problem ![width:500 center](/files/cogs229_presentation/travelingSlime.png)

Mapping the world with/of the slime mold - 2

Slime molds as “problem solvers”

- Traveling salesperson problem ![width:500 center](/files/cogs229_presentation/travelingSlime.png)
- Towers of Hanoi puzzle ![width:350 center](/files/cogs229_presentation/hanoiSetup.png) ![width:350 center](/files/cogs229_presentation/hanoiSolution.jpeg)

Mapping the world with/of the slime mold - 3

Slime molds as ???

- Urban designers? ![width:500](/files/cogs229_presentation/urbanDesign.png)

Mapping the world with/of the slime mold - 3

Slime molds as ???

- Urban designers? ![width:500](/files/cogs229_presentation/urbanDesign.png)
- Romans?? ![width:500](/files/cogs229_presentation/balkans.png)

Mapping the world with/of the slime mold - 3

Slime molds as ???

- Urban designers? ![width:500](/files/cogs229_presentation/urbanDesign.png)
- Romans?? ![width:500](/files/cogs229_presentation/balkans.png) - Colonizers??? ![width:500](/files/cogs229_presentation/colonization.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:290](/files/cogs229_presentation/satSetup.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:290](/files/cogs229_presentation/satSetup.png) dark: easy gray: difficult
![height:430](/files/cogs229_presentation/satResult.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:290](/files/cogs229_presentation/satSetup.png) dark: easy gray: difficult
![height:430](/files/cogs229_presentation/satResult.png)
#### Independence of Irrelevant Alternatives when an overall worse option is introduced into a choice among two, slime molds sometimes choose it
![width:290](/files/cogs229_presentation/iiaSetup.jpg)

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:290](/files/cogs229_presentation/satSetup.png) dark: easy gray: difficult
![height:430](/files/cogs229_presentation/satResult.png)
#### Independence of Irrelevant Alternatives when an overall worse option is introduced into a choice among two, slime molds sometimes choose it
![width:290](/files/cogs229_presentation/iiaSetup.jpg) dark: two-choice setup gray: three-choice setup
![height:430](/files/cogs229_presentation/iiaResult.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/cogs229_presentation/solFlow.png)

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/cogs229_presentation/solFlow.png)
![width:290](/files/cogs229_presentation/circuitReal.png) real slime mold patterns
![width:290](/files/cogs229_presentation/circuitSim.png) simulation results

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/cogs229_presentation/solFlow.png)
![width:290](/files/cogs229_presentation/circuitReal.png) real slime mold patterns
![width:290](/files/cogs229_presentation/circuitSim.png) simulation results
**Monte Carlo-based** - lots of small particles make small decisions to generate overall behavior ![width:250 center](/files/cogs229_presentation/MCunit.png)

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/cogs229_presentation/solFlow.png)
![width:290](/files/cogs229_presentation/circuitReal.png) real slime mold patterns
![width:290](/files/cogs229_presentation/circuitSim.png) simulation results
**Monte Carlo-based** - lots of small particles make small decisions to generate overall behavior ![width:250 center](/files/cogs229_presentation/MCunit.png) ![width:490 center](/files/cogs229_presentation/MCgeneral.png)

Analyticaly derived models

Tero et al (2007) adapted Kobayashi et al. (2006)'s model to graphs - 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 - two nodes are special: one is source, one is sink
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$$
![width:350 center](/files/cogs229_presentation/circuit.png)

Analyticaly derived models

Tero et al (2007) adapted Kobayashi et al. (2006)'s model to graphs - 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 - two nodes are special: one is source, one is sink
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}$$
![width:350 center](/files/cogs229_presentation/circuit.png)

Analyticaly derived models

Tero et al (2007) adapted Kobayashi et al. (2006)'s model to graphs - 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 - two nodes are special: one is source, one is sink
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}$$
![width:350 center](/files/cogs229_presentation/circuit.png) - **this is just a lumped circuit model!** - $p_i$ is node voltages, - $Q_{ij}$ is the current, - $G_{ij} = \dfrac{D_{ij}}{L_{ij}}$ is the conductance ![width:250 center](/files/cogs229_presentation/image.png)

Monte Carlo-based models

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

Jones (2010)'s model: ![width:300 center](/files/cogs229_presentation/MCalgo.png) ![width:300 center](/files/cogs229_presentation/MCunit.png)

Monte Carlo-based models

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

Jones (2010)'s model: ![width:300 center](/files/cogs229_presentation/MCalgo.png) ![width:300 center](/files/cogs229_presentation/MCunit.png)
**can we build on this?** - say each particle "looks" at all the nodes it can travel to and assigns a positive "score" to each of them - softmax decision: - sample the next node proportional to these scores - Metropolis-Hastings decision: - sample a candidate next node - if better, move there - if worse, move or stay probabilistically

Shortcomings of the current models

Tero et al. (2007): ![height:200 center](/files/cogs229_presentation/circuit.png)
- biologically undesirable model - the function $f(|Q_{ij}|)$ is not as interpretable - food sources are modeled asymmetrically - no repulsion term: light or slime - no "exploration"

Shortcomings of the current models

Tero et al. (2007): ![height:200 center](/files/cogs229_presentation/circuit.png)
- biologically undesirable model - the function $f(|Q_{ij}|)$ is not as interpretable - food sources are modeled asymmetrically - no repulsion term: light or slime - no "exploration"
Jones (2010): ![height:200 center](/files/cogs229_presentation/MCunit.png)
- no accounting of the path-finding effects - no food, no light, just slime

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/cogs229_presentation/results/random_map.png)
![height:300 center](/files/cogs229_presentation/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/cogs229_presentation/results/random_map.png)
![height:300 center](/files/cogs229_presentation/results/random_env.png)
![height:300 center](/files/cogs229_presentation/results/circuit_random.gif)

Results and Outcomes

Path-finding and detours

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

Results and Outcomes

Path-finding and detours

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

Results and Outcomes

Path memory

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

Results and Outcomes

Path memory

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

Results and Outcomes

Undesirable paths

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

Future directions

- Tolman's sun maze: Latent learning in slime molds? ![height:250 center](/files/cogs229_presentation/results/circuit_sunMaze.gif)

Future directions

- Tolman's sun maze: Latent learning in slime molds? ![height:250 center](/files/cogs229_presentation/results/circuit_sunMaze.gif) ![height:250 center](/files/cogs229_presentation/results/softmax_sunMaze.gif)

Future directions

- Tolman's sun maze: Latent learning in slime molds? ![height:250 center](/files/cogs229_presentation/results/circuit_sunMaze.gif) ![height:250 center](/files/cogs229_presentation/results/softmax_sunMaze.gif)
- Spatial memory - Temporal memory: accommodation to repeated stimuli - Foraging experiments - Memory sharing in slime molds in contact - ...

Thank you!