Introduction
Traditional credit scoring relies on narrow, task-specific models. Large Language Models (LLMs) offer a promising "generalist" alternative capable of transferring knowledge across different financial tasks. This paper introduces the first comprehensive LLM benchmark for credit and risk assessment, alongside a fine-tuned model called CALM. While LLMs (especially GPT-4 and CALM) can rival state-of-the-art expert systems, they also introduce or amplify significant demographic biases, complicating their immediate deployment in the financial sector.
The Challenge of Tabular Financial Data
In the financial industry, assessing credit and risk (e.g., loan defaults, insurance fraud, corporate bankruptcy) is typically handled by expert systems using algorithms like XGBoost or Random Forests. While accurate, these models are highly specialized. LLMs have the potential to act as generalists, but financial data is usually tabular, which LLMs struggle to parse. Furthermore, financial decisions are heavily regulated; models must be fair.
Methodology
To test LLM capabilities, the authors built a comprehensive evaluation framework focusing on:
- Prompt Engineering for Tabular Data: They converted tabular datasets into LLM-readable formats using two strategies: Description-based prompts (translating features into natural language narratives) and Table-based prompts (feeding raw key-value pairs for datasets with anonymized symbols).
- Instruction Tuning: A 45,000-sample instruction-tuning dataset was curated. To handle extreme class imbalances, data was resampled to a 2:1 ratio.
- Model Training (CALM): Llama2-chat (7B) was fine-tuned using Low-Rank Adaptation (LoRA) to create the Credit and Risk Assessment Large Language Model (CALM).
Datasets and Evaluation
The benchmark comprises 9 open-source datasets spanning four key tasks: Credit Scoring, Fraud Detection, Financial Distress Identification, and Claim Analysis. Six datasets were used for instruction-tuning, while three (Lending Club, Polish, PortoSeguro) were held out for zero-shot generalization testing.
Key Results and Insights
The evaluation compared CALM, proprietary LLMs (GPT-4, ChatGPT), and open-source LLMs against State-of-the-Art (SOTA) expert systems.
- GPT-4 as a Zero-Shot Powerhouse: GPT-4 can process tabular data and handle class imbalances almost as well as bespoke expert systems without any financial fine-tuning.
- Fine-tuning Unlocks Capabilities: CALM drastically outperformed its base model (Llama2-chat). For example, on the ccFraud dataset, Llama2-chat had an MCC of -0.020, while CALM achieved 0.192.
- Generalization: CALM showed an ability to generalize to held-out datasets, proving that smaller, specialized LLMs can rival massive proprietary ones.
The Bias Trap
A critical finding is the ethical risk. Even with statistically balanced test data, models like GPT-4 exhibited significant bias (e.g., favoring older applicants or foreign workers). Fine-tuned models like CALM readily absorbed and amplified biases present in the training data. For instance, GPT-4 showed an Average Odds Difference (AOD) of -0.273 against females in the ccFraud dataset.
Conclusion
While LLMs show great promise as generalist tools for financial risk assessment, their tendency to amplify bias and the lack of inherent interpretability remain significant hurdles. Future work must focus on constructing interpretable datasets and developing techniques to mitigate demographic bias in financial LLMs.
Summary updated