GIST: Greedy Independent Set Thresholding for Max-Min Diversification with Submodular Utility

Matthew Fahrbach, Srikumar Ramalingam, Morteza Zadimoghaddam, Sara Ahmadian, Gui Citovsky, Giulia DeSalvo

TL;DR

Researchers from Google have introduced GIST (Greedy Independent Set Thresholding), a new algorithm for selecting the "best" subset of data by balancing utility and diversity. By combining monotone submodular utility with a max-min diversity objective, GIST provides a provable 1/2-approximation guarantee and outperforms standard benchmarks in tasks like sampling training data for ImageNet.

What Problem Does This Paper Address?

In the era of massive datasets—think 80 terabytes daily from a single self-driving car or the 5-billion-image LAION dataset—we often need to select a small, representative subset for tasks like model pretraining or feature selection. This is the subset selection problem.

The challenge lies in the "balancing act" between three competing goals:

  1. Utility: Selecting items that are individually valuable (e.g., high-quality images).
  2. Coverage: Ensuring the subset represents the whole dataset (often modeled via submodular functions).
  3. Diversity: Avoiding redundant or near-duplicate items.

The authors formalize this as Max-Min Diversification with Monotone Submodular Utility (MDMS). The objective function is $f(S) = g(S) + \lambda \cdot \text{div}(S)$, where $g(S)$ is a submodular utility function and $\text{div}(S)$ is the minimum distance between any two points in the subset. This "max-min" diversity is particularly tough because it is extremely sensitive; adding one "bad" point can instantly tank the diversity score of the entire set.

Methods

The core innovation is the GIST algorithm. Standard greedy algorithms fail here because the combined objective function is not submodular—the diversity term doesn't behave nicely when you add elements one by one.

GIST works by transforming the diversity term into a series of constraints:

  • Thresholding: The algorithm "sweeps" through a range of possible distance thresholds ($d$).
  • Intersection Graphs: For each threshold $d$, it creates a graph where an edge exists between two points if their distance is less than $d$. Any "independent set" in this graph (a set of nodes with no edges between them) is guaranteed to have a diversity of at least $d$.
  • Greedy Independent Set: Within these graphs, GIST uses a bicriteria greedy subroutine to find a high-utility independent set. It iteratively adds the point with the highest marginal utility gain that is at least distance $d$ away from all currently selected points.
  • Selection: Finally, it returns the best subset found across all tested thresholds.

The authors prove that GIST achieves a 1/2-approximation for the general MDMS problem and a stronger 2/3-approximation when the utility function is linear.

Datasets

The authors evaluated GIST on two primary benchmarks:

  1. Synthetic Dataset: 1,000 points generated from a Gaussian distribution in 64 dimensions, assigned random weights to test the algorithm's ability to handle budget-additive utility.
  2. ImageNet: The classic computer vision dataset with ~1.3 million images across 1,000 classes. They used GIST to select subsets (ranging from 30% to 90% of the data) to train a ResNet-56 model from scratch.

Key Insights and Ideas

  • The Failure of Pure Greedy: The paper demonstrates that a standard greedy approach (adding the point that increases the objective the most) can have arbitrarily poor performance. This is because a greedy step might gain a small amount of utility while catastrophically reducing the minimum distance between points.
  • Theoretical Tightness: The authors proved that MDMS is NP-hard to approximate within a factor of 0.5584. Since GIST provides a 0.5-approximation, the algorithm is remarkably close to the theoretical limit of what is possible in polynomial time.
  • Diversity as Regularization: The $\lambda$ parameter acts as a "knob." By increasing $\lambda$, researchers can force the algorithm to prioritize spreading points out in the feature space, which effectively acts as a regularizer against selecting redundant data.

Key Results

On synthetic data, GIST consistently outperformed "simple" (a basic 0.387-approx baseline), "random," and "greedy" methods across all subset sizes ($k$).

Figure 1: f(SALG) for baseline methods and GIST, for each cardinality constraint k ∈[n], on synthetic data with n = 1000, α = 0.95, and β = 0.75.

In the ImageNet experiments, GIST-based sampling led to better downstream model accuracy than state-of-the-art methods like margin sampling (which picks the most "uncertain" images) and k-center (a common diversity-only baseline). For example, at a 30% sampling rate, GIST-submod achieved 67.24% top-1 accuracy, outperforming margin sampling (65.97%) and k-center (66.71%).

Limitations and Future Work

While GIST is powerful, it has a few notable constraints:

  • Computational Overhead: The algorithm requires sweeping over multiple distance thresholds. While the authors note this is easily parallelizable, it is still more computationally expensive than a single pass of a standard greedy algorithm.
  • Metric Space Dependency: The diversity term relies on a well-defined distance metric. In high-dimensional spaces (like raw image pixels), the choice of embedding space significantly impacts the quality of the "diversity" measured.
  • The Approximation Gap: There is still a small theoretical gap between the 0.5-approximation of GIST and the 0.5584 hardness bound. Closing this gap remains an open question for theoretical computer scientists.

Summary updated

Abstract

This work studies a novel subset selection problem called max-min diversification with monotone submodular utility ($\textsf{MDMS}$), which has a wide range of applications in machine learning, e.g., data sampling and feature selection. Given a set of points in a metric space, the goal of $\textsf{MDMS}$ is to maximize $f(S) = g(S) + λ\cdot \texttt{div}(S)$ subject to a cardinality constraint $|S| \le k$, where $g(S)$ is a monotone submodular function and $\texttt{div}(S) = \min_{u,v \in S : u \ne v} \text{dist}(u,v)$ is the max-min diversity objective. We propose the $\texttt{GIST}$ algorithm, which gives a $\frac{1}{2}$-approximation guarantee for $\textsf{MDMS}$ by approximating a series of maximum independent set problems with a bicriteria greedy algorithm. We also prove that it is NP-hard to approximate within a factor of $0.5584$. Finally, we show in our empirical study that $\texttt{GIST}$ outperforms state-of-the-art benchmarks for a single-shot data sampling task on ImageNet.
BibTeX
@inproceedings{fahrbach2025gist,
  author = {Matthew Fahrbach and Srikumar Ramalingam and Morteza Zadimoghaddam and Sara Ahmadian and Gui Citovsky and Giulia DeSalvo},
  title = {{GIST: Greedy Independent Set Thresholding for Max-Min Diversification with Submodular Utility}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=5aeD5UbiLv},
}
Figure