paper-with-me

홈 › Papers

Scalable Influence and Fact Tracing for Large Language Model Pretraining

2024-10-22 · Tyler A. Chang, Dheeraj Rajagopal, Tolga Bolukbasi, Lucas Dixon, Ian Tenney

Training data attribution (TDA) methods aim to attribute model outputs back to specific training examples, and the application of these methods to large language model (LLM) outputs could significantly advance model transparency and data curation. However, it has been challenging to date to apply these methods to the full scale of LLM pretraining. In this paper, we refine existing gradient-based methods to work effectively at scale, allowing us to retrieve influential examples for an 8B-parameter language model from a pretraining corpus of over 160B tokens with no need for subsampling or pre-filtering. Our method combines several techniques, including optimizer state correction, a task-specific Hessian approximation, and normalized encodings, which we find to be critical for performance at scale. In quantitative evaluations on a fact tracing task, our method performs best at identifying examples that influence model predictions, but classical, model-agnostic retrieval methods such as BM25 still perform better at finding passages which explicitly contain relevant facts. These results demonstrate a misalignment between factual *attribution* and causal *influence*. With increasing model size and training tokens, we find that influence more closely aligns with factual attribution. Finally, we examine different types of examples identified as influential by our method, finding that while many directly entail a particular fact, others support the same output by reinforcing priors on relation types, common entities, and names. We release our prompt set and model outputs, along with a web-based visualization tool to explore influential examples for factual predictions, commonsense reasoning, arithmetic, and open-ended generation for an 8B-parameter LLM.

📄 PDF Abstract BibTeX arXiv:2410.17413

Code (1)

pair-code/pretraining-tda 공식 구현 tf

Tasks

AttributeLanguage ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Interpretable Knowledge Tracing via Response Influence-based Counterfactual Reasoning

2023-12-01 · Jiajun Cui, Minghe Yu, Bo Jiang, Aimin Zhou 외

Knowledge tracing (KT) plays a crucial role in computer-aided education and intelligent tutoring systems, aiming to assess students' knowledge proficiency by predicting their future performance on new questions based on …

counterfactualCounterfactual ReasoningKnowledge Tracing

Tracing Privacy Leakage of Language Models to Training Data via Adjusted Influence Functions

2024-08-20 · Jinxin Liu, Zao Yang

The responses generated by Large Language Models (LLMs) can include sensitive information from individuals and organizations, leading to potential privacy leakage. This work implements Influence Functions (IFs) to trace …

Predictive, scalable and interpretable knowledge tracing on structured domains

2024-03-19 · Hanqi Zhou, Robert Bamler, Charley M. Wu, Álvaro Tejero-Cantero

Intelligent tutoring systems optimize the selection and timing of learning materials to enhance understanding and long-term retention. This requires estimates of both the learner's progress (''knowledge tracing''; KT), a…

Bayesian InferenceContinual LearningKnowledge Tracing

Expert-Aware Causal Tracing of Factual Recall in Sparse MoE Language Models

2026-06-02 · Yuetian Lu, Ali Modarressi, Yihong Liu, Hinrich Schütze arxiv

Causal tracing of factual recall has been studied predominantly in dense transformer language models, where interventions localize information flow to layers or feed-forward modules. Sparse mixture-of-experts (MoE) langu…

Faster, Cheaper, More Accurate: Specialised Knowledge Tracing Models Outperform LLMs

2026-03-03 · Prarthana Bhattacharyya, Joshua Mitton, Ralph Abboud, Simon Woodhead arxiv

Predicting future student responses to questions is particularly valuable for educational learning platforms where it enables effective interventions. One of the key approaches to do this has been through the use of know…

Knowledge Tracing