Scalable Greedy Feature Selection via Weak Submodularity

Rajiv Khanna, Ethan R. Elenberg, Alexandros G. Dimakis, Sahand N. Negahban, Joydeep Ghosh

Introduction

Feature selection is a fundamental challenge in high-dimensional machine learning, where the goal is to identify a subset of $k$ variables that best explain a target variable. While the greedy algorithm (Forward Selection) is often considered the "gold standard" for this task, its computational cost becomes prohibitive on massive datasets. To address this, researchers have developed scalable variants: Distributed Greedy, which partitions features across multiple machines, and Stochastic Greedy, which samples a random subset of features at each step.

Historically, these fast variants were only supported by theoretical approximation guarantees for submodular functions—functions characterized by "diminishing returns." However, many critical machine learning objectives, such as the $R^2$ statistic in linear regression or log-likelihood in logistic regression, are not submodular. This paper bridges the gap by providing the first theoretical guarantees for distributed and stochastic greedy algorithms under the framework of weak submodularity.

Theoretical Framework: Beyond Submodularity

The authors extend the analysis of greedy algorithms by utilizing the submodularity ratio ($\gamma$). A function is perfectly submodular when $\gamma \ge 1$. By considering functions where $0 < \gamma \le 1$, the authors define a "weakly submodular" space that encompasses a much broader range of practical loss functions.

Distributed Greedy Selection

In the distributed setting, a dataset is partitioned across $l$ machines. Each machine independently executes a local greedy selection. The resulting subsets are merged, and a final greedy pass is performed on the union. The authors introduce a subadditivity ratio ($\nu$) to characterize how information is lost during the partitioning process. They prove that this "divide and conquer" strategy remains effective even for non-submodular objectives, provided the subadditivity ratio is well-behaved.

Stochastic Greedy Selection

Stochastic Greedy reduces complexity by evaluating only a small random subset of available features at each iteration. The authors demonstrate that the performance loss relative to the full greedy algorithm is strictly bounded by the sampling rate ($\delta$). Specifically, they derive a multiplicative bound showing that Stochastic Greedy achieves a solution within $(1 - e^{-\gamma} - \delta)$ of the optimal.

Experimental Validation

The theoretical findings were validated using both synthetic and large-scale real-world datasets:

  • Synthetic Linear Regression: Used to test support recovery and performance under varying correlation structures (e.g., autoregressive processes).
  • ElectricityLoadDiagrams: A high-dimensional time-series dataset ($d \approx 140,000$) where Distributed Forward Selection outperformed both Lasso and Orthogonal Matching Pursuit (OMP) in generalization scores.
  • Gisette: A handwritten digit recognition benchmark ($d=5,000$) used for sparse logistic regression. Here, Stochastic Greedy achieved a significant speedup with negligible impact on log-likelihood compared to the full greedy approach.

Key Insights

The research demonstrates that the mathematical tools developed for submodular optimization are remarkably robust. Key takeaways include:

  1. Robustness of Greedy Variants: Distributed and stochastic versions of forward selection are viable for non-submodular tasks like sparse linear and logistic regression.
  2. Competitive Performance: In many distributed scenarios, these greedy variants outperform traditional $\ell_1$ regularization (Lasso) in terms of both log-likelihood and the ability to recover the true underlying feature support.
  3. Tighter Bounds: The submodularity ratio allows for data-dependent bounds that can sometimes be tighter than the classic $(1 - 1/e)$ guarantee, even for functions that are strictly submodular.

Conclusion and Future Work

This work provides a theoretical safety net for practitioners using scalable greedy methods on complex, non-submodular objectives. While the current analysis focuses on cardinality constraints, future research may extend these guarantees to more complex constraints, such as matroids or group-sparsity. Additionally, the framework suggests that other algorithms, such as distributed OMP, may be amenable to similar theoretical analysis.

Summary updated

BibTeX
@inproceedings{khanna2017scalable,
  author = {Rajiv Khanna and Ethan R. Elenberg and Alexandros G. Dimakis and Sahand N. Negahban and Joydeep Ghosh},
  title = {{Scalable Greedy Feature Selection via Weak Submodularity}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
}
Figure