Thank you for the great questions!
> The tail-patch metric used to evaluate influence will probably depend on the templates used. It is unclear how reliable such metric is… I wonder how much will the results rely on these templates? Do you have experiments with different template variations?
This is a good point! We have added results with two additional template variations to Appendix A.4.1. For example, the "place of birth" factual relation now has three templates: "[entity0] was born in the city of: [entity1]", "[entity0] was born in [entity1]", and "The birthplace of [entity0] is [entity1]". For all templates, our main trends hold: classical retrieval methods (BM25 and Gecko) perform substantially better for attribution (MRR and recall@10), but TrackStar performs over 2x better for influence (tail-patch score).
> If I understood correctly, the hessian approximation proposed requires access to an evaluation dataset. The authors should explain how this would work in the case of no have access to the full evaluation dataset.
Yes, the task-specific Hessian approximation requires access to an evaluation dataset. This task-specific approach defines semantic "dimensions" that should be downweighted (in this case, downweighting examples that support the overall task structure rather than an individual fact). When there is no a priori known task, the non-task-specific Hessian can be used, at a slight cost to performance (Experiment 5 in Table 1). More generally, the determination of semantic dimensions that should be downweighted is somewhat subjective – it's not so much that we need the eval data for approximation as that we use a set of examples to define what semantics are most relevant. As a topic for future work, it might be possible to use synthetic data to induce this as well.
> It seems to me that lots of "hacks" are needed to get the approach to work (e.g., gradient correction, normalization, gradient compression via projection etc.) But I suppose this is a limitation of influence functions rather than of the proposed technique.
Each of the proposed methods is grounded in previous work, practical motivations, and theoretical justification:
* Gradient second moment and Hessian correction are theoretically motivated to align gradient dot products with change in loss (https://arxiv.org/abs/2303.14186). This also approximates the Fisher information metric between model gradients.
* Gradient compression via projection is necessary to reduce dimensionality enough to store an index of gradients for efficient retrieval. Gaussian random projection has theoretical guarantees from the Johnson-Lindenstrauss lemma, and it has been applied in previous work (https://arxiv.org/abs/2002.08484, https://arxiv.org/abs/2303.14186, https://arxiv.org/abs/2402.04333, see also dimensionality ablations in Section 5.2).
* Unit normalization is motivated as $\ell$-relative influence that constrains overall loss change (https://arxiv.org/pdf/2003.11630), reducing the contribution of "loud" examples with high gradient norm.
> It is unclear to me that scaling influence functions to LLM is practical/reliable at all, as it seems that spurious correlations between the input fact and the pretraining examples to play a big role. For instance, looking at the errors provided in the Appendix, many of the retrieved proponents seem to completely unrelated to the fact-- some don't even have any word overlap such as example ID 862.
The examples in Table A.1 were selected to demonstrate types of proponents we observed – in particular, to show headroom/error patterns – and they are not necessarily representative of the distribution of proponents. We have added Table A.2, where we report the top proponent for a random sample of facts. Across all 5K facts, the top proponent has word overlap with the input or target entity for 84.4% of facts, and there is at least one such proponent in the top 10 for 94.9% of facts.
> Could you provide a discussion on real-world scenarios where scaling influence functions to LLM would be helpful/practical?
Scaling TDA / influence functions to LLMs can be useful for data curation (selecting pretraining data to target particular evaluation tasks, e.g. https://arxiv.org/pdf/2401.12926, https://arxiv.org/abs/2402.04333), interpreting underlying causes of model predictions (e.g. https://arxiv.org/pdf/2405.13954, https://arxiv.org/abs/2308.03296), and diagnosing misbehaviors (https://arxiv.org/abs/2409.16978) by identifying mislabeled or harmful training examples. As a concrete example, when debugging incorrect factual predictions in our work, we uncovered several ambiguous facts in T-REx. For example, the prediction that Victoria Park is in the United Kingdom (Table A.1) is labeled as incorrect by T-REx, but the top proponents from TrackStar show that there actually is a Victoria Park in the United Kingdom described in several pretraining examples.