FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing
Organizations: Institute of Information Engineering, Chinese Academy of Sciences · School of Cyber Security, University of Chinese Academy of Sciences
Abstract
Unstructured model editing aims to update models with real-world text, yet existing methods often memorize text holistically without reliable fine-grained fact access. To address this, we propose FABLE, a hierarchical framework that decouples fine-grained fact injection from holistic text generation. FABLE follows a two-stage, fact-first strategy: discrete facts are anchored in shallow layers, followed by minimal updates to deeper layers to produce coherent text. This decoupling resolves the mismatch between holistic recall and fine-grained fact access, reflecting the unidirectional Transformer flow in which surface-form generation amplifies rather than corrects underlying fact representations. We also introduce UnFine, a diagnostic benchmark with fine-grained question-answer pairs and fact-level metrics for systematic evaluation. Experiments show that FABLE substantially improves fine-grained question answering while maintaining state-of-the-art holistic editing performance. Our code is publicly available at https://github.com/caskcsg/FABLE.
Figures & tables
| Model | Method | Holistic | Fine-grained | ||||
| Bert-Score | Rouge-L | Bert-Score | Rouge-L | HR | |||
| UnFine-UnKE | |||||||
| Llama3-8B | Pre-edited | 71.83 0.11 | 22.69 0.10 | 22.26 0.08 | 12.81 0.09 | 5.00 0.10 | 17.50 0.12 |
| FT-L | 33.29 0.22 | 13.35 0.12 | 26.10 0.10 | 15.49 0.11 | 7.60 0.12 | 21.83 0.14 | |
| ROME | 79.51 0.13 | 40.00 0.23 | 24.76 0.09 | 17.79 0.12 | 9.53 0.14 | 24.70 0.15 | |
| MEMIT | 81.78 0.20 | 49.64 0.29 | 25.60 0.09 | 20.54 0.13 | 12.51 0.16 | 28.30 0.17 | |
| Ablation Dimensions | Configuration | Holistic | Fine-grained | ||||
| Bert-Score | Rouge-L | Bert-Score | Rouge-L | HR | |||
| Base | L=4,5,6; N=5 S | 99.36 0.04 | 97.78 0.10 | 65.63 0.16 | 53.79 0.19 | 53.31 0.23 | 61.78 0.19 |
| Ablation on Layers | |||||||
| Layers | L=3 | 99.51 0.04 | 98.60 0.09 | 63.18 0.16 | 50.36 0.19 | 48.33 0.23 | 57.83 0.19 |
| L=4 | 99.70 0.02 | 98.79 0.08 | 65.52 0.15 | 52.93 0.19 | 52.07 0.23 | 61.09 0.19 | |
| L=5 | 99.68 0.02 | 98.78 0.07 | 64.93 0.15 | 52.97 0.19 | 51.88 0.24 | 60.96 0.19 | |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Prompt Template for Generating Fine-Grained QA Pairs |
| You are asked to generate some short question-answer pairs based on the specified <Text>. These question-answer pairs mainly ask questions about the knowledge entities in the <Text>, and the answers should be the knowledge entities being asked. |
| Rules: |
| - Diversify Perspectives: Formulate questions from multiple angles to minimize overlapping answers. Use diverse question words (What, When, Where, Why, How, etc.); avoid "Who" or "Whose". Avoid yes/no questions unless they are highly informative. |
| - Entity Inclusion: Ensure all entities mentioned in the answers are present in the <Text>. |
| - Length Constraint: Each answer must not exceed 15 tokens. |
| Prompt Template for Key Knowledge Phrase Extraction |
| You are an assistant designed to extract minimal factual answers from any given <Answer>. |
| Rules: |
| - Break down the <Answer> into the smallest possible factual units. Each unit should represent a standalone piece of information. |
| - Remove any stylistic flourishes, adjectives, adverbs, or unnecessary connectors (e.g., "over" in "over a decade" is retained only if it’s part of the factual unit, as shown in the example). |
| - All tokens of the extracted answer must strictly reside within the <Answer>. |
| Prompt Template for Multi-Aspect Fine-Grained Knowledge Extraction |
| You are a question generation expert. Your task is to generate non-overlapping natural language questions based on the given sentence. |
| Rules: |
| - Each question must be answerable directly using only the information in the sentence. The answer to each question must appear in the sentence (verbatim or semantically contained) |
| - The question should be clear, grammatical, and relevant. |
| - Avoid yes/no questions unless they are highly informative. |
| Model | Method | UnFine-UnKE(/s) | UnFine-CF(/s) | UnFine-MQ(/s) |
| LLaMA3-8B | FT-L | 3.76 | 3.44 | 3.55 |
| ROME | 17.74 | 15.02 | 16.78 | |
| MEMIT | 54.50 | 46.43 | 39.28 | |
| UnKE | 33.79 | 29.84 | 30.54 | |
| AnyEdit | 20.99 | 15.55 | 15.94 | |
| FABLE | 356.71 | 340.18 | 329.63 |
| Mehtod | Holistic | Fine-grained | ||||
| Bert-Score | Rouge-L | Bert-Score | Rouge-L | HR | ||
| FABLE (Non-conflicting) | 99.36 0.04 | 97.78 0.10 | 65.63 0.16 | 53.79 0.19 | 53.31 0.23 | 61.78 0.19 |
| FABLE (Conflicting) | 98.91 0.03 | 93.04 0.15 | 60.33 0.09 | 50.48 0.11 | 49.62 0.14 | 56.39 0.08 |
| Mehtod | Holistic | Fine-grained | ||||
| Bert-Score | Rouge-L | Bert-Score | Rouge-L | HR | ||
| FABLE (Last Token) | 99.36 0.04 | 97.78 0.10 | 65.63 0.16 | 53.79 0.19 | 53.31 0.23 | 61.78 0.19 |
| FABLE (Last Subject Word Token) | 98.49 0.06 | 94.82 0.16 | 58.44 0.16 | 43.33 0.20 | 42.43 0.23 | 51.67 0.20 |
Model Editing
Model editing changes targeted facts or behaviors in trained models while aiming to preserve their other capabilities.
See all 64 papers