Efficient Feature Group Sequencing for Anytime Linear Prediction

Hanzhang Hu, Alexander Grubb, J. Andrew Bagnell, Martial Hebert

Introduction

In real-world machine learning deployments, such as autonomous driving or real-time web search, features are not "free." They carry varying computational costs—from cheap metadata to expensive deep neural network outputs. Furthermore, these systems often operate under strict time constraints where an "anytime" predictor must provide a valid result even if interrupted mid-calculation. This paper addresses the challenge of sequencing: determining the optimal order to compute feature groups to maximize prediction accuracy at any given budget level.

Methodology

The authors extend two classic greedy algorithms to handle feature groups and associated costs:

  1. CS-G-FR (Cost-Sensitive Group Forward Regression): This method picks the feature group providing the maximum increase in explained variance per unit cost. While accurate, it is computationally intensive as it requires re-fitting the linear model for every candidate group.
  2. CS-G-OMP (Cost-Sensitive Group Orthogonal Matching Pursuit): A significantly faster alternative that selects groups based on the "whitened" gradient of the risk function. The authors emphasize that "group whitening" is essential to avoid overestimating the value of groups containing redundant features.

To prevent the system from stalling on an expensive feature early in the sequence, the authors introduce the Doubling Algorithm. This strategy ensures the cost of the next selected group does not exceed the total cost spent so far, guaranteeing a smoother performance curve.

The Doubling Algorithm ensures the cost of the next selected group does not exceed the total cost spent so far, maintaining anytime performance.

Theoretical Insights

The paper provides the first theoretical guarantees for performance at every budget level. A key finding is the 4B Bound: to approximate the optimal performance achievable at a budget $B$, an anytime algorithm might require a budget of up to $4B$. The authors prove that achieving a constant-factor approximation with less than $4B$ is mathematically impossible in the general case. Additionally, they show that CS-G-OMP is "FR-Strong," meaning it shares the same near-optimal theoretical strength as the more expensive Forward Regression.

Experimental Results

The algorithms were evaluated on large-scale datasets, including the Yahoo! Learning to Rank (LTR) and a proprietary Agricultural dataset.

  • Efficiency: CS-G-OMP demonstrated massive training speedups—8x faster on the Agricultural dataset and 20x faster on Yahoo! LTR compared to CS-G-FR.
  • Performance: Both greedy methods significantly outperformed the Group Lasso baseline, which often failed to select cost-efficient features early enough in the sequence.
Training time comparison on the Agricultural dataset: CS-G-OMP (green) maintains near-linear growth and is significantly faster than CS-G-FR (red).

Conclusion and Future Work

This research provides a robust framework for anytime linear prediction. While currently focused on linear models and static sequencing, the work sets the stage for future exploration into non-linear models and dynamic, instance-specific feature sequencing to further optimize real-time performance.

Summary updated

BibTeX
@inproceedings{hu2016efficient,
  author = {Hanzhang Hu and Alexander Grubb and J. Andrew Bagnell and Martial Hebert},
  title = {{Efficient Feature Group Sequencing for Anytime Linear Prediction}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2016},
}
Figure