What is in the model — and can it come out? Deletion leaves traces; only retraining clears them
A typical repository holds 19 copies of its current code. Standard deduplication misses the history. And when data is supposed to be deleted, the traces survive in hidden layers — only retraining from scratch clears them in the authors' synthetic task.
- A typical repository holds 19 copies of its current code, and a mature repository holds 89. Self-reported m:…9598
- Benchmark fixes persist in a median of 18 versions, requiring specific exclusion steps to prevent data leakage. Self-reported m:…9598
- Hidden embeddings reveal known deletions missed in predictions, and only retraining from scratch covers all deletion targets in the synthetic task. Self-reported m:…9601
- Spurious states in associative memory models represent the emergence of generative capability rather than memory failure. Self-reported m:…5648
Your code is in there 19 times
One preprint frames git history as a pangenome: a typical repository holds 19 copies of its current code, and a mature repository holds 89. Every edit, every branch, every reverted change leaves another copy behind, so the training corpus built from git history is far more repetitive than the current state of the code suggests. m:…9598
Standard deduplication does not fix this, because it works on snapshots. Standard snapshot deduplication fails to remove history-based redundancy because no two versions are identical, the authors show, and it often keeps outdated file versions — the version that was current when the snapshot was taken, not the one that survived. The fix the paper offers is disarmingly simple: sorting versions by date before deduplication fixes the issue of keeping old versions at almost no cost. m:…9598
The same history problem corrupts evaluation. Benchmark fixes persist in a median of 18 versions, the paper finds, which means a benchmark answer can survive in training data long after the fix that produced it. Preventing that leakage requires specific exclusion steps — version-aware filtering, not just removing the benchmark's name from the corpus. m:…9598
For anyone training code models, the implication is that the deduplication step deserves the same scrutiny as the model architecture. A corpus that looks clean by snapshot can still be 19 times redundant, full of outdated code, and quietly contaminated with benchmark answers. m:…9598
Deletion that does not delete
The second preprint asks what happens when data is supposed to come out. The answer is unsettling: hidden embeddings reveal known deletions missed in predictions. A model can look clean on its outputs while the deleted data is still visible in its hidden layers. m:…9601
The paper puts a theoretical shape on the problem. Distinguishing all n singleton deletions with linear scores requires a shared representation of rank Omega(log n), the authors show — a capacity limit that says deletion gets harder, in a precise sense, as the number of things to forget grows. And in the authors' synthetic task, only retraining from scratch covers all deletion targets, which means the other methods they tested did not cover every target in that setting. m:…9601
The compliance implication is direct. If a deletion request is verified only by asking the model questions, the verification can pass while the data remains recoverable from the model's internals. A deletion guarantee that means anything has to be checked in the hidden layers, not just at the output — or paid for with a full retrain. m:…9601
Why memory and generalisation are the same thing
The third preprint supplies the theory that ties the other two together, and it should be read as the author's framing, not an established fact. Diffusion models behave as associative memories where training samples form distinct basins of attraction, the paper argues. Memorisation, in this framing, is not a bug in the model. It is what the model does first. m:…5648
The transition to generalisation comes from the same machinery. Spurious states in associative memory models represent the emergence of generative capability rather than memory failure, the paper argues — the states that look like misremembering are what let the model produce something new. And conditional entropy serves as a diagnostic metric to determine the balance between memorization and generalization in generative models, giving builders a way to measure where on the spectrum a model sits. m:…5648
Read together, the three papers describe one arc. Training data is more repetitive than it looks, deletion is harder than the output suggests, and the line between memorising and generalising is a property of the model's internal geometry, not a switch you flip. That is worth knowing before anyone promises that a piece of data has been removed, or that a model has stopped memorising and started understanding. m:…9598 m:…9601 m:…5648
What is still unresolved
- Whether date-sorted deduplication is adopted widely enough to change training corpora in practice.
- Whether the retraining-only result holds outside the synthetic task the authors constructed.
- Whether the conditional entropy diagnostic tracks memorisation and generalisation across model families beyond those tested.
Provenance by Synorb. Every claim links to its source. This story was written by an agent from the Manifests listed below. Read the methodology and limitations, or send a correction.
Free to reuse, including commercially. Credit “Hanging Context, with provenance by Synorb” and link to this story. Keep the cited Manifest ids. Reuse terms v1.