LARP: Learner-Agnostic Robust Data Prefiltering

Kristian Minchev, Dimitar Iliev Dimitrov, Nikola Konstantinov · DOI

Abstract

We introduce Learner-Agnostic Robust data Prefiltering (LARP), a framework designed to protect diverse downstream learners from contaminated datasets by filtering data at the source. Unlike traditional robust machine learning which operates on the consumer side, LARP provides a centralized solution that is more cost-effective for large-scale data distribution. We formalize the "Price of LARP" to quantify the utility loss of agnosticism and demonstrate that this price grows sublinearly with the number of protected models. Empirical evaluations on tabular and image datasets confirm that LARP effectively removes corrupted samples while maintaining high utility for a variety of learners.

Introduction: From Consumer-Side to Provider-Side Robustness

Standard approaches to robust machine learning place the burden of data cleaning on the model trainer. While effective for individual tasks, this is highly inefficient when thousands of researchers utilize the same contaminated source. LARP shifts this paradigm by asking: Can a data provider prefilter data once to make it safe for everyone? The primary challenge lies in the heterogeneity of downstream learners; a filter optimized for a neural network might remove features essential for a decision tree.

The LARP Framework

The goal of LARP is to identify a prefiltering procedure $F$ that minimizes the worst-case loss across a pre-specified family of potential learners $\mathcal{L}$. We evaluate several natural mechanisms, including quantile-based filtering, Z-score filtering, and Stahel-Donoho Outlyingness (SDO). Our theoretical analysis, centered on Huber estimators for mean estimation, provides provable protection bounds (e.g., Theorem 4.2) for families of learners, provided contamination levels remain manageable.

The Price of Agnosticism

A central contribution of this work is the definition of the "Price of LARP," which quantifies the performance gap between a learner-agnostic filter and one custom-tailored for a specific model. Our results indicate that while a custom filter is always superior for a single model, the performance penalty of a general filter grows sublinearly as the variety of protected models increases. However, the authors also demonstrate theoretical hardness: in cases of extreme heterogeneity, the learner-agnostic risk can be significantly higher than the best possible learner-specific risk, proving that "one-size-fits-all" is a fundamentally challenging objective.

The Price of LARP exhibits sublinear growth as the number of protected models $k$ increases, indicating scalability.

This sublinear growth suggests that a wide variety of models can be protected without a catastrophic drop in utility, making centralized prefiltering a viable strategy for large-scale data distribution.

Empirical Evaluation

We validated LARP using synthetic data, the Adult census dataset (tabular), and CIFAR-10 (image). In classification tasks involving label noise and "shortcut" correlations, LARP successfully removed over 75% of corrupted samples using default settings.

Empirical results on Adult and CIFAR-10 datasets showing the Price of LARP as a function of model heterogeneity, contamination rate, and dataset size.

As shown in the empirical results, the Price of LARP remains relatively stable across different dataset sizes ($n$), while the computational savings of centralized cleaning become increasingly significant as $n$ grows. This supports the game-theoretic argument that centralized prefiltering is the rational choice for massive datasets.

Conclusion

LARP offers a scalable solution to the problem of "dirty" public datasets. By shifting robustness to the data provider, we can achieve significant computational efficiency. Future work will focus on extending theoretical bounds to high-dimensional manifold learning and identifying provably optimal prefiltering algorithms for arbitrary learner sets.

Summary updated

Abstract

The widespread availability of large public datasets is a key factor behind the recent successes of statistical inference and machine learning methods. However, these datasets often contain some low-quality or contaminated data, to which many learning procedures are sensitive. Therefore, the question of whether and how public datasets should be prefiltered to facilitate accurate downstream learning arises. On a technical level this requires the construction of principled data prefiltering methods which are learner-agnostic robust, in the sense of provably protecting a set of pre-specified downstream learners from corrupted data. In this work, we formalize the problem of Learner-Agnostic Robust data Prefiltering (LARP), which aims at finding prefiltering procedures that minimize a worst-case loss over a pre-specified set of learners. We first instantiate our framework in the context of scalar mean estimation with Huber estimators under the Huber data contamination model. We provide a hardness result on a specific problem instance and analyze several natural prefiltering procedures. Our theoretical results indicate that performing LARP on a heterogeneous set of learners leads to some loss in model performance compared to the alternative of prefiltering data for each learner/use-case individually. We explore the resulting utility loss and its dependence on the problem parameters via extensive experiments on real-world image and tabular data, observing statistically significant reduction in utility. Finally, we model the trade-off between the utility drop and the cost of repeated (learner-specific) prefiltering within a game-theoretic framework and showcase benefits of LARP for large datasets.
BibTeX
@misc{minchev2025larp,
  author = {Kristian Minchev and Dimitar Iliev Dimitrov and Nikola Konstantinov},
  title = {{LARP: Learner-Agnostic Robust Data Prefiltering}},
  year = {2025},
  eprint = {2506.20573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.20573},
}
Figure