References & Citations
Computer Science > Computation and Language
Title: Towards Tracing Factual Knowledge in Language Models Back to the Training Data
(Submitted on 23 May 2022 (v1), last revised 25 Oct 2022 (this version, v3))
Abstract: Language models (LMs) have been shown to memorize a great deal of factual knowledge contained in their training data. But when an LM generates an assertion, it is often difficult to determine where it learned this information and whether it is true. In this paper, we propose the problem of fact tracing: identifying which training examples taught an LM to generate a particular factual assertion. Prior work on training data attribution (TDA) may offer effective tools for identifying such examples, known as "proponents". We present the first quantitative benchmark to evaluate this. We compare two popular families of TDA methods -- gradient-based and embedding-based -- and find that much headroom remains. For example, both methods have lower proponent-retrieval precision than an information retrieval baseline (BM25) that does not have access to the LM at all. We identify key challenges that may be necessary for further improvement such as overcoming the problem of gradient saturation, and also show how several nuanced implementation details of existing neural TDA methods can significantly improve overall fact tracing performance.
Submission history
From: Ekin Akyürek [view email][v1] Mon, 23 May 2022 17:34:16 GMT (2679kb,D)
[v2] Tue, 24 May 2022 05:19:09 GMT (3256kb,D)
[v3] Tue, 25 Oct 2022 12:45:15 GMT (1014kb,D)
Link back to: arXiv, form interface, contact.