Skip to main content
QUICK REVIEW

[Paper Review] Managing dataset shift by adversarial validation for credit scoring

Hongyi Qian, Baohui Wang|arXiv (Cornell University)|Dec 19, 2021
Imbalanced Data Classification TechniquesComputer Science5 citations
TL;DR

This paper proposes an adversarial validation-based method to mitigate dataset shift in credit scoring by selecting training samples with distributions closest to the test set for cross-validation, while also incorporating out-of-distribution samples into training. The approach improves model generalization and achieves a testing set AUC of 0.7327, outperforming standard chronological and random splits.

ABSTRACT

Dataset shift is common in credit scoring scenarios, and the inconsistency between the distribution of training data and the data that actually needs to be predicted is likely to cause poor model performance. However, most of the current studies do not take this into account, and they directly mix data from different time periods when training the models. This brings about two problems. Firstly, there is a risk of data leakage, i.e., using future data to predict the past. This can result in inflated results in offline validation, but unsatisfactory results in practical applications. Secondly, the macroeconomic environment and risk control strategies are likely to be different in different time periods, and the behavior patterns of borrowers may also change. The model trained with past data may not be applicable to the recent stage. Therefore, we propose a method based on adversarial validation to alleviate the dataset shift problem in credit scoring scenarios. In this method, partial training set samples with the closest distribution to the predicted data are selected for cross-validation by adversarial validation to ensure the generalization performance of the trained model on the predicted samples. In addition, through a simple splicing method, samples in the training data that are inconsistent with the test data distribution are also involved in the training process of cross-validation, which makes full use of all the data and further improves the model performance. To verify the effectiveness of the proposed method, comparative experiments with several other data split methods are conducted with the data provided by Lending Club. The experimental results demonstrate the importance of dataset shift in the field of credit scoring and the superiority of the proposed method.

Motivation & Objective

  • To address dataset shift in credit scoring, where training and test data distributions differ due to temporal and macroeconomic changes.
  • To overcome the limitations of traditional cross-validation that ignore data distribution shifts, especially in time-dependent financial data.
  • To improve model generalization on real-world test data by selecting training samples most similar to the test set distribution.
  • To maximize data utilization by including dissimilar samples in training while excluding them from validation to maintain performance stability.
  • To demonstrate the superiority of adversarial validation over chronological and random data splits in credit scoring scenarios.

Proposed method

  • Adversarial validation is used to measure the distributional similarity between training samples and the test set by training a binary discriminator to distinguish between them.
  • Samples from the training set with the highest adversarial scores (i.e., most similar to test data) are selected for cross-validation to ensure generalization.
  • A quantile-based threshold is applied to select top-performing samples—e.g., 75th percentile in one experiment—based on adversarial validation scores.
  • Remaining training samples that are dissimilar to the test set are added to the training fold during cross-validation but excluded from validation to preserve model robustness.
  • The method combines distribution-aware sampling with full data utilization, balancing generalization and data efficiency.
  • Experiments use the Lending Club dataset with timestamped data to simulate real-world temporal distribution shifts.

Experimental results

Research questions

  • RQ1How does dataset shift affect model performance in credit scoring when training and test data are drawn from different time periods?
  • RQ2Can adversarial validation effectively identify training samples with distributions closest to the test set?
  • RQ3Does selecting only the most similar samples for cross-validation improve model generalization on unseen test data?
  • RQ4Can incorporating dissimilar training samples into training while excluding them from validation further enhance performance and stability?
  • RQ5How does the proposed method compare to chronological and random data splits in terms of AUC and robustness?

Key findings

  • The proposed adversarial validation method achieves a testing set AUC of 0.7327, the highest among all experimental configurations.
  • When using only the top 75th percentile of adversarially validated samples for cross-validation, the testing set AUC reaches 0.7315.
  • Including lower-ranked but still relevant samples in training (without validation) improves performance stability and boosts the maximum AUC to 0.7327 at a 40th percentile threshold.
  • The method shows significantly better generalization than chronological or random data splits, especially under distribution shift.
  • The optimal performance is achieved when training includes both distributionally similar and dissimilar samples, with validation restricted to the most similar subset.
  • The distribution of selected samples closely aligns with the test set’s temporal distribution, confirming the method’s temporal sensitivity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.