# Poster 28824

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28824

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, I'm Tyler, and today I'll be talking about our paper, Scalable Influence and Fact Tracing for Large Language Model Pre-Training. Training data attribution methods aim to attribute model outputs to specific training examples. So in an example like, a person was born in the city of Paris, then you can try to find the training examples that most influenced a model to make the prediction Paris.
These methods have implications for model transparency, understanding how models make predictions, and then also for training interventions such as figuring out what training examples most influence particular behaviors in a model. Many existing TDA methods quantify the influence between a query and training example using a normalized gradient dot product. This includes methods like track-in, track, less, low-gra, and ek-fat.
However, computational limitations make it challenging to apply these methods to the full scale of large language model pre-training. In our paper, we introduce TRAXSTAR, a TDA method for performance at scale. For a training example ZM and an eval example ZQ, we define the influence score using what is essentially a normalized gradient dot product with some correction terms.
The details are in the paper, but we want to highlight that optimizer state correction v, Hessian approximation r, and unit normalization allow lower dimensional randomly projected gradient dot products to effectively retrieve influential pre-training examples even at scale.
In our method, we essentially take prompts and then outputs such as 21st century breakdown is of the following genre and output punk rock, and then we use TDA methods to rank documents in the pre-training dataset to find the most influential training examples. To evaluate these TDA methods, we look at factual predictions and we consider two metrics.
First, we look at factual attribution, where the intuition is that high attribution should be if the proponent entails the fact of interest, or the fact that's being outputted. Here, we use existing datasets such as T-Rex, and we measure MRR and we call it 10. For influence, we consider a proponent high influence if that proponent increases the target probability, so the probability of the model outputting the factual prediction.
To measure this, we take a single gradient step or tail patch step on the proponents retrieved and we compute the new target probability after taking that gradient step. We then evaluate the average probability increase from taking these gradient steps for proponents retrieved by different training data attribution methods.
We find that for factual attribution, TrackStar performs better than other gradient-based methods, but worse than traditional retrieval methods. So here, methods like BM25, which uses TF-IDF and term matching, and GECCO, which uses semantic embeddings of text, perform better than TrackStar at retrieving facts or retrieving training examples that actually entail the fact of interest.
However, track star proponents increase target fact probabilities by considerably more on average than proponents from the traditional retrieval methods. So training on the examples retrieved by track star actually increased the probabilities of those target facts more so than the traditional retrieval methods. This suggests that examples that entail a fact, so examples that are well retrieved by the traditional retrieval methods, are not necessarily the examples that most influence an LLM to express that fact.
TrackStar performs much worse than those methods for factual attribution, but it performs much better for causal influence. Finally, we find that as models improve, influence aligns more with attribution. Models with more parameters and trained on more data rely more on training examples that actually imply individual facts.
So on the x-axis as you increase training tokens or as you increase the model size, then TrackStar retrieves more entailing proponents or proponents that actually entail the fact of interest.
To get a better sense of these results and to explore it yourself, we've also released a results viewer where you can look at queries and retrieved proponents or influential pre-training examples for factual predictions, unfactual predictions, common sense reasoning, arithmetic, and some open-ended generation in our 8 billion parameter LLM. I hope you read our paper and I would like to thank my collaborators at Google DeepMind where this work was done. Thank you.
