SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.21539 · ICML · 2026

DualOptim+: Bridging Shared and Decoupled Optimizer States for Better Machine Unlearning in Large Language Models

Qizhang Li, Yiwen Guo, Chen Liu, Xuyang Zhong

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 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; 6 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2605.21539.json · badge: /api/ran/2605.21539.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
CityU-MLO/DualOptimPlus canonical (classifier label)
classifier basis: census
8 ran · 4 no recorded run
FunctionStatusWhere it lives
collate_fn Ran
ran, honoured the contract we drafted
CityU-MLO/DualOptimPlus/dataset/data_module.py
pointer only (licence: NONE) · get_code("cdd171f20cd6f53d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

find_all_linear_names Ran
ran; our contract draft was wrong, not the code
CityU-MLO/DualOptimPlus/forget.py
pointer only (licence: NONE) · get_code("649fc48067a48529")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

general_eval Ran
ran; our contract draft was wrong, not the code
CityU-MLO/DualOptimPlus/real_world_eval.py
pointer only (licence: NONE) · get_code("457da053738e9af1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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_model_identifiers_from_yaml Ran
ran; our contract draft was wrong, not the code
CityU-MLO/DualOptimPlus/utils/utils.py
pointer only (licence: NONE) · get_code("d22e1d9f373cc86f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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_total_len Ran
ran, honoured the contract we drafted
CityU-MLO/DualOptimPlus/utils/utils.py
pointer only (licence: NONE) · get_code("6c542acea5aa211c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

merge_dicts Ran
ran; our contract draft was wrong, not the code
CityU-MLO/DualOptimPlus/utils/utils.py
pointer only (licence: NONE) · get_code("8076aab5782c4d02")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

npo_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CityU-MLO/DualOptimPlus/trainer/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from sail-sg/closer-look-llm-unlearning, is pointer only (licence: NONE) · get_code("a3b77597ef1aa5c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

summary_results Ran
ran; our contract draft was wrong, not the code
CityU-MLO/DualOptimPlus/real_world_eval.py
pointer only (licence: NONE) · get_code("10c5cb88157f0830")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

convert_raw_data_to_model_format Not yet run
unverified (harvested, no recorded run)
CityU-MLO/DualOptimPlus/dataset/data_module.py
pointer only (licence: NONE) · get_code("320e8a603ee47508")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

convert_raw_forget_data_to_model_format Not yet run
unverified (harvested, no recorded run)
CityU-MLO/DualOptimPlus/dataset/data_module.py
pointer only (licence: NONE) · get_code("28aa527377c5b4e8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

ga_loss Not yet run
unverified (harvested, no recorded run)
CityU-MLO/DualOptimPlus/trainer/losses.py
pointer only (licence: NONE) · get_code("3c6bd6e091c76ca3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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.

get_loss Not yet run
unverified (harvested, no recorded run)
CityU-MLO/DualOptimPlus/trainer/losses.py
pointer only (licence: NONE) · get_code("8619f797a24bf12e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CityU-MLO/DualOptimPlus 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 1 later) and 3 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
find_all_linear_names 22 other papers
22 dated earlier
2308.09936 (2023-08)
BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questions
2310.13023 (2023-10)
GraphGPT: Graph Instruction Tuning for Large Language Models
2311.13194 (2023-11)
Towards Improving Document Understanding: An Exploration on Text-Grounding via MLLMs
and 19 more not named here
collate_fn 9 other papers
8 dated earlier, 1 later
2401.06121 (2024-01)
TOFU: A Task of Fictitious Unlearning for LLMs
2406.11614 (2024-06)
Intrinsic Test of Unlearning Using Parametric Knowledge Traces
2406.13356 (2024-06)
UNLEARNING OR OBFUSCATING? JOGGING THE MEM-ORY OF UNLEARNED LLMS VIA BENIGN RELEARNING CONTENT WARNING: THIS MANUSCRIPT CONTAINS EXAMPLES OF HARMFUL/HAZARDOUS TEXT
and 6 more not named here
get_model_identifiers_from_yaml 9 other papers
9 dated earlier
2401.06121 (2024-01)
TOFU: A Task of Fictitious Unlearning for LLMs
2406.11614 (2024-06)
Intrinsic Test of Unlearning Using Parametric Knowledge Traces
2406.13356 (2024-06)
UNLEARNING OR OBFUSCATING? JOGGING THE MEM-ORY OF UNLEARNED LLMS VIA BENIGN RELEARNING CONTENT WARNING: THIS MANUSCRIPT CONTAINS EXAMPLES OF HARMFUL/HAZARDOUS TEXT
and 6 more not named here
get_total_len 5 other papers
5 dated earlier
2401.06121 (2024-01)
TOFU: A Task of Fictitious Unlearning for LLMs
2406.11614 (2024-06)
Intrinsic Test of Unlearning Using Parametric Knowledge Traces
2406.13356 (2024-06)
UNLEARNING OR OBFUSCATING? JOGGING THE MEM-ORY OF UNLEARNED LLMS VIA BENIGN RELEARNING CONTENT WARNING: THIS MANUSCRIPT CONTAINS EXAMPLES OF HARMFUL/HAZARDOUS TEXT
and 2 more not named here
merge_dicts 3 other papers
3 dated earlier
2406.11614 (2024-06)
Intrinsic Test of Unlearning Using Parametric Knowledge Traces
2410.08109 (2024-10)
A Closer Look at Machine Unlearning for Large Language Models
2025.findings-acl.949 (2025 (year only))
A General Framework to Enhance Fine-tuning-based LLM Unlearning
convert_raw_forget_data_to_model_format 1 other paper
1 dated earlier
2410.08109 (2024-10)
A Closer Look at Machine Unlearning for Large Language Models
ga_loss 1 other paper
1 dated earlier
2410.08109 (2024-10)
A Closer Look at Machine Unlearning for Large Language Models
npo_loss 1 other paper
1 dated earlier
2410.08109 (2024-10)
A Closer Look at Machine Unlearning for Large Language Models
summary_results 1 other paper
1 dated earlier
2410.08109 (2024-10)
A Closer Look at Machine Unlearning for Large Language 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

We propose DualOptim+, a novel optimization framework for improving machine unlearning in large language models. It introduces a base state to capture common representations shared by forgetting and retaining objectives and delta states to preserve objective-specific residuals. This architecture allows the optimizer to adaptively bridge shared and decoupled states based on the directional conflict between forgetting and retaining gradients. We further introduce DualOptim+ 8bit, a quantized variant that reduces memory overhead without compromising performance. Extensive experiments across fictitious and realworld unlearning, safety alignment, and multitask learning tasks demonstrate that DualOp-tim+ consistently achieves a superior trade-off between different objectives. Codes are available at https://github.com/CityU-MLO/DualOptimPlus.

For agents

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

get_harvested_code_for_paper("2605.21539")
get_code_for_paper("2605.21539")
have("2605.21539")

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

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

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

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

Connect an agent — have() is free.