When a court or regulator orders a model to "forget" a judgment, for example an expunged criminal record or a private lending dispute, the usual evidence of compliance is that the model can no longer answer questions about that case. Those questions almost always target the parts of a document that are easy to probe: party names and the opening statement of facts. In court judgments, though, the parts that matter most sit near the end. These are the court's holding, the statutes applied, and the sentence. Machine unlearning means editing a trained model so it behaves as if certain training data had never been seen. Unlearning pipelines, like most fine-tuning pipelines, cut long documents to a fixed token budget before computing gradients. That creates a specific risk. A model can pass a forgetting audit on the head of each judgment while still carrying the tail in its weights.
This note proposes a way to measure that failure and to test the simplest fix. The measurement is an audit that scores forgetting separately for each region of a long document, compared against a model retrained without the deleted judgments. We run it on two legal families whose documents put key information in different places: Chinese civil and criminal judgments, and European human rights judgments. The forget set is made of post-cutoff judgments injected under controlled exposure, so pre-training contamination cannot fake either forgetting or retention. The claim fits in two sentences. Unlearning quality in long documents depends on where information sits, and truncation plus jurisdiction-specific document layout decides where unlearning fails. A certificate or empirical score computed on the head of the document therefore says little about the tail.
Core Claim
Three findings in the file motivate this work. MUSER, a Chinese similar-case retrieval benchmark, showed that models cutting documents at 512–1,024 tokens miss the dispute focus and statutory reasoning placed at the end of judgments. Lawformer, a 4,096-token sparse-attention legal model, reports that most judgments exceed 512 tokens. The Unlearning Mirage showed that "forgotten" entities still leak under multi-hop probes, with multi-hop accuracy averaging about 20–30% after unlearning. None of these studies connects the first two observations to the third. No one has asked whether unlearning fails systematically by position inside a document.
We claim that such failures exist and can be predicted. Specifically, unlearning methods run on truncated forget windows will reach retrain-level forgetting on the head of a judgment and fall well short on its tail. Because document layout differs across legal families, the region that goes unforgotten will shift with jurisdiction. That shift is a cross-jurisdictional failure of the audit, not of the model.
The certification gap enters in a concrete way. Certified Data Removal provides a provable removal guarantee for a strongly convex model, in practice a linear head on frozen features. Its guarantee covers only the head. If the encoder beneath it was fine-tuned on truncated forget documents, the certificate is silent about exactly the content truncation never touched, or about content the encoder did absorb. We make this scope limit measurable.
The key quantity is a position-resolved forget gap. We split each forget document into $B$ position bins by token offset. For bin $b$, we build probes whose answer span lies in that bin. Following TOFU, we compute each model's distribution of truth ratios (likelihood of the correct answer relative to perturbed wrong answers) over those probes. We then define
$$ G_b = 1 - p_{\mathrm{KS}}\big(\mathcal{T}_b^{\text{unlearned}},\ \mathcal{T}_b^{\text{retrain}}\big), $$
Here $\mathcal{T}_b$ is the set of truth ratios for bin $b$ and $p_{\mathrm{KS}}$ is the Kolmogorov–Smirnov two-sample p-value. $G_b$ near 0 means bin $b$ cannot be distinguished from a model that never saw the data. The central prediction is that $G_b$ rises with $b$ past the truncation boundary, and that the location of this rise tracks the layout of each jurisdiction's documents.
Research Program
The contamination problem. The retrain reference is only meaningful if the base model never saw the forget judgments. LawBench already warns that CAIL-derived data leaks into pre-training. If a forget judgment is memorized from pre-training, the retrained model "remembers" it too, and every gap collapses toward zero. We therefore do not use CAIL2018, LeCaRD, or the LexGLUE ECtHR split as forget material.
For the Chinese side, the forget and retain sets come from the 2024–2026 cases of the JPO dataset. We pair them with a base model whose stated cutoff predates them. JPO used Qwen2.5-7B, and we adopt the same model family so its reported numbers stay a useful sanity anchor.
For the European side, we collect ECtHR judgments issued after the same cutoff, using the document format of LexGLUE. Before injection we check that the base model shows no memorization advantage on these documents over paraphrased controls. We treat this check as a filter, not a proof. On the Fragility of Benchmark Contamination Detection shows that such detectors break under perturbation, and Data Contamination Can Cross Language Barriers shows leaks can arrive in translation. For that reason the date-based cutoff is the primary guarantee.
Controlled exposure. We fine-tune the base model on the retain and forget judgments at full length with a long-context setup. This gives the model known exposure to every token. The retrain reference is the same fine-tune with the forget judgments removed. This is the TOFU design, retrain-from-scratch made cheap by controlling exposure, applied to real multi-thousand-token judgments instead of short fictitious biographies. It also answers the authenticity objection PLAWBENCH raises against synthetic legal tasks, because the documents are real.
Probes. For each forget judgment, an LLM generates question–answer probes. Each probe is tagged by the token offset of its answer span, and a sample of them is checked by hand. There are three probe types. Direct recall covers facts, amounts, dates, and the holding. Legal-chain probes ask for a later step given an earlier one, such as the charge given the facts or the statute given the dispute focus, which mirrors JPO's fact → statute → charge → sentence chain. Alias and multi-hop probes follow the Mirage design.
A legal-chain probe can be answered by general legal reasoning even without memorization. The retrain reference controls for this: whatever the retrained model can derive does not count as leakage.
Two jurisdictions with different layouts. Chinese judgments put the court's reasoning, the statutes, and the disposition at the tail, as MUSER documents. ECtHR judgments are organized into procedure, facts, relevant law, and the Court's assessment, so the decisive reasoning is spread over the second half and interrupted by the relevant-law section. We measure $G_b$ curves per jurisdiction and test whether truncation-induced failure follows each layout. If it does, a single audit protocol cannot be moved across jurisdictions without being redesigned.
The candidate fix. The fix we test is coverage-matched unlearning. It uses the same unlearning objectives and the same gradient-step budget as the truncated baselines, but draws forget windows as sliding windows that cover every token of each judgment equally often. This is deliberately simple. If it closes the gap, the contribution is the audit together with the demonstration that common truncated pipelines fail it. If it does not close the gap, the evidence points to a harder cause: tail knowledge being reconstructed through the model's legal reasoning pathways, as the Mirage paper found for entities.
Baselines
Do-nothing reference points. The first reference is the injected model before any unlearning, which gives the upper bound on leakage. The second is the retrain reference, which is the target. Every unlearning method is reported as where its $G_b$ curve falls between these two.
Standard empirical unlearning. These are gradient ascent, gradient difference, KL minimization, and preference optimization, as implemented in the TOFU codebase (ucsc-real/flat). They are the most widely used LLM unlearning methods, and TOFU is the reference evaluation. On its short biographies, TOFU reports that these methods often fail to reach a statistically significant forget quality (p-value > 0.05) even at a 1% forget set, and that 5–10% forget sets cause severe loss of utility.
We run each method at forget-window lengths of 512, 1,024, 4,096, and full document. All runs use the same forget and retain sets, the same number of gradient steps, and the same learning-rate sweep. Model utility is reported on held-out retain judgments and on LawBench. There is no reported result on Lacuna for any of these methods on long legal documents. Beating them means the coverage-matched variant achieves a lower maximum $G_b$ across bins at matched utility and matched compute.
Selective Synaptic Dampening. Selective Synaptic Dampening dampens parameters that importance scores mark as specialized for the forget data. It is the strongest retraining-free parameter-editing competitor in the file. Its importance estimates are computed on whatever window is fed in, so it faces the same truncation question as the other methods. We run it with importance estimated on truncated windows and on full coverage. No reported result was found on Lacuna for SSD on LLM legal text.
Certified linear-head removal. For judgment-prediction heads, we apply Guo et al.'s Newton-step removal to a linear classifier on top of the fine-tuned encoder. That paper reports 250–870× speedups over retraining on LSUN and SST, and 71.2% versus 22.7% accuracy against a fully differentially private baseline on SVHN. We report the head's certified bound alongside encoder-level $G_b$. The question is whether a valid certificate coexists with large tail leakage through the representation. In other words, this baseline is meant to show the certificate's scope, not to be beaten on accuracy.
Ablation isolating the key ingredient. Coverage-matched unlearning differs from full-length unlearning only in how it spreads gradient steps across positions. It differs from truncated unlearning only in coverage. Comparing all three at equal steps separates "saw the tail at all" from "saw the tail enough."
Why not just…?
Why not just unlearn on full-length documents with a long-context model? This is the real threat. If full-length gradient-difference unlearning drives $G_b$ to zero in every bin, the fix is trivial and the contribution narrows to documenting that truncated pipelines fail. That remains a useful finding for practitioners, because both the unlearning and the audit literature operate on short spans. We do not assume the outcome. Two pieces of evidence suggest it may not be trivial. Long-context models underuse the middle of their inputs (Chen et al.), and legal-chain knowledge may be rebuilt from facts through reasoning pathways that loss on the document tokens does not directly target (the Mirage result). The full-length arm of the ablation settles the question directly.
Why not just use the multi-hop probes from The Unlearning Mirage? Those probes test entity knowledge graphs built from short biographies. They have no notion of position within a document and no retrain reference for legally derivable answers. We reuse their multi-hop construction as one probe type. What we add is position tagging and the retrain comparison. Without these, one cannot tell tail leakage from correct legal inference.
Why not just filter outputs or redact the case at retrieval time? An output filter leaves the weights unchanged. The file's evidence is that suppressed information stays recoverable by membership inference (Unlearning Isn't Forgetting) and by fast relearning (Unlearning's Blind Spots). We include a relearning check, a few steps of fine-tuning on related retain judgments, to test whether tail content returns faster than head content after each method.
Why not just use Guo et al.'s certified removal and skip empirical auditing? The certificate assumes a strongly convex loss and applies only to a linear head on frozen features. The certified-head baseline measures exactly how much leakage sits outside that scope.
Proposed Experiments
The decisive experiment. Run the $G_b$ curves for every method, window length, and jurisdiction with $B=10$ position bins. Three results would count as decisive. The first is that truncated methods show $G_b$ near retrain-level before the truncation offset and rising sharply after it. The second is that the location of the rise differs between Chinese and ECtHR judgments in the way their layouts predict. The third is that coverage-matched unlearning flattens the curve at equal compute and at utility within a pre-set tolerance of truncated unlearning on retain judgments and LawBench. If truncated methods show flat curves instead, the truncation hypothesis is false, and we report that directly.
Probe-type breakdown. Split each curve by probe type. If direct-recall gaps close under coverage matching while legal-chain gaps stay open, tail leakage runs through reasoning rather than surface memorization. That would motivate unlearning objectives that target reasoning chains in future work.
Utility checks. Utility is measured on retain-set judgment prediction for the Chinese data, retain-set article violation prediction for the ECtHR data, and LawBench. As anchors, JPO reports Article F1 of 90.8 and Charge F1 of 89.7 on CAIL2018. We use CAIL2018 only for utility, never as forget material, because of the contamination concerns above.
Robustness to contamination. Repeat the main curves with a forget set deliberately drawn from pre-cutoff CAIL-era cases. We expect gaps to shrink artificially because the retrained model also remembers those cases. Showing this confirms that controlled exposure is necessary rather than cosmetic.
References
- MUSER: A Multi-View Similar Case Retrieval Dataset
- Lawformer: A pre-trained language model for Chinese legal long documents
- The Unlearning Mirage: A Dynamic Framework for Evaluating LLM Unlearning
- Certified Data Removal from Machine Learning Models
- TOFU: A Task of Fictitious Unlearning for LLMs
- LawBench: Benchmarking Legal Knowledge of Large Language Models
- JPO: Juris Policy Optimization for Structured Legal Reasoning in Criminal Judgment Prediction
- LexGLUE: A Benchmark Dataset for Legal Language Understanding in English
- On The Fragility of Benchmark Contamination Detection in Reasoning Models
- Data Contamination Can Cross Language Barriers
- PLAWBENCH: A Rubric-Based Benchmark for Evaluating LLMs in Real-World Legal Practice
- Fast Machine Unlearning without Retraining through Selective Synaptic Dampening
- GuARD: Effective Anomaly Detection through a Text-Rich and Graph-Informed Language Model
- Unlearning Isn’t Forgetting: Revealing Hidden Leakage in Class Unlearning Evaluations
- Unlearning’s Blind Spots: Over‑Unlearning and Prototypical Relearning Attack