[Paper Review] Learning Credible Deep Neural Networks with Rationale Regularization
This paper proposes CREX, a method to train more credible deep neural networks by regularizing them to focus on expert-provided rationales—key features deemed important for predictions—thereby reducing reliance on spurious dataset biases. Experiments show CREX improves generalization on unseen data, even when accuracy on held-out test sets remains unchanged.
Recent explainability related studies have shown that state-of-the-art DNNs do not always adopt correct evidences to make decisions. It not only hampers their generalization but also makes them less likely to be trusted by end-users. In pursuit of developing more credible DNNs, in this paper we propose CREX, which encourages DNN models to focus more on evidences that actually matter for the task at hand, and to avoid overfitting to data-dependent bias and artifacts. Specifically, CREX regularizes the training process of DNNs with rationales, i.e., a subset of features highlighted by domain experts as justifications for predictions, to enforce DNNs to generate local explanations that conform with expert rationales. Even when rationales are not available, CREX still could be useful by requiring the generated explanations to be sparse. Experimental results on two text classification datasets demonstrate the increased credibility of DNNs trained with CREX. Comprehensive analysis further shows that while CREX does not always improve prediction accuracy on the held-out test set, it significantly increases DNN accuracy on new and previously unseen data beyond test set, highlighting the advantage of the increased credibility.
Motivation & Objective
- To address the lack of credibility in deep neural networks (DNNs) that often rely on spurious artifacts or biased features rather than correct evidence.
- To improve model generalization by ensuring DNNs focus on semantically relevant features aligned with domain knowledge.
- To develop a training regularization method that leverages expert rationales to guide attention without requiring extensive retraining or architectural changes.
- To evaluate whether incorporating high-quality rationales leads to more robust and trustworthy DNNs, especially on out-of-distribution data.
- To assess the robustness of the method under low-quality rationale annotations, such as noisy or incomplete expert rationales.
Proposed method
- CREX introduces a rationale-based regularization loss that encourages the model’s local explanation (attention weights) to align with expert-provided rationales—specifically, a subset of input features highlighted as critical for prediction.
- The method uses a differentiable attention mechanism to compute local explanations per input, enabling end-to-end backpropagation through the explanation generation process.
- A contrastive regularization loss is applied to minimize the distance between the model’s explanation vector and the expert rationale vector, promoting alignment during training.
- When expert rationales are unavailable, CREX still enforces sparsity in the explanation vector, encouraging models to focus on a minimal, meaningful subset of features.
- The approach is architecture-agnostic and compatible with various DNNs, including CNNs, and can be integrated into standard training pipelines with minimal modification.
- Training efficiency is maintained via sparse rationale sampling and optimization techniques, with inference speed preserved at the same level as vanilla DNNs.
Experimental results
Research questions
- RQ1Can incorporating expert-provided rationales into DNN training improve model credibility by steering attention toward relevant features?
- RQ2Does the use of rationale regularization lead to better generalization on out-of-distribution data, even if test-set accuracy does not improve?
- RQ3How robust is CREX to low-quality rationales, such as those with annotation errors or missing critical features?
- RQ4Can CREX maintain high inference speed while improving model trustworthiness and explanation quality?
- RQ5To what extent does rationale-based regularization reduce reliance on dataset-specific biases and artifacts in DNN predictions?
Key findings
- DNNs trained with CREX show significantly improved generalization performance on new, previously unseen data beyond the test set, indicating higher credibility and robustness.
- On the CNN model, CREX achieved a 4.2% higher generalization accuracy on the Kaggle dataset and a 3.8% improvement on the Polarity dataset compared to vanilla DNNs, despite no improvement on the held-out test set.
- The model’s performance is highly sensitive to rationale noise—only 10% mistake rate in rationales caused a significant drop in generalization accuracy, indicating the need for high-quality expert input.
- In contrast, the model remained relatively robust to missing rationales, maintaining strong performance even when up to 50% of important features were omitted from the rationale.
- Training with CREX takes approximately 18.1 minutes on average (vs. 2.5 minutes for vanilla CNN), but inference time remains unchanged at 8e-3 seconds per input, preserving deployment efficiency.
- The method is effective even with a small number of rationales, suggesting practical applicability with limited annotation effort.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.