Reproduce “Towards Tracing Factual Knowledge in Language Models Back to the Training Data” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ekin Akyürek, Tolga Bolukbasi, Frederick Liu, Binbin Xiong, Ian Tenney, Jacob Andreas, Kelvin Guu
This research defines and benchmarks the problem of tracing factual knowledge in language models back to their training data. It evaluates gradient-based and embedding-based attribution methods, revealing that a simple information retrieval baseline often outperforms them on realistic data, while neural methods excel on synthetic, controlled datasets.
Key insights
- Gradient normalization and optimizer-aware gradient scaling (Adafactor accumulators) are crucial for improving TracIn's performance, but surface-level features (like embedding layer signals) remain highly influential.
- The "saturation problem," where an LM already knows a fact from pre-training, significantly degrades TDA performance during fine-tuning, as does high lexical overlap between query and proponent.
- While neural TDA methods struggled on realistic data, their strong performance on the controlled FTRACE-SYNTH dataset highlights their potential when saturation and lexical overlap are mitigated.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.