TL;DR
Deep neural networks (DNNs) on tabular data usually act as uninterpretable black boxes. XNNTab solves this by inserting a Sparse Autoencoder (SAE)—a tool borrowed from LLM mechanistic interpretability—into an MLP to untangle complex internal representations into sparse, human-readable "monosemantic" features described by simple if-then rules. The final prediction collapses into an intrinsically interpretable linear model that matches the performance of standard neural networks and tree ensembles.
What Problem Does This Paper Address?
In high-stakes tabular domains like healthcare and finance, Gradient Boosted Decision Trees (GBDTs) and specialized DNNs offer strong predictive power, but their decision-making processes remain opaque. When practitioners need explanations, they often rely on post-hoc tools (which can be unreliable) or trade away predictive accuracy for simpler white-box models like shallow decision trees or logistic regression.
The core challenge is achieving intrinsic interpretability in neural networks—making the model transparent by design—without sacrificing competitive classification performance.
Methods
XNNTab decomposes the polysemantic (multi-meaning) hidden representations of an MLP into sparse, monosemantic (single-meaning) concept features using a four-step pipeline:
- MLP Pre-training: Train a standard multi-layer perceptron with cross-entropy loss and $L_1$ regularization.
- SAE Feature Decomposition: Train an overcomplete Sparse Autoencoder (with tied encoder-decoder weights $M$ and $M^T$) to reconstruct the MLP’s penultimate layer activations $h_l$ using reconstruction and sparsity penalties.
- Decision Layer Finetuning: Freeze the MLP backbone and SAE, then finetune the final classification layer $W$ to predict targets directly from the reconstructed activations.
- Linear Layer Aggregation: Because both the SAE decoder and the final classification layer are linear transformations, they are multiplied together into a single weight matrix: $$W' = W M^T$$ The final output becomes a direct linear combination of the SAE hidden features ($\hat{y} = W' h_{\text{SAE}}$).
Automating Feature Semantics: To translate abstract latent dimensions into human concepts, the authors identify the subset of training instances $T_j$ that activate feature $j$ above a threshold ($t = 0.75$). They then fit a rule-based classifier (Skope-rules) targeting that subset with maximum precision, deriving concise boolean rules (e.g., marital_status_Married is False AND educational_num < 13) for each latent feature.
Input Data ➔ MLP Feature Extractor ➔ Sparse Autoencoder ➔ Linear Predictor
│
▼
Automated Rule Induction
(Human-readable concepts)
Datasets
The authors evaluated XNNTab using 5-fold cross-validation on two widely used binary classification tabular benchmarks:
- Adult (Census Income): ~50,000 instances and 15 features predicting whether personal income exceeds \$50,000/year.
- Churn Modelling: 10,000 instances and 14 features predicting bank customer churn.
Both datasets were split into 65% train, 15% validation, and 20% test partitions.
Key Insights and Ideas
- Borrowing from LLM Interpretability: Techniques used to decompose superposed concepts in language models (Sparse Autoencoders) translate effectively to tabular deep representations.
- Intrinsic Linearity Without Performance Drops: Merging the SAE decoder and the classifier's top layer preserves the expressive non-linear power of deep representations while exposing a strictly linear, additive scoring function at the decision boundary.
- Dual Explanations (Global + Local):
- Global: The model behaves as a generalized linear model over human-readable logical rules with explicit positive or negative weights.
- Local: An individual prediction is explained by checking which subset of rules fired and summing their respective linear contributions.
Key Results
Across both datasets, XNNTab consistently outperformed traditional interpretable baselines while matching black-box architectures:
- Adult Dataset:
- XNNTab: 0.795 Macro F1 / 0.850 Accuracy
- Decision Tree: 0.787 Macro F1 / 0.851 Accuracy
- Logistic Regression: 0.782 Macro F1 / 0.815 Accuracy
- Standard MLP (Blackbox): 0.796 Macro F1 / 0.850 Accuracy
- (Blackbox baselines XGBoost and Random Forest achieved 0.815 and 0.799 Macro F1, respectively).
- Churn Modelling Dataset:
- XNNTab: 0.752 Macro F1 / 0.861 Accuracy (surpassing both Random Forest at 0.747 and standard MLP at 0.751, matching XGBoost at 0.750).
- Decision Tree: 0.735 Macro F1 / 0.849 Accuracy
- Logistic Regression: 0.601 Macro F1 / 0.808 Accuracy
- Explanation Complexity: Learned rules remained concise, averaging 1.8 to 2.18 conditions per rule. On average, an individual prediction triggered roughly 30 to 33 active features out of 64 total dictionary dimensions.
Limitations and Future Work
- Threshold Sensitivity: The activation threshold $t$ creates a tension: higher thresholds create tighter, higher-recall rules, but cause Skope-rules to fail to extract rules for some features (leaving them uninterpreted).
- Explanation Cognitive Load: Having ~30 active rules for a single local prediction is still high for human inspection; several active rules exhibit semantic redundancy.
- Future Directions: The authors plan to implement automated pruning mechanisms to eliminate redundant rules and develop automated methods to select optimal activation thresholds.
Summary updated