arXiv:2608.22522cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22522

From Detrimental to Beneficial: Dynamic Influence-based Valuation and Editing

Adrian Nyakairu, Hongfu Liu

ABSTRACT

Data valuation is a cornerstone of data-centric learning, where prior efforts primarily focus on designing algorithms to classify training samples as either beneficial or detrimental for the learning task. However, leveraging these valuation estimates for subsequent data intervention remains underexplored; conventional approaches typically discard or downweight harmful samples, thereby underutilizing available data resources. In this paper, we present Dynamic Influence-based Valuation and Editing (DIVE), a novel and efficient framework that dynamically estimates sample values at the batch level and transforms detrimental data into beneficial contributions. Rather than altering the raw data, DIVE operates at the optimization level by strategically reversing the gradient directions of harmful samples during training, ensuring seamless integration with standard learning procedures with minimal overhead. Extensive empirical evaluations demonstrate that DIVE consistently improves classification performance, maximizes data efficiency, stabilizes optimization, and effectively generalizes to large language model fine-tuning.

1 Introduction

Recent years have witnessed growing interest in data quality control, giving rise to the field of data-centric learning. Unlike model-centric approaches, which design novel algorithms with fixed training data, data-centric learning focuses on curating data to better suit the learning algorithm and improve performance. In contrast to conventional preprocessing techniques—such as normalization or outlier removal—which are often decoupled from downstream tasks, data-centric learning explicitly evaluates the contribution of data with respect to the target model. This enables more targeted and interpretable interventions across a range of applications, including training subset selection, synthetic data generation, noisy label detection, active learning, and fairness improvement.

Data influence estimation, a core component of data-centric learning, can be broadly categorized into two groups [1]. Retraining-based methods evaluate the influence of a sample by retraining the model with and without it and measuring the resulting performance change, including classical leave-one-out approaches [2] and Shapley value-based methods [3–6]. In contrast, gradient-based methods estimate influence without retraining, most notably through influence functions. While avoiding the cost of retraining, these methods introduce a new computational challenge in approximating the inverse Hessian. The seminal work of [7] addresses this via a Taylor expansion and LiSSA [8] for efficient approximation. Subsequent work further improves scalability through stochastic recursive methods [7], random projections [9], Kronecker-factored eigendecomposition [10], and low-rank approximations [11, 12]. More recently, Hessian-free approaches simplify computation by approximating the inverse Hessian with the identity matrix [13–15]. Beyond static estimation, dynamic data valuation has recently attracted increasing attention [16, 17].

Contributions. While data-centric learning has developed rapidly, most existing work focuses on designing efficient and accurate data valuation estimators, with limited attention to how these estimates are subsequently utilized. In particular, prior methods typically remove or downweight identified detrimental samples, thereby discarding potentially useful information. In contrast, we aim to fully exploit these detrimental samples by transforming them into beneficial contributions, leading to improved learning performance. We summarize our main contributions as follows:

• Concept: To the best of our knowledge, we are the first to transform detrimental samples into beneficial contributions, making every sample count during learning. This perspective improves data efficiency by leveraging all available samples, rather than discarding potentially useful information. It also leads to more stable and effective optimization by mitigating harmful gradient signals during training.

• Technique: We propose Dynamic Influence-based Valuation and Editing (DIVE), a simple and efficient framework that dynamically estimates data value at the batch level and modifies the gradients of detrimental samples to make them beneficial for model updates. Notably, we do not alter the raw data; instead, we operate at the gradient level, enabling seamless integration into standard optimization procedures with minimal overhead.

• Evaluation: We conduct extensive experiments to demonstrate the effectiveness of DIVE, comparing it against a range of data valuation and dynamic batch curation methods. We further provide diverse in-depth analyses and extend our approach to large language model fine-tuning.

References (43)