Streaming Methods for Restricted Strongly Convex Functions with Applications to Prototype Selection

Karthik S. Gurumoorthy, Amit DhurandhararXiv 2018

Introduction

In the era of massive datasets, finding a small, representative subset of data—known as "prototypes"—is essential for summarizing information, explaining model behavior, and accelerating training. This task is typically modeled as maximizing a set function $f(S)$ under a cardinality constraint $|S| \leq m$. While submodular functions (those exhibiting diminishing returns) have well-established streaming algorithms, many real-world objectives, such as those used in sparse regression or M-estimation, are only "weakly submodular."

Overcoming the Impossibility Result

Recent theoretical work suggested that constant-factor approximation guarantees were impossible for streaming weakly submodular functions. However, this paper identifies a critical subclass—Restricted Strongly Convex (RSC) and Restricted Smooth (RSM) functions—where such guarantees are achievable. By leveraging the bounded submodularity ratio inherent in RSC/RSM functions, the authors bridge the gap between batch and streaming settings, providing a "silver lining" for fast, guaranteed streaming summarization.

Proposed Algorithms: ProtoBasic and ProtoStream

The authors introduce two novel streaming algorithms designed for high-efficiency prototype selection:

  1. ProtoBasic: An extremely lightweight approach that maintains a single set of $m$ elements. It uses the gradient of the function at the origin as a proxy for an element's potential value, allowing for extremely fast swaps. While efficient, it can sometimes lack diversity in its selections.
  2. ProtoStream: A more robust, threshold-based algorithm. It maintains multiple candidate sets in parallel, each corresponding to a different "gain threshold." This "sieve" approach ensures that selected elements are not only valuable but also diverse and informative.

A key innovation is the shift from expensive function evaluations to gradient evaluations. For the quadratic objectives common in prototype selection, this reduces per-instance computational complexity from $O(m^3)$ to $O(m)$, where $m$ is the number of prototypes.

Experimental Evaluation

The algorithms were evaluated on two classic benchmarks: MNIST (70,000 handwritten digits) and Letters (20,000 character instances). The goal was to select prototypes that accurately represent the variation and distribution of the underlying data.

Performance comparison on the MNIST dataset, illustrating accuracy, computational time, and label distribution diversity across different sparsity levels.

Key Results

  • Massive Speedup: On the MNIST dataset, ProtoStream achieved a nearly 100x speedup over the state-of-the-art "Streak" algorithm (1,482 seconds vs. 108,341 seconds).
  • Identical Solution Quality: Despite the dramatic speedup, ProtoStream achieved the exact same maximum objective value as the much slower competition across both datasets.
  • Diversity and Interpretability: While ProtoBasic is the fastest method (finishing MNIST in just 2 seconds), it struggled with diversity, often picking redundant versions of the same digit. ProtoStream successfully recovered the full distribution of labels. Additionally, the inclusion of non-negative weight constraints ensures that each prototype has a positive importance score, enhancing human interpretability.
Performance comparison on the Letters dataset, demonstrating consistent accuracy and label diversity matching the true distribution.

Conclusion

ProtoStream represents a significant advancement in streaming summarization, offering state-of-the-art quality with orders-of-magnitude faster performance. By identifying RSC and RSM functions as a viable domain for streaming guarantees, this work opens new avenues for large-scale data subset selection. Future research may explore the exact boundaries of these conditions and their application to more complex, non-quadratic objectives in deep learning.

Summary updated

BibTeX
@misc{gurumoorthy2018streaming,
  author = {Karthik S. Gurumoorthy and Amit Dhurandhar},
  title = {{Streaming Methods for Restricted Strongly Convex Functions with Applications to Prototype Selection}},
  year = {2018},
  eprint = {1807.08091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.08091},
}
Figure