- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
This paper introduces a new efficient framework of optimal counterfactual explanation for tree ensemble models. The proposed method first extracts a set of regions from a learned tree ensemble and then constructs a KD-tree to store them. Given a query instance, the proposed algorithm can efficiently obtain an optimal counterfactual by searching the KD-tree using a pruning technique based on a cost lower bound. Through extensive experiments on real datasets, the authors demonstrated that the proposed method achieved superior or comparable scalability to the existing exact or heuristic methods, while maintaining solution optimality.
Strengths and weaknesses
Strengths
- This paper is well-written, well-motivated, and easy to follow.
- The design of the proposed method looks reasonable. I think the amortized approach is practical and effective because it is natural to anticipate situations where we need to handle multiple queries in real-world applications.
- The authors conducted extensive experiments and demonstrated that the proposed approach was efficient while ensuring solution optimality compared with existing methods.
Weaknesses
- My main concern is the technical novelty, as the proposed method seems to largely depend on BA-Trees, i.e., the existing technique.
- The paper shows the relationship between CE for tree ensembles and the generalized Voronoi partition in Figure 1 and in Proposition 2.2, but it looks unclear how this property is exploited in the proposed algorithm and how it contributes to the efficiency of the method.
Questions
- Algorithm 1 first enumerates regions by BA-Trees and then constructs a KD-tree that stores enumerated regions. What is the time complexity of constructing such a KD-tree? Also, how is the space complexity of the KD-tree compared to simply storing the enumerated regions?
Limitations
yes
Paper formatting concerns
I could not find any formatting issues in this paper.
Final justification
Thank you for addressing my questions. As noted in my original review, my primary concern was the originality of the work, but this concern has been largely alleviated by the budgeted variant of CF-Maps presented by the authors.
Thank you for your comments and overall positive evaluation of our paper. We address each main question and concern raised in your review below. We also introduce a custom budgeted variant of the hyperrectangle-extraction algorithm that enables our method to scale effectively to large tree ensembles while retaining optimality guarantees, thereby broadening the scope of our contribution.
BA-Trees is indeed a key component of our approach. Yet it is originally designed to extract a faithful and minimal hyperrectangular representation of a tree ensemble; it does not address counterfactual generation, nearest-region search, or efficient online queries.
CF-Maps required three substantial methodological leaps: (i) adopting a preprocess-and-query perspective for counterfactual search; (ii) observing that heuristic BA-Trees is indeed a suitable tool to extract target regions; and (iii) organizing these regions in volumetric KD-trees to enable nearest-hyperrectangle search. Our query algorithm uses branch-and-bound to prune entire subtrees while preserving global optimality. Although the final design appears intuitive and natural in hindsight (a key quality of a useful machine-learning contribution), arriving at this design was nontrivial and required several conceptual and algorithmic insights. Overall, CF-Maps is the first method to provide amortized, globally optimal counterfactual explanations for tree ensembles with subsecond query latency.
Note: Budgeted variant of CF-Maps. Motivated by the reviewers' rebuttal questions, we tested an additional budgeted variant of the top-down BA-Trees procedure that substantially reduces preprocessing while retaining theoretical guarantees. Starting from the full feature space, it iteratively splits regions that cannot yet be certified as pure, using a priority score based on their size and distance to already certified regions, and stops once a prescribed budget of N pure hyperrectangles has been reached. The resulting partition contains certified pure regions and unresolved regions. We build one KD-tree map per class from the certified regions and an additional map for all unresolved regions. For a query and target class, the nearest certified target region yields a valid counterfactual and upper bound U, while the nearest unresolved region gives distance dunres. Since any closer undiscovered target region must lie in an unresolved region, L=min(U,dunres) is a valid distance lower bound. Thus, L=U certifies global optimality; otherwise, U−L is a certified optimality gap. Our responses to Reviewers Dc4g and iZTp report additional comparisons of CF-Maps, its budgeted variant CF-Maps(B), LIRE, and the newly added EECE baseline on deeper and larger ensembles. CF-Maps(B) substantially reduces preprocessing and certifies global optimality in all evaluated configurations; more generally, when optimality cannot be certified, it provides a theoretically valid optimality gap. To the best of our knowledge, no previous exact counterfactual method has demonstrated scalability to ensembles of this size and depth.
The Voronoi representation provides an intuitive view of the counterfactual search process, tightly connecting our methodology to its underlying geometric view, while offering a visual map of the different counterfactual regions.
Let n=∣H∣ be the number of enumerated hyperrectangles and m the number of features. The time complexity of constructing our KD-Tree is O(mnlog(n)). Storing the regions alone requires O(mn) space, while the KD-tree additionally stores an m-dimensional bounding box and a constant number of pointers per node. Therefore, the total space complexity remains O(mn), or O(n) for fixed m, with only a constant-factor overhead compared with storing the regions alone.
These analyses will be provided in the revised paper.
Once again, thank you for your feedback. We hope our responses strengthen your assessment of this paper's merits. If these additions address your concerns, please consider updating your evaluation accordingly. We remain available throughout the discussion period should any further questions arise.