Outlier Gradient Analysis: Efficiently Identifying Detrimental Training Samples for Deep Learning Models
Anshuman Chhabra, Bo Li, Jian Chen, Prasant Mohapatra, Hongfu Liu
TL;DR
The paper tackles the bottleneck of identifying detrimental training samples in deep models by reframing influence-function based detection as gradient-space outlier analysis, eliminating the costly Hessian inversion. It introduces Outlier Gradient Analysis, using detectors like Isolation Forest and thresholding on per-sample gradients to label outliers and trim them without retraining from scratch. Across synthetic data, noisy-label vision tasks, NLP data selection, and LLM influential data benchmarks, the approach achieves high detection accuracy and practical gains while remaining computationally efficient. This Hessian-free, data-centric method broadens the applicability of data valuation techniques to large-scale non-convex models and real-world noisy-data scenarios, enabling scalable improvements in model utility.
Abstract
A core data-centric learning challenge is the identification of training samples that are detrimental to model performance. Influence functions serve as a prominent tool for this task and offer a robust framework for assessing training data influence on model predictions. Despite their widespread use, their high computational cost associated with calculating the inverse of the Hessian matrix pose constraints, particularly when analyzing large-sized deep models. In this paper, we establish a bridge between identifying detrimental training samples via influence functions and outlier gradient detection. This transformation not only presents a straightforward and Hessian-free formulation but also provides insights into the role of the gradient in sample impact. Through systematic empirical evaluations, we first validate the hypothesis of our proposed outlier gradient analysis approach on synthetic datasets. We then demonstrate its effectiveness in detecting mislabeled samples in vision models and selecting data samples for improving performance of natural language processing transformer models. We also extend its use to influential sample identification for fine-tuning Large Language Models.
