Research map / Large language models / Retrieval and knowledge
Metadata Shaping: A Simple Approach for Knowledge-Enhanced Language Models
Simran Arora, Sen Wu, Enci Liu, Christopher Ré
Stanford University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- TACRED leaderboard F1 76.7 · rank 2 of 26 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune on metadata-shaped data | BERT-base · FewRel test | F1: 84.9 -> 90.4 | Improved |
| fine-tune on metadata-shaped data | BERT-base · TACRED test | F1: 72.0 -> 76.7 | Improved |
| fine-tune on metadata-shaped data | BERT-base · OpenEntity test | F1: 73.2 -> 76.2 | Improved |
| shape data instead of modifying model (vs KnowBERT-Wiki) | BERT-base · TACRED test | F1: 77.9 vs 76.7 | Hurt |
| select metadata by High Rank (Algorithm 1) instead of Random (ablation) | metadata shaping · FewRel test | F1: 87.2 -> 88.9 | Improved |
| select metadata by High Rank instead of Random (ablation) | metadata shaping · TACRED test | F1: 73.8 -> 74.7 | Improved |
| select metadata by High Rank instead of Random (ablation) | metadata shaping · OpenEntity test | F1: 74.3 -> 74.8 | Improved |
| insert random metadata (Random selection) vs no shaping (ablation) | metadata shaping · FewRel test | F1: 84.9 -> 87.2 | Improved |
| add boundary tokens around inserted metadata (ablation) | metadata shaping · FewRel / OpenEntity test | F1: +0.7 FewRel, +1.4 OpenEntity | Improved |
| blank-noise 10% of metadata tokens in training (ablation) | metadata shaping · OpenEntity test | F1: +0.1 High Rank, +0.5 Popular, +0.5 Low Rank | Improved |
| blank-noise metadata tokens (ablation) | metadata shaping · FewRel test | F1 | No clear effect |
| increase inserted tokens per entity n from 1 to 20 (random order) (ablation) | metadata shaping · FewRel test | F1: 85.4 -> 88.5 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.
- ERNIE — ERNIE: Enhanced Language Representation with Informative Entities (ACL 2019) · better on 3 of 3 shared results
- BERT-base — BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (NAACL 2019) · better on 3 of 3 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in knowledge editing in LLMs
Do knowledge editing and factuality methods hold up on larger models, closed models and real-world editing?
- Experiments stay on small or mid-sized models. · 24 papers state it
- Needs logits or internal access, so closed models are out. · 12 papers state it
- Tested on short factual answers, not reasoning or long text. · 10 papers state it
Closest papers by meaning
- Physics of Language Models: Part 3.1, Knowledge Storage and Extraction (ICML 2024 · similarity 0.89)
- Entity Cloze By Date: What LMs Know About Unseen Entities (NAACL 2022 · similarity 0.89)
- Adapters for Enhanced Modeling of Multilingual Knowledge and Text (EMNLP 2022 · similarity 0.88)
- Entity Linking in 100 Languages (EMNLP 2020 · similarity 0.88)
- HLMEA: Unsupervised Entity Alignment Based on Hybrid Language Models (AAAI 2025 · similarity 0.88)
- Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models (ICLR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.