TL;DR
This paper introduces ReSGD, a novel algorithm for selecting high-quality data subsets from multiple heterogeneous sources. By employing learnable categorical priors and a variance-reduced "two-point" gradient estimator, the authors overcome the instability and rounding issues of previous methods, providing the first rigorous theoretical approximation guarantees for multi-source bilevel data selection.
What Problem Does This Paper Address?
In modern machine learning, we often need to identify a small "coreset"—a subset of training data that can produce a model nearly as good as one trained on the full dataset. This is crucial for efficient training, in-context learning, and preventing "catastrophic forgetting" in continual learning.
Mathematically, this is a bilevel combinatorial optimization problem: the "upper level" evaluates a subset's quality based on the "lower level" model trained on that subset. Because this is a discrete, NP-hard problem, researchers usually "relax" it into a continuous optimization problem. However, existing relaxations have major flaws:
- Gradient Instability: They either require computationally expensive second-order derivatives (inverse Hessians) or suffer from high-variance "unbounded" gradients.
- Infeasible Rounding: After finding a continuous solution, converting it back to a discrete subset often violates the original budget constraints (e.g., selecting more samples than allowed).
- Single-Source Bias: Most methods assume a single homogeneous dataset, failing to account for correlations when data comes from multiple heterogeneous sources (like different tasks in continual learning).
Methods
The authors propose a new probabilistic framework to solve these issues:
- Learnable Categorical Priors: Instead of treating each data point independently, they introduce categorical distributions for each data source. This ensures that any subset sampled during training is guaranteed to be feasible (within budget), leading to a "lossless" rounding scheme.
- Two-Point Gradient Estimator: They derive a gradient estimator that compares the performance of two highly similar subsets (differing by only one data point). This "strong coupling" significantly reduces variance and avoids the need for inverse-Hessian computations.
- Reducible Representation: Using a Bayesian perspective, they simplify the gradient calculation. This reduces the number of required model retrainings from being proportional to the total number of samples to being proportional only to the number of data sources—a massive efficiency gain for large datasets.
- ReSGD Algorithm: They combine these techniques into a Stochastic Gradient Descent algorithm and prove it achieves a specific approximation ratio under a property called $(\gamma, \beta)$-weak submodularity.
Datasets
The authors evaluated ReSGD across several standard benchmarks for two main applications:
- Data Summarization: MNIST, CIFAR-10, and CIFAR-100. They specifically tested robustness against label noise (symmetric and pairwise) and class imbalance.
- Continual Learning: Split MNIST, Permuted MNIST, Split CIFAR-10, Split CIFAR-100, and Split Tiny-ImageNet.
Key Insights and Ideas
- Feasibility by Construction: By parameterizing the probability distribution to only support feasible subsets, the authors turned a difficult "rounding" problem into a non-issue.
- The Power of Coupling: The two-point estimator is an "aha moment" for stability. Because the two subsets compared are so similar, the "noise" in their individual evaluations cancels out, leading to much smoother optimization.
- Bayesian Efficiency: The "reducible representation" trick is what makes this practical. It allows the algorithm to estimate the marginal contribution of every data point without actually retraining the model for every single point.
- Theoretical First: This work provides the first rigorous theoretical guarantee for the quality of the subset returned in a multi-source bilevel setting.
Key Results
ReSGD consistently outperformed competitive baselines like Greedy Coreset, PBCS, and CSRel.
- Robustness: As shown in Figure 1, ReSGD maintains higher test accuracy than other methods as label noise increases or class imbalance becomes more severe.
- Continual Learning: On complex datasets like Split CIFAR-100, ReSGD achieved an average accuracy of 16.70%, significantly higher than the next best baseline (CSReL-CL-Prv at 15.49%).
- Stability: The method showed significantly lower variance across multiple runs compared to prior probabilistic relaxation methods.
Limitations and Future Work
The authors acknowledge a few limitations:
- Random-Output Scheme: The current theoretical analysis requires sampling from the history of iterates (a standard but sometimes inconvenient practice in stochastic optimization) rather than just taking the final "best" parameters.
- Last-Iterate Convergence: Future work could focus on proving that the very last iteration of the algorithm is just as good as the averaged history, which would simplify practical deployment.
- Computational Cost: While more efficient than previous bilevel methods, it still requires multiple lower-level model retrainings per iteration, which can be demanding for extremely large-scale models.
Summary updated