A cell chooses what to remember
Gene switches preserve chosen fates; adapting receptors remember the background to keep noticing change.
Imagine giving a cell two instructions. First: remember which door you entered through. Second: keep noticing changes in the room’s smell.
These requests pull memory in different directions. The door should remain in memory after it disappears from view. The room’s steady smell should become familiar, freeing the cell to notice the next change. Both jobs require retaining something about the past. They differ in what should remain visible at the output.
Let’s build two tiny mathematical cells. One will remember a choice through genes that suppress each other. The other will retain a moving reference against which it senses its surroundings. Epistemic Physics gives us a particularly inviting route between them: positive coordinates, persistent directions, and changes of reference frame.
We will eventually connect the two cells. Could a receptor that adapts away a sensation use that very act of adaptation to write a lasting memory elsewhere?
Two genes hold each other quiet
A gene-regulatory network is a collection of interactions that control how much product genes make. In our first network, gene x makes a product that inhibits gene y, while gene y returns the favor. This is mutual repression.
The mechanism has an experimental foothold. Gardner, Cantor, and Collins constructed a synthetic toggle in Escherichia coli with two mutually inhibitory regulatory units. Temporary chemical or temperature interventions switched the circuit between stable expression states. Their 2000 paper established a concrete form of addressable cellular memory.
Choose a symmetric teaching model:
Here
Read the first equation aloud: x is made at a rate that falls when y rises, and existing x disappears at a rate proportional to its concentration.
Now give x a small advantage. More x suppresses y. Less y releases x from repression. A loop of two negative influences can reinforce an initial difference. Whether that reinforcement defeats degradation depends on
Watch one destination split into two
At an equilibrium, concentrations stop changing. An equal-expression equilibrium has
There is one positive solution because the left side increases continuously with
What happens to a tiny difference between the genes? Subtract the dynamical equations:
Here
This growth rate says whether a small difference shrinks or grows. It is negative when
Below
There is a delicious control experiment hiding in the factored equation. If
Predict before touching: place the cell exactly equal at
Give a cell a lasting nudge
The cell begins with gene x in charge. Choose how long to pulse gene y, then remove the pulse and wait. Can a brief intervention leave y in charge on its own?
Place the cell, change production, or pulse x
Follow the expression path and its cone coordinates
Gene expression
The diagonal is equal expression. Drag the dark point or use its arrow keys, then release.
The same cell in the cone
Gold dashed: A² − P² = 4. Unequal settled states lie here; the moving cell can leave it.
- Gene x
- 2.593
- Gene y
- 0.392
- Cone quantity M = 2√(xy)
- 2.015
- Current expression
- x leads
Dimensionless Hill-2 model: dx/dt = a/(1 + y²) − x and dy/dt = a/(1 + x²) − y. A pulse adds 4 to the named production rate for the selected duration. Each path shows the most recent release; all randomness is off.
Open the gene-switch experiment in the playground.
The pulse in this experiment adds production to the chosen gene for
Two memories on one hyperbola
We can solve the unequal equilibria with a short piece of algebra. At equilibrium,
Subtracting gives
Whenever
Swapping x and y gives the other state. Now align the cell with familiar sum-and-difference coordinates:
| Gene expression | Cone coordinates |
|---|---|
| Total concentration | |
| Expression difference | |
| Product | |
| Unequal equilibria, | Hyperbola |
Because concentrations are nonnegative,
The teal and rose fixed points in both plots are the same two cells under this coordinate change. Their local relaxation rates, the eigenvalues describing small disturbances, are
We can even use rapidity, the logarithmic ratio coordinate
On the unequal equilibrium branches,
Increasing production opens two equal-and-opposite rapidity directions. The cell’s feedback chooses which direction persists.
The hyperbola describes the settled unequal states. Along a moving trajectory,
What the cell writes, and what an observer infers
The pulse works by moving the cell into the other basin of attraction, the set of starting states that approach that destination. Once the pulse ends, feedback maintains the chosen expression pattern.
Lowering
The resulting memory lives in concentrations and regulatory dynamics. To attach a Beta distribution to an observer’s belief about the cell requires another choice: what is the observer estimating, how are readings generated, and which readings share a lineage? Repeated measurements of one cell could update an estimate of its state without becoming independent examples of cell-fate choice.
A related mathematical puzzle makes the distinction productive. Take a Beta-distributed probability
Here
This claim concerns the density in rapidity. A Beta density in
For a population with two persistent fates, a mixture is a natural next construction: one distribution for x-dominant cells, another for y-dominant cells, and weights describing how many occupy each group. Add molecular fluctuations and we can ask how often cells cross between basins. Those weights, crossing rates, and an observer’s uncertainty about them become distinct quantities to investigate. How life prepares for an uncertain world follows the next possibility: allocating a population across several ways to survive.
The second cell remembers its background
Our second cell has a different assignment. A lasting concentration step should eventually become familiar, while a fresh change should remain detectable.
This is adaptation: an output returns toward its previous level while the changed stimulus remains present. Yi and colleagues identified integral feedback within a model of bacterial chemotaxis, the regulation of movement in response to chemicals, and used it to explain robust return to a target output. Their analysis provides the biological starting point for our smaller receptor model.
Let
The first equation is the logistic function, which turns the difference
The second equation adjusts the reference whenever occupancy misses its target. If
It is also integral feedback because
The internal variable retains accumulated output error. At constant input its equilibrium is
The output returns while the internal reference changes. The cell has kept the background in a place where it can subtract it from future sensations.
Predict before touching: compare a concentration jump from one to four with a jump from ten to forty. What must the second cell remember before the jumps for their entire response curves to match? Then freeze its reference.
Help a receptor keep its bearings
1 / 3 · Recover after a sudden jump. After a 4× jump, bring occupancy back to 0.50 (±0.03) by time 30.
Each policy replays the chosen receptor model from time zero. Input begins at t = 4; the checkpoint is t = 30 model units. Times are dimensionless.
Open the adaptive-reference experiment in the playground.
A moving reference has a speed limit
Let concentration grow exponentially, so its logarithm follows a steady ramp:
A tracking state keeps
The strict bounds follow from
With
Near the target, the local return time is
Multiply the world and follow the same response
Multiply every input concentration by a fixed factor
Primes label the scaled experiment. The difference
This is scale equivariance: a transformation of the input has a matching transformation of the internal state. The resulting output invariance is a form of fold-change detection, where the complete response depends on concentration ratios. Shoval and colleagues studied this property and its connection to sensory searches that remain the same when an entire input field is multiplied by a constant. Their 2010 paper distinguishes matching whole response curves from merely returning to the same final output.
Movement adds another twist. If the cell follows position
The first term is environmental change at a fixed place. The second is change caused by moving through a spatial gradient, the direction and rate at which concentration varies across space. The receptor feels their sum. Distinguishing a strengthening chemical source from swimming toward it becomes a task for additional movement information or an active experiment. How to read a living landscape follows signals and orientation through that larger spatial world.
Let one memory write into the other
Now connect our two cells into one imagined circuit. Let occupancy above target add production to gene x, and occupancy below target add production to gene y:
Here
Something lovely follows immediately:
The receptor’s reference adjustment supplies a signed drive to the persistent memory. For a concentration step between fully adapted states, its total signed drive is
The sensation can fade while its consequences remain in the gene circuit. A tenfold-larger world gives the same writing signal when the references are matched. Changing the time profile can still matter: the nonlinear toggle responds to the trajectory of the drive, even when two inputs deliver the same total signed amount.
Try imagining a slow rise and a sharp step with the same final concentration ratio. Which one crosses the boundary between fates? How would the answer change near the toggle’s production threshold? We now have a concrete route from sensing a changing world to choosing what part of that encounter will endure.