Introduction
In the financial industry, credit risk prediction is a critical task traditionally dominated by statistical methods like XGBoost and Logistic Regression. While deep learning (DL) has revolutionized fields like computer vision and natural language processing, its application to credit risk has been hindered by the "messy" nature of real-world financial data. Credit reports typically feature high dimensionality (thousands of features), extreme sparsity (massive amounts of missing values), and severe class imbalance. Standard DL models often prove brittle under these conditions, failing to outperform well-tuned decision tree ensembles.
DeRisk addresses these challenges by moving away from standard end-to-end training in favor of a robust multi-stage pipeline. It is the first deep learning framework to consistently outperform industry-standard Gradient Boosted Decision Tree (GBDT) systems in a production environment.
Methodology
The DeRisk framework employs a three-stage pipeline designed to handle the complexities of financial tabular and sequential data.
- Stage I: Data Pre-processing: To manage high dimensionality, XGBoost is used for initial feature selection, narrowing thousands of features down to the most impactful 500. A key innovation here is the "indicator" strategy: instead of simple imputation for missing values (NaNs) or zeros, binary flags are created to signal why a value is missing, allowing the model to learn the semantic significance of data absence.
- Stage II: Separate Training: The architecture is split into two specialized sub-models:
- DNN: A Deep Neural Network handles non-sequential "profile" data (e.g., age, industry).
- Transformer Encoder: A Transformer-based model processes sequential data (e.g., loan history, credit card usage). To enhance the Transformer's understanding of financial behavior, the authors utilize Masked Language Model (MLM) pre-training, similar to BERT, before introducing supervised labels.
- Stage III: Joint Fine-tuning: The sub-models are concatenated and fine-tuned together. This multi-stage approach prevents the model from ignoring complex sequential features in favor of easier-to-learn profile features, a common pitfall in joint training.
Experimental Setup
The framework was evaluated using a massive, real-world dataset from the Credit Reference Center (CRC) of the People's Bank of China, comprising 582,996 users and over 4,000 features. The study utilized an "out-of-time" test set—training on data from August 2020 to May 2021 and testing on June to July 2021—to simulate actual business deployment.
Results and Discussion
DeRisk achieved a significant performance boost, reaching an AUC of 0.6546, compared to the production XGBoost baseline of 0.6418. In high-volume lending, an AUC increase of 0.01 is substantial, translating to an estimated 5% reduction in real-world bad debts.
Key insights from the experimental results include:
- The Multi-Stage Advantage: Training sub-models separately before joint fine-tuning is critical. As shown in the training dynamics, sequential models often take longer to converge and can be overshadowed by simpler profile features if trained end-to-end from scratch.
- Ablation Analysis: Removing MLM pre-training or the oversampling strategy significantly degrades performance, highlighting their importance in handling sparse and imbalanced financial data.
- Model Robustness: Interestingly, simpler DNN and Transformer combinations outperformed more complex architectures borrowed from recommendation systems (like DeepFM), suggesting that robustness is more valuable than architectural complexity for this domain.
Conclusion and Future Work
DeRisk demonstrates that deep learning can indeed surpass traditional methods in credit risk prediction when the pipeline is tailored to the specific noise and structure of financial data. However, the framework still relies on XGBoost for initial feature selection, and the computational cost of Transformer training remains higher than traditional methods. Future research will focus on developing a fully end-to-end "raw data-to-prediction" pipeline and adapting the framework to diverse international credit reporting standards.
Summary updated