Mitigating adversarial attacks on transformer models in credit scoring
The integration of unstructured data, such as text created by borrowers, offers new opportunities for improving credit default prediction but also introduces new risks. This study examines the robustness of transformer-based credit scoring models that utilize textual data and assesses their vulnerability to adversarial attacks. Using peer-to-peer lending data, we show that small, semantically neutral changes in loan descriptions can substantially alter model outputs. These vulnerabilities expose lenders and borrowers to economic risks through distorted risk assessments and mispriced loans. We evaluate two mitigation strategies: adversarial training and topic modeling. Adversarial training improves robustness without compromising predictive performance. Topic modeling provides a more interpretable and stable representation of borrower narratives. An economic analysis confirms that robust models reduce mispricing and improve outcomes for all parties. The findings underscore the importance of robustness as the use of unstructured data in credit scoring becomes more accessible. • Including borrower text improves credit default prediction but introduces vulnerability to adversarial manipulation. • Adversarial training boosts robustness without harming predictive accuracy. • Topic modeling offers a robust and interpretable alternative to transformer embeddings. • Robust models reduce loan mispricing, improving fairness for lenders and borrowers.
Authors
- Johannes Kriebel (ORCID: https://orcid.org/0000-0003-1249-5189)
- Brandon Schwab (ORCID: https://orcid.org/0009-0001-5253-9249)
Institutions
- Leibniz University Hannover (DE)
- Universität Hamburg (DE)
Publication Details
- Journal
- European Journal of Operational Research
- Published
- 2025-06-02
- DOI
- https://doi.org/10.1016/j.ejor.2025.05.029
- Citations
- 2
- Primary Topic
- Imbalanced Data Classification Techniques
- Type
- article
- Field-Weighted Citation Impact
- 4.96