[Paper Review] Generating Plausible Counterfactual Explanations for Deep Transformers in Financial Text Classification
This paper proposes a novel method for generating plausible counterfactual explanations in financial text classification using adversarially trained transformers. By leveraging masked language modeling and three distinct edit strategies—replacement, insertion, and removal—it significantly improves explanation plausibility and reasonableness over state-of-the-art methods like HotFlip, achieving p < 0.001 and p < 0.05 in human evaluations.
Corporate mergers and acquisitions (M&A) account for billions of dollars of investment globally every year, and offer an interesting and challenging domain for artificial intelligence. However, in these highly sensitive domains, it is crucial to not only have a highly robust and accurate model, but be able to generate useful explanations to garner a user's trust in the automated system. Regrettably, the recent research regarding eXplainable AI (XAI) in financial text classification has received little to no attention, and many current methods for generating textual-based explanations result in highly implausible explanations, which damage a user's trust in the system. To address these issues, this paper proposes a novel methodology for producing plausible counterfactual explanations, whilst exploring the regularization benefits of adversarial training on language models in the domain of FinTech. Exhaustive quantitative experiments demonstrate that not only does this approach improve the model accuracy when compared to the current state-of-the-art and human performance, but it also generates counterfactual explanations which are significantly more plausible based on human trials.
Motivation & Objective
- To address the lack of explainable AI in financial text classification, particularly in high-stakes M&A prediction.
- To generate counterfactual explanations that are both plausible and reasonable, enhancing user trust in model predictions.
- To improve model robustness through adversarial training while maintaining high accuracy on real-world M&A data.
- To overcome the limitations of existing post-hoc explanation methods that produce implausible or uninterpretable explanations.
- To establish a scalable, automated framework for generating human-like counterfactuals in FinTech applications.
Proposed method
- The method employs a fine-tuned transformer model trained with adversarial regularization to enhance robustness and generalization on financial text.
- It introduces three edit-based strategies—REP-SCD (replacement), INS-SCD (insertion), and RM-SCD (removal)—to generate counterfactual instances from original M&A text.
- Each counterfactual is generated using a masked language model to ensure grammatical correctness and semantic coherence.
- The approach uses a post-hoc explanation framework that identifies key words or phrases whose modification leads to a prediction shift.
- Human evaluation is conducted with domain experts rating plausibility and reasonableness on a 1–5 scale, comparing results against HotFlip.
- The model is evaluated on a real-world, self-collected M&A dataset, ensuring relevance and practical applicability.
Experimental results
Research questions
- RQ1Can adversarially trained transformers generate more robust and accurate M&A predictions in financial text classification?
- RQ2Can counterfactual explanations generated via controlled text edits be perceived as more plausible and reasonable by domain experts?
- RQ3How do the proposed edit strategies (replacement, insertion, removal) compare in generating meaningful and linguistically valid counterfactuals?
- RQ4To what extent does the proposed method outperform state-of-the-art baselines like HotFlip in generating useful counterfactual explanations?
- RQ5Does the integration of adversarial training improve both model accuracy and the quality of generated explanations?
Key findings
- The proposed method achieved a 2.35-point improvement in plausibility (4.35 vs. 2.00) compared to HotFlip in human evaluation, with a p-value < 0.001.
- It recorded a 0.85-point improvement in reasonableness (4.00 vs. 3.15) over HotFlip, with a p-value < 0.05, indicating statistical significance.
- The model outperformed both the state-of-the-art and human performance in terms of classification accuracy on the M&A dataset.
- The use of adversarial training enhanced model robustness, contributing to more reliable and generalizable predictions.
- The counterfactual explanations generated were consistently rated as more natural and linguistically coherent than those from gradient-based baselines.
- The combination of REP-SCD, INS-SCD, and RM-SCD strategies produced the most effective and diverse set of counterfactual instances.
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.