Fast greedy algorithms for dictionary selection with generalized sparsity constraints

Kaito Fujii, Tasuku Soma

This mini-paper provides an overview of the NeurIPS 2018 paper introducing Replacement OMP, a highly efficient greedy algorithm for dictionary selection. It bridges the gap between slow, high-quality optimization and fast, low-quality heuristics, and is the first method of its kind to handle complex "average sparsity" constraints while remaining orders of magnitude faster than previous selection methods.

What Problem Does This Paper Address?

In fields like image processing and compressed sensing, data is often represented as a combination of a few "atoms" (basis signals) from a "dictionary." There are two primary ways to obtain this dictionary:

  1. Dictionary Learning: Creating atoms from scratch (e.g., k-SVD). This is powerful but slow and prone to getting stuck in local optima.
  2. Dictionary Selection: Picking the best $k$ atoms from a large, pre-defined set of candidates. This is a discrete problem, which should be faster and more robust, but it is mathematically "NP-hard."

The core challenge is that the math governing dictionary selection isn't "submodular"—a property that usually makes simple greedy algorithms work perfectly. Furthermore, most existing algorithms can only handle simple constraints (e.g., "each image patch uses exactly 5 atoms"). They struggle with generalized sparsity, such as "average sparsity," where complex image patches might need 10 atoms while simple background patches only need 1, as long as the total average stays low.

Methods

The paper introduces two main algorithmic contributions:

  • Replacement Greedy (RG): An adaptation of a two-stage submodular maximization technique. While accurate, it is computationally "heavy" because it requires solving a full linear regression for every possible atom choice at every step.
  • Replacement OMP (The Breakthrough): To fix the speed issue, the authors borrow a trick from Orthogonal Matching Pursuit (OMP). Instead of solving a full regression to see how much an atom helps, they use a "proxy" based on the gradient of the utility function. This allows the algorithm to pick atoms much faster without sacrificing much accuracy.

The authors also define a new theoretical class called p-replacement sparsity families. This framework allows them to prove that their algorithm works not just for simple counts, but for block sparsity and the elusive average sparsity constraint.

Key Insights and Results

The researchers evaluated their algorithms using synthetic datasets and the PASCAL VOC2006 image dataset, drawing from a candidate pool of 256 atoms (including DCT and various Wavelets).

Massive Speedups

Replacement OMP is several orders of magnitude faster than previous state-of-the-art selection methods like SDS_OMP and Replacement Greedy (RG).

Running time comparison

Competitive Performance

In image reconstruction tests, Replacement OMP achieved nearly identical residual variance to the much slower greedy methods. When compared to heavyweights like k-SVD and MOD (Method of Optimal Directions), Replacement OMP was much faster while achieving highly competitive reconstruction quality.

Test residual variance comparison

Average Sparsity Success

Under average sparsity constraints, Replacement OMP outperformed existing specialized heuristics (like SDS_MA) in both speed and the quality of the resulting dictionary. By supporting "average sparsity," the algorithm mimics how humans actually process information—focusing more "bits" on complex areas of an image and fewer on the empty sky.

Limitations and Future Work

  • Smoothness Parameters: The algorithm requires a "smoothness parameter" ($M_{s,2}$) to function. While the authors provide a way to bound this for standard utility functions, calculating it exactly for arbitrary functions remains difficult.
  • Dependency on the Ground Set: The quality of the result is strictly limited by the initial pool of candidate atoms. If the "perfect" atom isn't in your starting set, the algorithm cannot invent it.
  • Online Regret: While the authors propose an "online" version for streaming data, further work is needed to see how it performs in highly non-stationary environments where the data distribution changes rapidly over time.

Summary updated

BibTeX
@inproceedings{fujii2018fast,
  author = {Kaito Fujii and Tasuku Soma},
  title = {{Fast greedy algorithms for dictionary selection with generalized sparsity constraints}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=HyWeUDZOWH},
}
Figure