Skip to main content
QUICK REVIEW

[Paper Review] Dynamic Model Selection for Prediction Under a Budget

Nan Feng, Venkatesh Saligrama|arXiv (Cornell University)|Apr 25, 2017
Machine Learning and Data ClassificationComputer Science14 references4 citations
TL;DR

This paper proposes a bottom-up dynamic model selection method that learns a gating function to route inputs to low-cost or high-accuracy models based on input difficulty, minimizing overall cost without sacrificing accuracy. By first training a high-accuracy model and then learning low-complexity gating and prediction models to approximate it in easy regions, the approach achieves state-of-the-art cost-accuracy trade-offs on benchmark datasets.

ABSTRACT

We present a dynamic model selection approach for resource-constrained prediction. Given an input instance at test-time, a gating function identifies a prediction model for the input among a collection of models. Our objective is to minimize overall average cost without sacrificing accuracy. We learn gating and prediction models on fully labeled training data by means of a bottom-up strategy. Our novel bottom-up method is a recursive scheme whereby a high-accuracy complex model is first trained. Then a low-complexity gating and prediction model are subsequently learnt to adaptively approximate the high-accuracy model in regions where low-cost models are capable of making highly accurate predictions. We pose an empirical loss minimization problem with cost constraints to jointly train gating and prediction models. On a number of benchmark datasets our method outperforms state-of-the-art achieving higher accuracy for the same cost.

Motivation & Objective

  • To reduce test-time prediction costs in machine learning applications such as healthcare, surveillance, and mobile analytics, where feature extraction, sensor use, or remote computation incurs expense.
  • To maintain high prediction accuracy while minimizing total cost by dynamically selecting models based on input complexity.
  • To address the limitations of top-down approaches that start from low-cost models and incrementally add features, which may not preserve high accuracy.
  • To enable cost-effective deployment of high-accuracy legacy models by adaptively offloading difficult inputs to them via a learned gating function.
  • To jointly optimize gating and prediction models using a recursive, bottom-up strategy that improves generalization and cost-efficiency.

Proposed method

  • A bottom-up recursive training strategy: first train a high-accuracy, high-cost model (e.g., 500 XGBoost trees), then learn low-complexity models to approximate it in regions where accuracy is still sufficient.
  • Joint empirical risk minimization with cost constraints, using a margin-based objective that is separately convex in the gating and prediction functions.
  • Alternating minimization with probabilistic projections (I-projection/M-projection) using logistic loss, ensuring convergence.
  • Gating function shares tree structures with low-cost prediction models to reduce redundancy and cost, enabling shared feature computation.
  • The method supports recursive refinement of cost-accuracy trade-offs, though a single stage already outperforms state-of-the-art.
  • In local-remote systems, the method learns a lightweight model $f_1$ and a gating function $g$ to minimize remote model calls while maintaining target accuracy.

Experimental results

Research questions

  • RQ1Can a bottom-up approach that learns to approximate a high-accuracy model with low-cost models achieve better cost-accuracy trade-offs than top-down or standalone low-cost models?
  • RQ2How can gating and prediction models be jointly optimized under cost constraints to minimize overall prediction cost while preserving accuracy?
  • RQ3Does a recursive, bottom-up training strategy that starts from a high-accuracy model yield better generalization and cost efficiency than greedy or pruning-based alternatives?
  • RQ4In local-remote systems, can a lightweight model with a learned gating function reduce remote computation costs without significant accuracy loss?
  • RQ5How does the performance of the proposed method compare to state-of-the-art methods like GreedyMiser and BudgetPrune across diverse datasets and cost budgets?

Key findings

  • On the MiniBooNE and Forest Covertype datasets, DynaMod-Gbrt achieved significantly lower KL-divergence (higher accuracy) than BudgetPrune and GreedyMiser at feature costs between 40–80.
  • For the Scene 15 dataset, DynaMod-Lstsq achieved 43% of test examples sent to the remote system, outperforming confidence-based (49%) and greedy (52%) methods.
  • On CIFAR-10, DynaMod-Lstsq reduced remote communication to 43% of examples, compared to 49% for confidence-based and 52% for greedy methods, while maintaining high accuracy.
  • In the local-remote setup, DynaMod-Lstsq reduced remote communication to 15% of examples on MiniBooNE while maintaining 94% accuracy, outperforming confidence-based (18%) and greedy (18%) methods.
  • The method achieved superior cost-accuracy performance compared to state-of-the-art, with DynaMod-Gbrt outperforming both top-down (GreedyMiser) and bottom-up (BudgetPrune) baselines across multiple benchmarks.
  • Even a single-stage application of the method outperformed recursive refinements in prior work, demonstrating the effectiveness of the bottom-up strategy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.