English

Soft Decision Tree classifier: explainable and extendable PyTorch implementation

Machine Learning 2025-12-16 v1 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

We implemented a Soft Decision Tree (SDT) and a Short-term Memory Soft Decision Tree (SM-SDT) using PyTorch. The methods were extensively tested on simulated and clinical datasets. The SDT was visualized to demonstrate the potential for its explainability. SDT, SM-SDT, and XGBoost demonstrated similar area under the curve (AUC) values. These methods were better than Random Forest, Logistic Regression, and Decision Tree. The results on clinical datasets suggest that, aside from a decision tree, all tested classification methods yield comparable results. The code and datasets are available online on GitHub: https://github.com/KI-Research-Institute/Soft-Decision-Tree

Keywords

Cite

@article{arxiv.2512.11833,
  title  = {Soft Decision Tree classifier: explainable and extendable PyTorch implementation},
  author = {Reuben R Shamir},
  journal= {arXiv preprint arXiv:2512.11833},
  year   = {2025}
}

Comments

Keywords: Soft Decision Tree, Short-term Memory Soft Decision Tree, Classification, Explainability

R2 v1 2026-07-01T08:22:38.088Z