Life of Research · open-access repository · LOR-00284
Development of an Explainable AI Framework for Autonomous Financial Decision-Making
- University of Cape Town
Thesis / Dissertation
LOR-00284
Permanent link: https://lifeofresearch.com/theses/284
Abstract
Financial institutions increasingly delegate decisions about credit, investment and risk to machine-learning systems that act with little or no human intervention. Such autonomy promises speed, consistency and scale, but it collides with a dense set of legal, ethical and practical demands: affected individuals are entitled to reasons, supervisors require that models be validated and governed, and institutions need assurance that a system’s behaviour is faithful to the reasons it gives. Post-hoc explanation methods such as SHAP and LIME are widely used to meet these demands, yet they are rarely evaluated against a known truth, and they are seldom integrated with the other mechanisms that an accountable autonomous system requires.
This thesis develops and evaluates TRACE, an explainable AI framework for autonomous financial decision-making. TRACE is organised as four interacting layers: a decision engine that produces scores and actions under domain constraints; an explanation engine that produces local Shapley attributions, global summaries, decision-level attributions and actionable counterfactual recourse; an assurance layer that measures explanation fidelity and stability, audits fairness and proxy discrimination, and uses conformal prediction to decide when the system may act autonomously and when it must escalate to a human; and a governance layer that turns these outputs into reason codes, audit records and escalation workflows aligned with credit-reporting, model-risk and AI-regulation requirements.
The framework is evaluated through a programme of controlled computational experiments on synthetic data whose generating process is known exactly. This design makes it possible, unlike with real data, to measure how close explanations are to the true drivers of risk. Seven findings emerge. First, interpretable and constrained models are competitive: a monotonically constrained gradient-boosting model reaches an AUC of 0.845 against 0.850 for the true data-generating model. Second, most of the disagreement between explanations and the true risk drivers is caused by the model rather than by the explainer: KernelSHAP agrees with exact Shapley values of the model at a rank correlation of at least 0.99, whereas the model’s own exact Shapley values agree with the ground truth at between 0.87 and 0.96. Third, LIME adds substantial additional error and is less stable under small input perturbations. Fourth, counterfactual recourse that ignores actionability recommends impossible changes in 26% of cases, and most recourse becomes invalid when the model is retrained; a validity margin raises robustness from 37% to 65% at a 43% higher cost. Fifth, marginal conformal prediction meets its overall coverage target while covering only 40% of actual defaulters at the 90% level, a failure that class-conditional calibration corrects at the price of a higher escalation rate. Sixth,attribution-based auditing detects a proxy variable through which historical label bias enters the model, and removing it reduces the approval-rate gap between groups from 0.166 to 0.116 without loss of accuracy. Seventh, in an autonomous portfolio-allocation agent, the features that dominate forecast explanations are not those that dominate allocation decisions, which demonstrates that explanations must be computed at the level of the decision rather than the prediction.
The thesis contributes a layered reference architecture, a formal account of decisionlevel attribution and explanation assurance, a ground-truth evaluation methodology for financial XAI, and empirical evidence on the trade-offs between autonomy, accuracy, robustness and accountability. Its limitations, chiefly the reliance on synthetic data and the absence of a study with human users, are stated explicitly and define an agenda for future work.