In the world of responsible gambling, machine learning is a double-edged sword. High-performance models like Random Forests (RF) and Artificial Neural Networks (ANN) are excellent at identifying "self-excluders"—players likely to experience harm—based on behavioral markers like bet frequency and session length.
However, these models are essentially "black boxes." If a system flags a player for intervention, a human counselor or a regulator needs to know why. A 90% accurate model that offers no explanation is often less valuable to the industry than a 75% accurate model that provides clear, actionable logic. This paper explores the use of the TREPAN algorithm to extract human-readable decision trees from black-box machine learning models, demonstrating a superior balance of predictive power and interpretability to meet a critical industry need for transparent AI.
Bridging the Interpretability Gap
The core challenge is bridging the "interpretability gap" without sacrificing too much predictive accuracy. To achieve this, the authors employ a knowledge extraction approach using the TREPAN algorithm. Unlike standard decision trees that learn directly from raw data, TREPAN treats a trained black-box model as an "oracle." It queries the model to understand its decision boundaries and then constructs a representative decision tree.
Key technical aspects of the methodology include:
- Model Architectures: The researchers trained a Random Forest (200 trees) and a Multi-Layer Perceptron neural network (38 hidden nodes) to serve as the base oracles.
- M-of-N Rules: Instead of simple binary splits (e.g., "Is Bet > $10?"), TREPAN can generate complex logical rules. An "$M$ of $N$" rule triggers if at least $M$ out of $N$ conditions are met (e.g., "3 of these 5 behavioral markers are present").
- Fidelity vs. Accuracy: The study measures both Accuracy (how well the tree predicts the real-world outcome) and Fidelity (how closely the tree mimics the original black-box model).
Dataset and Behavioral Markers
The study utilizes a dataset from International Game Technology PLC (IGT), containing behavioral data from the regulated internet gambling jurisdiction of Ontario, Canada (December 2014 – June 2016).
- Composition: The dataset includes 13,615 control group players and 449 self-excluders.
- Features: Models were trained on 50 behavioral markers, including raw activity (bet amounts, wins) and engineered features (increasing losses, variation in loss size, "loss chasing" behavior).
- Preprocessing: The authors used SMOTE (Synthetic Minority Over-sampling Technique) to address the severe class imbalance between typical players and self-excluders.
Key Results and Insights
The baseline performance of the original models highlighted the exact trade-off the industry faces. The Random Forest was the most accurate original model at 90%, followed by the Neural Network at 84%, and a standard Decision Tree trailing significantly at 76%.
By applying TREPAN, the researchers uncovered several critical insights:
- The "Oracle" Advantage: TREPAN-extracted trees actually performed better than standard decision trees trained directly on the data. They achieved accuracies between 80% and 85%. This suggests that the extraction process benefits from the "distilled" knowledge already captured by the complex RF or ANN models.
- Trade-off Success: The best-extracted tree was only 5 percentage points less accurate than the best black-box model. The authors cite survey data showing that 70% of industry stakeholders would willingly sacrifice 15 percentage points of accuracy for a model that is fully interpretable and accountable. The TREPAN results fall well within this acceptable loss threshold.
- Neural Network Synergy: TREPAN trees extracted from Neural Networks showed higher fidelity (up to 87%) than those from Random Forests. This suggests that the logical structure of $M$-of-$N$ rules (summation and thresholding) is a natural fit for representing how neural nodes operate.
- The Interpretability Paradox: While $M$-of-$N$ rules increase accuracy and fidelity, they can become "combinatorially explosive." A tree with a few complex nodes might be harder for a human to parse than a slightly larger tree with simple binary rules. However, increasing the maximum number of internal nodes from 5 to 20 had a negligible effect on accuracy, suggesting that relatively small, readable trees are sufficient for this domain.
Limitations and Future Work
The authors acknowledge that "interpretability" remains a subjective metric. While a decision tree is technically readable, a tree with complex $M$-of-$N$ rules might still overwhelm a user in a high-pressure intervention scenario.
Future directions include developing more rigorous ways to measure "human interpretability" beyond just tree size, extending the TREPAN algorithm to optimize tree structures specifically for human cognitive limits (e.g., working memory), and conducting field studies where domain experts—such as counselors and regulators—evaluate the extracted rules in real-world intervention scenarios.
Summary updated