Gradient descent and random search as baselines for gene-network behaviour optimisation
Gradient descent and random search are two ways to tune a system toward a goal. Gradient descent follows the slope of a loss or free energy. Random search samples without using slope. They appear as theory in free-energy work, as a floor for evolutionary search, and as baselines in a gene-circuit oscillator task148.
- Earliest held
- 2006, Perkins TJ, Jaeger J, Reinitz…
- Most discussed in
- AI-driven automated discovery tools reveal…, 2025
- In the library
- 47 passages in 19 works
- Rewritten
- 2026-11-01
Gradient descent in theory
Friston, Daunizeau and Kiebel (2009) noted that minimising free energy could use a stochastic search, sampling the sensorium randomly for a percept with low free energy. They chose to focus on gradient descent1. Friston and Ao (2012) assumed that minimising free energy over action and internal states conforms to a generalised gradient descent2. Calvo and Friston (2017) described the minimisation of surprise in dynamical systems as, at its simplest, a gradient descent. They applied the idea to plants3. Here the descent is a model of how a system behaves, not a method used to design one.
Random search as a floor
Kriegman, Cheney and Bongard (2018) described the Hinton and Nowlan model, in which a bitstring has value only when it matches a target exactly. The search space has a single spike of high fitness with no slope, and evolution there is no better than random search4. In their own robot experiments, the highest mutation rate made optimisation of the non-developmental morphologies reduce to random search. The two best treatments had development, and their robots were significantly faster than those from random search5.
Cost of blind design
Blackiston, Kriegman, Bongard and Levin (2023) reviewed xenobot design by simulation. Searching in simulation filtered out billions of bad designs before any were built. This greatly improved efficiency in the wetlab and reduced biowaste. They also said the process is energy-intensive and that its carbon footprint grows with simulation time. They called this arguably the most pressing ethical concern of xenobot research. They proposed encoding the design space so that gradients can be followed instead of meandering through random variants. They suggested that, if successful, this could cut processing time by several orders of magnitude6.
Gene-circuit oscillator comparison
Etcheverry, Moulin-Frier, Oudeyer and Levin (2025) took up an oscillator engineering task from Hiscock (2019). Parameters of a gene circuit model are tuned to give oscillation with a target amplitude, frequency and offset. They compared random search, gradient descent, an evolutionary algorithm and their curiosity search, each with a budget of N=50007. The gradient descent baseline used a mean square error loss between the phenotype node activation and a cosine target. It used the Adam optimizer from a random starting parameter, with the same number of model rollouts as the other methods8.
However, the minimisation in Equation 6 could use a stochastic search; sampling the sensorium randomly for a percept with low free-energy.
Friston KJ, Daunizeau J, Kiebel SJ, 2009 · Reinforcement learning or active inference? · open at passage 17we will assume that the minimisation of free energy with respect to action and internal states (11) conforms to a generalised gradient descent,
Friston K, Ao P, 2012 · Free energy, value, and attractors · open at passage 37At its simplest, the minimization of surprise can be regarded (in dynamical systems) as a gradient descent.
Calvo P, Friston K, 2017 · Predicting green: really radical (plant) predictive processing · open at passage 9The search space therefore has a single spike of high fitness with no slope leading to the summit. In such a space, evolution is no better than random search.
Kriegman S, Cheney N, Bongard J, 2018 · How morphological development can guide evolution · open at passage 3At the highest mutation rate, optimizing Evo morphologies reduces to random search, and this is the only mutation rate where Evo does not require significantly more generations than Evo-Devo to find the faster design.
Kriegman S, Cheney N, Bongard J, 2018 · How morphological development can guide evolution · open at passage 30this move from trial-and-error to gradient descent could reduce processing time, and thus carbon footprint, by several orders of magnitude.
Blackiston D, Kriegman S, Bongard J, Levin M, 2023 · Biological Robots: Perspectives on an Emerging Interdisciplinary Field · open at passage 28We then compare several exploration strategies: a random search, two optimization-driven strategies, one using gradient descent as proposed in Hiscock, 2019 and one using an evolutionary algorithm
Etcheverry M, Moulin-Frier C, Oudeyer PY, Levin M, 2025 · AI-driven automated discovery tools reveal diverse behavioral competencies of… · open at passage 46We define a loss function which, for a set of parameters i=W,B,y0, measures the mean square error between the phenotype node activation levels y and the target oscillation
Etcheverry M, Moulin-Frier C, Oudeyer PY, Levin M, 2025 · AI-driven automated discovery tools reveal diverse behavioral competencies of… · open at passage 88
| 2025 | AI-driven automated discovery tools reveal diverse behavioral competencies of… · Etcheverry M, Moulin-Frier C, Oudeyer… | 19 |
| 2022 | Active inference, morphogenesis, and computational psychiatry · Pio-Lopez L, Kuchling F, Tung A… | 5 |
| 2020 | On Markov blankets and hierarchical self-organisation · Palacios ER, Razi A, Parr T, Kirchhoff… | 3 |
| 2009 | Reinforcement learning or active inference? · Friston KJ, Daunizeau J, Kiebel SJ | 3 |
| 2018 | How morphological development can guide evolution · Kriegman S, Cheney N, Bongard J | 2 |
| 2012 | Free energy, value, and attractors · Friston K, Ao P | 2 |
| 2016 | Towards a Neuronal Gauge Theory · Sengupta B, Tozzi A, Cooray GK, Douglas… | 1 |
| 2019 | Variational ecology and the physics of sentient systems · Ramstead MJD, Constant A, Badcock PB… | 1 |
| 2006 | Reverse engineering the gap gene network of Drosophila melanogaster · Perkins TJ, Jaeger J, Reinitz J, Glass L | 1 |
| 2019 | Modeling somatic computation with non-neural bioelectric networks · Manicka S, Levin M | 1 |