Manuscript Offprint
arXiv:2609.05304What Makes a Redundant Representation Remember? Lineage Isolation, Not Masking
Abstract
Memory-based evolutionary algorithms for dynamic optimization often carry a redundant second copy of the genotype and expose only one copy to the objective, on the assumption that the shielded copy accumulates information about past optima. We show this assumption is false as usually implemented, and identify the structural property that actually determines whether the shielded copy retains information. We formalize such methods as a gated dual-copy representation with two independent design axes: a gating rule deciding which copy is evaluated, and an inheritance rule deciding whether the two copies mix across generations. A ablation shows retained information is governed almost entirely by the inheritance rule (21.4 vs. 1.3 bits) and is nearly invariant to the gating rule. Per-locus independent inheritance reshuffles cross-locus structure every generation, so shielding preserves the variance of the hidden copy while destroying the pattern that constitutes a memory. Under isolated inheritance the memory effect is real: against a single-copy baseline matched for representation budget, the method gains +0.010 AUC when optima recur periodically and loses 0.078 when they drift unidirectionally—a 0.089 separation under otherwise identical settings, which excludes explanations based on added capacity. We show the readout rate is also the corruption rate, predicting and confirming an interior optimum replicated across two implementations. We report one negative result with a mechanism: dual-copy representations lower the mutational error threshold, because gated expression is a selector rather than a joint decoder and therefore provides no coding gain. Finally, we document a benchmarking hazard: on dynamic benchmarks the choice of recombination operator alone shifted our baseline by 0.062 AUC, six times the effect size under study.
1 Introduction
Dynamic optimization problems require an algorithm to track a moving optimum, and a recurring design idea is to equip the algorithm with memory so that previously found solutions can be recovered when conditions repeat. Explicit memory schemes store solutions in an archive. Implicit memory schemes instead enlarge the representation: each individ-
ual carries two copies of the genotype, only one of which is evaluated, on the reasoning that the unevaluated copy is shielded from selection pressure and can therefore retain information about earlier optima. This idea originates in a biological analogy—recessive alleles persist because selection acts on expressed phenotypes—and has been implemented in evolutionary computation for four decades under the names diploidy and dominance [2, 9, 8, 6, 13].
The reasoning contains an untested step. Shielding a copy from evaluation protects the marginal statistics of that copy. But a memory of a past optimum is not a marginal statistic; it is a joint pattern across loci. Nothing in the shielding argument protects joint structure from recombination, which acts on exactly that. A population can retain every unit of hidden variation while retaining no information about how those units were once combined.
This paper isolates and tests that step. We find it fails under standard per-locus inheritance, and we identify the design property that determines success.
-
A separating ablation. Retained information is determined by the inheritance rule ( difference) and is nearly invariant to the gating rule (§5.1). The mechanism credited in prior work is not the mechanism responsible.
-
A controlled falsification test. Comparing periodic against unidirectional environments under otherwise identical settings isolates the memory contribution at 0.089 AUC and rules out capacity-based explanations (§5.2).
-
A design principle with an empirical optimum. The gate-flip rate is simultaneously the readout rate and the corruption rate, predicting an interior optimum; we confirm it and replicate it across two implementations (§5.3).
-
A negative result with a mechanism. Dual-copy representations lower the mutational error threshold; gated expression is a selector, not a joint decoder, so redundancy yields no coding gain ( ).
-
A benchmarking hazard. Recombination-operator choice shifted the baseline by 0.062 AUC, exceeding the studied effect sixfold ( ).
Code and all raw results are released.
2 Related Work
Implicit memory in dynamic evolutionary optimization. Bagley [2] introduced a dual-copy representation with an evolving gate map, later refined by Hollstien [9] and Holland [8] into a scheme where the gating value is attached to and inherited with each allele. Goldberg and Smith [6] evaluated this on a non-stationary 0-1 knapsack problem with a time-varying constraint and reported a substantial advantage over a single-copy representation, attributing it to shielded alleles acting as a distributed probabilistic memory of recurring states [16]. Later work proposed alternative gate-update mechanisms [13, 11] and dualism-based schemes [17]. None of these separate gating from inheritance, and none measure retained information directly. Our results reproduce the reported advantage but re-attribute it.
Explicit memory and archive methods. Archive-based schemes store and reinject past solutions. Relative to these, the appeal of an implicit scheme is that its stored content is live—it continues to be updated under weak selection rather than being frozen. Our results show this property is contingent on the inheritance rule, not on shielding.
Memory in non-stationary learning. Fast-slow weight schemes and replay buffers in continual learning address a structurally similar problem [14, 3, 1]. The variance/information distinction we draw in §5.1 applies to any method that maintains a redundant, weakly-updated parameter set and infers from its diversity that it constitutes a memory. Similar concerns about information retention have been raised in the context of multi-modal perception [4] and video generation with camera control [5], where maintaining a consistent representation across time or view is crucial. This distinction between preserving diversity and preserving informative structure is not unique to evolutionary computation. In object detection, YOLOv13 similarly argues that naive aggregation of local features fails to capture the global multi-to-multi correlations that constitute meaningful visual semantics [10].
3 Problem Setting and Method
3.1 Dynamic optimization setting
Let be the search space and the environment state at generation , with objective . We use the standard XOR-style dynamic benchmark: is a target string and . The environment changes every generations under one of two regimes:
• Periodic: e alternates between two fixed states A, B differing at d loci. Past states recur.
• Unidirectional: each change draws a fresh uniform target. Past states never recur, so memory is provably useless.
The second regime is the falsification control of §5.2, not an application setting.
3.2 Gated dual-copy representation
An individual is a triple with two genotype copies and a per-locus gate selecting which copy is read. The evaluated phenotype is for a gating rule .
Gating rules. Hard gate: if ; otherwise is the copy selected by . The unread copy contributes nothing to f, so shielding is free. Leaky gate (parameter ): with probability the unselected copy is read instead, so shielding costs in expected evaluation accuracy.
Inheritance rules. MIXING: each offspring locus independently draws one of the parent's two copies; the gate travels with its copy. This is the standard implementation and matches the biological analogy. ISOLATED: copy u recombines only with u, copy v only with v; the two copies form separate lineages that never exchange material.
These two axes are the object of study. Prior implementations fix both simultaneously, which is why the ablation in §5.1 has not previously been possible.
3.3 Algorithm
Algorithm 1 Gated Dual-Copy EA (GDC-EA)
Require: , mutation rate , gate-flip rate , gating rule , inheritance rule , truncation fraction
1: initialize uniformly at random for individuals
2: for each generation do
3: one copy read per locus
4: fit
5: top individuals by fit
6: for each of offspring do
7: two uniform draws from
8: MIXING or ISOLATED
9: flip each locus of w.p.
10: flip each locus of w.p. readout
11: end for
12: end for
13: return best individual
Cost. Memory is 2× the single-copy representation plus an L-bit gate. Evaluation cost is 1×: only one copy is read per locus, so the objective is called the same number of times as for a single-copy EA of the same population size. All comparisons below therefore use a single-copy baseline with doubled population, matching representation budget rather than population count.
Degenerate cases. With the hidden copy is never read and the method reduces to a single-copy EA carrying dead weight. With the leaky gate at the two copies are always averaged and no shielding occurs. Both appear in the ablation and both behave as predicted, which is evidence the mechanism does what the formalization says.
3.4 What is measured
AUC. Normalized best-individual fitness integrated over the 40 generations following each environment change. This replaces “generations to reach a recovery threshold,” which is right-censored when is small and therefore not comparable across periods.
Retained information (bits). Over the loci that discriminate the environment states, restricted to individuals whose two copies differ at that locus, let be the frequency with which the hidden copy matches the incoming target. Define
with the fraction of individuals differing at locus and the binary entropy. The sign matters: a hidden copy that faithfully stores the environment that just ended is a negative asset, and §5.2 shows this case occurs. This estimator is biased under binary alphabets; see §6.
4 Experimental Setup
with baseline , truncation fraction 0.2, 18 environment periods with the first 4 discarded. Ablations use 6 seeds, main experiments 8. The baseline is a single-copy EA with identical mutation rate, selection rule, and recombination operator—see §5.5 for why the last is not a formality.
5 Results
5.1 Retention is governed by inheritance, not gating
Table 1: ablation over the two design axes. , 6 seeds. Single-copy baseline AUC = 0.8715. Retention differs by across inheritance rules and barely at all across gating rules.
| Gating | Inheritance | AUC | Bits | Div. loci |
|---|---|---|---|---|
| Hard | MIXING | 0.8165 | +1.28 | 0.046 |
| Hard | ISOLATED | 0.8628 | +21.38 | 0.402 |
| Leaky | MIXING | 0.8123 | +0.83 | 0.040 |
| Leaky | ISOLATED | 0.8523 | +14.76 | 0.325 |

Figure 1: Retained information across the ablation, grouped by inheritance rule. The gating rule—the mechanism credited in prior work—has almost no effect.
Table 1 and Figure 1 report the ablation. Retention differs by across inheritance rules and is nearly invariant across gating rules. AUC follows.
The last column is the diagnostic one. Under MIXING, 4.6% of loci still hold differing copies—the redundancy is intact and the diversity is present. What is absent is information. Shielding preserves per-locus marginals; recombination destroys the joint pattern, and it is the joint pattern that constitutes a memory of a past optimum.
5.2 The memory contribution, isolated from capacity
The two regimes are identical in representation size, population, mutation rate, gate-flip rate, and recombination operator. They differ only in whether past optima recur. The 0.089 separation is therefore attributable to memory and not to added capacity, implicit regularization, or increased diversity—the three explanations a reviewer would reasonably propose, all of which predict equal gains in both regimes.
Table 2: AUC gain over the representation-matched single-copy baseline. Hard gate, ISOLATED, , 8 seeds. The two regimes are identical in every setting except whether past optima recur.
| Periodic | Unidirectional | |
|---|---|---|
| 40 | +0.0104 | -0.0784 |
| 60 | -0.0082 | — |
| 80 | -0.0269 | -0.0926 |
| 120 | -0.0599 | — |
| 160 | -0.0756 | — |
| 320 | -0.0942 | — |
This yields a decomposition:
The scientific content is the decomposition, not the net.
Stale memory is worse than no memory. Gains become strongly negative at long periods (-0.094 at ). The

Figure 2: Gain versus environment period under both regimes. The separation at is the memory contribution; it cannot arise from added capacity, which is identical in the two regimes.
hidden copy, slowly eroded across a long epoch, converges toward the environment that just ended, and therefore supplies a systematically wrong prior at the next change. This is a failure mode for any implicit-memory scheme without a refresh policy, and it is not visible in the recovery-time metrics used in prior work.
5.3 The readout rate is also the corruption rate
Table 3: Gate-flip rate sweep, two implementations differing in gating rule, metric, and inheritance details. Both peak at .
| 0.005 | 0.02 | 0.05 | 0.10 | 0.20 | |
|---|---|---|---|---|---|
| Hard gate (AUC ↑) | 0.834 | 0.863 | 0.883 | 0.870 | 0.848 |
| Leaky gate (gens ↓) | 22.5 | 17.2 | 14.3 | 19.7 | 30.6 |

Figure 3: Interior optimum in the gate-flip rate, replicated across two implementations. Right axis is inverted so that “up” is better on both.
The gate-flip rate has two opposing effects. Too low, and the stored content cannot be read into the evaluated phenotype. Too high, and it is continually overwritten while the evaluated phenotype persistently carries unselected material. An interior optimum should exist, and Table 3 confirms one.
Retained bits peak at a lower than AUC does (0.05), consistent with performance being approximately stored quantity readout rate, whose optima do not coincide.
Practical consequence. is not a nuisance hyperparameter to be tuned per problem; it is the mechanism’s operating point, and it is single-peaked, so a coarse log-scale sweep suffices.
5.4 Negative result: gated redundancy provides no coding gain

Figure 4: Static environment. If redundancy provided error correction the dual-copy arms would tolerate higher . They do not: the threshold moves the wrong way, and further so the leakier the gate.
We sweep in a static environment and measure equilibrium fitness. If redundancy provided error correction, the dual-copy representation should tolerate higher . It does not (Figure 4). It is worse at every , and worse the leakier the gate. At : single-copy 97.0, hard-gate dual-copy 94.0, leaky () 86.4.
The mechanism is coding-theoretic. A repetition code improves reliability through joint decoding: several copies jointly determine one output [15]. A gate reads one copy; the other does not participate in the decision. It is a selector, not a decoder. Adding a copy under a selector doubles the mutational input and contributes zero decoding gain, so it is strictly worse than a single copy in a static environment. This is consistent with classical treatments of mutational load, in which masking allows deleterious alleles to accumulate rather than be purged [7, 12].
This is not a tuning failure and cannot be fixed by parameter search. It follows from the structure of gated expression. Any method that shields redundancy behind a selector should expect the same result.
Corollary. Gated redundancy buys retention across time at the cost of accuracy in the present. These are opposed, not two views of one benefit.
Table 4: Baseline sensitivity to the recombination operator (). The shift is six times the effect size under study.
| Baseline | 1-pt N | 1-pt 2N | Unif. N | Unif. 2N |
|---|---|---|---|---|
| AUC | 0.796 | 0.810 | 0.847 | 0.872 |
5.5 A benchmarking hazard
Our own earlier runs gave the dual-copy method more effective mixing through its slot structure while the baseline used single-point crossover on a single copy. Changing only the baseline's operator to uniform crossover produced Table 4. The shift (0.062) is six times the effect size under study (0.010). Under the weaker baseline we measured an apparent 43% improvement, nearly all of it baseline degradation.
Because a dual-copy representation changes the effective mixing pattern, operator choice is not neutral in this comparison. We recommend that dynamic-optimization comparisons report the recombination operator explicitly and hold it fixed across arms.
6 Limitations
The retention estimator is biased under binary alphabets. At a locus where the two copies differ, the hidden copy is typically just "the complement of the current target," and with a binary alphabet "not the current target" is indistinguishable from "equal to some other target." Under unidirectional drift the estimator still reports bits where the true value is zero. We therefore make no quantitative claim relating retained bits to gain. The conclusions in §5.2 are performance comparisons that do not pass through the estimator. A fix requires an alphabet of size or environment states with a test of which state is predicted.
Two environment states. This causes the above bias and prevents testing whether capacity scales with .
Population size unidentified. affects both drift and selection efficiency; the present design cannot separate them, so we report nothing on this axis.
Uniform redundancy. Every locus receives a second copy, but only discriminative loci can hold useful memory; the rest pay cost for nothing. This is the likely source of the 0.078 carrying cost and the clearest route to improving the net result.
Single benchmark family and scale. All results use the XOR-style dynamic benchmark at , . Generalization to Moving Peaks, dynamic knapsack, or higher dimensions is untested.
7 Discussion and Conclusion
We set out to test a four-decade-old design rationale and found it misattributed. Redundancy shielded from evaluation
does not by itself retain information about past optima; the shielded copy must additionally be inherited as an isolated lineage. Under standard per-locus inheritance the diversity survives and the memory does not.
This distinction between retained variance and retained information applies beyond this method. Any scheme that maintains a redundant, weakly-updated parameter set and infers from its diversity that it constitutes a memory is subject to the same test, and the test is cheap: compare a recurring environment against a non-recurring one under identical settings and see whether the advantage survives.
Two further results are design-relevant. The readout rate is also the corruption rate, so it has an interior optimum rather than a monotone direction. And gated redundancy is a selector, not a code—it cannot be expected to improve robustness to noise, only retention across time, and the two trade against each other.
Biological note. The mechanism was originally motivated by recessive alleles persisting under selection on phenotypes. Our results indicate the analogy does not transfer: sexual recombination is a MIXING inheritance rule, and under MIXING the method does not retain information. The structure that works—two non-mixing lineages, one weakly selected—resembles clonal or reproductively isolated populations rather than diploid sexual ones. We suggest the mechanism be named for its structure rather than its biological inspiration.
References
[1] Elahe Arani, Fahad Sarfraz, and Bahram Zonooz. Learning fast, learning slow: A general continual learning method based on complementary learning system. In ICLR, 2022.
[2] J. D. Bagley. The Behavior of Adaptive Systems Which Employ Genetic and Correlation Algorithms. PhD thesis, University of Michigan, 1967.
[3] Pietro Buzzega, Matteo Boschini, Angelo Porrello, Davide Abati, and Simone Calderara. Dark experience for general continual learning: A strong, simple baseline. In NeurIPS, 2020.
[4] Zhijing Cheng, Xuancheng Zhang, Donglin Di, Lei Fan, Baorui Ma, Hao Li, and Xun Yang. Mojito: Unified sensor-to-action framework for end-to-end autonomous driving. arXiv preprint arXiv:2607.23511, 2026. Available at https://arxiv.org/abs/2607.23511.
[5] Zhijing Cheng, Xuancheng Zhang, Donglin Di, Chen Wei, Hao Li, and Xun Yang. Moca: Modeling object consistency for 3d camera control in video generation. OpenReview, 2026. Available at https://openreview.net/pdf?id=DZcpnudp7f.
[6] David E. Goldberg and Robert E. Smith. Nonstationary function optimization using genetic algorithms with dominance and diploidy. In J. J. Grefenstette, editor, Proceedings of the Second International Conference on Genetic Algorithms (ICGA-2), pages 59–68. Lawrence Erlbaum Associates, 1987.
[7] J. B. S. Haldane. The effect of variation on fitness. The American Naturalist, 71, 1937.
[8] J. H. Holland. Adaptation in Natural and Artificial Systems. University of Michigan Press, Ann Arbor, 1975.
[9] R. B. Hollstien. Artificial Genetic Adaptation in Computer Control Systems. PhD thesis, University of Michigan, 1971.
[10] Mengqi Lei, Siqi Li, Yihong Wu, Han Hu, You Zhou, Xinhu Zheng, Guiguang Ding, Shaoyi Du, Zongze Wu, and Yue Gao. Yolov13: Real-time object detection with hypergraph-enhanced adaptive visual perception. arXiv preprint arXiv:2506.17733, 2025.
[11] J. Lewis, E. Hart, and G. Ritchie. A comparison of dominance mechanisms and simple mutation on non-stationary problems. In Parallel Problem Solving from Nature (PPSN V), 1998.
[12] H. J. Muller. Our load of mutations. American Journal of Human Genetics, 2(2), 1950.
[13] K. P. Ng and K. C. Wong. A new diploid scheme and dominance change mechanism for non-stationary function optimization. In Proceedings of the Fifth International Conference on Genetic Algorithms (ICGA-5), 1995.
[14] David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy Lillicrap, and Greg Wayne. Experience replay for continual learning. In NeurIPS, 2019.
[15] C. E. Shannon. A mathematical theory of communication. Bell System Technical Journal, 27:379–423, 623–656, 1948.
[16] Robert E. Smith and David E. Goldberg. Diploidy and dominance in artificial genetic search. Complex Systems, 6(3), 1992.
[17] Shengxiang Yang and Xin Yao. Experimental study on population-based incremental learning algorithms for dynamic optimization problems. Soft Computing, 2005.