SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.10223 · ICLR · 2025

On Large Language Model Continual Unlearning

Qi Zhu, Xiao Wang, Lixu Wang, Chongyang Gao, Kaize Ding, Chenkai Weng

arXiv · PDF · Open in the Atlas

Code that ran

12 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.10223.json · badge: /api/ran/2407.10223.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
GCYZSL/O3-LLM-UNLEARNING canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
gcyzsl/o3-llm-unlearning canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
gmm_cdf Ran
ran, honoured the contract we drafted
gcyzsl/o3-llm-unlearning/ScienceQA_expriment/eval_o3.py
pointer only (licence: NONE) · get_code("6aae6e9b4ac2228d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gcyzsl/o3-llm-unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_answer Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/preprocess_scienceqa.py
pointer only (licence: NONE) · get_code("2579b1304396d99b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_choice_text Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/preprocess_SQ.py
pointer only (licence: NONE) · get_code("b0b23225c7093f32")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_choice_text_coqa Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/preprocess_SQ.py
pointer only (licence: NONE) · get_code("e3cef24d9da3da3b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_context_text Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/preprocess_SQ.py
pointer only (licence: NONE); the stored copy get_code serves, from thudm/moelora_riemannian, is pointer only (licence: NONE) · get_code("85f084f6054a421e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gmm_cdf Ran
ran, honoured the contract we drafted
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/run_ood.py
pointer only (licence: NONE) · get_code("f7be25a5ac19ce90")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hash_args Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from mansicer/Q-Adapter
pointer only · get_code("20a7cc804eb22661")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

jload Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/src/base_model_utils.py
pointer only (licence: NONE) · get_code("d07d04439cd1d44f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

knowledge_weights Ran
ran; our contract draft was wrong, not the code
gcyzsl/o3-llm-unlearning/ScienceQA_expriment/eval_o3.py
pointer only (licence: NONE) · get_code("a90b344d8d3f9642")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gcyzsl/o3-llm-unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

preprocess Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/train_basemodel.py
pointer only (licence: NONE) · get_code("817d5f759487007d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

weighting_func_gmm Ran
ran; our contract draft was wrong, not the code
gcyzsl/o3-llm-unlearning/ScienceQA_expriment/eval_o3.py
pointer only (licence: NONE) · get_code("6aaaa34ed0eeb089")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gcyzsl/o3-llm-unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

weighting_func_gmm Ran
ran; our contract draft was wrong, not the code
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/run_ood.py
pointer only (licence: NONE) · get_code("c7a84b0f9e83bcb8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dispatch_default Not yet run
unverified (harvested, no recorded run)
GCYZSL/O3-LLM-UNLEARNING/ScienceQA_expriment/src/lora_layer_hacked_o.py
pointer only (licence: NONE) · get_code("a6b3c7cd556b9bd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, GCYZSL/O3-LLM-UNLEARNING when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 6 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
jload 46 other papers
31 dated earlier, 12 later, 3 same year, order not determinable
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
2305.12870 (2023-05)
Lion: Adversarial Distillation of Proprietary Large Language Models
2305.13068 (2023-05)
Making Language Models Better Tool Learners with Execution Feedback
and 43 more not named here
hash_args 44 other papers
16 dated earlier, 1 the same month, 25 later, 1 same year, order not determinable, 1 undated
2005.14165 (2020-05)
Language Models are Few-Shot Learners
2110.04374 (2021-10)
A Few More Examples May Be Worth Billions of Parameters
2303.17003 (2023-03)
Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Exams
and 41 more not named here
preprocess 23 other papers
19 dated earlier, 2 later, 2 same year, order not determinable
2305.12870 (2023-05)
Lion: Adversarial Distillation of Proprietary Large Language Models
2306.17194 (2023-06)
On the Exploitability of Instruction Tuning
2308.07286 (2023-08)
The Devil is in the Errors: Leveraging Large Language Models for Fine-grained Machine Translation Evaluation
and 20 more not named here
get_choice_text 6 other papers
5 dated earlier, 1 later
2209.09513 (2022-09)
Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering
2302.00923 (2023-02)
Multimodal Chain-of-Thought Reasoning in Language Models
2307.12626 (2023-07)
Enhancing Human-like Multi-Modal Reasoning: A New Challenging Dataset and Comprehensive Framework
and 3 more not named here
get_context_text 6 other papers
5 dated earlier, 1 later
2209.09513 (2022-09)
Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering
2302.00923 (2023-02)
Multimodal Chain-of-Thought Reasoning in Language Models
2307.12626 (2023-07)
Enhancing Human-like Multi-Modal Reasoning: A New Challenging Dataset and Comprehensive Framework
and 3 more not named here
get_answer 2 other papers
1 dated earlier, 1 later
2402.08562 (2024-02)
Higher Layers Need More LoRA Experts
2502.15828 (2025-02)
A Stronger Mixture of Low-Rank Experts for Fine-Tuning Foundation Models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

While large language models have demonstrated impressive performance across various domains and tasks, their security issues have become increasingly severe. Machine unlearning has emerged as a representative approach for model safety and security by removing the influence of undesired data on the target model. However, these methods do not sufficiently consider that unlearning requests in real-world scenarios are continuously emerging, especially in the context of LLMs, which may lead to accumulated model utility loss that eventually becomes unacceptable. Moreover, existing LLM unlearning methods often ignore previous data access limitations due to privacy concerns and copyright protection. Without previous data, the utility preservation during unlearning is much harder. To overcome these challenges, we propose the O 3 framework that includes an Orthogonal low-rank adapter (LoRA) for continually unlearning requested data and an Out-Of-Distribution (OOD) detector to measure the similarity between input and unlearning data. The orthogonal LoRA achieves parameter disentanglement among continual unlearning requests. The OOD detector is trained with a novel contrastive entropy loss and utilizes a glocal-aware scoring mechanism. During inference, our O 3 framework can decide whether and to what extent to load the unlearning LoRA based on the OOD detector's predicted similarity between the input and the unlearned knowledge. Notably, O 3 's effectiveness does not rely on any retained data. We conducted extensive experiments on O 3 and state-of-the-art LLM unlearning methods across three tasks and seven datasets. The results indicate that O 3 consistently achieves the best unlearning effectiveness and utility preservation, especially when facing continuous unlearning requests. The source codes can be found at https://github.com/GCYZSL/O3-LLM-UNLEARNING.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.10223")
get_code_for_paper("2407.10223")
have("2407.10223")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.10223.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.10223.svg)](https://syntology.ai/paper/2407.10223)

Connect an agent — have() is free.