WorksComputer Science
The Geometry of Ignorance: Detecting Suppressed Knowledge in LLMs through Activation Fragmentation
Abstract
Evaluating whether a large language model (LLM) genuinely knows a concept remains a fundamental problem, since behavioral metrics can be fooled by suppression: a model that refuses to answer may still harbor recoverable knowledge. The framework measures the geometric coherence of anon-vectors, the differences in hidden states between a concept-specific query and its anonymized paraphrase, and shows that genuine knowledge forms a tight, low-entropy cluster while ignorance forces geometric fragmentation. Across ten instruction-tuned LLMs from three model families, all fragmentation metrics reliably separate known from unknown concepts, and post-unlearning, fragmentation geometry correlates with adversarial recovery across four attack types and five unlearning algorithms, though the direction of that relationship is shown to depend on attack methodology. Furthermore, a layer-resolved analysis reveals that different adversarial mechanisms exploit this geometry at varying depths, with high attack-specific correlations that are invisible to behavioral evaluation. Together, these results constitute a single-phase, attack-free proxy for unlearning robustness that captures aspects of parametric knowledge inaccessible to output-level metrics. A reference implementation is available at https://github.com/AdarPeleg/geometry-of-ignorance
Introduction
The expansive pre-training of Large Language Models (LLMs) inevitably leads to the memorisation of vast amounts of factual associations ([18, 17]), raising critical legal, ethical, and safety concerns regarding privacy and the generation of harmful content ([3, 22]). Traditionally, the boundaries of a model’s parametric knowledge have been evaluated through behavioral analysis, relying on surface-level metrics such as question-answering accuracy or token perplexity ([15]).
Behavioral evaluations treat the model as a black box and fail to capture how factual associations are internally stored and retrieved during the forward pass ([7]). This gap is most consequential in the context of machine unlearning, which aims to selectively erase specific concepts without retraining ([14, 6, 1]). Recent representation-level analyses reveal that unlearning interventions often result in the mere suppression or bypassing of knowledge, rather than genuine deletion ([25, 13] (Schoepf et al. 2026)). Because suppression mechanisms leave the knowledge structurally distinguishable in the parameters ([12]), it can be reliably recovered by malicious actors through activation steering ([22]). Consequently, robust evaluation must shift to fine-grained, intrinsic metrics that can detect suppressed but recoverable knowledge.
Recent mechanistic interpretability work has introduced intrinsic probes that bypass generation and measure knowledge directly within intermediate model layers ([10 Hong et al.]). However, these metrics remain entangled with prompt syntax, conflating factual knowledge with the linguistic and syntactic structure of the query. Moreover, no single-phase metric reliably predicts whether suppressed knowledge is adversarially recoverable.
To address the limitations of both behavioral evaluations and syntax-entangled intrinsic metrics, we build upon the concept of the anon-vector ([22]), defined as the directional shift between the hidden state of a concept-specific query and its identity-stripped paraphrase. We use this to introduce activation fragmentation, a geometric framework that isolates the precise footprint of parametric knowledge using two forward passes per query (no token generation, no iterative optimization).

Figure 1. Activation fragmentation isolates conceptual knowledge. Subtracting the mean hidden state of a cloud of anonymized variants cancels shared linguistic syntax. Plotting the resulting anon-difference vectors () from the origin reveals that parametric knowledge manifests as tight, low-entropy covariance clusters of aligned vectors, whereas ignorance forces geometric fragmentation across high-variance directions.
We hypothesize that unknown concepts lack parametric structure: their anon-difference vectors scatter into high-variance, fragmented directions. By contrast, genuine parametric knowledge manifests as a tight, cohesive geometric signature in activation space.
Contributions. Our main contributions are as follows:
We propose activation fragmentation, a fine-grained, representation-level metric that leverages anon-vectors to successfully isolate conceptual identity from syntax in intermediate model layers.
We demonstrate empirically that fragmentation metrics distinguish known entities (e.g., Harry Potter) from completely unknown fictitious concepts (e.g., TOFU [16]) with robust statistical separability across ten instruction-tuned LLMs from three distinct model families.
Activation Uniformity Scatter Score (AUSS). We establish that post-unlearning fragmentation serves as a highly accurate, attack-free predictor of elements of unlearning robustness. (e.g. AUSS dispersion metrics predict in-context learning (ICL) recoverability).
Background
Knowledge in LLM activations. LLMs encode factual associations in their parameters, with feed-forward layers functioning as key-value memories that promote specific concepts into the residual stream [9, 8]. Intermediate layers carry geometrically richer knowledge representations than the final layer [24, 20]. Skean et al. [24] measure representational compression layer-by-layer via the Rényi-2 Gram-matrix entropy: for any matrix ,
Lower indicates that the vectors concentrate in a smaller subspace (higher representational compression), identifying where factual content is most geometrically concentrated in the hidden space. Applied to the raw query hidden states , this gives the baseline metric Reg [24]: .
Anon-vectors and concept-differential representations. A concept-specific signal can be isolated by contrasting the hidden state of a real query with that of a semantically equivalent but identity-stripped (anonymised) paraphrase. Seyitoğlu et al. [22] exploit this to mount an activation steering attack: they compute a steering vector as the raw difference between hidden states of a concept query and its anonymised counterpart, then inject it into the residual stream to re-activate suppressed knowledge in an already-unlearned model. The ConceptVectors dataset (Hong et al.) likewise demonstrates that named entities encoded in model parameters leave verifiable parametric traces at intermediate layers, and that jailbreak attacks ride along these very directions to bypass unlearning (Hong et al.). Our anon-difference vector (Eq. (2)) builds directly on the anonymisation technique of Seyitoğlu et al. [22], averaging over variants to stabilise the concept-differential signal. Neither prior work, however, treats the population geometry of a batch of such vectors as a diagnostic metric; that is a contribution of this paper.
Method
Metric Definitions
Anon-vectors and Entropy. Let be queries about a target concept, and let be the mean-pooled hidden states at layer . For each , we construct anonymised variants . The anon-difference vector at layer isolates conceptual identity by subtracting the mean anonymised state:
This requires two forward passes per query in performed experiments (in general per query, with in experiment sections) and no token generation. All fragmentation metrics are computed from the matrix of anon-difference vectors at a chosen layer; how that layer is selected is stated in each experimental protocol (§ 4) and expended in (Appendix § 9.§ 3). To measure representational rank concentration, we apply Gram-matrix entropy to these unnormalised vectors, defining our primary dispersion metric: AnonDiff = . Applying to concept-differential vectors rather than raw activations is a novel contribution of this work. We also evaluate two variants: Reg = applies the same entropy to the raw hidden-state matrix (no anonymisation subtraction), serving as a baseline; and NormAnonDiff = applies it to the -normalised anon-difference vectors.
AUSS Batch-mean metrics (Ours). To assess population-level geometric consistency, we partition the pairs into disjoint batches (Appendix § 9.§ 3). For each batch , we compute the unit-normalised mean anon-difference direction . We then measure geometric consistency across these representative directions using two primary novel matrices that aim to measure fragmentation:
AUSS: Mean pairwise squared distance between batch-mean directions.
AUSS: Complement of mean pairwise squared cosine between batch-mean directions.
AUSS: Jaccard distance between the sets of the largest-magnitude coordinates of each pair of batch-mean directions, the fraction of top-activated dimensions that differ between batches.
Note that all three metrics are bounded: AUSS and AUSS, AUSS. We expect that when a concept is known, batch-mean directions cluster tightly, driving all three metrics toward zero; when unknown, they are expected to scatter, driving them toward the upper bound. This bounded range means that Cohen’s can appear large even with modest raw gaps, because the pooled within-group standard deviation is bounded from above. A comprehensive list of additionally evaluated metric variations including base pairwise similarities, Jaccard incoherence, and covariance traces is detailed in Appendix § 10.
Entropy, Rank, and the Geometry of Parametric Knowledge
The central hypothesis of this work is that parametric knowledge leaves a geometric imprint. If a model knows a concept, diverse queries converge onto a shared subspace, producing a tight, low-entropy cluster of anon-difference vectors. Conversely, ignorance drives these vectors to scatter across the activation space, increasing entropy.
This connection between the Gram-matrix entropy and geometric dispersion is formalised by the following result (for proofs see Appendix § 8):
Theorem 1 (High entropy forces geometric fragmentation). Let be a matrix of -normalised activation vectors and let be the corresponding Gram matrix1 with effective
rank . Then the mean pairwise squared Euclidean distance satisfies
Since (Proposition 1, Appendix § 8), high forces the effective rank upward, which structurally guarantees spatial dispersion. The complementary direction holds under a natural assumption: when all pairwise cosine similarities are non-negative (i.e., vectors share a common half-space). For anon-vectors this is geometrically motivated: if a model parametrically encodes a concept, every query about that concept shifts the hidden state toward the same concept direction, so the differences collectively point away from the anonymised baseline in a consistent orientation. Under this assumption, a matching upper bound applies:
Theorem 2 (Low entropy forces geometric clustering). Under the same setup as Theorem 1, if additionally for all , then
In particular, as .
Together, these bounds demonstrate that subspace-compression metrics directly reflect the presence or absence of a coherent concept representation, effectively isolating knowledge from mere behavioural suppression.
Semantic Testing
Anon-vectors over raw activations. Raw activations encode both conceptual content and prompt syntax. Subtracting the anonymised baseline (denoted as ) cancels shared syntactic components, isolating the conceptual signal. This produces a substantially stronger discriminative signal than working with raw activations directly (Table 1).
| Metric | Gap [95% CI] | ||
| Dispersion (↓ HP expected; 10/10 models) | |||
| AUSScos | 21.51 | 0.686 [0.667, 0.705] | 0.002** |
| AUSSL | 18.91 | 1.203 [1.166, 1.239] | 0.002** |
| NormAnonDiff S | 4.21 | 1.206 [1.022, 1.332] | 0.002** |
| AnonDiff S | 3.50 | 0.804 [0.671, 0.941] | 0.002** |
| Reg S | 0.92 | 0.117 [0.054, 0.200] | 0.002** |
| Coherence (↑ HP expected) | |||
| 1.69 | 0.182 [0.118, 0.244] | 0.002** | |
| AnonDiff cos | 1.29 | 0.128 [0.069, 0.185] | 0.010** |
| Reg cos† | 1.25 | 0.044 [0.023, 0.065] | 0.002** |
| AnonDiff | 1.21 | 2.634 [1.412, 3.946] | 0.002** |
Table 1. RQ1: Metric discriminability (HP known vs. TOFU unknown) across 10 LLMs, evaluated at the per-metric layer maximising HP–TOFU separation, sorted by Cohen’s . Gap: mean HP–TOFU with 95% bootstrap CI. : Wilcoxon signed-rank, BH-corrected (); **. †: concept-differential vectors. : raw-activation baseline, no anov-vector subtraction. Per-model values in Appendix (Tables 5–6).
Semantic vs. generation artifacts. Behavioral evaluations measure accessible outputs, not latent storage. Since representational suppression mechanisms can block factual recall without deleting the underlying knowledge ([13, 25]), evaluating hidden-state geometry provides a strictly more rigorous proxy for true parametric erasure. A model that refuses to answer, whether through RLHF-driven refusal or explicit unlearning, may still harbor recoverable knowledge in its hidden states; generation-based metrics will report success while the knowledge persists, making them insufficient as a sole evaluation criteria.
The measurement problem: no true oracle. The ideal ground truth for a knowledge-detection metric would be a model trained from scratch on a corpus that provably excludes the target concept, making its ignorance logically certain. In practice, this is prohibitively expensive and inaccessible: controlled pre-training runs require substantial compute, carefully curated multi-billion-token datasets, and institutional resources. There is, therefore, no true oracle for parametric knowledge. We cannot directly observe what a model knows, only what it outputs, and output-level proxies risk circularity when used to calibrate the very metrics designed to go beyond them.
Bogus data as a proxy for not knowing. We sidestep this measurement problem by grounding knowledge in dataset construction rather than model training. As the negative class, we draw from data. For example, the TOFU benchmark ([16]) consists entirely of fictitious authors invented for the benchmark and absent from any pre-training corpus. Because these entities were never written about anywhere, no model can have parametric knowledge of them, and there is no plausible mechanism by which such knowledge could exist. As the positive class, we can draw from Harry Potter (HP) QA pairs; HP knowledge is confirmed to persist in the parameters of most LLMs as a consequence of large-scale pre-training ([3, 22]). A metric that separates HP from TOFU under this protocol has therefore demonstrated genuine knowledge detection, not behavioral correlation. The specific datasets and model counts used in our evaluation are described in § 4.
Experiments
RQ1: How can we measure the binary existence of knowledge in LLMs? Can we suggest a metric that maximizes separation between known and unknown data?
RQ2: How can we measure fine-grained knowledge extraction ability from LLMs? Which metric has the highest correlation with Attack success rate (ASR)?
RQ1: Fragmentation as a Proxy for Parametric Knowledge
Setup. We evaluate all nine fragmentation metrics under the protocol presented in § 3.3 across ten instruction-tuned LLMs from three families: Qwen (), Gemma (), and LLaMA (), ranging from 7B to 14B parameters (Appendix § 9), using batch size (full sensitivity sweep over justifying this choice in Appendix § 9.§ 2). The known-concept class consists of 96 QA pairs drawn from the Harry Potter novels; the unknown-concept class consists of 100 QA pairs from the TOFU benchmark ([16]). All ten models score 0% QA accuracy on TOFU, casually confirming that no knowledge of these fictitious entities exists. For each model, fragmentation is computed at the per-metric layer that maximizes HP–TOFU separation. Appendix § 9.§ 3 also reports a fixed, deployable heuristic, the layer at relative model depth, requiring no per-model search, that matches the oracle sweep’s discriminability.
Results. All nine metrics correctly separate HP from TOFU across all 10 models and survive BH (Benjamini-Hochberg false discovery rate control at ) correction (Table 1; per-model raw values in Appendix Tables 5–6). AUSScos achieves the largest separation (, ) and AUSSL is second (), both dispersion higher for TOFU than HP in 10/10 models; the scale-invariant classifier check below (AUC ) confirms this separation holds independent of each metric’s raw scale.
Entropy-based dispersion metrics (NormAnonDiff S, AnonDiff S, Reg S; § 3.1) likewise reach 10/10 with large effect sizes. Coherence metrics, i.e. centroid norm , Reg cos, AnonDiff cos, and AnonDiff , all show strictly higher values for HP (8/10 or 10/10 models), confirming that a known concept induces a tighter, more directionally consistent hidden-state geometry than a purely fictional one. Effect sizes reflect per-metric peak-layer selection; performance under a label-free layer protocol would be lower (Appendix § 9.§ 3).
The separation generalizes beyond a single narrow contrast and is not a scale artifact. To rule out that this separation reflects one narrow contrast, we extend the comparison to Harry Potter (retain split) and Star Wars against the same TOFU baseline; all 24 BH-corrected comparisons across the 8 AUSS metrics are signif-
icant (), with HP-retain effect sizes reaching , larger than the original HP-forget contrast (Appendix Table 7). A scale-invariant leave-one-model-out classifier trained on the standardized 8-metric peak-layer feature vector, evaluated on the original HP-forget vs. TOFU pair, confirms the known/unknown separation is not an artifact of raw effect-size scale: Logistic Regression reaches 100% accuracy (AUC , 9/9 models fully correct) on the fresh, direction-corrected extraction (Appendix Table 8).
RQ2: Fragmentation as a Predictor of Unlearning Robustness
Setup. RQ1 established that fragmentation geometry reflects whether knowledge exists. RQ2 asks whether it also reflects how recoverable that knowledge remains after unlearning. Fragmentation metrics for each model–concept–method triple are computed at the layer that minimises S over the post-unlearning forget-set queries (label-free protocol; Appendix § 9.§ 3). The layer-resolved sweep evaluates every transformer layer independently (Appendix § 11.§ 5).
Models and unlearning methods. We apply five unlearning methods spanning output-level suppression to representation-level distortion: GA ([26]) negates the forget-set CE loss; DPO ([19]) treats forget pairs as rejected and retain pairs as chosen; NPO ([27]) applies a negative preference loss against a frozen reference; NPO+KL (Zhang et al., ...)
augments NPO with KL retain regularisation; and RMU [12] steers forget-set hidden states at a fixed intermediate layer toward a random target direction. GA and DPO act primarily on outputs, whereas RMU explicitly distorts internal representations. This distinction is reliably captured by fragmentation metrics even when the two approaches yield indistinguishable ROUGE-L scores (Appendix § 9.§ 5). These methods are applied to three instruction-tuned models: LLaMA-2-7B-chat, Meta-LLaMA-3-8B-Instruct, and Qwen2.5-7B-Instruct, each also evaluated as an unmodified Base control, across three target concepts: Harry Potter (Eldan and Russinovich), Star Wars, and William Shakespeare (Hong et al.) ( conditions; incomplete runs shown as “—”). A run is verified (✓) when Forget ROUGE-L and Retain ROUGE-L baseline; surface suppression alone does not guarantee robustness. Four attacks then probe recoverability: Activation Steering [22], ICL [2], GCG [28], and MIA (Fu et al.) at geometric, contextual, gradient, and distributional levels, respectively; lower values indicate stronger unlearning (Appendix § 9.§ 6). Correlation analysis excluding Base and WHP (Who’s Harry Potter; Eldan and Russinovich) runs (–45 non-base runs with complete attack data).
Results. Figure 2 summarizes attack success by method across all three models; full per-run values are in Appendix § 11.§ 7 (Table 13–15). Table 2 shows every BH-significant geometry predictor per attack (–45 non-Base, non-WHP runs); full Spearman table in Appendix Table 9.
| Metric | ICL | GCG | Steering |
| AUSS | – | – | |
| AUSS | – | – | |
| – | – | ||
| Reg cos | – | – | |
| Reg | – | – | |
| AnonDiff | – | – |
Table 2. RQ2: BH-significant geometry predictors per attack (Spearman , –45 non-Base non-WHP runs with complete attack data, BH-corrected within each attack’s 9-metric column). All metrics shown survive BH at ; full 9-metric table (all attacks, including non-significant cells) in Appendix Table 9.

Figure 2. RQ2: Mean attack success per unlearning method across four attack types (2×2 grid), averaged over three concepts (error bars = std). Bars are grouped by unlearning method; colour indicates model (LLaMA-2-7B: blue, LLaMA-3-8B: green, Qwen2.5-7B: orange-red). Dashed lines mark chance level (0.5 for AUC-based attacks; 0 for ICL ). GA is the only method that consistently drives Steer-AUC near chance across all three models. LLaMA-3 (green) reaches GCG Acc = 0 under every method, revealing strong model-family variation in gradient-attack vulnerability. ICL is near zero across all methods and models; the geometric correlation with ICL recoverability emerges from the layer-resolved analysis (Table 11), not from this aggregate view. Full per-run values in Appendix § 11 (Table 13–Table 15).
| Method | Cpt | ✓ | Forget ROUGE-L↓ | Geometry ↑ | AUSSL↓ | AUSScos↓ | Steer-AUC | Steer-WF | ICL | MIA | GCG |
| Base | HP | 0.131 | 0.878 | 0.507 | 0.439 | 0.428 | 0.265 | +0.000 | 0.827 | 0.000 | |
| SW | 0.152 | 0.876 | 0.516 | 0.447 | 0.449 | 0.296 | +0.120 | 0.955 | 0.000 | ||
| WS | 0.090 | 0.911 | 0.379 | 0.341 | 0.503 | 0.274 | +0.040 | 0.837 | 0.000 | ||
| GA | HP | ✓ | 0.000 | 0.823 | 0.717 | 0.553 | 0.500 | 0.000 | +0.000 | 0.678 | 0.000 |
| SW | ✓ | 0.000 | 0.875 | 0.521 | 0.442 | 0.500 | 0.000 | +0.000 | 0.695 | 0.000 | |
| WS | ✓ | 0.000 | 0.855 | 0.598 | 0.475 | 0.020 | 0.000 | +0.000 | 0.615 | 0.000 | |
| DPO | HP | ✓ | 0.082 | 0.868 | 0.549 | 0.469 | 0.694 | 0.283 | −0.040 | 0.873 | 0.800 |
| SW | ✓ | 0.098 | 0.866 | 0.554 | 0.474 | 0.673 | 0.281 | +0.040 | 0.986 | 0.800 | |
| WS | ✓ | 0.092 | 0.913 | 0.371 | 0.335 | 0.658 | 0.287 | +0.080 | 0.920 | 1.000 | |
| NPO | HP | 0.127 | 0.860 | 0.580 | 0.492 | 0.756 | 0.286 | +0.000 | 0.805 | 0.600 | |
| SW | 0.108 | 0.877 | 0.513 | 0.446 | 0.668 | 0.281 | +0.040 | 0.937 | 1.000 | ||
| WS | ✓ | 0.092 | 0.922 | 0.333 | 0.303 | 0.795 | 0.295 | +0.040 | 0.748 | 1.000 | |
| NPO+KL | HP | ✓ | 0.098 | 0.854 | 0.603 | 0.507 | 0.769 | 0.259 | −0.040 | 0.449 | 0.600 |
| SW | 0.105 | 0.867 | 0.550 | 0.473 | 0.746 | 0.272 | +0.000 | 0.281 | 0.600 | ||
| WS | ✓ | 0.091 | 0.917 | 0.354 | 0.320 | 0.823 | 0.286 | +0.040 | 0.162 | 1.000 | |
| RMU | HP | 0.131 | 0.878 | 0.509 | 0.441 | 0.710 | 0.264 | +0.000 | 0.806 | 1.000 | |
| SW | 0.143 | 0.875 | 0.519 | 0.449 | 0.694 | 0.300 | +0.040 | 0.951 | 1.000 | ||
| WS | ✓ | 0.100 | 0.908 | 0.388 | 0.348 | 0.754 | 0.267 | +0.080 | 0.787 | 1.000 | |
| WHP | HP | 0.255 | 0.858 | 0.585 | 0.494 | 0.756 | 0.248 | −0.040 | 0.442 | 0.000 | |
| SW | 0.175 | 0.856 | 0.595 | 0.505 | 0.708 | 0.269 | +0.000 | 0.276 | 0.000 | ||
| WS | 0.135 | 0.917 | 0.353 | 0.319 | 0.826 | 0.281 | +0.040 | 0.181 | 0.000 |
Table 13. RQ2: Full post-unlearning results, LLaMA-2-7B-chat. ROUGE-L↓: forget-set ROUGE-L after unlearning. ✓: verified (ROUGE-L < 0.10 & retain ≥ 0.80× base). ↑: centroid norm; AUSSL↓, AUSScos↓: dispersion (per-method peak layer ). Steer-AUC↓: steering AUC; Steer-WF↓: mean steered word-frequency score. ICL ↑: ICL accuracy minus baseline. MIA↓: membership inference AUC; GCG↓: GCG ASR. Blank cells: checkpoint unavailable.
AUSS fragmentation geometry predicts ICL recoverability; entropy-family metrics predict GCG and Steering. ICL is the most significantly predictable attack via the AUSS family: AUSS (), centroid norm (), and AUSS () all survive BH correction; methods that geometrically fragment hidden-state representations more thoroughly are harder to reach via in-context priming. GCG and Steering are predictable in aggregate via the Gram-entropy (Reg) and AnonDiff families rather than AUSS: Reg cos () and Reg () predict GCG, and AnonDiff () predicts Steering. MIA is omitted: no metric survives BH correction (Appendix Table 9). Leave-one-run-out validation across verified unlearning runs (–27) confirms ICL is the only attack
that is both leave-one-out stable (8/8 metrics) and BH-significant (7/8); Steering (8/8) and GCG (7/8) are largely stable but not significant, while MIA (2/8) is neither reliably stable nor significant (Appendix § 11.§ 6).
† is the exact algebraic dual of AUSS (identical , opposite sign by construction, since AUSS for mean pairwise cosine and is a monotonic function of the same ), not an independent confirmation.
Layer-resolved geometry concentrates late in the network for the two attacks it reliably predicts. The aggregate correlations in Table 2 reflect peak-layer values averaged over all metric-layer combinations. When we instead sweep Spearman across every transformer layer for both AUSS and entropy metrics (Figure 3; full results in Appendix § 11.§ 5), only GCG and ICL survive global BH correction, and both peak in the same late-network region:

Figure 3. Spearman by layer, GCG attack. Each line is one AUSS fragmentation metric; the peak at L29 (AUSS, ) is marked. The strongest single predictor overall is NormAnonDiff at L30 (, entropy family; Appendix § 11.§ 5). GCG recoverability is governed by late-layer geometry, close to where ICL’s own peak falls (Appendix § 11.§ 5). (Full four-attack sweep in Appendix § 11.§ 5.)
GCG: AUSS at L29 reaches (, runs with complete layer-resolved data, smaller than the –45 aggregate pool), with NormAnonDiff close behind at L30 (, ); the gradient-based suffix attack’s signal is shaped by whichever layer the model’s final next-token decision is most sensitive to.
ICL: Batch_Cov__TopEig at L28 reaches (, ), one layer from GCG’s own peak; in-context priming must similarly override the model’s late-stage, generation-ready representation.
MIA and Steering show only weak, non-BH-significant layer-specific signal in the current dataset (best entropy-family points at L31–L32, –0.65, uncorrected but ); we report these descriptively rather than as reliable predictors (Appendix Table 11).
The highest-performing layer is highly predictable across models, consistently residing within the 0.80–0.88 range of total model depth. A single fixed relative depth of 0.8× model depth, with no per-model information at all, already gives 8/8 metrics correct-direction and significant at ; leave-one-model-out transfer of this depth achieves 72/72 (model, metric) pairs correct-direction, identical to an oracle per-model search (Appendix § 9.§ 3).
Benchmarking Against Prior Intrinsic Probes
Trivial raw-similarity baselines. Table 9 already includes head-to-head comparisons against trivial intrinsic baselines: the Reg (adapted from Skean et al. [24]) and Reg cos rows measure raw, non-anonymised hidden states with no anon-vector subtraction.
Table 9. Spearman between all fragmentation metrics and attack-success rate across – post-unlearning runs (excluding Base and WHP). : BH-adjusted within each attack column (9 metrics). : adaptation of Gram-matrix entropy to concept-differential vectors (Skean et al., [24]). Bold: survives BH at . Only bold, starred cells () represent statistically robust findings; unmarked values are shown for completeness so the full 9-metric × 4-attack grid is auditable, and should not be read as evidence of a relationship. None of MIA’s AUSS/AnonDiff correlations survive BH correction; see § 4.
| Metric | Steering | ICL | GCG | MIA |
| AUSS dispersion | ||||
| AUSS | +0.00 | −0.51 | −0.06 | +0.04 |
| AUSS | +0.06 | −0.50 | −0.01 | +0.10 |
| −0.00 | +0.51 | +0.06 | −0.04 | |
| AnonDiff | ||||
| AnonDiff | −0.24 | +0.27 | −0.09 | −0.15 |
| AnonDiff | +0.48 | −0.22 | +0.22 | +0.20 |
| AnonDiff | +0.15 | +0.04 | −0.05 | −0.07 |
| Reg (raw-activation baseline) | ||||
| Reg | +0.27 | +0.05 | +0.45 | +0.29 |
| Reg | −0.31 | +0.01 | −0.51 | −0.27 |
| Reg | −0.07 | −0.09 | −0.24 | −0.16 |
Head-to-head against published method. We benchmark AUSS directly against the representational metrics of Xu et al. [25] (PCA-similarity, PCA-shift, CKA), which, unlike our method, require both pre- and post-unlearning model checkpoints. Across all 54 RQ2 configurations, BH correction over the full 44-test pool shows a mixed, attack-dependent picture: AUSS’s best metric outperforms Xu et al.’s best metric on ICL (, vs. , ) and Steering (, vs. , ), while Xu et al.’s CKA outperforms AUSS’s best metric on GCG (, vs. , , not BH-significant) and MIA ( vs. ). 11 of 44 tests survive BH correction; 8 of those 11 are AUSS metrics (full 44-test table in Appendix Table 10).
Discussion
The geometry of parametric knowledge. RQ1 establishes that activation fragmentation reliably distinguishes known from unknown concepts, and the geometry explains why. The anon-vector construction subtracts the mean hidden state of identity-stripped paraphrases, canceling the shared linguistic and syntactic signal and leaving a residual that reflects only the concept-specific content encoded at that layer. When a model parametrically knows a concept, its internal representations across distinct queries about that concept agree on a direction: the residual vectors form a tight, low-entropy cluster. When the concept is absent from the parameters, no such agreement exists: the residual after syntax cancellation is noise, and the vectors scatter into high-variance fragmented directions. This geometric signature is what our metrics quantify, and it is entirely invisible to behavioral evaluation.
Architecture-agnostic universality. The coherence signature described above is not an artifact of any particular architecture. The 10/10 correct-direction result for the strongest metrics (AUSS, AUSS, AnonDiff ) in RQ1 spans three model families (Qwen, Gemma, and LLaMA) across different architectures, training recipes, and parameter counts from 2B to 14B. This cross-architecture consistency suggests that the geometric signature of parametric knowledge is not idiosyncratic to any particular model design. Fragmentation metrics qualify as model-family-neutral auditing tools, requiring no architecture-specific calibration.
Suppression versus deletion. A consistent RQ2 pattern is that reducing Forget ROUGE-L does not reliably reduce fragmentation: GA applied to LLaMA-3-8B reaches Forget ROUGE-L = 0.000 yet leaves AUSS and nearly unchanged from the Base model. GA and DPO act primarily on the output distribution, leaving internal concept geometry largely intact, whereas RMU, which steers representations directly, shifts fragmentation more noticeably but does not erase it. This matches the redirection-rather-than-deletion picture reported by Xu et al. [25] and Schoepf et al. (2026): representation-level interventions come closest to genuine deletion, and fragmentation metrics measure how far even they fall short.
Layer-resolved geometry concentrates late in the residual stream for the attacks it reliably predicts. Of the four attacks, GCG and ICL are the two whose layer-specific signal survives BH correction at the global scope (Appendix § 11.§ 5), and both concentrate their strongest signal in the same late-network region: GCG peaks at L29 (AUSS, ) and ICL at L28 (Batch_Cov_TopEig, ), one layer apart. This is mechanistically coherent rather than coincidental. GCG’s adversarial suffix is optimised end-to-end by back-propagating through the entire network, so its gradient signal is shaped by whichever layer the model’s final next-token decision is most sensitive to. ICL must similarly override the model’s late-stage, generation-ready representation to redirect its output. Both attacks are therefore best diagnosed by measuring fragmentation deep in the residual stream rather than at an early or intermediate depth. MIA and Steering show only weak, non-BH-significant layer-specific signal in the current dataset (best entropy-family points at L31–L32, –0.65, uncorrected but not surviving global correction); we treat these descriptively rather than as reliable single-layer predictors. Appendix § 9.§ 3 reports a practical, label-free layer-selection rule that performs close to this attack-specific oracle search without per-attack calibration.
Attack-dependent sign phenomena. The correlation’s sign is not uniform across attacks (Table 9): AUSS predicts ICL negatively (), while Reg and AnonDiff predict GCG and Steering positively (, ). Based on the different mechanisms by which these attacks recover knowledge, we expect their correlation with fragmentation to differ in signal. ICL recovers "knowledge" through the model’s own generation, which plausibly requires a single coherent direction, empirically it seems that fragmentation tracks the absence of one. GCG and Steering instead work by searching or intervening on the representation directly, where possibly a more dispersed representation offers more directions to exploit, which would explain the opposite sign. We discuss in Limitations how this account could be further validated in future work.
Practical implications for unlearning evaluation. Activation fragmentation can serve as a computationally cheap, pre-attack screening step in unlearning evaluation pipelines. If fragmentation metrics confirm that the concept geometry has been genuinely disrupted, practitioners can have higher confidence that the unlearning is not merely suppression; if fragmentation remains intact, that is a strong signal that adversarial recovery will succeed without running expensive attacks. Its forward-pass-only design makes it applicable even where generation is prohibited, such as API-access audits subject to output restrictions.
Related Work
Parametric Knowledge and Intrinsic Evaluation. Factual associations are geometrically structured within intermediate transformer layers ([18, 9, 17]). While recent intrinsic probes aim to evaluate this knowledge without token generation ([10 Hong et al.]), they frequently conflate conceptual content with query syntax or require a reference model. We build upon the Gram-matrix entropy framework ([24]) and the geometric grounding of intermediate layers ([20]), but depart from prior work by measuring the population geometry of anon-vectors. This isolates conceptual identity from structural artifacts without relying on pre-unlearning baselines.
Machine Unlearning and Adversarial Robustness. Current unlearning interventions—spanning gradient ascent, preference optimisation, and representation steering ([26, 19, 12]})—frequently produce suppression rather than genuine deletion ([25, 13] (Schoepf et al. 2026)). Because knowledge remains structurally intact, adversarial techniques such as activation steering ([22]), in-context learning ([2]), and GCG ([28]) can bypass behavioral safeguards to recover suppressed facts. Prior representation-level audits either require pre- and post-unlearning model comparisons ([25]) or the active execution of these costly attacks ([15]). In contrast, our fragmentation framework offers a single-phase, generation-free proxy designed to predict vulnerability to these exact recovery channels using a single geometric forward pass.
Limitations
Our evaluation has several limitations. First, deterministic string substitution for anonymisation risks tokenizer-driven lexical artifacts. We mitigate this using morphologically similar names and multi-variant averaging () in RQ2 (supported by consistent ablations in Appendix § 9.§ 2), though future work should explore tokenization-matched replacements, LLM paraphrasing, or systematically benchmarking alternative anonymisation pipelines beyond the scheme used here. Second, relying on a single anonymised variant () per query in RQ1 may retain idiosyncratic phrasing, which we offset by averaging across – queries per concept. Third, our batch-based construction requires forget-set samples to define a valid direction vector, which may not suit single-sample or very small-sample unlearning settings; a promising extension augments a single target sample with neutral or synthetic data to compute a pseudo-batch direction, which we leave to future work. Fourth, the explanation offered in Section 5 for why fragmentation predicts ICL and GCG/Steering with opposite sign is inferred from the correlational pattern alone; we do not validate it against the model’s actual generations or intermediate reasoning traces, and confirming it would require inspecting chain-of-thought or generation-level outputs alongside the geometry, which we leave to future work. Finally, our concept coverage in RQ1, while now validated across four conditions (Harry Potter forget/retain, Star Wars, TOFU; Appendix § 11.§ 2), remains limited to English-language fictional/factual domains. Expanding to graded knowledge levels and non-fiction technical domains is necessary to fully confirm the generality of our findings.
Mathematical Proofs
This section provides complete proofs for the theoretical results stated in § 3.2.
Proof of Theorem 1
Theorem (High entropy forces geometric fragmentation). Let be a matrix of -normalised activation vectors and let be the corresponding Gram matrix with . Then the mean pairwise squared Euclidean distance satisfies
Proof. Let denote the rows of , with for all .
Step 1 (Gram matrix structure). Because the rows are unit vectors, and the diagonal satisfies , so . Hence .
Step 2 (Distance–cosine identity). For any pair ,
Step 3 (Express via the Gram matrix). Define the mean off-diagonal cosine similarity
so that . Summing all entries of and separating diagonal from off-diagonal,
Solving for and substituting:
Step 4 (Rayleigh quotient bound). For any unit vector , . Taking (which satisfies ):
Step 5 (Conclusion). From Step 4, , so . Dividing by :
Since for all ,
□
Remark. The proof actually establishes the tighter bound ; the theorem states the slightly weaker form , which is independent of and easier to interpret. The bound is tight (up to the factor) when all vectors are mutually orthogonal: then , , , and .
Entropy–EffRank Relationship
The following proposition formalises the claim in § 3.2 that a high Rényi-2 Gram-matrix entropy forces a large effective rank, completing the implication chain high high EffRank large .
Proposition 1 (Entropy–EffRank sandwich). Let be a positive semi-definite matrix with normalised spectral distribution , , ordered . Define and . Then
Proof. Upper bound. Because for every ,
Taking reciprocals (both sides positive) reverses the inequality: , i.e., .
Lower bound. Trivially, (one non-negative term cannot exceed their sum). Taking square roots: . Hence .
Corollary 1 (High forces geometric fragmentation). For any matrix of -normalised vectors with Gram matrix ,
In particular, as .
Proof. From Proposition 1, , so . Substituting into Theorem 1:
Remark. Proposition 1 shows that and are tightly coupled: both grow together as the spectral mass spreads across more eigenvalue directions. The upper bound also shows that the two quantities agree to within a factor of two on the log-scale, justifying the short-hand “ is an increasing function of EffRank” used in the main text.
Proof of Theorem 2 and the Exact Entropy Identity
We first establish a key lemma that is an exact algebraic identity—no inequalities, no extra assumptions. It shows that and the mean squared pairwise cosine are two encodings of the same spectral quantity.
Lemma 1 (Gram entropy equals mean squared cosine). Let be -normalised vectors with Gram matrix and normalised Gram . Let
be the mean pairwise squared cosine similarity. Then
equivalently . In particular, is a strictly decreasing bijection of : (all pairs parallel or anti-parallel), and (all pairs orthogonal).
Proof. Expanding the Frobenius norm of :
Dividing by :
Since (each ), the right-hand side is continuous and strictly increasing in , making a strictly decreasing bijection. Boundary values: gives , ; gives , .
Remark. Lemma 1 gives the converse of Theorem 1 for the squared-cosine metric: if and only if , which means every pair of vectors satisfies , i.e. they are either perfectly aligned or perfectly anti-aligned. Crucially, a low alone does not guarantee that vectors point in the same direction (positive cosines); two anti-parallel unit vectors achieve yet . Theorem 2 closes this gap by adding the non-negativity condition, which exactly rules out anti-alignment.
We are now ready to prove Theorem 2.
Proof of Theorem 2. The key step is the following inequality, which holds under the assumption for : since , we have , and therefore
where is the mean off-diagonal cosine. Rearranging, .
From Lemma 1, , so
Using (Step 2 and Step 3 of the proof of Theorem 1):
As , the right-hand side , so . □
Remark. The bound is tight at both extremes. When all vectors are identical ( for all ): , , , and the bound gives , matching the exact value . When all pairs are orthogonal ( for , so ): and the bound gives , matching the exact value .
Implementation Details
This appendix provides the technical implementation details for all experiments. Code and data will be released upon acceptance.
All datasets and models utilized in this study, including MUSE-Books, TOFU, and ConceptVectors, alongside the evaluated language models, were accessed and employed strictly in accordance with their original licenses and intended use cases. These existing artifacts were explicitly designed for advancing machine learning research, which aligns directly with our objective of evaluating knowledge suppression and unlearning mechanisms. We use these datasets and metrics under the MIT license, and therefore publish our code under the same license. Our reference implementation and framework are intended solely for academic and research contexts to audit language model safety; any derivative applications or data distributions must remain compatible with these research-oriented, non-commercial access conditions.
Metric Computation
Input format. For every concept query we construct a regular text and an anonymised text. Regular text concatenates the natural question and its full answer: “{question}\nAnswer: {answer}”, and the anonymised text applies a concept-specific substitution map to both fields (see Section B.2 for the three distinct anonymisation procedures). For anon-vector computation, the anon hidden state at layer is the mean over anonymised variants:
for RQ1 hidden-state extraction and RQ2 forget pairs; for the steering-attack SV computation in RQ2 (see Section B.6).
Anonymisation Procedures
All anonymised texts are produced by deterministic string substitution — no language model is used at any stage of the anonymisation pipeline. Three distinct procedures are used, depending on the dataset and downstream task.
Procedure 1: HP pairs for RQ1 (single-variant, fictional-name substitution). The MUSE-Books HP pairs are anonymised using the shared entity table from data/generate_anon_qa.py (HP_REPLACEMENTS), which contains 83 named-entity rules applied in order of decreasing string length to prevent partial matches (e.g. “Hermione Granger” is replaced before “Hermione”), and created using Seyitoğlu et al. [22] and expanded with Claude-Opus-4.6. Replacements are plausible fictional names that carry no HP-specific signal; variant index 0 is selected, yielding a single deterministic anonymised pair per original pair (). Key substitutions: Harry Potter Alex Ryden, Hermione Granger Vera Ashwood, Ron Weasley Sam Coldridge, Lord Voldemort Dark Emperor Mordax, Albus Dumbledore *Headmaster Voss, Hogwarts Crystal Academy, Quidditch Broomball. The substitution is applied to both the question and the answer using a case-insensitive regex. This is the same table used by Procedure 3 for RQ2; using variant 0 ensures methodological consistency across tasks. 85 of 96 pairs are changed; the remaining 11 contain no HP-specific entity in the table.
Procedure 2: TOFU pairs for RQ1 (single-variant, author-table substitution). TOFU pairs reference entirely fictitious authors. We prescan all 100 pairs to collect every unique author full name, then build a global fictional-name map: each author is assigned first_name[i] + last_name[i] from the name pools of Seyitoğlu et al. (tofu_anonymize.json), indexed deterministically in order of first appearance (with explicit overrides from the dataset’s replacements field taking precedence). The map is applied consistently across all pairs (longest-first, case-insensitive), so cross-pair author identity is preserved throughout the dataset. 83 of 100 pairs are changed; the remaining 17 contain only generic phrasing with no author-name mention that the regex can match.
Procedure 3: ConceptVectors QA pairs for RQ2 (five-variant, entity-table substitution). For the steering-attack SV computation in RQ2, each evaluation question requires multiple anonymised variants so that the steering vector averages over several “identity-free” phrasings of the same question. We pre-generate such variants per question at data-build time using data/generate_anon_qa.py, which maintains a separate replacement table per concept. Each table lists 5 fictional substitutes for every named entity in the concept:
Harry Potter Alex Ryden, Marcus Cole, Torin Drake, Daven Ash, Kael Stone (and analogous per-character tables for Hermione Granger, Voldemort, Hogwarts, Quidditch, J.K. Rowling, etc.).
Star Wars Kai Starborn, Zane Lightfield, Taran Skyes, Riven Starfall, Dax Brightstar (for Luke Skywalker; equivalent tables for Darth Vader, Han Solo, Tatooine, lightsaber, etc.).
William Shakespeare equivalent five-name tables for Shakespeare himself, Hamlet, Macbeth, the Globe Theatre, Stratford-upon-Avon, etc.
Substitution is again longest-first and literal. Variant is constructed by replacing every matched entity with its -th substitute (same index for all entities within a single variant, so the five variants each represent a self-consistent fictional universe). The five anonymised questions are stored in the anon_questions list field of each qa_eval_pairs entry in the pre-built concept JSON files.
Note on RQ2 forget pairs. The Wikipedia-derived forget pairs used for training unlearning (not for the steering SV) use bracket placeholder tokens instead of fictional names (e.g. Harry Potter [THE PROTAGONIST], Lord Voldemort [THE ANTAGONIST], Hogwarts [THE ACADEMY]). This produces a single anonymised pair per training example; multiple variants are not needed for the CE-loss computation.
Extraction, Sampling, and Layer Selection
Hidden-state extraction. All hidden states are extracted in a single forward pass with no gradient computation (torch.no_grad()). We register output hooks on every transformer block to collect the full stack of hidden states (embedding layer included) simultaneously for a single tokenised input. The per-token hidden state at position and layer is mean-pooled across the sequence dimension using an attention-mask-weighted average, yielding a single vector per input. All models are loaded in bfloat16 precision with device_map="auto" to distribute parameters across available GPUs.
Batch sizes and sample counts.
RQ1 (knowledge detection): Harry Potter query pairs (MUSE-Books) and TOFU pairs, each split into random batches of approximately 9–10 pairs for computing per-batch direction vectors. All ten models are evaluated without repetition (embeddings are deterministic).
RQ2 (unlearning): Concept-specific forget sets contain approximately 50–80 Wikipedia-derived text pairs (see Section B.4). Fragmentation metrics are computed on the full forget set at the AU-peak layer identified individually for each model–concept pair; batches.
Rationale for hyperparameter choices. Several choices in our pipeline are not uniquely determined by the experimental design; we document them here for transparency. batches: from upward every metric separates HP from TOFU in the hypothesized direction, with effect size growing monotonically with (Table 3); the paired Wilcoxon test’s resolution is bounded by models rather than , so is a practical middle ground, not an arbitrary or fragile choice. is structurally undefined (no batch-to-batch variance with a single sample); a single-item reformulation that avoids this constraint entirely is discussed in § 7.
| Metric | () | |
| / Global_Coh. | 2 | 0.14 (.82) |
| / Global_Coh. | 5 | 0.64 (.13) |
| / Global_Coh. | 10 | 0.72 (.13) |
| / Global_Coh. | 20 | 0.92 (.04) |
| / Global_Coh. | 50 | 1.13 (.02) |
| Batch_SecondMoment_TopEig | 2 | 0.19 (.73) |
| Batch_SecondMoment_TopEig | 5 | 0.35 (.36) |
| Batch_SecondMoment_TopEig | 10 | 0.42 (.36) |
| Batch_SecondMoment_TopEig | 20 | 0.43 (.36) |
| Batch_SecondMoment_TopEig | 50 | 0.37 (.57) |
| AUSS / Batch_Cov_Trace | 2 | 0.17 (.73) |
| AUSS / Batch_Cov_Trace | 5 | 0.62 (.13) |
| AUSS / Batch_Cov_Trace | 10 | 0.74 (.10) |
| AUSS / Batch_Cov_Trace | 20 | 0.93 (.04) |
| AUSS / Batch_Cov_Trace | 50 | 1.10 (.02) |
| AUSS | 2 | 0.31 (.43) |
| AUSS | 5 | 0.40 (.36) |
| AUSS | 10 | 0.49 (.30) |
| AUSS | 20 | 0.47 (.30) |
| AUSS | 50 | 0.43 (.20) |
| AUSS | 2 | 1.25 (.01) |
| AUSS | 5 | 1.18 (.02) |
| AUSS | 10 | 1.18 (.01) |
| AUSS | 20 | 0.97 (.02) |
| AUSS | 50 | 0.54 (.16) |
| Batch_Cov_TopEig | 2 | 0.17 (.73) |
| Batch_Cov_TopEig | 5 | 0.42 (.30) |
| Batch_Cov_TopEig | 10 | 0.18 (.65) |
| Batch_Cov_TopEig | 20 | 0.28 (.43) |
| Batch_Cov_TopEig | 50 | 0.33 (.43) |
Table 3. Batch-size sensitivity: Cohen’s (Wilcoxon ) for HP vs. TOFU separation at , models, direction-corrected fresh extraction. All cells are in the hypothesized direction.
Seed 42: standard reproducibility seed; sensitivity to the partition seed is a stated limitation (§ 7). Peak layer = AUSS: AUSS had the strongest RQ1 signal in preliminary runs; the same layer is used for all metrics within a run to avoid per-metric search costs. Per-layer correlation analysis confirms that the final layers carry the strongest ASR signal for most attacks. for RQ1 and forget pairs, for
steering SV: a single anonymised variant is sufficient for metric computation and minimises hidden-state extraction time; five variants are used for the steering vector to average over phrasings and reduce direction noise (Seyitoğlu et al. [22]). ICL: , ROUGE-L threshold 0.30: five-shot is the standard few-shot setting of Brown et al. [2]; the 0.30 threshold is loose enough to accept paraphrases and matches the TOFU benchmark convention (Maini et al. [16]). GCG: (shortest answers), 500 steps, suffix length 20: shortest-answer pairs converge fastest under gradient-based optimisation; 500 steps and a 20-token suffix are the nanogcg defaults from Zou et al. [28]. MIA: 50 forget / 50 retain: equal-class balance for ROC AUC computation; standard in membership-inference literature. RMU: , , : adopted directly from the defaults of Huu-Tien et al. [12] for 7–8B models; is approximately the middle of the network. WHP excluded from correlation analysis: WHP redirects concept queries to anonymised answers rather than erasing the representation; its geometry is qualitatively different from the suppression-based methods (GA/DPO/NPO/NPO+KL/RMU), and including it would confound the correlation analysis.
Peak-layer selection. For RQ1, each metric selects its own peak layer independently as the layer that maximises the HP–TOFU separation for that metric (i.e. for dispersion metrics, reversed for coherence metrics where HP should be higher). This per-metric peak is computed across all ten models simultaneously. For RQ2, is selected per run as the layer that maximises AUSS on the post-unlearning checkpoint; the same layer is used for all other fragmentation metrics in that run.
A practical, label-free layer-selection heuristic. The oracle per-model peak layer is not idiosyncratic: relative depth () clusters tightly across all 9 models (0.79–0.98), with the highest-performing layer consistently falling in the 0.80–0.88 range. A single fixed relative depth of 0.8 model depth, using no per-model information at all, already gives 8/8 metrics correct-direction and statistically significant at . Leave-one-model-out transfer of the median peak relative depth (learned from the other 8 models, applied blind to the held-out model) achieves 72/72 (model, metric) pairs correct-direction, identical to the oracle per-model search (Table 4). For practical deployment, taking the layer at depth is close enough to the oracle-optimal result and requires no per-model calibration.
| Metric | ||
| 0.2 | 0.42 | |
| 0.3 | 0.67 | |
| 0.4 | 1.34 | |
| 0.5 | 1.51 | |
| 0.6 | 1.72 | |
| 0.7 | 2.21 | |
| 0.8 | 3.30 (.0039) | |
| AUSSL | 0.2 | 0.48 |
| 0.3 | 0.70 | |
| 0.4 | 1.30 | |
| 0.5 | 1.42 | |
| 0.6 | 1.62 | |
| 0.7 | 2.04 | |
| 0.8 | 3.01 (.0039) | |
| AUSS | 0.2 | 0.04 |
| 0.3 | 0.12 | |
| 0.4 | 0.22 | |
| 0.5 | 0.31 | |
| 0.6 | 0.60 | |
| 0.7 | 0.96 | |
| 0.8 | 1.65 (.0078) | |
| AUSS | 0.2 | 0.34 |
| 0.3 | 0.83 | |
| 0.4 | 1.21 | |
| 0.5 | 1.44 | |
| 0.6 | 1.81 | |
| 0.7 | 2.15 | |
| 0.8 | 2.60 (.0039) | |
| Batch_Cov_TopEig | 0.2 | 0.09 |
| 0.3 | 0.18 | |
| 0.4 | 0.84 | |
| 0.5 | 1.42 | |
| 0.6 | 2.10 | |
| 0.7 | 2.60 | |
| 0.8 | 6.31 (.0039) |
Table 4. Fixed relative-depth sweep (no per-model search), models, Cohen’s ( shown only at , all there); sign shown per metric’s own coherence/dispersion convention, all cells correct-direction at . LOMO transfer: leave-one-model-out transfer of the median peak depth from the other 8 models, all 8 metrics, all 9 held-out models (72/72 pairs), identical to the 72/72 oracle per-model search.
Gram-entropy computation. Eigenvalues of are computed with torch.linalg.eigvalsh (symmetric eigendecomposition, stable for positive-semidefinite matrices). Negative eigenvalues arising from numerical error are clamped to zero and the spectrum is renormalised to sum to one before computing entropy. For we mask eigenvalues to avoid . Batches with or are skipped and flagged as NaN.
Dataset Details
Harry Potter (HP) — RQ1. We use the MUSE-Books benchmark (Shi et al.), accessed via HuggingFace (muse-bench/MUSE-Books, configuration knowmem, split forget_qa). The split contains 300 open-domain question–answer pairs drawn from the seven Harry Potter novels. We retain pairs after filtering to those with non-empty answers; these cover characters, spells, locations, and plot events.
Each pair is anonymised using Procedure 1 (Section B.2): the 83-entry fictional-name table from HP_REPLACEMENTS, variant index 0, yielding a single anonymised pair per original pair (). For example, Harry Potter → Alex Ryden and Hogwarts → Crystal Academy.
TOFU — RQ1. We use the TOFU dataset (Maini et al., [16]) (locuslab/TOFU, HuggingFace), which contains 4,000 question–answer pairs about 200 entirely fictitious authors generated by GPT-4 and never present in any public training corpus. We sample pairs uniformly at random (seed 42) from the full-retain split. Because the authors are fabricated, all ten models score 0.00 exact-match QA accuracy on TOFU, making it an ideal null baseline for the knowledge-detection experiment. Procedure 2 (Section B.2) is applied: a global fictional-name map over all TOFU fictitious authors, keeping author identity consistent across pairs. 83 of 100 pairs are changed; 17 pairs containing only generic phrasing are unchanged by design—the anon-vector should carry minimal concept-specific signal for unknown concepts.
ConceptVectors — RQ2. For the unlearning experiments we use three target concepts: Harry Potter, Star Wars, and William Shakespeare. Forget pairs and evaluation QA pairs are constructed from the ConceptVectors dataset (Hong et al.) (YihuiHong/ConceptVectors, HuggingFace), which provides Wikipedia-sourced text completions and question–answer pairs for 293 named entities across multiple model families.
For each concept we use the test and development splits for both llama2-7b and olmo-7b entries, deduplicating by question text. Wikipedia article text is additionally segmented into sliding-window (prefix, continuation) pairs of approximately 128 tokens to increase the effective forget-set size. The final forget set contains 50–80 pairs per concept. Retain pairs are drawn from the unrelated_QA field of other concepts in ConceptVectors, ensuring the retain set covers facts the model should continue to answer correctly throughout unlearning; typically 50 retain pairs are used.
Important implementation note: The ConceptVectors HuggingFace repository contains JSON files with heterogeneous schemas across model families; we bypass the datasets.load_dataset() API and load the JSON files directly from the local cache to avoid schema-mismatch errors.
Unlearning Details
Hardware. All unlearning experiments are conducted on two NVIDIA L40S GPUs (48 GB VRAM each, 96 GB total). Models are loaded with device_map="auto" in bfloat16 precision, causing the HuggingFace accelerate library to automatically shard larger models (LLaMA-2-7B, LLaMA-3-8B, Qwen2.5-7B) across both GPUs. PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True is set at process start to eliminate CUDA memory fragmentation across sequential unlearning runs. Total GPU-hours were not directly logged, so we estimate a total from process timestamps recorded in our run logs. RQ1 hidden-state extraction averages minutes per model across the ten evaluated models; the RQ2 unlearning-and-attack pipeline averages – minutes per model–method–concept run across the 63-run grid (Appendix § 11.§ 7), with additional passes for the layer-resolved sweep (Section D.5), the CKA/L2 baseline comparison (§ 4), and the per-sample analyses in this appendix. Both GPUs are occupied for the duration of every run (device_map="auto" shards each model across both). Extrapolating these per-run durations across the full set of runs logged for this project, we estimate total compute at approximately 120–150 GPU-hours on the hardware described above.
Common training configuration. Unless noted otherwise, all methods share the following hyperparameters: 10 training epochs, learning rate , batch size , maximum sequence length 256 tokens, gradient clipping to norm 1.0, and the AdamW optimiser (8-bit variant via bitsandbytes when available, otherwise standard PyTorch AdamW). Gradient checkpointing is enabled throughout to reduce peak VRAM usage. A frozen reference-model copy is loaded onto CPU memory (pinned) and moved to GPU only when needed, which is required by DPO, NPO, NPO+KL, and RMU.
Gradient Ascent (GA). GA negates the standard language-modelling cross-entropy loss on the forget pairs:
No retain regularisation is applied. This follows the original gradient-ascent unlearning baseline [26].
DPO. Direct Preference Optimisation [19] treats forget pairs as rejected continuations and retain pairs as chosen continuations. The DPO objective is:
with . Our usage of DPO for unlearning follows the open-unlearning framework of [16].
NPO. Negative Preference Optimisation [27] pushes the policy away from the reference model on the forget set only:
with .
NPO+KL. Extends NPO with a KL-divergence regularisation term on the retain set to preserve general model capability [27]:
with and .
RMU. Representation Misdirection for Unlearning [12] steers the hidden states of forget inputs toward a fixed random direction at a chosen intermediate layer , while simultaneously anchoring retain hidden states close to the frozen reference:
where is sampled once and fixed, , (approximately the middle of the network for 7–8B models), and . The random vector is created in bfloat16 to match the model’s parameter dtype.
WHP (WhoIsHarryPotter). Following Eldan and Russinovich, WHP trains the model to redirect concept-specific queries to anonymised answers, rather than maximising the forget loss. Forget pairs use the original question as input and the anonymised answer as the training target; the retain pairs use the standard question–answer format. The combined loss is:
with . No frozen reference model is required (unlike the KL-based retain regularisers in NPO+KL and the original WHP paper), which avoids the GPU memory fragmentation caused by pinning a second full model copy to a fixed GPU. Because WHP redirects rather than erases the concept representation, it does not satisfy the standard forget ROUGE-L verification criterion (post-unlearn forget ROUGE-L rises rather than falls); we annotate WHP runs with a ↔ symbol.
Attack Implementation Details
We evaluate four adversarial recovery attacks after unlearning. All attacks use seed 42 and operate on the post-unlearning checkpoint held in GPU memory immediately after training (the model is not reloaded between attacks). Attacks are run in the order Steering → ICL → MIA → GCG; GCG runs last because the nanogcg optimiser can corrupt the CUDA context on some GPU configurations, after which the model is freed.
Activation Steering. Following Seyitoglu et al. [22], we compute a query-specific steering vector for each evaluation question :
where is the hidden state at layer (the second-to-last transformer layer, consistent with the paper’s “just before the final layer” specification), extracted at the first token position. The steering vector is the raw difference (not unit-normalised), so the scale carries magnitude information.
The vector is injected at the first decode step only (when the key-value cache has been filled by the prompt and the model generates the first new token, i.e. the hidden-state tensor has sequence length 1), scaled by coefficient . Crucially, the vector is not applied during the prefill phase (sequence length ), which would modify the KV cache and corrupt attention rather than steering generation. A stateful hook flag ensures the perturbation fires exactly once per generation call.
For each of 25 evaluation pairs, we generate stochastic completions (temperature , top-, max_new_tokens = 10) both with and without the steering hook. The score for each pair is the maximum word-frequency of any answer token across the 500 samples (word-frequency score, following the paper’s scoring protocol). The overall metric is the ROC AUC computed by treating steered scores as the positive class and unsteered scores as the negative class: AUC indicates that steering recovers more correct-answer tokens than no-steering, i.e. the concept geometry is partially intact.
In-Context Learning (ICL). ICL tests whether presenting the model with concept-specific examples as context is sufficient to recover the forgotten knowledge via in-context prompting.
From the available QA pairs, 25 pairs are held out for evaluation and the remainder form the demonstration pool. For each evaluation question, 5 demonstrations are sampled uniformly (excluding the current question) and prepended in the format {"Q}\nAnswer: {A}\n\n". Responses are generated greedily (max_new_tokens = 50). A response is marked correct when ROUGE-L with the reference answer is (soft-match threshold to account for answer paraphrasing). The attack score is the ICL accuracy; a higher score indicates that the model’s knowledge is still recoverable via context.
GCG Adversarial Suffix. We use the Greedy Coordinate Gradient (GCG) method of Zou et al. [28] via the nanogcg Python library. To reduce computational cost while retaining sensitivity, we evaluate on the pairs with the shortest reference answers (easiest targets for gradient-based suffix optimisation).
Each suffix is initialised as 20 repeated "! " tokens and optimised for 500 gradient steps against the first 8 tokens of the reference answer (a short target prefix converges substantially faster than the full answer string and corresponds to the affirmative-prefix strategy used in the original paper). The model’s chat template is applied automatically by nanogcg before generation. After optimisation, the adversarial input is constructed as {question} + " " + best_suffix and decoded greedily (max_new_tokens = 256). A pair is marked successful if the generated text contains a keyword from the reference answer or achieves ROUGE-L . The attack score is the attack success rate (ASR) across the 5 pairs.
Membership Inference Attack (MIA). We employ a standard likelihood-ratio MIA: the model’s per-token conditional log-likelihood is used as a membership score. We score forget-concept QA pairs and retain-set pairs (sampled from pairs about unrelated topics). QA pairs with factual short-answer format are preferred over Wikipedia-text pairs for the forget set, as gradient-ascent unlearning on Wikipedia-style text can produce degenerate NLL values exceeding 200 nats for date-prefixed completions. The ROC AUC is computed with forget-set pairs as the positive class (higher = lower likelihood = model has successfully forgotten) and retain-set pairs as the negative class. AUC indicates the model still assigns higher probability to the forget set than the retain set, i.e. unlearning is incomplete at the distribution level.
Additional Evaluated Metrics
This section details the supplementary geometric and baseline metrics evaluated in our study, expanding upon the primary metrics introduced in § 3.1.
Baseline pair-wise metrics. These metrics apply standard geometric measures directly to the raw hidden states and serve as comparison baselines for the anon-difference metrics.
Reg — Gram-matrix entropy of the regular hidden states:
Reg — Mean norm of regular hidden states:
Reg — Mean pairwise cosine similarity of regular hidden states:
Additional anon-difference pair-wise metrics. AnonDiff — Mean norm of anon-difference vectors:
AnonDiff — Mean pairwise cosine similarity of anon-difference vectors:
Additional batch-mean (AUSS) metrics. AUSS — Complement of the mean pairwise cosine similarity between batch-mean directions (the linear analogue of AUSS):
Unlike AUSS, this is sensitive to the sign of alignment; it equals zero only when all directions are perfectly parallel (fully consistent concept direction).
AUSS — Mean pairwise soft Jaccard incoherence of the positive-component supports of the batch-mean directions. For unit vector , define its positive-activation profile with . The pairwise soft Jaccard distance is
and
This measures whether the sparsity patterns of the batch directions agree, independent of sign or magnitude effects captured by cosine metrics.
Covariance-based metrics. Let be the mean anon-difference vector and be the sample covariance matrix.
Cov — Trace of the sample covariance of the anon-difference vectors:
A large trace indicates concept signal is dispersed across many directions (fragmented); a small value indicates compact, concentrated representations.
Covtop — Largest eigenvalue of the sample covariance:
This captures how much variance concentrates along the dominant concept direction. After unlearning, a large indicates the primary concept direction is intact in the representation space, predicting susceptibility to context-based recovery such as ICL.
SecMomenttop — Largest eigenvalue of the (uncentred) second moment matrix:
Unlike , this is sensitive to both the mean direction and the residual spread, making it a joint measure of magnitude and directionality.
Full Experimental Results
RQ1: Per-Model Fragmentation and Entropy Values
See the full results in Table 5 and Table 6.
| Model | Harry Potter (known) QA | Harry Potter (known) ↑ | Harry Potter (known) ↓ | Harry Potter (known) ↓ | TOFU (unknown, QA = 0.00) | TOFU (unknown, QA = 0.00) | TOFU (unknown, QA = 0.00) |
| Qwen family | |||||||
| Qwen-7B-Chat | 0.083 | 0.752 | 0.952 | 0.577 | 0.639 | 1.309 | 0.683 |
| Qwen2.5-7B | 0.250 | 0.684 | 1.150 | 0.501 | 0.601 | 1.402 | 0.408 |
| Qwen-14B-Chat | 0.135 | 0.804 | 0.780 | 0.553 | 0.688 | 1.164 | 0.696 |
| Qwen2.5-14B | 0.323 | 0.697 | 1.116 | 0.522 | 0.689 | 1.151 | 0.440 |
| Gemma family | |||||||
| Gemma-2B | 0.042 | 0.949 | 0.223 | 0.209 | 0.638 | 1.316 | 0.835 |
| Gemma-7B | 0.083 | 0.882 | 0.491 | 0.417 | 0.773 | 0.891 | 0.608 |
| LLaMA family | |||||||
| LLaMA-2-7B | 0.125 | 0.800 | 0.800 | 0.549 | 0.553 | 1.543 | 0.792 |
| LLaMA-2-13B | 0.219 | 0.903 | 0.411 | 0.363 | 0.595 | 1.437 | 0.891 |
| LLaMA-3-8B | 0.312 | 0.900 | 0.423 | 0.370 | 0.655 | 1.268 | 0.826 |
| LLaMA-3.1-8B | 0.219 | 0.903 | 0.409 | 0.360 | 0.624 | 1.356 | 0.850 |
Table 5. Fragmentation metrics (HP known vs. TOFU unknown) for all ten LLMs at peak layer . QA: QA accuracy on HP; TOFU QA is 0.00 for every model. ↑: centroid norm (coherence; ↑ = model knows). ↓ / ↓: dispersion (↓ = model knows). Bold: HP entry in the theoretically expected direction.
| Model | Harry Potter (known) Reg | Harry Potter (known) Reg | Harry Potter (known) AnonDiff | Harry Potter (known) AnonDiff | Harry Potter (known) AnonDiff | TOFU (unknown, QA = 0.00) Reg | TOFU (unknown, QA = 0.00) Reg | TOFU (unknown, QA = 0.00) AnonDiff | TOFU (unknown, QA = 0.00) AnonDiff | TOFU (unknown, QA = 0.00) AnonDiff |
| Qwen family | ||||||||||
| Qwen-7B-Chat | 0.007 | 0.995 | 3.808 | 20.4 | 0.138 | 0.043 | 0.969 | 4.769 | 16.9 | 0.098 |
| Qwen2.5-7B | 0.002 | 0.999 | 3.715 | 29.5 | 0.118 | 0.009 | 0.996 | 4.614 | 24.7 | 0.121 |
| Qwen-14B-Chat | 0.018 | 0.990 | 3.544 | 21.5 | 0.166 | 0.090 | 0.954 | 4.795 | 16.7 | 0.088 |
| Qwen2.5-14B | 0.002 | 0.999 | 3.825 | 37.2 | 0.119 | 0.007 | 0.997 | 4.743 | 30.8 | 0.132 |
| Gemma family | ||||||||||
| Gemma-2B | 0.327 | 0.867 | 3.584 | 15.4 | 0.328 | 0.757 | 0.845 | 4.098 | 12.7 | 0.057 |
| Gemma-7B | 0.053 | 0.973 | 3.758 | 2.43 | 0.254 | 0.200 | 0.895 | 4.397 | 1.79 | 0.108 |
| LLaMA family | ||||||||||
| LLaMA-2-7B | 0.007 | 0.996 | 3.813 | 6.33 | 0.183 | 0.032 | 0.975 | 4.543 | 5.36 | 0.048 |
| LLaMA-2-13B | 0.055 | 0.967 | 1.635 | 6.90 | 0.275 | 0.221 | 0.868 | 2.106 | 5.16 | 0.044 |
| LLaMA-3-8B | 0.045 | 0.973 | 3.755 | 1.95 | 0.263 | 0.197 | 0.893 | 4.580 | 1.57 | 0.072 |
| LLaMA-3.1-8B | 0.038 | 0.977 | 3.714 | 2.41 | 0.265 | 0.168 | 0.907 | 4.543 | 2.06 | 0.064 |
Table 6. Gram-matrix entropy (, Rényi order 2) and companion statistics at per-metric peak layer for ten LLMs. Reg: raw hidden states; AnonDiff: difference vectors ; applying Gram entropy to is our adaptation of Skean et al. [24]. ↓: lower = more compressed = model knows concept. ↑, ↑: higher = stronger/more coherent representation. Bold: HP entry consistent across all 10 models. Reg omitted (, mixed direction).
RQ1: Multi-Domain Validation and Classifier Discriminability
Four-way domain comparison. To test whether the HP-vs-TOFU separation reflects a structural known/unknown difference rather than an artifact of one narrow contrast, we extend the comparison to Harry Potter (retain split) and Star Wars, each tested against the same TOFU baseline across all 9 models (fresh, direction-corrected extraction), with two-sided Wilcoxon signed-rank tests and BH/FDR correction applied jointly across all 24 (metric, pair) tests.
Both additional “known” domains (HP-retain and Star Wars) separate from TOFU on every metric, in the same sign as the HP-forget contrast; HP-retain effect sizes are, if anything, larger (up to ) than the HP-forget contrast itself.
Classifier-based discriminability. The discriminability analysis in Table 1 reports /CI, which depends on the scale of the underlying metric. To confirm the separation is not an artifact of that scale, we build one sample per (model, domain) pair from the 8-dimensional standardized AUSS peak-layer feature vector and train Logistic Regression and a small MLP (8 hidden units) under leave-one-model-out cross-validation, so both domains of a held-out model are always scored by a classifier that never saw that model.
Both classifiers achieve near-perfect discriminability, with zero per-model misclassification for Logistic Regression, confirming the known/unknown separation is a robust structural feature of the representations rather than an artifact of the metrics’ raw scale.
RQ2: Full Geometry vs ASR Correlation Table
See the full results at Table 13–Table 15 and Table 9.
| Forget | Geometry | Attack Success | |||||||||
| Method | Cpt | ✓ | ROUGE-L | AUSS | AUSS | Steer-AUC | Steer-WF | ICL | MIA | GCG | |
| Base | HP | 0.106 | 0.872 | 0.534 | 0.439 | 0.433 | 0.373 | +0.040 | 0.982 | 0.000 | |
| SW | 0.098 | 0.866 | 0.557 | 0.473 | 0.482 | 0.261 | +0.080 | 0.982 | 0.000 | ||
| WS | 0.080 | 0.907 | 0.395 | 0.352 | 0.495 | 0.373 | +0.000 | 0.938 | 0.000 | ||
| GA | HP | ✓ | 0.000 | 0.936 | 0.275 | 0.253 | 0.500 | 0.000 | +0.000 | 0.119 | 0.000 |
| SW | ✓ | 0.000 | 0.901 | 0.417 | 0.370 | 0.500 | 0.000 | +0.000 | 0.461 | 0.000 | |
| WS | ✓ | 0.000 | 0.934 | 0.284 | 0.255 | 0.500 | 0.000 | +0.000 | 0.185 | 0.200 | |
| DPO | HP | ✓ | 0.004 | 0.884 | 0.484 | 0.422 | 0.730 | 0.194 | +0.000 | 0.861 | 0.000 |
| SW | 0.117 | 0.834 | 0.676 | 0.548 | 0.677 | 0.343 | +0.000 | 0.965 | 1.000 | ||
| WS | ✓ | 0.020 | 0.895 | 0.441 | 0.389 | 0.911 | 0.238 | +0.040 | 0.871 | 0.000 | |
| NPO | HP | 0.198 | 0.863 | 0.569 | 0.478 | 0.744 | 0.374 | +0.000 | 0.805 | 1.000 | |
| SW | 0.189 | 0.846 | 0.632 | 0.524 | 0.782 | 0.324 | +0.000 | 0.871 | 0.000 | ||
| WS | 0.105 | 0.913 | 0.370 | 0.331 | 0.706 | 0.433 | +0.040 | 0.770 | 1.000 | ||
| NPO+KL | HP | 0.349 | 0.865 | 0.559 | 0.474 | 0.934 | 0.458 | +0.000 | 0.482 | 0.000 | |
| SW | 0.167 | 0.838 | 0.662 | 0.542 | 0.822 | 0.210 | +0.000 | 0.246 | 0.800 | ||
| WS | 0.145 | 0.908 | 0.390 | 0.348 | 0.874 | 0.449 | +0.000 | 0.218 | 0.000 | ||
| RMU | HP | — | |||||||||
| SW | ✓ | 0.093 | 0.783 | 0.860 | 0.354 | 0.784 | 0.263 | +0.000 | 0.854 | 1.000 | |
| WS | ✓ | 0.082 | 0.875 | 0.522 | 0.439 | 0.634 | 0.364 | +0.040 | 0.785 | 0.800 | |
| WHP | HP | 0.258 | 0.864 | 0.564 | 0.477 | 0.943 | 0.310 | +0.000 | 0.495 | 0.000 | |
| SW | 0.172 | 0.843 | 0.644 | 0.533 | 0.845 | 0.205 | +0.000 | 0.218 | 0.000 | ||
| WS | 0.207 | 0.900 | 0.423 | 0.373 | 0.881 | 0.405 | +0.040 | 0.245 | 0.000 |
Table 15. Table 15: RQ2: Full post-unlearning results, Qwen2.5-7B-Instruct. ROUGE-L: forget-set ROUGE-L after unlearning. ✓: verified (ROUGE-L < 0.10 & retain ≥ 0.80× base). : centroid norm; AUSS, AUSS: dispersion (per-method peak layer ). Steer-AUC: steering AUC; Steer-WF: mean steered word-frequency score. ICL : ICL accuracy minus baseline. MIA: membership inference AUC; GCG: GCG ASR. Blank cells: checkpoint unavailable.
Head-to-Head Against Xu et al. (2026)
Full 44-test comparison (8 AUSS metrics + 3 Xu et al. metrics 4 attacks) underlying the main-text summary in § 4, BH-corrected globally across all 44 tests, –54. AUSS values come from checkpoints retained specifically for this comparison (the originals were already deleted at the time this analysis was run), paired with the original checkpoints’ attack scores; this table should be read as an independent second data point rather than checkpoint-consistent with Table 9.
Layerwise Geometry Analysis
Methodology. Following established practice in mechanistic interpretability (e.g., causal tracing; Meng et al. [17]), we treat this layer-resolved sweep as an exploratory diagnostic map of where different adversarial mechanisms exploit the geometry, rather than a multiplicity-corrected hypothesis test for a new global predictor; the corrected significance counts below quantify how much of the raw signal survives once treated as the latter. We extend the correlation analysis of § 4 to every transformer layer. For each run we extract hidden states at all layers in a single forward pass with output_hidden_states=True (mean-pooled over the response tokens), giving vectors and at each layer . We compute Spearman between each (metric, layer) pair and each attack-success score across all runs with complete data. Two metric families are evaluated in parallel:
AUSS metrics (8 metrics, defined in § 3): Centroid_Norm, AUSS, AUSS, AUSS, Global_Coherence, Batch Covariance, etc.
Entropy / AnonDiff metrics (14 metrics): Gram-matrix Rényi- entropy of the regular
(Reg), concept-differential (AnonDiff), and row-normalised concept-differential (NormAnonDiff) hidden-state matrices, plus mean cosine and mean statistics.
Figure 4 shows the full -vs.-layer sweep for all four attacks using the six leader metrics (three AUSS, three entropy). The GCC panel reproduces and extends Figure 3 from the main text.

Figure 4. Spearman by layer for all four attacks, leader metrics. Solid lines: AUSS family (AUSS, AUSS, AUSS). Dashed lines: Entropy family (Reg S, AnonDiff , NormAnonDiff S). Dotted red vertical line: attack-specific peak layer among the six plotted metrics (GCGL29, ICLL00 for this restricted set; see Table 11 for the full-metric-universe peaks used in the main text, GCGL29, ICLL28). GCG and ICL both concentrate their strongest signal late in the network; MIA and Steering show weaker, non-BH-significant layer-specific signal in this dataset. =10–15 runs per attack (complete data).
Best layer-metric predictors per attack. Refer to Table 11.
| Attack | Family | Best layer | Best metric | |||
| GCG | AUSS | L29 | AUSS | |||
| Entropy | L30 | NormAnonDiff S | ||||
| ICL | AUSS | L28 | Batch_Cov_TopEig | |||
| Entropy | L00 | AnonDiff S | ||||
| MIA | AUSS | L31 | Centroid_Norm | |||
| Entropy | L32 | Reg | ||||
| Steering | AUSS | L31 | ||||
| Entropy | L31 | Reg |
Table 11. Best (layer, metric) predictor per attack in the layer-resolved analysis. : number of runs with complete data at that layer. AUSS and entropy families are shown separately; the overall best metric across both is marked . : BH correction within the attack’s own column (8 AUSS + entropy tests); : BH correction across all 4,224 (layer, metric, attack) tests at once. .
Key findings.
GCG and ICL are the only two attacks whose layer-specific signal survives correction. Both peaks fall late in the network and one layer apart (GCG at L29, ICL at L28); GCC survives global correction () but not the stricter per-attack-column correction (), while ICL survives both. See the main-text Discussion for the mechanistic reading.
MIA and Steering do not survive correction at either scope. Their best (layer, metric) cells are only nominally significant at the raw level ( for both); we report them descriptively rather than as reliable predictors.
The aggregate and layer-resolved analyses find GCG signal via different metric families. The aggregate correlations in Table 9 find GCG significant via the Reg (Gram-entropy) family (Reg , );
the layer-resolved sweep instead finds its strongest GCG signal via AUSS at L29 (). Both are real but reflect different aspects of the geometry: the peak-layer AUSS metric (argmax over AUSS) does not coincide with GCG’s own predictive layer.
Positive for entropy metrics on MIA and Steering. Where entropy-family metrics show their strongest (non-significant) signal, higher entropy correlates with higher attack success, directionally opposite to the AUSS findings on GCG/ICL, reflecting that entropy measures spread of the concept-differential subspace while coherence measures its alignment.
Ranking Consistency of the Aggregate Correlations
To test whether the aggregate correlations in Table 9 are driven by one influential run, we compute leave-one-run-out (LOO) Spearman for each of the 8 AUSS metrics against each of the 4 attacks, restricted to verified unlearning runs (=26–27).
Only ICL is both leave-one-out stable and statistically significant after BH correction (8/8 metrics stable, 7/8 significant). Steering and GCG are largely stable (8/8 and 7/8) but not significant; MIA is neither reliably stable nor significant. We therefore present the correlation findings within the context of the ICL attack, rather than as a generalized cross-attack ranking claim.
RQ2: Full Per-Run Results
| Metric | vs. TOFU | () |
| / Global_Coh. | HP-forget +1.58 (.0039) | |
| HP-retain +3.13 (.0039) | ||
| Star Wars +1.69 (.0039) | ||
| Batch_SecondMoment_TopEig | HP-forget +2.57 (.0039) | |
| HP-retain +6.20 (.0039) | ||
| Star Wars +4.62 (.0039) | ||
| AUSS / Batch_Cov_Trace | HP-forget −1.55 (.0039) | |
| HP-retain −3.35 (.0039) | ||
| Star Wars −1.43 (.0117) | ||
| AUSS | HP-forget −0.92 (.0195) | |
| HP-retain −1.59 (.0039) | ||
| Star Wars −2.00 (.0039) | ||
| AUSS | HP-forget −1.87 (.0039) | |
| HP-retain −2.09 (.0039) | ||
| Star Wars −2.82 (.0039) | ||
| Batch_Cov_TopEig | HP-forget −1.34 (.0078) | |
| HP-retain −2.00 (.0039) | ||
| Star Wars −1.36 (.0039) |
Table 7. Four-way domain comparison: Cohen’s (, BH-corrected) for each condition vs. TOFU, models. All 24 cells are BH-significant ().
| Logistic Regr. | MLP (8 hidden) | |
| Accuracy | 100% | 94.4% |
| AUC | 1.00 | 1.00 |
| Correct | 18/18 | 17/18 |
| Models fully correct | 9/9 | 8/9 |
Table 8. Classification performance on known (HP) vs. unknown (TOFU) domains using standardized 8-dimensional AUSS features, LOMO-CV, models (18 samples).
Table 10. Full Xu et al. head-to-head comparison, sorted by . : .
| Family | Metric | Attack | |||
| AUSS | Centroid_Norm | ICL | +0.551 | 0.00002 | 0.0001 |
| AUSS | AUSS | ICL | −0.572 | 0.00001 | 0.0001 |
| AUSS | AUSS | ICL | −0.551 | 0.00002 | 0.0001 |
| AUSS | Global_Coherence | ICL | +0.551 | 0.00002 | 0.0001 |
| AUSS | Batch_Cov_Trace | ICL | −0.551 | 0.00002 | 0.0001 |
| AUSS | Batch_SecMom_TopEig | ICL | +0.557 | 0.00001 | 0.0001 |
| AUSS | AUSS | Steering | −0.452 | 0.00067 | 0.0042 |
| Xu et al. | cka_mean | Steering | +0.428 | 0.00137 | 0.0076 |
| Xu et al. | pca_sim_mean | ICL | +0.381 | 0.00485 | 0.0212 |
| AUSS | Batch_Cov_TopEig | ICL | −0.385 | 0.00440 | 0.0212 |
| Xu et al. | cka_mean | GCG | +0.374 | 0.00529 | 0.0212 |
| Xu et al. | cka_mean | MIA | +0.336 | 0.01378 | 0.0505 |
| AUSS | Batch_Cov_TopEig | GCG | −0.315 | 0.02020 | 0.0684 |
| Xu et al. | cka_mean | ICL | +0.310 | 0.02409 | 0.0757 |
| AUSS | Batch_Cov_TopEig | Steering | −0.287 | 0.03693 | 0.1083 |
| Xu et al. | pca_sim_mean | MIA | +0.269 | 0.05126 | 0.1410 |
| Xu et al. | pca_sim_mean | GCG | +0.263 | 0.05497 | 0.1423 |
| AUSS | Centroid_Norm | GCG | +0.218 | 0.11245 | 0.2262 |
| AUSS | Batch_Cov_Trace | GCG | −0.218 | 0.11245 | 0.2262 |
| AUSS | Global_Coherence | GCG | +0.218 | 0.11245 | 0.2262 |
| AUSS | AUSS | GCG | −0.218 | 0.11308 | 0.2262 |
| AUSS | AUSS | GCG | −0.218 | 0.11245 | 0.2262 |
| Xu et al. | pca_shift_mean | MIA | +0.213 | 0.12546 | 0.2300 |
| AUSS | Batch_SecMom_TopEig | GCG | +0.212 | 0.12336 | 0.2300 |
| Xu et al. | pca_shift_mean | GCG | −0.205 | 0.13778 | 0.2425 |
| AUSS | AUSS | GCG | −0.189 | 0.17119 | 0.2897 |
| AUSS | Batch_Cov_Trace | Steering | −0.110 | 0.43311 | 0.5775 |
| AUSS | Global_Coherence | Steering | +0.110 | 0.43311 | 0.5775 |
| Xu et al. | pca_sim_mean | Steering | −0.114 | 0.41497 | 0.5775 |
| AUSS | AUSS | Steering | −0.110 | 0.43311 | 0.5775 |
| Xu et al. | pca_shift_mean | ICL | +0.122 | 0.38399 | 0.5775 |
| AUSS | Centroid_Norm | Steering | +0.101 | 0.43311 | 0.5775 |
| AUSS | Batch_SecMom_TopEig | Steering | +0.111 | 0.42803 | 0.5775 |
| AUSS | Batch_SecMom_TopEig | MIA | −0.079 | 0.57261 | 0.6460 |
| AUSS | Batch_Cov_Trace | MIA | +0.080 | 0.56753 | 0.6460 |
| AUSS | AUSS | MIA | +0.085 | 0.54492 | 0.6460 |
| AUSS | Global_Coherence | MIA | −0.080 | 0.56753 | 0.6460 |
| AUSS | AUSS | MIA | −0.080 | 0.56753 | 0.6460 |
| AUSS | Centroid_Norm | MIA | −0.080 | 0.56753 | 0.6460 |
| AUSS | Batch_Cov_TopEig | MIA | +0.066 | 0.63949 | 0.7034 |
| AUSS | AUSS | Steering | −0.054 | 0.69991 | 0.7511 |
| AUSS | AUSS | ICL | −0.051 | 0.71931 | 0.7536 |
| AUSS | AUSS | MIA | +0.032 | 0.81909 | 0.8381 |
| Xu et al. | pca_shift_mean | Steering | −0.011 | 0.93846 | 0.9385 |
| Attack | Metrics with 0 LOO sign flips | BH-significant () |
| ICL | 8/8 | 7/8 |
| Steering | 8/8 | 0/8 |
| GCG | 7/8 | 0/8 |
| MIA | 2/8 | 0/8 |
Table 12. Leave-one-out sign-flip stability, 8 AUSS metrics per attack, –27 verified runs.
| Method | Cpt | ✓ | Forget ROUGE-L↓ | Geometry ↑ | AUSSL↓ | AUSScos↓ | Steer-AUC | Steer-WF | ICL | MIA | GCG |
| Base | HP | 0.062 | 0.856 | 0.594 | 0.493 | 0.423 | 0.437 | +0.000 | 0.915 | 0.000 | |
| SW | 0.113 | 0.873 | 0.529 | 0.455 | 0.424 | 0.379 | +0.040 | 0.987 | 0.000 | ||
| WS | 0.068 | 0.901 | 0.416 | 0.370 | 0.425 | 0.347 | +0.040 | 0.952 | 0.000 | ||
| GA | HP | ✓ | 0.000 | 0.872 | 0.534 | 0.439 | 0.500 | 0.000 | +0.000 | 0.700 | 0.000 |
| SW | ✓ | 0.000 | 0.801 | 0.797 | 0.591 | 0.500 | 0.000 | +0.000 | 0.102 | 0.000 | |
| WS | ✓ | 0.000 | 0.814 | 0.750 | 0.436 | 0.500 | 0.000 | +0.000 | 0.250 | 0.000 | |
| DPO | HP | ✓ | 0.000 | 0.867 | 0.551 | 0.466 | 0.720 | 0.076 | +0.040 | 1.000 | 0.400 |
| SW | ✓ | 0.017 | 0.842 | 0.646 | 0.519 | 0.620 | 0.017 | +0.000 | 0.998 | 0.800 | |
| WS | ✓ | 0.000 | 0.923 | 0.328 | 0.298 | 0.700 | 0.037 | +0.000 | 1.000 | 0.000 | |
| NPO | HP | 0.112 | 0.863 | 0.566 | 0.482 | 0.930 | 0.493 | +0.000 | 0.817 | 1.000 | |
| SW | 0.167 | 0.871 | 0.535 | 0.462 | 0.838 | 0.404 | −0.040 | 0.900 | 1.000 | ||
| WS | ✓ | 0.096 | 0.923 | 0.328 | 0.298 | 0.779 | 0.356 | +0.080 | 0.834 | 1.000 | |
| NPO+KL | HP | 0.178 | 0.867 | 0.552 | 0.472 | 0.945 | 0.488 | −0.120 | 0.389 | 1.000 | |
| SW | 0.208 | 0.847 | 0.627 | 0.525 | 0.882 | 0.393 | −0.120 | 0.249 | 1.000 | ||
| WS | 0.121 | 0.921 | 0.335 | 0.305 | 0.822 | 0.313 | +0.080 | 0.157 | 1.000 | ||
| RMU | HP | ✓ | 0.063 | 0.856 | 0.595 | 0.493 | 0.896 | 0.444 | −0.040 | 0.862 | 1.000 |
| SW | 0.123 | 0.871 | 0.538 | 0.460 | 0.854 | 0.394 | +0.040 | 0.925 | 1.000 | ||
| WS | ✓ | 0.072 | 0.902 | 0.416 | 0.370 | 0.766 | 0.350 | +0.040 | 0.890 | 1.000 | |
| WHP | HP | 0.174 | 0.859 | 0.583 | 0.493 | 0.922 | 0.483 | −0.080 | 0.415 | 0.000 | |
| SW | 0.208 | 0.860 | 0.579 | 0.494 | 0.846 | 0.382 | −0.120 | 0.283 | 0.000 | ||
| WS | 0.103 | 0.926 | 0.316 | 0.288 | 0.850 | 0.334 | +0.000 | 0.178 | 0.000 |
Table 14. RQ2: Full post-unlearning results, Meta-LLaMA-3-8B-Instruct. ROUGE-L↓: forget-set ROUGE-L after unlearning. ✓: verified (ROUGE-L < 0.10 & retain ≥ 0.80× base). ↑: centroid norm; AUSSL↓, AUSScos↓: dispersion (per-method peak layer ). Steer-AUC↓: steering AUC; Steer-WF↓: mean steered word-frequency score. ICL ↑: ICL accuracy minus baseline. MIA↓: membership inference AUC; GCG↓: GCG ASR. Blank cells: checkpoint unavailable.
References
- [1]Tomer Ashuach, Dana Arad, Aaron Mueller, Martin Tutek, and Yonatan Belinkov. 2026. CRISP: Persistent Concept Unlearning via Sparse Autoencoders. arXiv preprint. ArXiv:2508.13650 [cs.CL].arxiv.org/abs/2508.13650
- [2]Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, and 12 others. 2020. Language Models are Few-Shot Learners. arXiv preprint. ArXiv:2005.14165 [cs.CL].arxiv.org/abs/2005.14165
- [3]Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, Alina Oprea, and Colin Raffel. 2021. Extracting Training Data from Large Language Models. arXiv preprint. ArXiv:2012.07805 [cs.CR].arxiv.org/abs/2012.07805
- [6]Rohit Gandikota, Sheridan Feucht, Samuel Marks, and David Bau. 2025. Erasing Conceptual Knowledge from Language Models. arXiv preprint. ArXiv:2410.02760 [cs.CL].arxiv.org/abs/2410.02760
- [7]Mor Geva, Jasmijn Bastings, Katja Filippova, and Amir Globerson. 2023. Dissecting Recall of Factual Associations in Auto-Regressive Language Models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 12216–12235, Singapore. Association for Computational Linguistics.arxiv.org/abs/2304.14767
- [8]Mor Geva, Avi Caciularu, Kevin Wang, and Yoav Goldberg. 2022. Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Space. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 30–45, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.arxiv.org/abs/2203.14680
- [9]Mor Geva, Roei Schuster, Jonathan Berant, and Omer Levy. 2021. Transformer Feed-Forward Layers Are Key-Value Memories. arXiv preprint. ArXiv:2012.14913 [cs].arxiv.org/abs/2012.14913
- [10]Daniela Gottesman and Mor Geva. 2024. Estimating knowledge in large language models without generating a single token. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 3994–4019.
- [12]Dang Huu-Tien, Trung-Tin Pham, Hoang Thanh-Tung, and Naoya Inoue. 2025. On Effects of Steering Latent Representation for Large Language Model Unlearning. arXiv preprint. ArXiv:2408.06223 [cs].
- [13]Andrew Lee, Xiaoyan Bai, Itamar Pres, Martin Wattenberg, Jonathan K. Kummerfeld, and Rada Mihalcea. 2024. A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity. arXiv preprint. ArXiv:2401.01967 [cs.CL].arxiv.org/abs/2401.01967
- [14]Nathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue, Daniel Berrios, Alice Gatti, Justin D. Li, Ann-Kathrin Dombrowski, Shashwat Goel, Long Phan, Gabriel Mukobi, Nathan Helm-Burger, Rassin Lababidi, Lennart Justen, Andrew B. Liu, Michael Chen, Isabelle Barrass, Oliver Zhang, Xiaoyuan Zhu, and 38 others. 2024. The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning. arXiv preprint. ArXiv:2403.03218 [cs.LG].arxiv.org/abs/2403.03218
- [15]Aengus Lynch, Phillip Guo, Aidan Ewart, Stephen Casper, and Dylan Hadfield-Menell. 2024. Eight Methods to Evaluate Robust Unlearning in LLMs. ArXiv:2402.16835 [cs].arxiv.org/abs/2402.16835
- [16]Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary C. Lipton, and J. Zico Kolter. 2024. TOFU: A Task of Fictitious Unlearning for LLMs. arXiv preprint. ArXiv:2401.06121 [cs.LG].arxiv.org/abs/2401.06121
- [17]Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. 2023. Locating and Editing Factual Associations in GPT. arXiv preprint. ArXiv:2202.05262 [cs.CL].arxiv.org/abs/2202.05262
- [18]Fabio Petroni, Tim Rocktäschel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, Alexander H. Miller, and Sebastian Riedel. 2019. Language Models as Knowledge Bases? arXiv preprint. ArXiv:1909.01066 [cs.CL].arxiv.org/abs/1909.01066
- [19]Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. 2024. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. arXiv preprint. ArXiv:2305.18290 [cs.LG].arxiv.org/abs/2305.18290
- [20]Anton Razzhigaev, Matvey Mikhальchuk, Elizaveta Goncharova, Ivan Oseledets, Denis Dimitrov, and Andrey Kuznetsov. 2023. The Shape of Learning: Anisotropy and Intrinsic Dimensions in Transformer-Based Models.
- [22]Atakan Seyitoğlu, Aleksei Kuvshinov, Leo Schwinn, and Stephan Günnemann. 2024. Extracting Unlearned Information from LLMs with Activation Steering. arXiv preprint. ArXiv:2411.02631 [cs].arxiv.org/abs/2411.02631
- [24]Oscar Skean, Md Rifat Arefin, Dan Zhao, Niket Patel, Jalal Naghiyev, Yann LeCun, and Ravid Shwartz-Ziv. 2025. Layer by Layer: Uncovering Hidden Representations in Language Models. arXiv preprint. ArXiv:2502.02013 [cs].arxiv.org/abs/2502.02013
- [25]Xiaoyu Xu, Xiang Yue, Yang Liu, Qingqing Ye, Huadi Zheng, Peizhao Hu, Minxin Du, and Haibo Hu. 2025. Unlearning Isn’t Deletion: Investigating Reversibility of Machine Unlearning in LLMs. arXiv preprint. ArXiv:2505.16831 [cs].arxiv.org/abs/2505.16831
- [26]Yuanshun Yao, Xiaojun Xu, and Yang Liu. 2024. Large Language Model Unlearning. arXiv preprint. ArXiv:2310.10683 [cs.CL].arxiv.org/abs/2310.10683
- [27]Ruiqi Zhang, Licong Lin, Yu Bai, and Song Mei. 2024. Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning. arXiv preprint. ArXiv:2404.05868 [cs.LG].arxiv.org/abs/2404.05868
- [28]Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J. Zico Kolter, and Matt Fredrikson. 2023. Universal and Transferable Adversarial Attacks on Aligned Language Models. arXiv preprint. ArXiv:2307.15043 [cs.CL].arxiv.org/abs/2307.15043