Distributionally Robust Coreset Selection under Covariate Shift

Tomonari Tanaka, Hiroyuki Hanada, Hanting Yang, Tatsuya Aoyama, Yu Inatsu, Satoshi Akahane, Yoshito Okura, Noriaki Hashimoto, Taro Murayama, Lee Hanju, Shinya Kojima, Ichiro Takeuchi · DOI

TL;DR

This paper introduces Distributionally Robust Coreset Selection (DRCS), a novel method for selecting a representative subset of training data that maintains performance even when the deployment data distribution shifts from the training distribution. DRCS achieves this by theoretically deriving and minimizing an upper bound on the worst-case test error under covariate shift, offering a robust solution for real-world scenarios with uncertain data distributions.

What Problem Does This Paper Address?

In many practical machine learning applications, the data distribution encountered during model deployment can differ from the data distribution used for training. This phenomenon, known as covariate shift, poses a significant challenge for model performance. Coreset selection, a technique to reduce training data size by selecting a representative subset, is crucial for efficiency. However, traditional coreset selection methods don't explicitly account for future distribution shifts, leading to models that may perform poorly in deployment. The authors address this by developing a coreset selection strategy that is "distributionally robust," meaning it aims to minimize the worst-case performance degradation under potential covariate shifts, even when the exact nature of these shifts is unknown.

Methods

The core of the proposed method, Distributionally Robust Coreset Selection (DRCS), lies in its theoretical framework. DRCS first derives an upper bound for the worst-case test error under covariate shift. This bound is then used to guide the coreset selection process. The authors propose an efficient algorithm that greedily selects a coreset by minimizing this derived upper bound. While the method is primarily developed for convex training computations (like logistic regression and SVMs), they demonstrate its applicability to deep learning models through approximations, such as using the Neural Tangent Kernel (NTK). The DRCS problem is formulated as a trilevel optimization problem, which is then approximated by deriving an upper bound and greedily minimizing it.

Datasets

The paper evaluates DRCS on several standard tabular datasets from the LIBSVM dataset, including:

  • splice
  • australian
  • breast-cancer
  • heart
  • ionosphere

For image data experiments, they used a subset of the CIFAR-10 dataset, specifically creating a binary classification task by categorizing images into "vehicles" (airplane, automobile, ship, truck) and "animals" (cat, deer, dog, horse).

Key Insights and Ideas

  • Theoretical Guarantee for Robustness: The most significant insight is the development of a theoretical upper bound for the worst-case test error under covariate shift. This provides a principled way to quantify and minimize the risk of performance degradation due to distribution shifts.
  • Bridging Coreset Selection and Distributional Robustness: The paper successfully integrates the concepts of coreset selection and distributional robustness. Instead of just selecting informative samples, DRCS selects samples that are robust to future distribution changes.
  • Greedy Approach for Tractability: The authors acknowledge the computational complexity of the exact DRCS problem and propose efficient greedy algorithms to find approximate solutions, making the method practical for larger datasets.
  • Applicability to Deep Learning: The demonstration that DRCS can be extended to deep learning models via NTK is a crucial step towards applying robust coreset selection in modern, complex architectures.

Key Results

The experimental results demonstrate the effectiveness of DRCS across various datasets and models (logistic regression, SVMs, and NTK for deep learning).

  • Superior Performance: In Figure 4 and Figure 6, DRCS consistently shows higher weighted validation accuracy compared to several baseline coreset selection methods (Herding, k-Center, Margin, Random sampling, and others).
  • Theoretical Guarantees: Figure 5 and Figure 9 illustrate that the lower bound of test accuracy is theoretically guaranteed under covariate shift, validating the theoretical framework.
  • Effect of Regularization: Experiments in Figure 7 and Figure 8 show that the choice of regularization parameter (λ) influences the trade-off between sample deletion, weight changes, and guaranteed model performance. Smaller λ leads to broader parameter bounds and less effective instance selection, while larger λ provides tighter bounds and better guarantees.
  • Deep Learning Application: Figure 12 shows that DRCS, when applied to deep learning via NTK, also achieves competitive performance, demonstrating its versatility.

Limitations and Future Work

  • Convexity Assumption: The DRCS method is primarily developed for models where the primal objective function is strongly convex. While extensions to deep learning are shown, direct application to non-convex deep learning models might require further approximations or different approaches.
  • Binary Classification Focus: The current formulation is for binary classification problems. The authors suggest that extending the framework to multi-class classification problems is a crucial future direction.
  • Greedy Heuristics: The greedy algorithms used for coreset selection are heuristics and do not guarantee global optimality. While they provide practical solutions, exploring more sophisticated optimization techniques could potentially yield better results.

Summary updated

BibTeX
@article{tanaka2025distributionally,
  author = {Tomonari Tanaka and Hiroyuki Hanada and Hanting Yang and Tatsuya Aoyama and Yu Inatsu and Satoshi Akahane and Yoshito Okura and Noriaki Hashimoto and Taro Murayama and Lee Hanju and Shinya Kojima and Ichiro Takeuchi},
  title = {{Distributionally Robust Coreset Selection under Covariate Shift}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=Eu7XMLJqsC},
}
Figure