Data Summarization via Bilevel Optimization

Zalán Borsos, Mojmír Mutný, Marco Tagliasacchi, Andreas KrausearXiv 2021

Introduction

As datasets grow exponentially, the computational burden of training complex models like deep neural networks becomes a significant bottleneck. Hardware limitations, time constraints, and the high cost of data labeling necessitate efficient data summarization techniques. "Coresets"—small, weighted subsets of data that serve as proxies for the full dataset—offer a solution. However, traditional coreset construction often relies on model-specific "sensitivity" bounds, which are difficult to derive for modern, non-convex architectures.

This paper introduces BiCo (Bilevel Coreset), a generic framework that formulates coreset selection as a cardinality-constrained bilevel optimization problem. Unlike previous methods, BiCo is applicable to any twice-differentiable model and provides a unified approach for tasks ranging from active learning to continual learning.

The BiCo Framework

The core idea behind BiCo is to optimize the coreset weights such that a model trained on the coreset performs optimally on the full dataset (or a validation set). This is structured as a bilevel optimization problem:

  1. Inner Level: Minimize the weighted loss on the coreset to find optimal model parameters.
  2. Outer Level: Minimize the loss of these parameters on the full dataset by selecting the best data points and weights.

To handle the combinatorial nature of selecting $m$ points from $n$ samples, the authors employ a greedy forward selection strategy. They leverage the Implicit Function Theorem to calculate gradients without unrolling the entire training process, making the approach feasible for larger models.

Algorithm 1: The BiCo greedy selection process for constructing bilevel coresets.

For massive neural networks where direct optimization is still costly, the authors suggest using "proxy" models—such as kernel-based Nyström approximations—to identify high-quality data points efficiently. Batch variants are also introduced to speed up the selection process by adding or eliminating points in groups.

Theoretical Foundations and Insights

BiCo bridges the gap between heuristic data selection and rigorous optimization theory. The authors demonstrate several key properties:

  • Influence Functions: The selection rule in BiCo is mathematically equivalent to picking points with the highest influence function values—those that most significantly improve model performance when their weights are adjusted.
  • Experimental Design: For linear models, the bilevel objective aligns with Bayesian V-optimal experimental design, providing a solid theoretical grounding for the approach.
  • Diversity and Transferability: BiCo naturally selects diverse, informative samples rather than redundant "easy" points. Furthermore, coresets generated for one architecture (e.g., WideResNet) often transfer effectively to others (e.g., MobileNetV2), allowing for the creation of "joint coresets" optimized for multiple architectures simultaneously.

Experimental Evaluation

The framework was evaluated across diverse domains, including image classification (CIFAR-10, SVHN), audio recognition, and tabular data.

  • Compression Efficiency: On CIFAR-10 and SVHN, BiCo achieved 2x to 3x compression with negligible loss (<0.05%) in test accuracy for WideResNet models.
  • Continual Learning: When used to manage replay buffers (memory of past tasks), BiCo significantly mitigated catastrophic forgetting, outperforming standard uniform sampling and k-center methods.
  • Active Learning: In audio tasks, BiCo addressed the "cold start" problem, achieving high accuracy with fewer human-labeled samples than traditional active learning baselines.

Conclusion

While BiCo introduces some computational overhead during the construction phase, its benefits are substantial in scenarios where the coreset is reused—such as hyperparameter tuning or neural architecture search—or where data storage and labeling budgets are strictly limited. By providing a generic, theoretically grounded framework, BiCo moves coreset construction away from model-specific "black arts" toward a more robust optimization-based paradigm.

Summary updated

BibTeX
@misc{borsos2021data,
  author = {Zalán Borsos and Mojmír Mutný and Marco Tagliasacchi and Andreas Krause},
  title = {{Data Summarization via Bilevel Optimization}},
  year = {2021},
  eprint = {2109.12534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.12534},
}
Figure