Basic Neural Network Models for Personal Credit Scoring

Leonid Kulygin17 Jun 2026

Problem

A bank's probability-of-default (PD) model splits borrowers into reliable and unreliable ones. Default means more than 90 days of overdue debt within a year of the scoring date. The team already used gradient boosting on tabular features plus neural scores built on card transactions, current-account transactions and credit-bureau records, and wanted more ranking quality (Gini) from the neural part.

Example from the article: Alfa-Bank's team widened the training period to 2017–2024, switched to a ranking loss, and tested a transformer against RNN encoders.

Solution in brief

Three sequence encoders, one per data domain, are trained directly on default. Their embeddings feed a common module that is blended with a gradient-boosting score. The biggest gains came from clean data with a longer history and a pairwise log loss. A tuned transformer did not beat the RNN.

Questions this case answers
  • How to learn a client-level risk score from several long event-sequence sources when the business metric is ranking quality on rare positives
  • How to decide between recurrent and transformer encoders for event-sequence data when a transformer does not beat the existing baseline
  • How to turn raw card, current-account and credit-bureau event sequences into a client score for default prediction?
  • How to improve the ranking quality (Gini) of a sequence model for default prediction without changing the data?

Tools and methods

  • RNN feature extractor — encodes each client's event sequence into a vector, one model per domain.
  • Pairwise log loss (ROC-AUC optimization) — trains the model to rank defaulters above non-defaulters.
  • Transformer with gated attention plus CLS pooling — the alternative encoder that was tested.
  • Weight pruning — tested as regularization and speed-up.
  • Logistic regression blending — combines the gradient-boosting score with the common neural score.
Continue reading — it's free

Google or a one-time email code. No password.