Problem
Nubank researches transformer-based transaction representation models that are adapted to more than 20 downstream benchmarks. Every idea (a new data source, a new architecture, a new training setup) must help many tasks at once, and each idea needs dozens or hundreds of training and evaluation runs. Before the framework, one experiment took several days of manual work, including configuring each stage, copying parameters, tracking results in large spreadsheets and restarting failed jobs. With a limited compute budget, the bottleneck became the experiment process, not the modeling.
Example from the article: the team tested four new transaction data sources, alone and in combination, plus several architecture changes, against the original baseline.
Solution in brief
Express the whole pipeline as code, start each experiment as an isolated deployment of a git branch, and let every stage run on its own once the previous one finishes. A built-in screen compares a few runs of the challenger with five runs of the baseline using Welch's t-test and writes the outcome to a shared leaderboard.
Questions this case answers
- How to decide whether a change to a shared model improves many downstream tasks when every training run is expensive and noisy
- How to pick the minimum number of repeated runs per arm that detects a target gain at a given power under a limited compute budget
- How to check that a change to training data or architecture improves a model across 20+ downstream benchmarks, not just one
- How to choose the number of repeated training runs so that a small AUC gain can be told from run-to-run noise
Tools and methods
- Welch's t-test — compares AUC of baseline runs against challenger runs on each benchmark
- Power simulation — sets the number of runs per arm from measured run-to-run spread
- Branch deployments with git tags — isolated, reproducible experiment environments
- Central leaderboard and reporting tool — logs parameters and results, runs the tests automatically
Google or a one-time email code. No password.