TL;DR
This paper introduces CEGB, a novel gradient boosting algorithm that learns decision trees optimized for both accuracy and prediction cost. By intelligently growing deep trees that utilize cheap features for most instances, CEGB achieves state-of-the-art performance while significantly reducing evaluation costs compared to existing methods.
What Problem Does This Paper Address?
In many real-world applications, machine learning models need to be not only accurate but also efficient to use. The cost of using a model can be broken down into two main components: the cost of acquiring features and the cost of evaluating the model itself. Traditional methods often focus on accuracy, leading to models that are computationally expensive. While some approaches try to incorporate prediction costs by adding penalties to the objective function, they often struggle to balance accuracy with efficiency, especially when dealing with deep, complex trees. This paper tackles the challenge of building accurate predictors that are also "cheap to evaluate" by developing a budget-aware strategy for gradient boosting.
Methods
The core of this paper is an adaptation of the gradient boosting framework to explicitly minimize a combined objective of prediction loss and cost. The authors propose a budget-aware strategy based on deep boosted regression trees.
Key methodological aspects include:
- Cost-Sensitive Objective: The standard empirical risk minimization objective is augmented with a penalty term that accounts for both feature acquisition costs ($\Psi_f$) and tree evaluation costs ($\Psi_{ev}$).
- Deep Trees, Cheap Evaluation: Unlike previous methods that might prune expensive branches, CEGB is designed to grow deep trees that, on average, are cheap to compute. This is achieved by a best-first growth strategy for tree construction. This strategy prioritizes splits that offer the best trade-off between reducing the cost-sensitive objective, allowing for more complex subtrees to be built for the minority of "hard-to-classify" instances.
- Feature Cost Modeling: The feature acquisition cost is modeled per feature and per instance, allowing for varying costs. Additionally, it distinguishes between features computed for all instances at once (e.g., global filters) and those computed per instance.
- Tree Evaluation Cost Modeling: The cost of evaluating a tree is modeled as the number of split nodes traversed multiplied by a constant cost per split.
- Second-Order Taylor Expansion: To optimize the objective function with respect to the tree structure, a second-order Taylor expansion of the loss is used, similar to existing gradient boosting techniques.
Datasets
The paper evaluates CEGB on several datasets:
- Yahoo! Learning to Rank (LTR) dataset: A large dataset for ranking tasks, with provided feature costs. This dataset is used to study the influence of feature costs and tradeoff parameters.
- MiniBooNE dataset: A benchmark for classification tasks.
- Forest Covertype dataset: Another classification benchmark.
- HEPMASS-1000 and HEPMASS-not1000 datasets: Large datasets for classification tasks.
- Multi-scale classification example: A custom dataset derived from video frames for fly ethology, used to demonstrate optimization when evaluation cost dominates.
For MiniBooNE, Forest Covertype, and HEPMASS datasets, feature costs were not available and were assumed to be uniform.
Key Insights and Ideas
- Deep Trees Can Be Cheap: The most significant insight is that deep decision trees, which are often considered expensive, can be made computationally cheap on average by intelligently structuring them. CEGB achieves this by allowing complex subtrees to develop for rare cases while using very cheap features for the majority of instances.
- Best-First Growth is Crucial: The best-first tree growing strategy is key to CEGB's success. It allows the algorithm to dynamically compare splits across different leaves and features, prioritizing those that offer the best cost-accuracy trade-off, rather than following a rigid breadth-first or depth-first approach.
- Cost-Awareness Pays Off: Explicitly incorporating prediction costs into the learning objective, rather than just using it as a post-hoc pruning step, leads to significantly better performance in terms of accuracy-cost trade-offs.
- Flexibility in Cost Modeling: The ability to model different types of feature costs (per-instance vs. global) and varying costs per feature makes the approach adaptable to diverse real-world scenarios.
Key Results
- State-of-the-Art Performance: CEGB consistently outperforms existing state-of-the-art algorithms like GREEDYMISER and BUDGETPRUNE across various datasets and settings, achieving better accuracy at lower prediction costs.
- Significant Cost Reduction: On the Yahoo! LTR dataset, CEGB achieved comparable accuracy to other methods but with a significantly lower expected prediction cost per input. For instance, Figure 3a shows that with a large tradeoff parameter ($\lambda$), CEGB can reach similar accuracy at a much cheaper cost.
- Improved Accuracy at Lower Cost: Figure 2 demonstrates that CEGB learns predictors with better accuracy at a much lower cost compared to GREEDYMISER and BUDGETPRUNE.
- Adaptability to Cost Dominance: The paper shows that CEGB can effectively optimize for scenarios where evaluation cost dominates feature acquisition cost, as demonstrated in the multi-scale classification example.
- Easy Implementation: The algorithm is described as easy to implement and its training time is comparable to standard gradient boosting.
Limitations and Future Work
- NP-Hardness: The paper acknowledges that learning optimal decision trees is NP-hard, and CEGB uses a greedy approach to approximate the solution.
- Parameter Tuning: While the learning time is comparable, the introduction of cost-related parameters ($\lambda$, $\beta_m$, $\alpha$) might require careful tuning.
- Future Work: The paper suggests that the algorithm can be easily implemented using existing gradient boosting libraries (like LightGBM, for which source code is provided). Further applications and exploration of its capabilities in different domains are implied. The multi-scale classification example hints at future work in optimizing tree structure for specific evaluation cost scenarios.
Summary updated