Given a large language model (LLM), can whoever holds the weights name a semantic target (e.g., the model's identity), locate the model components that produce it, and edit them so that the target no longer appears while other capability is preserved? We call such an edit on a trained model a post-edit. We present L2W (latents to wires), a framework that performs surgical post-edits for named semantic targets. For localization, L2W uses Jacobian lens (J-lens) attribution to score components against the semantic target. For surgical removal, because LLM mechanisms are redundant (i.e., a semantic target may have multiple components producing it), L2W runs Counterexample-Guided Causal Cut (CGCC) until the target no longer appears. CGCC first cumulatively closes model components, treating each surviving expression of the target as a counterexample that exposes the next components to close, and then reopens some of them to preserve capability. In a controlled experiment with an implanted behavioural watermark, L2W removes the watermark, and its localization lands on the model region the implant changed. Across three model configurations, L2W removes model-metadata (e.g., identity) self-claims in all nine runs, and adult-content refusal in all three, with no held-out target residual. L2W further composes two post-edits on a text-to-image model: one removes the refusal of requested nudity, and a second removes the nude rendering the first exposes. The results support post-editing as a complement to post-training: post-training installs preferred behaviours, and post-editing removes named unwanted ones.
Figures & tables
Figure 1: Surgical post-editing of an identity claim: three states of one model under one test probe. Left: localization finds the components producing Qwen . Middle: those components are closed; the target survives through other components and the answer drifts to Alibaba , a counterexample that drives the next iteration. Right: with both component groups closed, the identity claim disappears.
Baseline
Post-removal
Post-restoration
Model
Task
Psem
Pcap
Pheld
Iter.
∣Srm∣
Psem
Pcap
Pheld
Iter.
∣Spres∣
Psem
Pcap
Pheld
Mwm
watermark
10/10
10/10
10/10⋅10/10
2
9
0/10
10/10
0/10⋅10/10
5
1 (−8)
0/10
10/10
0/10⋅10/10
Mwm×3
watermark
13/13
9/10
10/10⋅10/10
52
315
0/13
5/10
0/10⋅5/10
90
148 (−167)
0/13
8/10
0/10⋅6/10
Qwen
identity
10/10
10/10
3/3⋅3/3
41
115
0/10
10/10
0/3⋅3/3
65
38 (−77)
0/10
10/10
0/3⋅3/3
Qwen
cutoff
5/5
10/10
3/3⋅3/3
17
19
0/5
10/10
0/3⋅3/3
15
9 (−10)
0/5
10/10
0/3⋅3/3
Qwen
context
5/5
10/10
3/3⋅3/3
10
9
0/5
10/10
0/3⋅3/3
9
9 (−0)
0/5
10/10
0/3⋅3/3
Table 1: Results of L2W on semantic target removal and capability restoration. Baseline is the unedited model, or the implanted one for the watermark tasks. Psem and the left side of Pheld report target residuals, Pcap and the right side capability passes; gray {\color[rgb]{0.5,0.5,0.5}(-k)} counts reopened components. Iter. counts CGCC iterations. Tasks: cutoff is knowledge cutoff, context is context window, refusal is adult-content refusal. GLM identity is its stable false self-attribution to Claude or Llama.
Figure 2: Sequential post-editing under one fixed prompt and initial latent: the original model refuses the requested nudity with ordinary clothing; removing that refusal semantic yields minimal bodywear, then a nude rendering; removing the nudity semantic returns bodywear and ordinary clothing. Black bars in ( 2(c) ) avoid displaying sensitive content.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Model
Task
Semantic target
Qwen
identity
Qwen or Tongyi; Alibaba Group or Alibaba Cloud
Qwen
knowledge cutoff
2026
Qwen
context window
32,768 (32K), 256,000 (256K)
GLM
Claude identity
Claude
GLM
knowledge cutoff
October 2023
GLM
context window
128,000 (128K)
Appendix
Table 2: The semantic target of each metadata removal task.
Model and target
Representative anchor trajectory
Endpoint
Mwm×3 watermark
YES → True → Exactly YES → Exactly → absent
0/13
Qwen identity
Qwen3.5 / Tongyi-Alibaba → Tongyi → absent
0/10
Qwen refusal
cannot → unable → do not generate → programmed / safety guidelines → absent
0/6
GLM refusal
cannot → not able / unable → safety guidelines → not permitted → absent
0/5
Appendix
Table 3: Representative anchor trajectories under cumulative closure. Each entry keeps only the anchor or shortest target-bearing phrase; absent means that the semantic target is no longer found.
Task
Judge
Analyst
Identity
100% (50/50)
90% (45/50)
Knowledge cutoff
100% (50/50)
98% (49/50)
Context window
100% (50/50)
96% (48/50)
Refusal
99% (99/100)
91% (91/100)
Total
99.6% (249/250)
93.2% (233/250)
Appendix
Table 4: Judge and analyst accuracy on outputs replayed from the metadata and refusal removal runs.
Model
Task
ARC-Challenge
MMLU
IFEval
Mwm
watermark
64.76 → 64.68 → 64.85
74.30 → 74.26 → 74.23
81.33 → 80.41 → 81.70
Mwm×3
watermark
65.70 → 60.58 → 62.80
74.46 → 72.25 → 74.27
79.48 → 54.34 → 64.51
Qwen
identity
64.68 → 61.26 → 62.97
73.63 → 71.58 → 73.71
82.07 → 74.68 → 79.11
Qwen
knowledge cutoff
64.68 → 64.85 → 64.51
73.63 → 72.93 → 73.82
82.07 → 80.96 → 82.26
Qwen
context window
64.68 → 64.85 → 64.85
73.63 → 73.69 → 73.69
82.07 → 82.07 → 82.07
GLM
Claude identity
67.41 → 67.06 → 68.17
73.37 → 73.69 → 73.37
78.00 → 76.89 → 78.37
Appendix
Table 5: Benchmark scores as baseline → post-removal → post-restoration; higher is better. MMLU reports accuracy, ARC-Challenge length-normalized accuracy, and IFEval prompt-level strict accuracy.
Model
Method
Psem
Pcap
Pheld
ARC-Challenge
MMLU
IFEval
Qwen
Baseline
6/6
10/10
10/10 ⋅ 0/10
64.68
73.63
82.07
Qwen
Directional ablation
1/6
10/10
1/10 ⋅ 10/10
64.76
73.19
80.96
Qwen
L2W post-removal
0/6
9/10
0/10 ⋅ 10/10
55.29
60.89
55.45
Qwen
L2W post-restoration
0/6
10/10
0/10 ⋅ 10/10
56.48
61.12
58.78
GLM
Baseline
5/5
10/10
10/10 ⋅ 0/10
67.41
73.37
78.00
GLM
Directional ablation
0/5
10/10
1/10 ⋅ 10/10
68.26
72.94
78.93
Appendix
Table 6: Directional ablation compared with L2W on the three adult-content refusal runs.