Counterfactual Credit Risk Explanations for Transparent Automated Lending Decisions

Authors

  • Emilia Virtanen Department of Computing, University of Turku, Turku, Finland
  • Oskari Lehtinen Faculty of Information Technology and Communication Sciences, Tampere University, Tampere, Finland
  • Nea Salminen Department of Computing, University of Turku, Turku, Finland

DOI:

https://doi.org/10.54097/jceim.279

Keywords:

Counterfactual explanations, Credit scoring, Algorithmic recourse, Explainable artificial intelligence, Automated lending, Transparency

Abstract

Machine-learning credit scoring models increasingly decide loan applications automatically, while applicants and regulators expect explanations that are both faithful and actionable. Counterfactual explanations state what would need to change for an application to be approved, but generic generators often recommend changes to immutable attributes, reverse irreversible credit-history records, or move applicants into implausible regions of the feature space. This paper presents ACCRE (Actionability-Constrained Counterfactual Recourse Explanations), a model-agnostic framework that generates counterfactual credit risk explanations through data-anchored retrieval of approved applicants, projection onto a lending-specific actionability set, cost-aware greedy sparsification, and boundary refinement by line search with an optional confidence margin. Experiments on German Credit, FICO HELOC and Give Me Some Credit with an XGBoost scorer compare ACCRE with five established generators. ACCRE attains 100% validity and full constraint satisfaction on all datasets, the lowest normalized change cost (0.95, 0.74 and 1.71), and 1.2–1.8 changed attributes on average, in 18–44 ms per applicant. A confidence margin of 0.1 raises the validity of explanations under retrained models from 54–66% to 75–80%, and a margin of 0.3 lifts it above 99% on HELOC and GMSC. A comparison with TreeSHAP reason codes shows that up to 42% of the top-ranked adverse-action reasons cannot be acted upon, whereas counterfactual recourse identifies feasible paths to approval.

Downloads

Download data is not yet available.

References

[1] Fan, H., Jiao, Y., Wang, M., Chen, J., & Yang, S. (2026). Continual graph learning under strategic adversarial drift in dynamic networks. Scientific Reports.

[2] Shang, W., & Chen, T. (2024). PrefixKD-Edge: Real-time locomotion-intent prediction with prefix self-distillation on lightweight temporal networks. Innovation and Technology Studies, 1(1), 30-38.

[3] Wei, K., Lu, Z., & Zou, X. (2024). A scalable causal machine learning framework for data-driven decision optimization. AI and Data Science Journal, 1(1), 122-131.

[4] Chen, J., Cui, Y., Zhang, X., Yang, J., & Zhou, M. (2024). Temporal convolutional network for carbon tax projection: A data-driven approach. Applied Sciences, 14(20), 9213.

[5] Bian, M., Wang, Y., & Lin, Y. (2024). Explainable supplier risk prediction for critical telecommunications infrastructure procurement: An empirical XGBoost-SHAP framework. Social Science and Management, 1(1), 64-77.

[6] Wang, Y., & Xing, S. (2025). AI-driven CPU resource management in cloud operating systems. Journal of Computer and Communications, 13(6), 135-149.

[7] Xu, Q., & Zhu, R. (2024). CoSTAR: Explainable and cost-sensitive machine learning for tax-aware corporate fraud risk detection. Innovation and Technology Studies.

[8] Xing, S., & Wang, Y. (2022). MCG: Marginal-conditional graph learning for joint anomaly detection and root cause localization in distributed cloud systems. Journal of Computer Science and Electrical Engineering, 4(1), 81-88.

[9] Zhang, F., & Yang, J. (2024). Robustness-aware model compression for multimodal perception under challenging conditions. AI and Data Science Journal, 1(1), 103-111.

[10] Zhou, L., & He, X. (2022). Dependency-aware root cause analysis and automated fault recovery for cloud-native microservices. Journal of Computer Science and Electrical Engineering, 4(1), 72-80.

[11] Zhou, F., & Liu, W. (2026). Physics-anchored residual learning for ship fuel consumption and carbon dioxide emission prediction. Energy and AI, 100945.

[12] Wang, J., Tan, Y., Jiang, B., Wu, B., & Liu, W. (2025). Dynamic marketing uplift modeling: A symmetry-preserving framework integrating causal forests with deep reinforcement learning for personalized intervention strategies. Symmetry, 17(4), 610.

[13] Xing, S., Wang, Y., & Liu, W. (2025). Self-adapting CPU scheduling for mixed database workloads via hierarchical deep reinforcement learning. Symmetry, 17(7), 1109.

[14] Chen, X. (2023). Algorithmic bias and discrimination in AI-driven lending: A Rashomon-based audit of less discriminatory alternatives and adverse-action accountability. World Journal of Sociology and Law.

[15] Liu, Y., Guo, L., Hu, X., & Zhou, M. (2025). Sensor-integrated inverse design of sustainable food packaging materials via generative adversarial networks. Sensors, 25(11), 3320.

[16] Li, P., Feng, E., Wang, G., & Mo, T. (2024). Hybrid deep reinforcement learning and integer optimization for resource scheduling in heterogeneous AI computing clusters. Innovation and Technology Studies, 1(1), 48-56.

[17] Ping, W., & Fan, H. (2023). Beyond isolated ratios: Accrual-revenue-cash flow indicators and interaction-aware learning for detecting financial reporting irregularities in U.S. public companies. World Journal of Economics and Business Research, 1(1), 46-55.

[18] He, X., & Zhou, L. (2024). Adaheal: An adaptive framework for fault detection and automated recovery in large-scale cloud-native microservices. AI and Data Science Journal, 1(1), 132-141.

[19] Shen, A., & Huang, S. (2022). A systems-aware framework for intelligent large-scale recommendation models. Journal of Computer Science and Electrical Engineering, 4(1), 36-44.

[20] Yao, W. (2022). Raptor: Risk-adaptive security and privacy-preserving transaction processing for large-scale mobile payment systems. Journal of Computer Science and Electrical Engineering, 4(1), 89-97.

[21] Chen, J., Han, X., Zhang, X., & Yang, Y. (2023). Exact concept-level explanations for early detection of financial misstatements. Eurasia Journal of Science and Technology, 5(2), 34-48.

[22] Li, P., Ren, S., Zhang, Q., Wang, X., & Liu, Y. (2024). Think4SCND: Reinforcement learning with thinking model for dynamic supply chain network design. IEEE Access, 12, 195974-195985.

[23] Chen, J., & Fan, H. (2025). Beyond automation in tax compliance through artificial intelligence and professional judgment. Frontiers in Business and Finance, 2(2), 399-418.

[24] Wang, G., Li, P., Feng, E., Shen, A., & Rhee, M. (2026). A dual-process memory-augmented large language model agent for explainable sequential recommendation. IEEE Access.

[25] Fan, H., & Chen, J. (2025). From ledgers to large language models in contemporary accounting practice. American Journal of Big Data, 6(5).

[26] Li, P., Bian, M., & Lin, Y. (2026). Carbon-aware offline reinforcement learning for joint inventory replenishment and transportation scheduling in multi-echelon supply chains. Highlights in Business, Economics and Management, 69, 251-262.

[27] Xu, Q. (2023). Explainable machine learning for tax reporting anomaly detection and compliance risk assessment. World Journal of Economics and Business Research, 1(1), 56-66.

[28] Rhee, M., Zou, J., & Qin, Y. (2024). CLARITY: A closed loop framework for duplicate aware failure prediction and budgeted automated remediation in cloud infrastructure. AI and Data Science Journal, 1(1), 76-85.

[29] Chen, X. (2024). Who is accountable for AI decisions? Rethinking legal liability and ethical responsibility through counterfactual harm apportionment. Innovation and Technology Studies.

[30] Zou, J., Qin, Y., & Rhee, M. (2024). Beyond model scale: A task-aware reliability benchmark for large language models in clinical decision support. Innovation and Technology Studies, 1(1), 39-47.

[31] Lu, Z., Zou, X., & Wei, K. (2022). Machine learning-based detection of BGP routing anomalies for enhanced network security and resilience: A hybrid multi-scale temporal learning approach. Journal of Computer Science and Electrical Engineering, 4(1), 62-71.

[32] Zhang, F., & Wu, B. (2025). Large language models as general purpose intelligence systems for reasoning, planning and decision making. American Journal of Artificial Intelligence and Neural Networks, 6(4), 45-72.

[33] Ping, W., & Fan, H. (2024). Disclosure quality and valuation risk in Level 3 investments: A disclosure-implied risk framework for U.S. business development companies. Social Science and Management, 1(1), 78-87.

[34] Qin, Y., Rhee, M., Teng, D., Zhang, C., & Zi, B. (2026). Neuro-symbolic constraint verification for LLM-driven internet finance transaction execution. Scientific Reports.

[35] Mo, T., Wang, G., Feng, E., & Li, P. (2023). Execution-feedback-guided context selection for large language model-based software testing and debugging. World Journal of Information and Knowledge Management, 1(1), 55-64.

[36] Chen, J., Liu, J., Liang, Y., & Zhou, M. (2026). HeteroGCL: A heterogeneous graph contrastive learning framework for scalable and sustainable cryptocurrency AML. Applied Sciences, 16(6), 2860.

[37] Wang, J., Liu, J., Ge, Y., & Jiang, B. (2023). Risk-aware ensemble learning for credit default prediction under economic uncertainty. World Journal of Economics and Business Research, 1(1), 18-32.

[38] Liu, Y., Ren, S., Wang, X., & Zhou, M. (2024). Temporal logical attention network for log-based anomaly detection in distributed systems. Sensors, 24(24), 7949.

[39] Ji, E., Wang, Y., Xing, S., & Jin, J. (2025). Hierarchical reinforcement learning for energy-efficient API traffic optimization in large-scale advertising systems. IEEE Access.

[40] Mo, T., Zhang, C., Zou, J., Guo, Z., & Rhee, M. (2026). Self-evolving AI agents with dual memory for automated software testing and bug localization. IEEE Access.

[41] Zhou, F. (2026). Spectral co-design of ship rudder geometry and heading autopilot for energy efficiency and manoeuvring safety. Transactions on Environment, Energy and Earth Sciences, 7, 158-181.

[42] Wang, Y., Bian, M., & Lin, Y. (2022). An explainable temporal graph neural network for disruption prediction and risk propagation in multi-tier supply chains. Journal of Computer Science and Electrical Engineering, 4(1), 17-25.

[43] Zhu, R., & Yue, X. (2024). An explainable machine learning framework for predicting dividend sustainability and financial risk of US REITs under interest-rate shocks. Journal of Trends in Finance and Economics, 1(2), 48-57.

[44] Zou, X., Wei, K., & Lu, Z. (2024). AEGIS: Calibrated anomaly-risk-driven checkpointing and proactive migration for fault-tolerant high-concurrency stream processing. Innovation and Technology Studies.

[45] Zhou, F. (2026). Moment-constrained side-force allocation for wind-assisted merchant ships: Hydrodynamic performance of retractable anti-leeway fins and flap rudders. Innovation and Technology Studies, 3(1), 27-41.

[46] Qin, Y., Zou, J., & Rhee, M. (2022). An AI-driven intelligent transaction execution framework for internet finance platforms: Cost-sensitive real-time integrity interdiction. Eurasia Journal of Science and Technology, 4(2), 36-44.

[47] Wang, B., Wang, Z., Zhao, W., & Liu, Y. (2025). Network fabric simulation and validation for data center routing convergence under large-scale failure scenarios. Computer Science Bulletin, 8(1), 310-326.

[48] Wang, J., Liu, J., Zheng, W., & Ge, Y. (2025). Temporal heterogeneous graph contrastive learning for fraud detection in credit card transactions. IEEE Access.

[49] Wang, Y., & Zhang, C. (2023). AERIS: Adaptive executor-scoped resource management for privacy-preserving data processing in Apache Spark. Eurasia Journal of Science and Technology, 5(2), 25-33.

[50] Feng, E., Li, P., Mo, T., & Wang, G. (2022). PRISM: Prediction-guided risk-aware deep reinforcement learning for energy-aware dynamic resource scheduling in distributed cloud data centers. Journal of Computer Science and Electrical Engineering, 4(1), 53-61.

[51] Ren, S., Jin, J., Niu, G., & Liu, Y. (2025). ARCS: Adaptive reinforcement learning framework for automated cybersecurity incident response strategy optimization. Applied Sciences, 15(2), 951.

[52] Wang, J., Ge, Y., Liu, J., & Jiang, B. (2024). Early warning of liquidity stress in U.S. banks with seasonally aligned frailty hazards and delayed-feedback conformal alarms. Journal of Trends in Finance and Economics, 1(1), 85-100.

[53] Chen, X. (2026). Can people challenge an AI decision? Measuring the contestability chain in law and corporate disclosure. AI and Ethics, 6(6), 642.

[54] Lin, Y., Wang, Y., & Bian, M. (2024). XOR-EW: An explainable and cost-aware artificial intelligence framework for operational risk early warning in financial institutions. AI and Data Science Journal, 1(1), 94-102.

[55] Chen, J., Zhang, X., & Han, X. (2023). Explainable identification of tax-related financial reporting anomalies in U.S. public companies: Cross-fitted tax-consistency residuals and Owen-value Shapley propagation. World Journal of Economics and Business Research, 1(1), 33-45.

[56] Jiao, Y., & Liang, Y. (2024). An integrated process-mining and explainable machine-learning framework for bottleneck and internal-control risk detection in the multi-entity financial close. Social Science and Management, 1(3), 96-107.

[57] Yao, W. (2024). PrivTok-XR: Privacy-preserving real-time speech processing for accessible extended reality systems. Innovation and Technology Studies.

[58] Chen, J., Liang, Y., Liu, J., & Zhou, M. (2026). Temporal transformer with conditional tabular GAN for credit card fraud detection: A sequential deep learning approach. Mathematics, 14(7), 1183.

[59] Lin, Y., Yue, X., Bian, M., Zhu, R., & Teng, D. (2026). Subgraph-level temporal graph transformer with laundering-motif prototypes for anti-money laundering on blockchains. IEEE Access.

[60] Xing, S., Wang, Y., & Liu, W. (2025). Multi-dimensional anomaly detection and fault localization in microservice architectures: A dual-channel deep learning approach with causal inference for intelligent sensing. Sensors, 25(11), 3396.

[61] Sun, T., Yang, J., Li, J., Chen, J., Liu, M., Fan, L., & Wang, X. (2024). Enhancing auto insurance risk evaluation with transformer and SHAP. IEEE Access, 12, 116546-116557.

[62] Xing, S., & Wang, Y. (2025). Proactive data placement in heterogeneous storage systems via predictive multi-objective reinforcement learning. IEEE Access, 13, 117986-117998.

[63] Zhang, F., & Yang, J. (2022). Accuracy-aware model compression for real-time visual perception under resource constraints. Journal of Computer Science and Electrical Engineering, 4(1), 45-52.

[64] Liang, Y., & Jiao, Y. (2024). Real-time financial fraud detection using a feature-light temporal dynamic graph neural network with contrastive learning. Journal of Trends in Finance and Economics, 1(1), 76-84.

[65] Zhang, F., & Yang, J. S. (2025). Learning driven decision intelligence for autonomous driving through multimodal understanding world modeling and policy optimization. Frontiers in Artificial Intelligence Research, 2(3), 616-634.

Downloads

Published

30-11-2026

Issue

Section

Articles

How to Cite

Virtanen, E., Lehtinen, O., & Salminen, N. (2026). Counterfactual Credit Risk Explanations for Transparent Automated Lending Decisions. Journal of Computing and Electronic Information Management, 23(3), 8-15. https://doi.org/10.54097/jceim.279