Select or Project? Evaluating Lower-dimensional Vectors for LLM Training Data Explanations

Lukas Hinterleitner, Loris Schoenegger, Benjamin Roth
1/23/2026
cs.CL

No official code found. Best implementation: lukas-hinterleitner/master-thesis (0 stars, PyTorch, last commit 2026-03-10).

Abstract

Gradient-based methods for instance-based explanation for large language models (LLMs) are hindered by the immense dimensionality of model gradients. In practice, influence estimation is restricted to a subset of model parameters to make computation tractable, but this subset is often chosen ad hoc and rarely justified by systematic evaluation. This paper investigates if it is better to create low-dimensional representations by selecting a small, architecturally informed subset of model components or by projecting the full gradients into a lower-dimensional space. Using a novel benchmark, we show that a greedily selected subset of components captures the information about training data influence needed for a retrieval task more effectively than either the full gradient or random projection. We further find that this approach is more computationally efficient than random projection, demonstrating that targeted component selection is a practical strategy for making instance-based explanations of large models more computationally feasible.

View on arXivView PDF

Code Implementations(1)

PyTorch

Select or Project? Evaluating Lower-dimensional Vectors for LLM Training Data Explanations

01HCL, ShellMay 22, 20247 months ago
explainable-aihuggingfacehuggingface-transformerslarge-language-modelsmachine-learning+7 more

Similar Papers

Cite this paper

@article{hinterleitner2026select,
  title  = {Select or Project? Evaluating Lower-dimensional Vectors for LLM Training Data Explanations},
  author = {Lukas Hinterleitner and Loris Schoenegger and Benjamin Roth},
  year   = {2026},
  eprint = {2601.16651},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.16651v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.16651.svg)](https://codeofpaper.com/paper/2601.16651)

Discussion