Skip to main content
QUICK REVIEW

[Paper Review] Pruning Random Forests for Prediction on a Budget

Nan Feng, Joseph Wang|arXiv (Cornell University)|Jun 16, 2016
Advanced Image and Video Retrieval TechniquesComputer Science16 references17 citations
TL;DR

This paper proposes a bottom-up pruning method for random forests that optimizes the trade-off between prediction accuracy and feature acquisition cost under budget constraints. By formulating pruning as a 0-1 integer program with feature-reuse constraints and proving total unimodularity, the method enables polynomial-time optimal pruning via LP relaxation and a primal-dual algorithm, outperforming state-of-the-art methods on benchmark datasets with minimal accuracy loss and significant cost reduction.

ABSTRACT

We propose to prune a random forest (RF) for resource-constrained prediction. We first construct a RF and then prune it to optimize expected feature cost & accuracy. We pose pruning RFs as a novel 0-1 integer program with linear constraints that encourages feature re-use. We establish total unimodularity of the constraint set to prove that the corresponding LP relaxation solves the original integer program. We then exploit connections to combinatorial optimization and develop an efficient primal-dual algorithm, scalable to large datasets. In contrast to our bottom-up approach, which benefits from good RF initialization, conventional methods are top-down acquiring features based on their utility value and is generally intractable, requiring heuristics. Empirically, our pruning algorithm outperforms existing state-of-the-art resource-constrained algorithms.

Motivation & Objective

  • To address resource-constrained prediction in large-scale classification systems where feature acquisition incurs cost or delay.
  • To reduce the average feature acquisition cost in random forests without degrading prediction accuracy.
  • To develop a globally optimal pruning strategy that leverages feature reuse and joint tree pruning across the ensemble.
  • To overcome the intractability of conventional top-down feature selection methods by using a bottom-up, initialization-based approach.
  • To enable scalable, efficient pruning on large datasets through duality and network-flow theory.

Proposed method

  • Formulate random forest pruning as a 0-1 integer linear program with constraints that encourage feature reuse across trees.
  • Prove total unimodularity of the constraint matrix, ensuring the LP relaxation yields the optimal integer solution.
  • Develop a primal-dual algorithm based on network-flow theory to scale the solution to large datasets.
  • Use a pre-trained random forest as initialization, then prune trees to minimize empirical error and average feature cost.
  • Model feature acquisition cost such that repeated use of a feature on a single example incurs no additional cost after the first acquisition.
  • Apply the method to both uniform and non-uniform feature cost settings, demonstrating robustness to cost heterogeneity.

Experimental results

Research questions

  • RQ1Can a bottom-up pruning approach achieve better cost-accuracy trade-offs than top-down feature selection in resource-constrained prediction?
  • RQ2Does enforcing feature reuse in pruning lead to significant cost reduction with minimal accuracy degradation?
  • RQ3Can the pruning problem be solved optimally in polynomial time via LP relaxation due to total unimodularity?
  • RQ4How does the method perform under non-uniform feature costs compared to existing algorithms?
  • RQ5Does the choice of splitting criterion (e.g., entropy vs. Pairs) affect the pruning outcome and cost-accuracy trade-off?

Key findings

  • On the MiniBooNE dataset, pruning reduced average feature cost from 7.3 to 0.2, while maintaining test error at 6.6%.
  • After pruning, 68.3% of test examples no longer used a given feature, significantly reducing acquisition cost with negligible accuracy loss.
  • The proposed BudgetPrune method outperformed CCP and GreedyPrune, especially under non-uniform feature costs, where CCP performance dropped sharply.
  • Pruning based on Pairs splitting criteria achieved higher accuracy in low-cost regimes, while entropy-based forests offered better performance at higher costs.
  • The primal-dual algorithm scaled efficiently to large datasets, enabling optimal pruning via LP relaxation due to total unimodularity.
  • The method demonstrated robustness to varying random feature subset sizes (k=20 vs. k=120), with BudgetPrune maintaining strong performance where GreedyPrune failed on larger k.

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.