arXiv:2611.06895q-bio.NCNov 2026

Manuscript Offprint

arXiv:2611.06895

Learning Time-Varying Connectomes for Stable Behavior Across Development

Christof Fehrman, Jacob J. Morra, Eva A. Naumann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Neural circuits must maintain functionality to drive effective behavior while their size, topology, geometry, and intrinsic dynamics change across development. To model developing visuomotor circuits and behavior, we investigated whether a single compact generative encoding could produce functional recurrent controllers across such changes. Building on the HyperNEAT algorithm, we represented this program as a compositional pattern-producing network that received developmental time as an input to generate age-specific connectivity. The developmental substrate prescribed neuronal birth, position, sensory organization, and intrinsic time constants. We tested this approach using two geometrically distinct developmental substrates and two visuomotor tasks: optomotor responses and phototaxis. Controllers optimized at only the initial or mature substrate generally failed when evaluated at other ages. In contrast, controllers optimized across multiple developmental snapshots maintained substantially higher and more consistent performance across trained and unseen ages. Optimization at only three developmental snapshots was often sufficient to produce effective behavior across the tested developmental interval. The resulting connectomes changed substantially with age and did not converge on a single trajectory of sparsity or connection-weight statistics. Controllers also differed in whether they relied on neurons born later in development. These results demonstrate that a shared spatiotemporal time-varying connectivity program can produce recurrent neural networks that preserve behavior across substantial developmental changes. Together, these results provide a framework for studying how functional stability can emerge without requiring structural or dynamical stability.

Keywords: Developmental neuroevolution, Embodied agents, Evolutionary algorithms, Recurrent neural networks

1 Introduction

Neural development involves the birth and maturation of neurons, the formation and elimination of synapses, changes in neuronal position and morphology, and continuing refinement of intrinsic and synaptic properties [1, 2]. Since an animal cannot wait until it reaches maturity before interacting successfully with its environment, the nervous system must produce behavior that supports survival throughout these changes. Neural development should therefore be understood not merely as the construction of a mature nervous system, but as a process that sustains useful computation along the path to maturity.

Preserving behavioral function across development does not require the underlying circuit to remain unchanged. For example, phase relationships in the lobster pyloric motor rhythm remain similar between juvenile and adult animals despite pronounced changes in neural and body size [3], and neurons established during embryogenesis can retain important locomotor functions across life stages despite extensive structural remodeling [4]. Similar network outputs can arise from substantially different combinations of intrinsic and synaptic parameters [5], and developing circuits can recruit different combinations of homeostatic mechanisms across cell types, perturbations, and developmental stages [6]. The detailed expression of a behavior may also change as the nervous system and body develop, even when the behavior continues to serve the same function. How developing nervous systems preserve behavioral function despite substantial changes in connectivity and neural dynamics remains unclear.

Neural development has received substantial computational attention, but existing approaches typically capture only part of this problem. Many models describe developmental changes in synaptic weights, intrinsic excitability, or neural activity while retaining a fixed set of neurons and allowable connections [7]. Such models can reveal how basic circuit computation changes during development, but cannot directly represent neurogenesis, changing neural geometry, or changes in the fundamental network topology. Other methods explicitly enlarge artificial neural networks, often by adding neurons or layers through a small number of discrete transformations. These transformations may preserve a feedforward network's function [8], increase its capacity during training [9], or allow it to acquire new information without erasing existing representations [10]. Although these methods permit structural change, they generally represent development as a small number of engineered transitions within layered architectures rather than as progressive change in the substrate of a neural circuit.

Developmental encodings provide a more flexible alternative by specifying local or generative rules through which network structure emerges. Recent neural developmental programs can add neurons, differentiate cell states, and construct networks with changing topologies [11, 12]. These methods produce substantial structural change, but performance is evaluated only after circuit growth with the intermediate developmental controllers not required to produce effective behavior. Related work extends structural plasticity into the agent's lifetime but focuses on experience- and reward-dependent adaptation rather than preservation of a selected function across a prescribed developmental trajectory [13]. Together, these approaches leave open whether a controller can sustain high behavioral performance as its neural substrate changes over developmental time. Maintaining function throughout structural development is especially challenging for recurrent controllers. In a layered feedforward network, additional units can sometimes be introduced through algebraic transformations that preserve a static input–output mapping [8]. In recurrent neural networks, changes in recurrent connectivity and neuronal time constants can alter transient response times, equilibrium stability, oscillatory regimes, and attractor dynamics [14, 15]. Because recurrent controllers operate within a closed sensorimotor loop, such internal changes may also reshape the coupled dynamics of the controller, body, and environment [16]. Adding neurons that are synaptically integrated into the recurrent network necessarily changes its connectivity and can therefore alter the dynamics of the coupled system. Functional continuity therefore cannot be inferred from architectural similarity or parameter preservation alone and must instead be evaluated at the level of behavior.

Representing an entire developmental trajectory of connectomes creates an additional challenge. One approach would be to specify every synapse independently at every developmental age, but such a representation would be inefficient and a poor abstraction of biological development. The information capacity of the genome is insufficient to enumerate the full wiring diagram of a complex nervous system; instead, genomes are thought to specify compact rules that guide circuit formation [17]. This creates a “genomic bottleneck” through which the information required to construct much larger neural systems must pass [18]. Hypernetworks provide an analogous computational strategy in which one network generates parameters for another, typically larger network [19, 20]. Such a generator can reuse shared structure rather than independently encoding every connection in every network it produces. This perspective motivates the more specific hypothesis that developing connectomes possess compressible spatiotemporal structure that can be represented directly as a function of neural geometry and developmental time. Because each developmental stage modifies the preceding network, both connectome structure and the neural activity it supports are expected to exhibit temporal continuity rather than vary independently across ages [21, 22]. This continuity does not require connections, intrinsic dynamics, or circuit roles to remain invariant. Rather, it implies that age-specific connectomes share sufficient structure to be parameterized by a common conditional generator. The persistence of neuronal function across extensive developmental remodeling provides biological motivation for this possibility [4].

Hypercube-based NeuroEvolution of Augmenting Topologies (HyperNEAT) provides a natural framework for testing this hypothesis [23]. HyperNEAT evolves compositional pattern-producing networks (CPPNs) that generate neural connectivity as a function of substrate geometry, allowing a compact encoding to parameterize networks containing many connections. CPPNs were originally proposed as an abstraction of biological development, in which a compact genotype generates spatial structure without explicitly simulating cell-by-cell growth [24]. In previous HyperNEAT work, development was represented by applying the same CPPN to substrates of increasing neuronal density [23]. Density scaling demonstrates how a compact encoding can elaborate a larger network, but it is not by itself a realistic model of neural development. It omits the coordinated changes described above, including changes in neuronal position, sensory organization, intrinsic cellular dynamics, and connectivity. We therefore ask whether HyperNEAT's compact generative encoding can support developmental trajectories that incorporate these broader changes. CPPNs can also receive contextual variables as inputs to generate controllers appropriate to different conditions. Morphology-conditioned HyperNEAT provides a related precedent. Risi and Stanley [25] conditioned a CPPN on quadruped leg length and evolved controllers that generalized to intermediate leg lengths not encountered during optimization. Their CPPN generated morphology-dependent connection weights, neuronal biases, and time constants. However, the controller substrate itself remained fixed across robot morphologies: the same neurons, neural coordinates, sensory and motor organization, and set of possible connections were retained. Neural development presents a different problem because the neural substrate itself changes over developmental time. Whether a shared generator can maintain function while the composition, geometry, and intrinsic dynamics of that substrate change therefore remains unknown.

Here, we formulate developmental functional stability as a trajectory-level optimization problem. We evolve a compact connectivity generator that receives neural geometry and developmental time as inputs and generates the connectivity of a recurrent controller for the substrate at any point of development (Fig. 1). The developmental environment prescribes which neurons are present, where they are located, and how their intrinsic dynamics change, while the same evolved generator parameterizes connectivity throughout the developmental trajectory. Rather than evaluating only the controller produced at maturity, we optimize the generator at multiple developmental snapshots and evaluate its performance across the full developmental interval. We define developmental functional stability as sustained high task performance across age, without requiring invariant network parameters, neural dynamics, or behavioral trajectories.

Because the regularities available to HyperNEAT depend on how the substrate is geometrically represented [26], evidence from a single substrate would not establish that the approach extends beyond one favorable geometry. We therefore evaluate the method using two geometrically distinct models of neural development and two visuomotor behaviors. One substrate (Fish) is inspired by the organization and growth of a developing fish visuomotor system [27], whereas the second (Ring) uses an abstract ring geometry with a substantially different pattern of neural growth (see Methods). Each substrate is evaluated on optomotor response (OMR), a visually guided response to global motion [27], and phototaxis, navigation toward a light source [28]. Aside from the definitions and constraints required by each substrate and task, the same evolutionary procedure and hyperparameters are used across the four substrate-task combinations. Across these conditions, we find that optimizing a shared connectivity generator at only a few developmental snapshots is typically sufficient to maintain high task performance throughout development, including at ages not encountered during optimization.

A

Developmental Time

Figure

C

Figure

B

Figure

Figure

Fig. 1 Parameterizing the connectome of a developing visuomotor system. (A) Three developmental snapshots illustrate the challenge of maintaining function as the neural substrate changes. The system must use sensory observations to produce survival-relevant actions while accommodating changes in network topology (e.g., neurogenesis) through local synaptic modifications without disrupting behavior. (B) A compositional pattern-producing network (CPPN) parameterizes the connectome. In HyperNEAT, source (src) and target (tgt) neuron coordinates determine directed synaptic weights, while an optional expression gate (expr.) promotes modularity [29]. Our developmentally aware modification adds developmental time (T) as a CPPN input, enabling time-varying generative rules. (C) CPPNs are optimized for optomotor response (OMR; top), in which the agent follows moving gratings, or phototaxis (bottom), in which it moves toward a stationary light source (purple rays indicate the retinal detection radius; see Methods). Although training uses only the three illustrated snapshots, performance is evaluated across the developmental trajectory. The example synaptic weight (yellow) between a source (red) and target (blue) in A may vary with substrate changes across the first two snapshots while in the third, the expression gate falls below threshold, clamping the weight to zero (dotted line). The objective is to maintain functionally stable behavior throughout development despite changes in the underlying connectome.

References (35)