Abstract
When an LLM is adapted to a sequence of domains, can a quadratic penalty preserve earlier knowledge without retaining earlier training examples? Elastic weight consolidation (EWC) offers an influential answer: penalize changes to parameters in proportion to their estimated importance. This review isolates a subtle bookkeeping question: after three or more tasks, where should that penalty be centered? Keeping a separate anchor at every historical optimum can count earlier evidence twice. A corrected sequential interpretation compresses past evidence into one updated center and accumulated precision. The distinction is algebraic, but its practical relevance depends on whether a local quadratic approximation remains informative during language-model adaptation.
Related Work
Kirkpatrick et al. (2017) introduced EWC, using estimated parameter importance to resist catastrophic forgetting. Their influential primary experiments involve digit classification and sequential Atari learning, not LLMs. Huszár (2017; published 2018) identified a mismatch between the Bayesian motivation and maintaining penalties around multiple successive optima. His analysis motivates a single recentered penalty.
These established sources frame a fundamental question for continual LLM training, rather than supplying a validated modern LLM recipe. This is also distinct from merging independently fine-tuned models: here each new optimum already incorporates constraints inherited from earlier tasks. The chronology of learning is part of the mathematical object being approximated.
Method/Mechanism
Write θ for model parameters and LB(θ) for the negative log likelihood on a new domain B. After domain A, approximate the posterior by a Gaussian with center μA and precision ΛA. Training on B then minimizes:
L_B(θ) + ½(θ − μ_A)ᵀΛ_A(θ − μ_A).
In a diagonal implementation, precision becomes one importance coefficient per parameter. Larger coefficients make movement more expensive. Likelihood normalization matters: using mean loss instead of summed loss changes the relative scale of the penalty unless its coefficient is adjusted. A tunable multiplier can be useful operationally, but it should not silently be interpreted as exact Bayesian evidence weighting.
After optimizing this objective, the new center μAB already reflects A and B. A local Gaussian approximation retains this center and updates precision using curvature from B. At task C, that combined approximation becomes the prior. The previous center is replaced, while previous precision contributes to the new precision. This is the recentering step emphasized by Huszár.
The problem with retaining an extra anchor at μA is that μAB is not an independent summary of B alone. Pulling toward both centers can favor A twice. This does not mean that summing quadratic losses is inherently wrong: if each quadratic is the exact likelihood contribution of an independent dataset, adding them is correct. The mistake is treating a posterior-derived optimum as though it were an independent likelihood optimum.
Example 1: an exact scalar calculation
The following original toy example makes the distinction inspectable. Take a flat prior and losses LA(θ) = θ²/2 and LB(θ) = (θ − 2)²/2. After A the center is zero with precision one. After A and B the center is one with precision two. Completing the square gives a combined loss of (θ − 1)² plus a constant.
Now let LC(θ) = (θ − 4)²/2. The correctly accumulated objective has derivative (θ − 4) + 2(θ − 1), so its optimum is θ = 2. This equals the mean of the three independent likelihood centers, zero, two, and four.
Instead, suppose the historical-anchor construction uses penalties θ²/2 and (θ − 1)²/2, each with the corresponding task curvature of one. Adding C gives derivative (θ − 4) + θ + (θ − 1), whose optimum is 5/3. The second anchor already contains A’s influence; the resulting estimate is pulled too far toward A. No neural-network approximation is needed to expose the error.
Example 2: correct bookkeeping, inadequate curvature
A different original example shows why correcting centers is insufficient. Suppose an old task depends only on the sum of two parameters, with loss (θ₁ + θ₂)²/2 around zero. Its Hessian has all four entries equal to one. Moving to (a, −a) leaves the old loss exactly zero: the two changes cancel.
A diagonal approximation retains only the two diagonal ones. It assigns the same movement a penalty of a². Thus it can block a perfectly harmless update. Moving to (a, a) produces the opposite distortion: the true loss is 2a², while the diagonal penalty is only a². Even with the correct center, ignoring correlations both overprotects some directions and underprotects others.
Key Findings
- The center carries evidence. An optimum learned under an old-task penalty already incorporates the old task.
- Precision and location play different roles. Accumulating importance does not justify retaining every historical center.
- Three tasks expose a hidden ambiguity. Two-task experiments cannot distinguish the competing recursive constructions.
- Correct recursion does not imply faithful geometry. The scalar and two-parameter examples diagnose separate errors.
Limitations
EWC’s foundational results establish that selective parameter constraints can help in specific continual-learning settings. They do not show that a diagonal importance estimate protects language understanding, factual recall, or aligned behavior during arbitrary LLM updates. A Fisher estimate describes sensitivity under a chosen input and output distribution; changing that distribution changes what appears important.
Large updates may also leave the neighborhood where the Gaussian approximation was fitted. Neural parameter symmetries and compensating changes complicate any parameter-by-parameter interpretation. A penalty can preserve average predictive fit while allowing a rare safety-relevant behavior to deteriorate. Conversely, it can preserve unwanted behavior that the new training was intended to correct. Retention is an objective requiring specification, not an automatic synonym for improvement.
Future Directions
A useful LLM experiment would adapt the same small pretrained model through three controlled domains, permute their order, and compare historical anchors with recentered diagonal consolidation. Keep data exposure, optimizer, loss normalization, and tuning budgets fixed. Include unconstrained adaptation and a small replay baseline. Report each domain’s loss after every stage, rather than only the final average, and evaluate a predefined set of behaviors that should remain stable.
Separately compare diagonal and structured curvature approximations. Otherwise an apparent failure of recentering could actually reflect missing parameter correlations. Measure storage and estimation cost, including any retained examples used to estimate importance. These controls would turn a plausible mathematical correction into a testable claim about continual language modeling.
Open question: At a fixed memory budget, when does correcting the consolidation center improve continual LLM retention more than spending that budget on replay or richer curvature estimates?
Summary
Sequential consolidation must track what its stored quantities summarize. A posterior center already contains earlier evidence; reusing it alongside historical anchors can distort that evidence’s weight. Recentering repairs this bookkeeping, while curvature quality and the definition of desirable retention remain separate empirical challenges.
References
- Kirkpatrick et al. (2017). Overcoming catastrophic forgetting in neural networks. PNAS. Foundational, high-citation primary source.
- Huszár (2017/2018). On Quadratic Penalties in Elastic Weight Consolidation. Published as Note on the quadratic penalties in elastic weight consolidation, PNAS. Primary derivation of the sequential correction.