NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Horizontally Scalable Submodular Maximization

Mario Lucic, Olivier Bachem, Morteza Zadimoghaddam, Andreas Krause

Abstract

Existing distributed algorithms for submodular maximization—the process of picking the "best" subset of data—harbor a hidden limitation: they require each computer's memory to grow as the dataset gets larger. This paper introduces a genuinely horizontally scalable framework that operates on fixed-capacity machines. By utilizing a multi-round, tree-based compression strategy, the proposed method maintains high performance even as data scales to millions of points.

The "Memory Wall" in Distributed Submodular Maximization

Submodular maximization forms the mathematical backbone for diverse machine learning tasks, such as selecting the most representative set of images, summarizing documents, or placing sensors to detect earthquakes. As datasets have exploded in size, researchers have naturally turned to distributed computing.

However, popular distributed approaches (like the "GREEDI" algorithm) typically rely on a two-round strategy: partition the data, solve locally on multiple machines, and then merge the results to solve again on a single machine. The "memory wall" occurs in this second round. If you have a massive dataset ($n$) and want to pick a representative subset ($k$), the merged data from the first round often exceeds the memory of a single machine. Specifically, these methods require machine capacity to grow at a rate of $O(\sqrt{nk})$. In the real world, hardware capacity is fixed; while you can buy more machines, you cannot easily scale a single machine's RAM infinitely.

Methodology: Tree-Based Compression

To overcome the memory wall, the authors propose a Tree-Based Compression framework. Instead of forcing the entire process into two rounds, they employ a recursive, multi-round approach.

Tree-based compression framework
  1. Partition: The data is randomly distributed across a set of machines, each with a fixed capacity $\mu$.
  2. Local Selection: Each machine runs a "$\beta$-nice" algorithm (such as the standard Greedy algorithm) to select the best $k$ items from its local partition.
  3. Iterate: The selected items are pooled and re-partitioned across a smaller set of machines. This process repeats, forming a tree structure, until the remaining items fit onto a single machine for the final selection.

The paper provides a robust theoretical foundation for this approach, demonstrating that the number of rounds $r$ grows only logarithmically with the data size. Furthermore, they prove that for any hereditary constraint (a broad class of constraints including cardinality and matroids), the approximation factor stays within a factor of $1/r$ of the centralized solution.

Experimental Setup

The authors evaluated their approach on several real-world datasets across different domains:

  • Parkinsons: Biomedical voice measurements (5,800 instances).
  • CSN-20K: Accelerometer data from the Community Seismic Network (20,000 instances).
  • Tiny Images: A subset of 32x32 RGB images (10,000 and 1,000,000 instances).
  • Yahoo! Webscope R6A: User click logs for news articles (100,000 and 45,000,000 instances).

The objectives evaluated included Log-Determinant (for diversity and active set selection) and Exemplar-based clustering (for finding representative points).

Key Findings

True Horizontal Scaling and Performance Stability

The core insight of the paper is that scaling to massive data requires decoupling machine capacity from dataset size. By allowing for more than two rounds, the framework handles any dataset size using fixed-size hardware. There is a formal trade-off between the number of rounds (which increases with smaller machine capacity) and the theoretical approximation guarantee, but the "loss" is logarithmic, making it highly efficient in practice.

In empirical tests, the proposed TREE algorithm achieved an approximation ratio nearly identical to the centralized greedy solution (often >95%), even when machine capacity was extremely limited (e.g., only twice the size of the desired subset $k$).

Breaking the $\sqrt{nk}$ Barrier

Approximation ratio vs. Capacity on the Parkinsons dataset Source, p. 8

Approximation ratio vs. Capacity on the Parkinsons dataset

While previous state-of-the-art methods like RandGreeDI failed or "broke" when machine capacity fell below the $O(\sqrt{nk})$ threshold, the TREE algorithm continued to function perfectly. As shown in the evaluations, TREE maintains a near-perfect approximation ratio even at capacities where two-round methods cannot operate. On the massive 45-million-visit Yahoo! dataset, the algorithm matched the performance of the centralized solution while using significantly less memory per node.

Limitations and Future Work

  • Communication Overhead: While the algorithm is highly memory-efficient, increasing the number of rounds inherently increases the amount of data sent over the network. However, the authors note that in practice, the number of rounds remains very small (usually 2 to 4).
  • Stochastic Variance: When using "Stochastic Greedy" as the local optimizer to speed up computation, a slight decrease in approximation quality was observed due to the added variance of the stochastic steps.
  • Future Directions: The authors suggest extending this framework to more complex constraints beyond hereditary ones and exploring techniques to further reduce the communication cost between rounds.

Summary updated

BibTeX
@inproceedings{lucic2016horizontally,
  author = {Mario Lucic and Olivier Bachem and Morteza Zadimoghaddam and Andreas Krause},
  title = {{Horizontally Scalable Submodular Maximization}},
  booktitle = {International Conference on Machine Learning},
  year = {2016},
  url = {https://openreview.net/forum?id=By-sYsZ_-S},
}
Figure