Efficient Forward-Only Data Valuation for Pretrained LLMs and VLMs

Wenlong Deng, Jiaming Zhang, Qi Zeng, Christos Thrampoulidis, Boying Gong +1 more
8/13/2025
cs.CL

No confident code implementation found for this paper.

Abstract

Quantifying the influence of individual training samples is essential for enhancing the transparency and accountability of large language models (LLMs) and vision-language models (VLMs). However, existing data valuation methods often rely on Hessian information or model retraining, making them computationally prohibitive for billion-parameter models. In this work, we introduce For-Value, a forward-only data valuation framework that enables scalable and efficient influence estimation for both LLMs and VLMs. By leveraging the rich representations of modern foundation models, For-Value computes influence scores using a simple closed-form expression based solely on a single forward pass, thereby eliminating the need for costly gradient computations. Our theoretical analysis demonstrates that For-Value accurately estimates per-sample influence by capturing alignment in hidden representations and prediction errors between training and validation samples. Extensive experiments show that For-Value matches or outperforms gradient-based baselines in identifying impactful fine-tuning examples and effectively detecting mislabeled data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{deng2025efficient,
  title  = {Efficient Forward-Only Data Valuation for Pretrained LLMs and VLMs},
  author = {Wenlong Deng and Jiaming Zhang and Qi Zeng and Christos Thrampoulidis and Boying Gong and Xiaoxiao Li},
  year   = {2025},
  eprint = {2508.10180},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.10180v2}
}

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/2508.10180.svg)](https://codeofpaper.com/paper/2508.10180)

Discussion