- The paper introduces PINE, a method that prunes boosted tree ensembles by enforcing prediction equivalence strictly within a conformally calibrated in-distribution region.
- It leverages MILP with Chow-Liu tree scoring to efficiently restrict counterexample search, achieving up to 67.8% pruning while preserving near-100% fidelity.
- The approach offers flexible tradeoffs between compression and decision consistency, making it valuable for safety-critical and regulated deployment contexts.
Pruning Tree Ensembles with In-Distribution Prediction Equivalence: The PINE Framework
Introduction and Motivation
Ensemble methods based on decision trees, including Random Forests and GBDTs (such as XGBoost), remain dominant in tabular data modeling due to their competitive predictive accuracy and interpretability. However, large ensembles incur substantial inference and memory costs, and complicate post-hoc analysis, robustness verification, and regulatory audits. Post-training pruning of ensembles is thus a central topic, with methods typically trading off model size versus predictive fidelity.
Standard pruning strategies optimize accuracy-compression, accepting some loss of fidelity to the original model's predictions. Faithful (or functionally-identical) pruning algorithms enforce prediction equivalence across the entire input domain, ensuring no downstream decision shifts, but at the cost of lower achievable compression, especially in high-dimensional regimes and with rare or out-of-distribution (OOD) feature configurations.
"PINE: Pruning Boosted Tree Ensembles with Conformal In-Distribution Prediction Equivalence" (2605.28068) proposes a middle ground: guarantee prediction equivalence—i.e., decision consistency—strictly within a calibrated in-distribution region, thus supporting higher model compression without risk of changed system behavior on plausible future data. The main innovation is the conformal-calibrated, data-driven definition of this in-distribution region, together with strong theoretical and empirical analyses of the resulting pruning-fidelity tradeoff.
Methodology: PINE Framework
PINE (Pruning with In-Distribution Equivalence) follows the faithful pruning template, but restricts the enforced equivalence region X(α) to cover likely future samples, with miscoverage at most α. The approach comprises the following components:
This design enables a tunable tradeoff: smaller α0 yields a stricter guarantee and smaller feasible compression; larger α1 expands feasible compression while allowing increased but controlled miscoverage.
Theoretical Guarantees and Analysis
- Probabilistic Equivalence: For any α2, PINE certifies that for an i.i.d. future input, the pruned ensemble is identical to the original on α3, with probability at least α4 under exchangeability assumptions.
- Solving Complexity: The Chow-Liu-based MILP restricts counterexample search to at most α5 discrete input states, a strong exponential reduction compared to the full space α6, with α7 feature bins and α8 features.
- Compression Bound: Since α9, constraint relaxation can only improve achievable tree sparsity compared to whole-domain equivalence.
- Calibration Validity: The split conformal construction guarantees in-distribution region coverage holds distribution-free, even under arbitrary score functions.
Empirical Results
Comprehensive experiments on 12 public tabular datasets showcase the fidelity-compression advantages of PINE relative to both standard (accuracy-oriented) and functionally-identical pruning baselines.
- Test Accuracy and Fidelity: At identical or higher compression rates, PINE maintains fidelity near 100% on in-distribution data, unlike accuracy-oriented methods where fidelity may degrade sharply even as test accuracy appears stable (Figure 2).


Figure 2: Test accuracy versus pruning rate for PINE and baselines, with PINE preserving high accuracy and facilitating larger compression budgets.
Figure 4: In-distribution conditional fidelity X(α)5—PINE uniquely delivers decision consistency in the calibrated region.
- Compression and Fidelity Gains: Across all datasets, PINE increases mean pruning rate from 44.6% (FIPE) up to 67.8% (for X(α)6), while mean overall fidelity remains in the 99.1%–99.9% interval.
- Flexibility: PINE's X(α)7 parameter enables practitioners to directly set target fidelity or control admitted compression dynamically, with provided analytical and empirical recipes for practical selection.
Practical and Theoretical Implications
The PINE framework offers a new axis of control in model compression for deployed tabular classifiers: practitioners no longer face the dichotomy between maximizing efficiency and retaining global functional compliance. Instead, the explicit calibration of guarantee regions, with formal error rates, enables rational quantification and communication of model update risk.
PINE is especially suited for safety- and regulation-critical pipelines, where decision shifts within plausible region of operation are unacceptable, but OOD prediction equivalence is not. High-stakes deployments in finance, healthcare, or legal domains with model-centric audits or recourse computations benefit from both the compression and certified decision consistency PINE offers.
Theoretically, the approach unifies conformal inference with model pruning—a notable synthesis—bringing statistical coverage guarantees to the domain of model reduction and interpretability.
Limitations and Future Directions
While PINE delivers strong guarantees under exchangeability and i.i.d. assumptions, its calibration and OOD demarcation rely on the training-data distribution. Under significant covariate shift, miscoverage may be underestimated. Robust extensions involving distribution shift detection or online re-calibration, possibly via adaptive or conditional conformal methods, constitute an important research direction.
Moreover, the necessity of repeated MILP solves, while mitigated by the Chow-Liu constraints, still introduces computational challenges for extremely large ensembles or deep trees. Algorithmic advances in counterexample search, structure-exploiting relaxations, and incremental pruning may enhance scalability further.
Conclusion
PINE establishes a principled, practical approach for ensemble pruning that combines verifiable, statistical prediction equivalence guarantees with efficient model compression. By calibrating the guarantee region through conformal inference and embedding plausible score constraints within the MILP-driven pruning loop, PINE enables both high test accuracy and fidelity at improved compression levels relative to previous faithful pruning approaches. Its theoretical guarantees, strong empirical results, and flexible control over the fidelity-compression tradeoff position it as a robust tool for high-stakes model deployment and maintenance (2605.28068).