Introduction
In modern machine learning, deploying models often requires navigating a strict trade-off between accuracy and resource consumption. A massive neural network running in the cloud—a High Prediction-Cost (HPC) model—is highly accurate but expensive in terms of latency, communication, and feature acquisition. Conversely, a small model running on an edge device—a Low Prediction-Cost (LPC) model—is fast and cheap but less accurate.
This paper tackles the challenge of test-time resource-constrained prediction. Most existing methods approach this "top-down," starting with nothing and greedily adding features until they hit a budget, which often leads to complex combinatorial problems. To address this, the authors introduce a "bottom-up" adaptive classification framework that slashes test-time costs (like battery use or data latency) by up to 63% without sacrificing accuracy. By jointly training a cheap "gating" model and a low-cost predictor to mimic a high-performance "legacy" model, the system learns to handle easy cases locally and only "calls home" to the cloud for the truly difficult ones.
The Adaptive Classification Framework
Instead of building a budgeted model from scratch, the authors propose starting with a pre-trained HPC model ($f_0$) and learning two new, highly efficient components:
- A Low-Cost Predictor ($f_1$): A lightweight model, such as a linear classifier or a small tree ensemble.
- A Gating Function ($g$): A "traffic controller" that evaluates an incoming data point and decides whether the cheap $f_1$ can handle it, or if it must be routed to the expensive $f_0$.
Key Technical Innovations
- Joint Optimization: Unlike previous methods that train the gate and the predictor separately, this framework optimizes them jointly. This ensures they share features, further reducing the computational cost of evaluating the data.
- Empirical Loss Minimization: The problem is posed as a discriminative objective that minimizes "excess loss"—the drop in accuracy from using the cheap model instead of the expensive one—subject to a strict budget constraint.
- Targeted Algorithms: The authors develop specific algorithms for different model types:
- ADAPT-LIN: For linear classifiers, utilizing the $L_{2,1}$ norm to enforce group sparsity.
- ADAPT-GBRT: For non-parametric models, using Gradient Boosted Regression Trees with a modified impurity function to account for feature acquisition costs.
Key Insights
- The "Easy" vs. "Hard" Partition: The core insight driving this framework is that for many datasets, a large portion of the input space is "easy" and can be classified perfectly by a simple linear model. The expensive HPC is only truly necessary for a small "ambiguous" region.
- The Bottom-Up Advantage: By starting with a high-performance legacy system, the method avoids the combinatorial search issues that plague top-down feature selection. It essentially "distills" the knowledge of the massive model into the gating logic.
- Feature Re-use: Because the gate and the low-cost predictor are trained together, the system learns to make the gating decision using the exact same features the cheap predictor needs. This effectively makes the gating process "free" from a feature-acquisition standpoint.
Experimental Results
The researchers evaluated their approach on two synthetic datasets and five real-world benchmarks, including hand-written letter recognition (Letters), particle identification (MiniBooNE), forest type prediction (Forest Covertype), image classification (CIFAR-10), and a massive ranking dataset (Yahoo! Learning to Rank) where features have actual CPU-time costs assigned by engineers.
The proposed ADAPT-GBRT algorithm consistently outperformed state-of-the-art methods like GREEDYMISER and BUDGETPRUNE.
Cost Reduction: Without losing more than 1% accuracy compared to the full HPC model, the method reduced average feature costs by:
- 63% on MiniBooNE
- 58% on Yahoo! Rank
- 31% on Letters
Furthermore, on the Yahoo! dataset, while other methods saw performance "spikes" or plateaus, ADAPT-GBRT maintained high precision even as the budget was significantly tightened, demonstrating remarkable performance stability.
Limitations and Future Work
While highly effective, the paper primarily focuses on the cost of acquiring features. Although computation and communication costs are mentioned as motivations, the experiments are heavily centered on feature-budgeted scenarios. Additionally, the paper focuses on a single-stage setup (LPC vs. HPC). While the authors note the system can be applied recursively to create multiple layers of increasingly expensive models, this is left for future exploration. Finally, the joint optimization requires an alternating minimization scheme, which may require careful tuning of the tradeoff parameter and the fraction of data sent to the HPC.
Summary updated