Online Learning for Group Lasso

Haiqin Yang, Zenglin Xu, Irwin King, Michael R. Lyu

This 2010 ICML paper presents a significant leap in making structured feature selection practical for the era of "Big Data." While the Group Lasso is a powerful tool for identifying important clusters of features, it was historically hampered by the need for "batch" processing—requiring all data to be loaded into memory at once.

Here is a summary of how the authors moved Group Lasso from the lab to the stream.

TL;DR

The authors introduce the first online learning algorithm for the Group Lasso (DA-GL), enabling feature selection on massive, streaming datasets. By leveraging a dual averaging framework and deriving a closed-form solution for the update step, they achieve $O(d)$ time and memory complexity, allowing the model to scale to millions of dimensions and instances.

What Problem Does This Paper Address?

In many machine learning tasks, features have natural groupings—for example, a set of dummy variables representing a single categorical feature or genes belonging to the same biological pathway. The Group Lasso is designed to select or discard these groups as a whole.

However, traditional Group Lasso algorithms are "batch-mode": they require the entire dataset to be available upfront. This creates three major hurdles:

  1. Scalability: They struggle with datasets containing millions of samples or features.
  2. Streaming Data: They cannot handle data that arrives sequentially in real-time.
  3. Rigidity: The original Group Lasso only provides "all-or-nothing" sparsity for groups, often failing to identify specific key features within an important group.

Methods

The authors propose an algorithm called DA-GL (Dual Averaging for Group Lasso).

  • The Framework: Instead of standard stochastic gradient descent (which can be noisy), they use Dual Averaging. This method maintains a running average of all previous subgradients, leading to more stable updates and better preservation of sparsity.
  • The "Secret Sauce": The core contribution is the derivation of a closed-form solution for the proximal operator of the group lasso penalty. This means that at every iteration, the model update isn't a complex optimization problem; it’s a simple mathematical formula that can be computed in $O(d)$ time (where $d$ is the number of dimensions).
  • Extensions: They extend this logic to Sparse Group Lasso (which seeks sparsity at both the group and individual feature levels) and an Enhanced Sparse Group Lasso that allows for even finer control over feature selection.

Datasets

The authors validated their approach using:

  • Synthetic Data: A 100-dimensional model with 10 blocks, where they varied the training size from 25 to 100,000 samples to test scalability and accuracy.
  • MEMset Donor Dataset: A real-world bioinformatics dataset for splice site detection (identifying boundaries in DNA). This involved over 180,000 instances and a 2,604-dimensional feature space consisting of DNA sequence interactions.

Key Insights and Ideas

  • Efficiency is King: By achieving $O(d)$ complexity, the algorithm's memory footprint is minimal—it only needs to store the current weight vector and the average subgradient.
  • Analytic Updates: The paper proves that even complex, nested penalties (like those in Sparse Group Lasso) can be solved analytically. This eliminates the need for "inner-loop" optimizations that usually slow down structured sparsity models.
  • Theoretical Guarantees: The authors prove a "regret bound" of $O(1/\sqrt{T})$. In plain English, this means that as you see more data, the online algorithm performs nearly as well as an "all-knowing" batch algorithm that had access to all the data from the start.

Key Results

  • Massive Speedup: In head-to-head tests against standard batch R packages, the online DA-GL was orders of magnitude faster. As the number of training samples grew, the batch methods' time costs exploded, while the online method's cost grew linearly and remained negligible.
Training time comparison between batch and online methods.
  • Superior Sparsity: On synthetic data, the DA-SGL (Sparse Group Lasso) variant consistently outperformed standard Lasso and Group Lasso in accuracy and F1-score, especially when training data was scarce.
Accuracy and F1-score comparison on synthetic data.
  • Real-World Performance: On the DNA splice site task, the online algorithms achieved competitive (and often superior) correlation coefficients compared to state-of-the-art batch models, while being significantly more computationally efficient.

Limitations and Future Work

  • Lazy Updates: While $O(d)$ is efficient, the authors note that for extremely high-dimensional but sparse data, a "lazy update" scheme (only updating weights for features seen in the current sample) would be even faster.
  • Convergence Rates: The current regret bound is $O(1/\sqrt{T})$. The authors suggest that by assuming "strong convexity," they might be able to achieve an even faster $O(\log T / T)$ convergence rate.
  • Complex Structures: While they mention applicability to "Graph Lasso" and overlapping groups, the paper primarily focuses on non-overlapping groups. Further work is needed to optimize the closed-form solutions for more complex, overlapping structures.

Summary updated

BibTeX
@inproceedings{yang2010online,
  author = {Haiqin Yang and Zenglin Xu and Irwin King and Michael R. Lyu},
  title = {{Online Learning for Group Lasso}},
  booktitle = {International Conference on Machine Learning},
  year = {2010},
}
Figure