AI Showreel consulting-grade analysis, for everyone FR
← The index
Proof B Live confirmed

Nubank

transactional foundation model for credit scoring

IndustryBanking, insurance & fintechLeverMonetizationFamilyPredictionImplementationCustom AIStagepost-purchase
Pattern proven in 2 industries still untouched in Retail & e-commerce, Luxury & beauty, Media & entertainment +10 See the pattern map
+1,25% d'AuC
Relative AuC gain of the scoring, against the LightGBM industry baseline
"+1.25% relative improvement in test AuC over the industry-standard LightGBM baseline" S2

In 2025, Nubank put nuFormer into production, a transactional foundation model that improves credit scoring AuC by +1.25% relative to LightGBM, reduces churn by 4.4%, and earns it its largest quarterly credit card market share gain in Brazil in ten quarters.

Key points

  • Transactional foundation model nuFormer for credit scoring.
  • Custom self-supervised transformer, embeddings fused with tabular variables (PyTorch, Databricks).
  • +1.25% relative AuC vs LightGBM, -4.4% churn, largest market share gain in 10 quarters.
  • Evidence B, confirmed status.

Objective

Approve credit for profiles that classic scoring rejects, without degrading portfolio quality, and gain credit card market share by making better risk decisions at scale.

The deployment

Nubank built nuFormer, a self-supervised foundation model trained on its transaction data. The model produces embeddings of the customer's transactional behavior, which it fuses with classic tabular variables to score credit risk and feed origination and limit-increase decisions. On comparable segments, the fused version delivered a relative AuC improvement of +1.25% over the industry reference (LightGBM), and the model in production reduced customer churn by 4.4% in relative terms against the reference model. Nubank attributes to nuFormer its largest quarterly credit card market share gain in Brazil in ten quarters, in the fourth quarter of 2025. The model is operational in Brazil and is being deployed toward personal loans and the Mexico and Colombia markets.

Results Proof B

+1,25% d'AuC
Relative AuC gain of the scoring, against the LightGBM industry baseline
"+1.25% relative improvement in test AuC over the industry-standard LightGBM baseline" S2
-4,4% de churn
Relative reduction in customer churn, against the reference model
"4.4% relative reduction in customer churn against the baseline model" S2
10 trimestres
Largest quarterly credit card market share gain in Brazil (Q4 2025)
"largest quarterly credit card market share gain in Brazil in ten quarters" S2

The model gains (AuC, churn) come from research published by Nubank and its production deployment; the market share gain appears in the fourth quarter 2025 results. Concordant sources (official Nubank page, third-party analysis repeating the same figures). Attribution of the market share gain to nuFormer is carried by Nubank, so kept as such.

How it works

Documented architecture
embeddingsscore de risqueremboursement observe (reapprentissage) Sequences de transactionsclient nuFormer (foundationmodel transactionnel) nuFormer (transformer self-supervise) Variables tabulaires decredit Modele de scoringfusionne Decision d'octroi et delimite

The stack in detail

  • llm nuFormer Self-supervised transformer foundation model trained in-house on transaction sequences, producing customer behavior embeddings fused with tabular variables.
  • llm LightGBM Gradient boosting serving as the industry scoring baseline, beaten by +1.25% relative AuC by the fused model.
  • outil PyTorch Training framework for the foundation model.
  • plateforme Databricks Large-scale data processing platform for training and scoring.
  • infra PySpark (Apache Spark) Transactional data preparation pipelines.

How it runs, concretely

For ops teams
CadencePeriodic batch training of the foundation model, continuous scoring for credit decisions; frequent model iterations.
Operated byNubank's data science and credit risk teams.
  1. 1
    Pre-training data team

    nuFormer learns self-supervised on transaction sequences to produce customer behavior embeddings.

  2. 2
    Fusion and scoring AI

    The embeddings are combined with classic tabular variables to score credit risk.

  3. 3
    Credit decision risk team

    The score feeds origination, the limit, and its increase, under risk-policy guardrails.

  4. 4
    Production monitoring data team

    More than a thousand monitoring indicators are watched to detect drift and trigger a retraining.

The signal that drives it

Transaction behavior and observed repayment. If the transactional data degrades or default labels arrive late, risk calibration becomes less reliable.

How your customers perceive this type of use

Sourced studies

C'est la famille la moins acceptee : 68% des Americains jugent inacceptable un score financier personnel calcule par algorithme et 67% l'analyse video automatisee d'entretiens d'embauche (Pew Research, 2018). La demande d'explication et de recours est massive : 83% veulent savoir quelles donnees l'IA utilise et 91% veulent pouvoir corriger des donnees erronees (Consumer Reports, 2024). A l'echelle mondiale, seuls 46% se disent prets a faire confiance aux systemes d'IA et 70% jugent une regulation necessaire (KPMG / Universite de Melbourne, 2025).

68%
Americains qui jugent inacceptable un score de finances personnelles calcule par algorithme pour proposer des offres (2018)
67%
Americains qui jugent inacceptable l'analyse video assistee par ordinateur des entretiens d'embauche (2018)
58%
Americains qui pensent que les programmes informatiques refleteront toujours un certain biais humain (2018)

Acceptance conditions

  • Transparence sur les donnees utilisees : 83% des Americains la reclament (Consumer Reports 2024)
  • Droit de correction des donnees erronees : 91% le demandent (Consumer Reports 2024)
  • Explication de la logique de decision : 44% des consommateurs sont plus enclins a utiliser un agent IA si sa logique est clairement expliquee (Salesforce 2024)
  • L'acceptabilite depend du contexte de la decision : 50% des Americains jugent equitable un score de risque criminel pour la liberation conditionnelle, contre 32% pour un score financier applique aux consommateurs (Pew Research 2018)

Red lines

  • La decision opaque et sans recours sur l'emploi, le credit ou le logement : 45% tres mal a l'aise pour l'embauche, 39% pour le pret, 39% pour le logement (Consumer Reports 2024)
  • Le scoring des personnes a partir de donnees comportementales : 68% le jugent inacceptable pour les offres financieres (Pew Research 2018)

Sources: Pew Research Center 2018 · Consumer Reports 2024 · KPMG / Universite de Melbourne 2025 · Salesforce 2024

See full acceptance: by country, by use, by generation

How to replicate

Inference, not sourced

Data prerequisites

  • A large volume of first-party transaction sequences
  • Labeled default and repayment history
  • Large-scale processing infrastructure

Org prerequisites

  • A data science team able to train a foundation model
  • A credit risk and compliance function
  • Model governance (AI Act high-risk)

Possible stack

  • Custom foundation model (the Nubank path)
  • LightGBM-type gradient boosting as a baseline
  • PyTorch, Databricks, Spark
Team to operate3-5 data scientists / ML engineers + 1 data engineer, plus a dedicated credit risk and compliance function for model governance.

The plan, step by step

  1. Step 1
    Establish a robust scoring baseline (gradient boosting on tabular variables) and document its AuC per segment.Deliverable: Documented baseline with reference metrics.
  2. Step 2
    Pre-train a self-supervised model on the first-party transaction sequences.Deliverable: Transactional embeddings evaluated offline.
  3. Step 3
    Fuse embeddings and tabular variables, then measure the marginal AuC gain against the baseline on comparable segments.Deliverable: Fused model beating the baseline, with a quantified gain.
  4. Step 4
    Pass risk and compliance validation: explainability, human oversight, high-risk system governance (AI Act, GDPR art. 22).Deliverable: Approved model governance file.
  5. Step 5
    Deploy progressively on origination and limit decisions, with drift monitoring and triggerable retraining.Deliverable: Model in production with monitoring indicators and a fallback plan.

First step: Establish a robust scoring baseline (gradient boosting) and measure the marginal gain of transactional embeddings before industrializing.

Sources

  1. S1 Nu's AI-powered credit model extends access while maintaining portfolio quality Interested party international.nubank.com.br · 2026 · accessed 2026-07-11 archive pending
  2. S2 Nubank's AI Model Rewrites Credit Underwriting (WhiteSight) Secondary whitesight.net · 2026-04-22 · accessed 2026-07-11 archive pending
  3. S3 How Nubank uses causality, machine learning and Python to support credit limit increase decisions Interested party building.nubank.com · 2026-07-01 · accessed 2026-07-11 archive pending