Explainable and Local Correction of Classification Models Using Decision Trees

Hirofumi Suzuki, Hiroaki Iwashita, Takuya Takagi, Keisuke Goto, Yuta Fujishige, Satoshi Hara

Abstract

Machine learning models deployed in dynamic environments often suffer from performance degradation due to concept drift. Traditional retraining methods may be impractical due to data privacy regulations or the risk of system instability from global updates. This paper presents the Local Correction Tree (LCT), a model-agnostic framework that applies additive, localized corrections to an existing model's output scores. By utilizing a decision tree for these corrections, LCT provides interpretable "release notes" for model updates while minimizing changes to the original system's behavior.

Introduction: The Challenge of Model Maintenance

In real-world applications, data distributions shift over time, leading to a loss of model accuracy. Addressing this typically involves retraining on new data. However, two significant barriers exist:

  1. Privacy and Security: Regulations such as GDPR often restrict the long-term storage of training data, making it difficult to combine old and new datasets for retraining.
  2. System Consistency: A complete model retrain might drastically change predictions across the entire input space. If a model is part of a complex software ecosystem, these "jittery" updates can break downstream processes or erode user trust.

The authors argue that model updates should be like software patches: explicit (you know exactly what changed) and local (you only fix what is broken).

Methodology: Local Correction Trees (LCT)

The core idea of LCT is to maintain the original model ($M$) and augment it with a decision tree ($T$). The final prediction score is the sum of the original model's score and a correction value derived from the tree: $$\text{Corrected Score} = \text{Old Score} + \text{LCT Correction}$$

Overview of the LCT process: (a) initial scores, (b) the correction tree and its corresponding step function, and (c) the final corrected scores.

Technical Innovations

  • Model Agnostic: LCT operates solely on output scores, making it compatible with any base classifier (e.g., Neural Networks, SVMs).
  • Sparse Regularization: An L2-norm penalty on correction amounts encourages the tree to apply zero correction in most leaves, ensuring the model is only modified where necessary.
  • Efficient Optimization: The Regularized Dual Averaging (RDA) method is used to solve the optimization problem at each node during construction.
  • Custom Pruning: Strategies are employed to remove redundant corrections that do not result in class flips, maintaining tree simplicity.

Evaluation and Results

The LCT method was tested across four datasets: Adult (census data), Bank Marketing (client demographics), Cardiotocography (fetal health), and a 7-point skin lesion dataset.

Key Findings

  • Patching Efficiency: In the Bank dataset, LCT demonstrated a superior ratio of correct changes (fixing errors) to incorrect changes (introducing new errors) compared to standard ensemble methods.
  • Minimal Disruption: On the skin lesion dataset, LCT improved accuracy while altering only ~15% of total predictions, significantly less than the >25% change seen in competitive methods.
  • Interpretability: The decision tree structure allows for the extraction of clear rules. For instance, in the CTG dataset, LCT identified a specific trend in "beats per minute" that the original model had overlooked.

Discussion: Insights and Limitations

LCT treats locality as a primary feature, avoiding "catastrophic forgetting" by leaving well-performing regions of the model untouched. It also serves as an effective mechanism for incorporating new features (side information) that were unavailable during initial training.

However, some limitations remain. The greedy splitting process combined with RDA optimization can be computationally intensive for large feature sets. Additionally, the current framework is limited to classification; extending local patches to regression tasks is a subject for future work. Finally, the balance between accuracy and the extent of model modification is sensitive to the regularization parameter ($\lambda$), requiring careful tuning.

Conclusion

The Local Correction Tree offers a pragmatic approach to model maintenance in the face of concept drift. By providing transparent, localized updates, it bridges the gap between high-performance machine learning and the need for stable, interpretable software systems.

Summary updated

BibTeX
@inproceedings{suzuki2022explainable,
  author = {Hirofumi Suzuki and Hiroaki Iwashita and Takuya Takagi and Keisuke Goto and Yuta Fujishige and Satoshi Hara},
  title = {{Explainable and Local Correction of Classification Models Using Decision Trees}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20816},
}
Figure