Z0-Inf: Zeroth Order Approximation for Data Influence
Narine Kokhlikyan, Diego Garcia-Olano, Kamalika Chaudhuri, Saeed Mahloujifar
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Neural Scaling Laws · Type: new method · Keywords: data influence, zeroth-order approximation, self-influence, large language models, computational efficiency
Summary
Z0-Inf introduces a highly efficient zeroth-order approximation to data influence that reduces computational cost and improves accuracy for self-influence estimation in fine-tuned large language models.
Explained to a 5-year-old
People make computer models by learning from many examples. They sometimes want to know how important each example is for the model's answers. The usual way to do this is slow and sometimes wrong for big models. This paper finds a new, quick way to guess the importance that works well. This helps computers learn better and pick the best data more easily.
Explained to a 5-year-old, longer
When we teach a computer program, we give it many examples to learn from. Sometimes we want to know which examples are most important for what the program says. This helps us choose good data and find examples that might be weird. The usual way to figure this out is complicated and takes a lot of time. It also can be not very accurate, especially for very big computer models. The new idea in this paper is a simpler method that works like a quick guess. Instead of doing lots of math, it uses a different trick that needs less work. This trick can be used even when the computer doesn't know exactly how to calculate something. It makes the importance scores more reliable and faster to compute. As a result, we can check many examples quickly without waiting for hours. This makes it possible to use influence analysis in real projects with large models. Overall, it helps us understand and improve computer learning in a practical way.
For a technical reader
Z0-Inf provides a zeroth-order approximation that estimates how much each training example influences a model’s predictions. Unlike traditional influence functions that need gradients and inverse Hessians, it only requires function evaluations, cutting both time and memory. This makes it feasible to run influence analysis on large models like fine-tuned LLMs without prohibitive computational cost. The method works for both differentiable and non-differentiable loss functions, broadening its applicability. By delivering higher accuracy for self-influence and competitive performance for train-test influence, Z0-Inf enables practical data-selection and outlier-detection pipelines.
Problem
Estimating data influence, especially self-influence, in large modern models is challenging due to low accuracy and high computational cost of existing influence function methods.
Method
The approach uses a zeroth-order approximation to compute data influence, requiring only a fraction of the time and memory of previous gradient-based methods and works for both differentiable and non-differentiable loss functions.
Results
The approach achieves superior accuracy in estimating self-influence and comparable or better accuracy for train-test influence on fine-tuned large language models.
Contributions
It introduces a zeroth-order approximation that drastically reduces computational requirements while maintaining or improving accuracy for data influence estimation, and it works for both differentiable and non-differentiable loss functions.
Practical relevance
It enables practical use of influence analysis for large models, facilitating data selection and outlier detection in real-world AI systems.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction