Papers › Intrinsic Evaluation of Unlearning Using Parametric Knowledge Traces

Intrinsic Evaluation of Unlearning Using Parametric Knowledge Traces

17 Jun 2024arXiv:2406.11614archive 2025-07-28

Yihuai Hong, Lei Yu, Haiqin Yang, Shauli Ravfogel, Mor Geva

The task of "unlearning" certain concepts in large language models (LLMs) has attracted immense attention recently, due to its importance in mitigating undesirable model behaviours, such as the generation of harmful, private, or incorrect information. Current protocols to evaluate unlearning methods largely rely on behavioral tests, without monitoring the presence of unlearned knowledge within the model's parameters. This residual knowledge can be adversarially exploited to recover the erased information post-unlearning. We argue that unlearning should also be evaluated internally, by considering changes in the parametric knowledge traces of the unlearned concepts. To this end, we propose a general evaluation methodology that leverages vocabulary projections to inspect concepts encoded in model parameters. We use this approach to localize "concept vectors" - parameter vectors that encode concrete concepts - and construct ConceptVectors, a benchmark dataset containing hundreds of common concepts and their parametric knowledge traces within two open-source LLMs. Evaluation on ConceptVectors shows that existing unlearning methods minimally impact concept vectors and mostly suppress them during inference, while directly ablating these vectors demonstrably removes the associated knowledge and significantly reduces the model's susceptibility to adversarial manipulation. Our results highlight limitations in behavioral-based unlearning evaluations and call for future work to include parameter-based evaluations. To support this, we release our code and benchmark at https://github.com/yihuaihong/ConceptVectors.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.11614")

Code

Syntology Ran 18 of 20 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 16 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 18 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yihuaihong/conceptvectors officialmentioned in papermentioned on GitHubpytorchCC-BY-4.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 18 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
16ran
2unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yihuaihong/conceptvectors. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

binary_log_probs yihuaihong/conceptvectors/memit/baselines/mend/losses.py official repository ran · our draft was wrong CC-BY-4.0 · pointer only · 27659a9c234ffb11 · report
calculate_bleu yihuaihong/conceptvectors/evaluate_util.py official repository ran fingerprinted CC-BY-4.0 · pointer only · 7f57090da94e6a92 · report
collate_fn yihuaihong/conceptvectors/data_module.py official repository ran CC-BY-4.0 · pointer only · cdd171f20cd6f53d · report
convert_raw_data_to_model_format yihuaihong/conceptvectors/data_module.py official repository ran CC-BY-4.0 · pointer only · d11b2101f4a1ec57 · report
custom_data_collator_forget yihuaihong/conceptvectors/dataloader.py official repository ran CC-BY-4.0 · pointer only · 4e73f565fb762fa9 · report
evaluate yihuaihong/conceptvectors/evaluate_util.py official repository ran CC-BY-4.0 · pointer only · b5f15de193c7c033 · report
evaluate yihuaihong/conceptvectors/Jailbreak/evaluate_util.py official repository ran CC-BY-4.0 · pointer only · d06a2159d79e0268 · report
get_loss yihuaihong/conceptvectors/dataloader.py official repository ran CC-BY-4.0 · pointer only · 650d5f6bfcd7d9bb · report
get_total_len yihuaihong/conceptvectors/utils.py official repository ran fingerprinted CC-BY-4.0 · pointer only · 6c542acea5aa211c · report
hierarchical_subsequence yihuaihong/conceptvectors/memit/util/nethook.py official repository ran CC-BY-4.0 · pointer only · 920b394e7ad80c53 · report
kl_loc_loss yihuaihong/conceptvectors/memit/baselines/mend/losses.py official repository ran CC-BY-4.0 · pointer only · 8b02eb3a3733d653 · report
merge_dicts yihuaihong/conceptvectors/utils.py official repository ran CC-BY-4.0 · pointer only · 8076aab5782c4d02 · report
merge_pt_files yihuaihong/conceptvectors/evaluate_llama.py official repository ran CC-BY-4.0 · pointer only · 366e41dac051e933 · report
merge_pt_files yihuaihong/conceptvectors/evaluate_olmo.py official repository ran CC-BY-4.0 · pointer only · abc70a1f11fa71e2 · report
multiclass_log_probs yihuaihong/conceptvectors/memit/baselines/mend/losses.py official repository ran CC-BY-4.0 · pointer only · 8ccc8886c554a1ce · report
recursive_copy yihuaihong/conceptvectors/memit/util/nethook.py official repository ran · our draft was wrong CC-BY-4.0 · pointer only · 70f6ab8bde55420e · report
split_paragraph yihuaihong/conceptvectors/data_module.py official repository ran fingerprinted CC-BY-4.0 · pointer only · 5b2b715b081b582e · report
subsequence yihuaihong/conceptvectors/memit/util/nethook.py official repository ran CC-BY-4.0 · pointer only · 440ff98c2b1ae1aa · report
evaluate yihuaihong/conceptvectors/forget.py official repository unverified CC-BY-4.0 · pointer only · 0a20c1af0875a853 · report
get_model_identifiers_from_yaml yihuaihong/conceptvectors/utils.py official repository unverified CC-BY-4.0 · pointer only · 06448b0513272463 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections