Design a Credit Limit Increase System for Thin-File Customers
Last updated: November 29, 2026
Quick Overview
Design the machine learning system that decides which card customers receive a credit limit increase and how large it is, when many customers had little or no credit bureau history at approval.
Nubank
November 29, 20260
0
0 solved
Design the machine learning system that decides which card customers receive a credit limit increase and how large it is, when many customers had little or no credit bureau history at approval.
Nubank grew by giving cards to people traditional banks ignored, then raising limits as they showed good behavior, so limit management is a core credit modeling problem. The interviewer checks label design with delayed defaults, using internal behavioral data, policy versus model separation, fairness and regulatory constraints, and safe experimentation.
What the Interviewer Expects
- Defines the label (for example 90+ days past due within 12 months) and handles its delay
- Uses internal behavioral features (payment timeliness, utilization, NuConta inflows, Pix activity)
- Separates risk prediction, revenue/response estimation and the policy that picks the increase
- Plans for selection bias: you only observe outcomes for limits you granted
- Describes champion/challenger rollout and monitoring for drift and fairness
- Mentions explainability for adverse action and regulators
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you estimate what would happen at a limit you never granted (reject inference or exploration)?
- Macro conditions shift and interest rates rise. How does the system react?
- How do you prevent the model from learning proxies for protected attributes?
- How would you allocate a fixed total credit budget across customers?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Decide monthly (and on demand when a customer asks in the app) whether to raise each limit and by how much. Objective: maximize expected profit (interchange plus interest minus losses and funding cost...
High-Level Design
Batch feature pipeline (Spark) over card, account and app data -> feature store with point-in-time correctness -> risk model P(default | customer, new limit) -> usage model expected balance at...