Write Facts the Way Models Read Them: Lifting the Two-Hop Curse
Organizations: Nanyang Technological University, Singapore.
Abstract
A language model that learns a new fact by fine-tuning can repeat it but cannot reason with it: taught that a person is a citizen of a new country, it still cannot say, without chain-of-thought, who the head of state of that person's country is. This two-hop curse is widely treated as a reasoning deficit, and the strongest knowledge editors answer it with synthesized reasoning data. We show that the reasoning is intact and the writing is wrong. Fine-tuning writes a new fact as an answer to be said, whereas the second hop reads the bridge ("that person's country") as an entity, from the middle layers on: patching the model's own representation of the entity into the bridge at those layers largely restores the second hop, yet after fine-tuning the bridge there is no closer to the new entity than before the edit. We therefore propose read-equivalent writing (Legible): one loss term makes the bridge phrase, at the layer where the second hop finishes reading it, match the model's own reading of the new entity, and keeps the same relation's other subjects unchanged. Phrases and targets come from the edited model itself, and no multi-hop training data is used. Across Qwen2.5, Llama-3 and Qwen3, Legible (I) composes learned facts more often than the model composes its own knowledge, on MQuAKE's two-hop-curse questions; (II) reaches 1.8-2.6x the bridge accuracy of CaKE, whose reasoning data composes no better than plain fine-tuning, and has the best average over composition, accuracy and locality against four families of writers; and (III) lifts the curse on RippleEdits, on the benchmark of Balesni et al., who named the curse, and at 14B.
Figures & tables
| Writer | Target at the bridge | Multi-hop data |
|---|---|---|
| Fine-tuning | none (answer) | no |
| CaKE | none (more answers) | LLM-written |
| Embed-lens | input embedding of | no |
| Logit-lens | token to be said | no |
| LRSD | own late layer, at | no |
| Self-distillation | teacher with context | self-generated |
| Qwen2.5-7B | Llama-3-8B | Qwen3-8B | ||||||||||||||||
| Method | M-Acc | B-Acc | CR | Nbr | Unrel | Avg | M-Acc | B-Acc | CR | Nbr | Unrel | Avg | M-Acc | B-Acc | CR | Nbr | Unrel | Avg |
| Own knowledge | – | 0.54 | 1.00 | – | – | – | – | 0.51 | 1.00 | – | – | – | – | 0.52 | 1.00 | – | – | – |
| FT | 0.71 | 0.30 | 0.37 | 0.42 | 0.83 | 0.56 | 0.68 | 0.30 | 0.35 | 0.26 | 0.65 | 0.47 | 0.67 | 0.30 | 0.37 | 0.33 | 0.75 | 0.51 |
| CaKE | 0.75 | 0.27 | 0.32 | 0.39 | 0.82 | 0.56 | 0.75 | 0.34 | 0.38 | 0.25 | 0.71 | 0.51 | 0.73 | 0.31 | 0.37 | 0.31 | 0.75 | 0.52 |
| + Legible | 0.87 | 0.64 | 0.75 | 0.63 | 0.90 | 0.76 | 0.79 | 0.63 | 0.71 | 0.45 | 0.81 | 0.67 | 0.80 | 0.57 | 0.69 | 0.56 | 0.87 | 0.70 |
| Self-distillation | 0.70 | 0.34 | 0.42 | 0.43 | 0.79 | 0.57 | 0.73 | 0.38 | 0.44 | 0.33 | 0.73 | 0.54 | 0.75 | 0.38 | 0.45 | 0.37 | 0.73 | 0.56 |
| Writer | Qwen2.5-7B | Llama-3-8B |
|---|---|---|
| Ceiling (second hop) | 0.66 | 0.67 |
| FT | 0.11 | 0.17 |
| Embed-lens | 0.11 | 0.17 |
| Logit-lens | 0.20 | 0.22 |
| Legible | 0.41 | 0.49 |
| Qwen2.5-14B | M-Acc | B-Acc | CR | Nbr | Unrel |
|---|---|---|---|---|---|
| Own knowledge | – | 0.61 | 1.00 | – | – |
| FT | 0.78 | 0.38 | 0.42 | 0.36 | 0.73 |
| CaKE | 0.81 | 0.42 | 0.45 | 0.30 | 0.68 |
| Legible | 0.87 | 0.78 | 0.79 | 0.56 | 0.78 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Qwen2.5 | Llama-3 | Qwen3 | ||||
|---|---|---|---|---|---|---|
| Method | I | II | I | II | I | II |
| FT | 0.30 | 0.76 | 0.26 | 0.80 | 0.28 | 0.79 |
| CaKE | 0.31 | 0.96 | 0.29 | 0.80 | 0.29 | 1.00 |
| + Legible | 0.57 | 0.96 | 0.46 | 1.00 | 0.53 | 1.00 |
| Legible | 0.63 | 0.92 | 0.49 | 0.95 | 0.56 | 0.76 |
| Model | None | Named | Plateau | Peak | End |
|---|---|---|---|---|---|
| Qwen2.5-7B | 0.06 | 0.34 | layers 2–10 | 0.20 | 24 |
| Llama-3-8B | 0.03 | 0.33 | layers 0–10 | 0.26 | 18 |
| Qwen3-8B | 0.04 | 0.22 | layers 6–12 | 0.20 | 26 |
| Qwen2.5 (300) | Llama-3 (100) | |||||
|---|---|---|---|---|---|---|
| Comp. | Nbr | Unrel | Comp. | Nbr | Unrel | |
| CaKE | 0.31 | 0.39 | 0.82 | 0.26 | 0.25 | 0.71 |
| only | 0.63 | 0.32 | 0.78 | 0.52 | 0.08 | 0.53 |
| ( Legible ) | 0.68 | 0.47 | 0.86 | 0.48 | 0.30 | 0.73 |
| Neighbours per edit | Any | Composition | Nbr | Unrel |
|---|---|---|---|---|
| 3 (used) | 0.77 | 0.56 | 0.64 | 0.88 |
| 10 | 0.75 | 0.67 | 0.76 | 0.91 |
| 20 | 0.72 | 0.63 | 0.77 | 0.90 |
| 30 | 0.71 | 0.59 | 0.80 | 0.91 |
| Qwen2.5-7B | Llama-3-8B | Qwen3-8B | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | M-Acc | B-Acc | CR | Nbr | Unrel | Avg | M-Acc | B-Acc | CR | Nbr | Unrel | Avg | M-Acc | B-Acc | CR | Nbr | Unrel | Avg |
| AlphaEdit | 0.19 | 0.53 | 0.61 | 0.98 | 0.99 | 0.67 | 0.10 | 0.46 | 0.60 | 0.99 | 0.99 | 0.64 | 0.14 | 0.48 | 0.66 | 0.93 | 0.92 | 0.62 |
| Legible | 0.83 | 0.71 | 0.81 | 0.66 | 0.92 | 0.78 | 0.83 | 0.62 | 0.68 | 0.46 | 0.79 | 0.68 | 0.79 | 0.63 | 0.78 | 0.62 | 0.92 | 0.74 |
| Qwen2.5-7B | Llama-3-8B | Qwen3-8B | ||||
|---|---|---|---|---|---|---|
| Edited hop | AlphaEdit | Legible | AlphaEdit | Legible | AlphaEdit | Legible |
| First only | 0.58 | 0.80 | 0.30 | 0.61 | 0.39 | 0.70 |
| Second only | 0.09 | 0.82 | 0.06 | 0.94 | 0.12 | 0.73 |
| Both | 0.10 | 0.85 | 0.02 | 0.86 | 0.02 | 0.89 |
| Qwen2.5-7B | Llama-3-8B | Qwen3-8B | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Scoring | M-Acc | B-Acc | CR | M-Acc | B-Acc | CR | M-Acc | B-Acc | CR |
| BRACE, first 10 tokens | 0.45 | 0.25 | 0.31 | 0.49 | 0.24 | 0.26 | 0.55 | 0.26 | 0.33 |
| BRACE, first sentence of 64 | 0.59 | 0.36 | 0.47 | 0.70 | 0.37 | 0.43 | 0.67 | 0.36 | 0.46 |
| Legible , first 10 tokens | 0.83 | 0.71 | 0.81 | 0.83 | 0.62 | 0.68 | 0.79 | 0.63 | 0.78 |
| Method | M-Acc | B-Acc | CR | Nbr | Unrel |
|---|---|---|---|---|---|
| Qwen2.5-7B | |||||
| Own knowledge | – | 0.54 [0.48, 0.61] | – | – | – |
| FT | 0.71 [0.65, 0.76] | 0.30 [0.24, 0.36] | 0.37 [0.28, 0.46] | 0.42 [0.38, 0.46] | 0.83 [0.80, 0.86] |
| CaKE | 0.75 [0.70, 0.80] | 0.27 [0.22, 0.33] | 0.32 [0.23, 0.41] | 0.39 [0.35, 0.44] | 0.82 [0.78, 0.85] |
| + Legible | 0.87 [0.83, 0.91] | 0.64 [0.57, 0.70] | 0.75 [0.67, 0.83] | 0.63 [0.59, 0.67] | 0.90 [0.88, 0.92] |
| Self-distillation | 0.70 [0.65, 0.76] | 0.34 [0.28, 0.41] | 0.42 [0.34, 0.51] | 0.43 [0.38, 0.47] | 0.79 [0.76, 0.82] |
| Qwen2.5-7B | Llama-3-8B | Qwen3-8B | ||||||||||
| Writer | B-Acc | Strict | Overlap | None | B-Acc | Strict | Overlap | None | B-Acc | Strict | Overlap | None |
| Own knowledge | 0.54 | 0.35 | – | – | 0.51 | 0.30 | – | – | 0.52 | 0.37 | – | – |
| FT | 0.30 | 0.15 | 0.26 | 0.31 | 0.30 | 0.11 | 0.27 | 0.31 | 0.30 | 0.21 | 0.22 | 0.33 |
| CaKE | 0.27 | 0.14 | 0.21 | 0.29 | 0.34 | 0.18 | 0.32 | 0.35 | 0.31 | 0.20 | 0.25 | 0.33 |
| Self-distillation | 0.34 | 0.20 | 0.26 | 0.37 | 0.38 | 0.17 | 0.39 | 0.37 | 0.38 | 0.27 | 0.38 | 0.37 |
| Embed-lens | 0.26 | 0.14 | 0.26 | 0.26 | 0.15 | 0.05 | 0.10 | 0.18 | 0.20 | 0.12 | 0.17 | 0.22 |
| Llama-3-8B | Qwen2.5-7B | |||
|---|---|---|---|---|
| Writer | Two-hop | Strict | Two-hop | Strict |
| Ceiling (second hop) | 0.67 | – | 0.66 | – |
| Before the edit | 0.08 | 0.08 | 0.09 | 0.09 |
| FT | 0.17 | 0.15 | 0.11 | 0.10 |
| Embed-lens, | 0.17 | 0.14 | 0.09 | 0.09 |
| Embed-lens, | 0.16 | 0.15 | 0.11 | 0.11 |
| Edit | Two-hop question | FT | CaKE | Legible |
|---|---|---|---|---|
| Yulia Lipnitskaya is a citizen of Latvia | The official language of the country where Yulia Lipnitskaya holds citizenship is | Latvia. | Russian. | Latvian. |
| The Fireballs was created in the country of England | The head of state of the country where The Fireballs originated is | England. | England. | Elizabeth II. |
| Gelato was created in the country of Portugal | The capital of the country where gelato originated is | Rome. | Rome. | Lisbon. |
| Hannibal Lecter was created by Spede Pasanen | The country of origin of the creator of Hannibal Lecter is | Italy. | Italy. | Finland. |
| Iwakura Tomomi is a citizen of New Zealand | The head of government of the country where Iwakura Tomomi holds citizenship is | also a citizen of New Zealand. | Andrew Scott Brown. | Jacinda Ardern. |
| The author of The Comedy of Errors is Brian O’Nolan | The institution where the author of “The Comedy of Errors” received education is | Oxford University. | University of Padua. | University College Dublin. |
| Unseen second hop | Locality | |||||
|---|---|---|---|---|---|---|
| Writer | Untrained desc. | Trained desc. | Base wrong | Original chain | Nbr | Unrel |
| Own knowledge | 0.75 | 0.67 | 0 | 0.54 | 0.89 | 0.75 |
| FT | 0.57 | 0.51 | 0.18 | 0.46 | 0.77 | 0.69 |
| Legible | 0.89 | 0.88 | 0.74 | 0.67 | 0.86 | 0.73 |
Knowledge Editing
Knowledge editing studies how to update specific facts or behaviors in language models while preserving unrelated knowledge and capabilities.
See all 88 papers