A General Greedy Approximation Algorithm with Applications

Tong ZhangNeurIPS 2001

Introduction

In machine learning, we often seek the simplest model that explains our data—a principle known as Occam’s Razor. Mathematically, this translates to finding a sparse solution: a model built from only a few basic components, such as individual neurons in a network or specific features in a dataset.

Because finding the absolute sparsest solution is computationally intractable (NP-hard), researchers frequently rely on greedy algorithms. These algorithms build models incrementally, adding one component at a time to improve performance. While greedy methods have been highly successful in specific niches—such as AdaBoost or neural network approximation—they historically lacked a single, rigorous unifying theory. This paper bridges that gap by providing a general convergence analysis for the greedy optimization of any differentiable convex function.

The Unified Greedy Framework

The core of the paper is Algorithm 2.1 (Sparse Greedy Approximation), a projection-free optimization method conceptually similar to the Frank-Wolfe algorithm, but applied to the space of functional representations.

The framework operates as follows:

  1. The Goal: Minimize a convex loss function $f(v)$, where $v$ is a "composite model" made of a weighted combination of basic models.
  2. The Step: At each iteration $k$, the algorithm searches for a new basic model ($\bar{v}_k$) and a step size/weight ($\alpha_k$) that minimize the loss as much as possible when combined with the current model.
  3. The Update: The model is updated via a convex combination: $v^k = (1 - \alpha_k)v^{k-1} + \alpha_k \bar{v}_k$.

The primary novelty of this approach is its generality. The author does not assume a specific loss function (like squared error); the only requirement is that the function is convex and differentiable.

Unifying Machine Learning Tasks

A key insight of the paper is that several seemingly distinct machine learning problems are actually special cases of this exact same greedy search for sparsity, merely operating under different loss functions:

  • Regression: Minimizing squared error.
  • Boosting: Minimizing an exponential loss (e.g., AdaBoost).
  • Density Estimation: Minimizing negative log-likelihood.

Key Theoretical Results

As a theoretical work grounded in functional analysis, the paper focuses on mathematical proofs rather than empirical benchmarks. It yields several powerful guarantees:

  • Universal Convergence Rate: The paper proves that for any suitable convex loss function, the approximation error $\Delta f(v^k)$ is bounded by $\frac{8M}{k+3}$. Here, $M$ is a curvature constant related to the Hessian (second derivative) of the loss function. This $O(1/k)$ rate implies that to halve your error, you must roughly double the number of components ($k$).
  • Exponential Decay in Boosting: One of the most significant breakthroughs is the formalization of Boosting. The author proves that for binary classification, if a "margin" exists (meaning the data is somewhat separable), the greedy algorithm's error drops exponentially relative to the number of iterations. This provides a rigorous explanation for why Boosting is so effective at rapidly driving down training error.
  • Sparse Kernel Representations: The framework also explains how to obtain sparse kernel models (similar to Support Vector Machines) using greedy steps, offering a theoretical alternative to standard quadratic programming approaches.

Limitations and Future Directions

While mathematically robust, the framework has practical limitations:

  • Computational Cost: The algorithm assumes that at each step, we can perfectly identify the optimal basic model $\bar{v}_k$. In practice, searching through a massive or infinite library of basic models can be computationally prohibitive.
  • Smoothness Requirements: The convergence proofs rely on the loss function being second-order differentiable. Consequently, the theory may not directly apply to non-smooth loss functions (like $L_1$ loss or Hinge loss) without further approximations.
  • Noise Sensitivity: While the algorithm demonstrates exponential convergence for separable data in boosting, the exponential loss function is notoriously sensitive to outliers in non-separable (noisy) datasets. Future work may involve adapting this general framework to accommodate more robust, outlier-resistant loss functions.

Summary updated

BibTeX
@inproceedings{zhang2001general,
  author = {Tong Zhang},
  title = {{A General Greedy Approximation Algorithm with Applications}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2001},
}
Figure