Buy More Retrieval Data or a Bigger Model? A 35-Run Scaling Law Answer
Under data-constrained dense retrieval fine-tuning, the best attainable loss is set by a multiplicative power law over non-embedding parameters and unique samples; learning rate only changes how fast you get there, and in the observed regime a larger pretrained model is roughly 1.46× more fine-tuning-compute-efficient than more unique in-domain data.
On this page
Your team has 50,000 labeled query–document pairs in hand and a vendor quote for 50,000 more; the same vendor suggests you could skip the data and move up to a bigger pretrained encoder. Which line item actually buys retrieval quality? Most teams answer by watching the training log: if loss is still falling, buy data; if it has flattened, buy a bigger model. But the number you read depends on which step you look at and which learning rate you set, so two engineers can walk away from the same run with opposite conclusions. This paper removes that ambiguity by measuring the floor of the loss curve instead of one point on it.
Why the minimum evaluation loss beats a fixed-step loss
Dense retrieval means encoding queries and documents into vectors and matching by vector distance. These models are not pretrained from scratch; they are fine-tuned from a pretrained language encoder such as BERT on labeled query–document pairs. The trouble is that the labels are scarce. The paper's framing is that supervised retrieval datasets typically hold only tens to hundreds of thousands of labeled pairs, orders of magnitude smaller than pretraining corpora, so the standard practice is to run the same data for dozens of epochs — an epoch being one full pass over the same set.
Under data-constrained training (unique samples are limited, so the same samples get reused), evaluation loss does not fall monotonically: it drops, then turns back up once overfitting starts. Evaluation loss is the error measured on a fixed evaluation corpus; lower means the model is better at telling which document belongs with which query. Read it at one fixed step and you may be reading the rebound. The paper therefore defines MAEL, the Minimum Achievable Evaluation Loss: the lowest evaluation loss reached anywhere during training, taken as the best attainable level under a fixed model size and data budget [1].
That definition buys two things. First, comparability: curves from different model sizes and data budgets have different shapes, but the minimum is the same quantity in every case. Second, relevance: Section 4.3 of the paper verifies that lower MAEL tracks better downstream retrieval effectiveness. The floor of the curve is not a numbers game; it corresponds to real retrieval ability, which is what makes it usable as an allocation signal.
Learning rate changes the path, not the ceiling: how small the MAEL spread is
Before trusting MAEL for a spending decision, you have to rule out that it is just an artifact of a badly tuned learning rate. The authors sweep it on BERT-Medium with unique-data budgets from 5K to 320K and learning rates from 3.125×10⁻⁷ to 2×10⁻⁵, all with a constant schedule, no warmup, no decay. The five rates that actually reach MAEL — 1.25×10⁻⁶, 2.5×10⁻⁶, 5×10⁻⁶, 1×10⁻⁵ and 2×10⁻⁵ — land on nearly identical values [1].
| Unique-sample budget U | Learning rates reaching MAEL | MAEL mean | MAEL std. | Range / curve-alignment RMSE |
|---|---|---|---|---|
| 5K | 5 | 1.108 | 0.015 | 0.039 / 0.026 |
| 10K | 5 | 0.972 | 0.005 | 0.014 / 0.009 |
| 20K | 5 | 0.844 | 0.004 | 0.009 / 0.009 |
| 40K | 5 | 0.729 | 0.009 | 0.021 / 0.008 |
| 80K | 5 | 0.630 | 0.007 | 0.019 / 0.007 |
| 160K | 5 | 0.537 | 0.010 | 0.026 / 0.010 |
| 320K | 5 | 0.463 | 0.006 | 0.016 / 0.011 |
Across the seven budgets, the average MAEL standard deviation over the five reaching rates is 0.008 and the average max–min range is 0.021. Those numbers only mean something against a reference. On the same BERT-Medium, moving the unique-data budget by one notch shifts MAEL by 0.656, and the full 35-point model–data grid spans 1.561 in MAEL. So the learning-rate-induced spread is about 3.1% of the data-scaling effect and about 1.3% of the full grid span. That gap in magnitude is the argument: learning rate is not the variable that sets the ceiling.
Two finer pieces of evidence back this up. First, rescaling the step axis as scaled step = step × η / (2×10⁻⁵), where η is the learning rate, makes the evaluation-loss curves from different learning rates nearly overlap, with an average interpolation RMSE of 0.011. Second, CKA — a similarity measure between the internal representations of two networks, where values near 1 mean they learned much the same thing — is computed on representations extracted from 1,024 query–document pairs for checkpoints that reach MAEL at different learning rates, and lands close to 1 within the same data budget [1].
The careful reading is that learning rate mostly reparameterizes optimization time: it decides how quickly you arrive, not where you can arrive. The paper scopes this to dense retrieval post-training, where parameter updates are relatively small and learning rates are low. Inside that scope, MAEL is recipe-insensitive enough to compare across configurations.
35 models across 7 data budgets: the multiplicative power law wins
The main grid varies two things. Model size runs from BERT-Tiny to BERT-Base; unique query–document pairs run 5K, 10K, 20K, 40K, 80K, 160K and 320K, seven budgets. Crossed, that is 35 configurations. Fits use non-embedding parameter counts — trainable parameters with the vocabulary embedding removed, which proxy representation depth — rather than total parameters, because embedding size is mostly fixed by the vocabulary and does not scale the same way. Training is uniform: AdamW, constant learning rate, no warmup, no decay, with the rate halved per model size step from 1×10⁻⁵ for BERT-Tiny down to 6.25×10⁻⁷ for BERT-Base. Weight decay is zero in the main grid and studied separately in Section 4.5. Hardware is four NVIDIA RTX 5090 GPUs, global batch size 1,024, 256 randomly sampled negatives per positive pair, and a fixed 100,000-passage evaluation corpus [1].
On log–log axes the result is clean: MAEL is approximately linear in non-embedding parameters and approximately linear in unique samples, with parallel slopes across the two views. That is the shape of a multiplicative power law, where the two scaling factors enter as a product rather than as separate additive terms. The paper states that this multiplicative form describes MAEL more accurately than the commonly used additive scaling formulations [1]. The full fitted expression is Eq. (3) in the paper; the public excerpt does not print the exponents, so I will not restate coefficients I cannot verify — only the functional form.
- A multiplicative form means the marginal return of each factor depends on the other: how much MAEL a doubling of data buys depends on the model size you are at, and vice versa. An additive form cannot express that interaction.
- Fitting on non-embedding parameters rather than total parameters implies that padding the embedding does not deliver the same depth benefit — when comparing architectures, look at representation-layer parameters.
- The 35 points cover the rectangle from BERT-Tiny to BERT-Base and from 5K to 320K unique samples. Any claim about the law is first a claim about that rectangle.
Crucially, the law is not only a description of points already run. The authors hold out entire model sizes and entire data budgets in turn (leave-one-model-size-out and leave-one-data-budget-out), refit without the held-out value, and predict it; Figure 3a and 3b plot predicted against observed MAEL with a diagonal reference line. That is what makes the law decision-relevant: only if it extrapolates to unseen combinations can you compute a configuration before paying for it.
How many steps to reach the floor, and how to set weight decay
Knowing where the ceiling is does not tell you how long the climb takes. The paper derives a separate scaling law for the training step at which MAEL is reached, achieving an R² of 0.95 against observed steps across learning rates, model sizes and unique-sample budgets (Figure 3c). R² is goodness of fit, where values nearer 1 mean predictions track observations more closely. The engineering use is immediate: you can estimate how long a run needs before the result is worth reading, instead of capping at an arbitrary step count and stopping before the curve bottoms out.
The second finding concerns weight decay, the regularization term that pulls weights toward zero. It is zero in the main grid to isolate variables, then studied on its own. The result: the optimal weight decay follows an approximately invariant EMA timescale — an exponential-moving-average timescale, roughly the effective window over which weights are pulled back toward the origin — that stays roughly fixed rather than drifting with model size or data budget. With that setting, MAEL drops further and retrieval performance improves on both in-domain and out-of-domain benchmarks [1]. The paper notes the trend is consistent with recipes previously observed in large-scale pretraining.
Put together, the practical reading is: learning rate is not the lever for raising the ceiling, weight decay is; and the step scaling law tells you when a run has earned the right to be judged. Neither of those requires buying another row of labels — they are returns from getting the training recipe right first.
Reading the 1.46× figure as an actual purchasing decision
Combine loss scaling with step scaling and you can answer the original question: for the same fine-tuning compute, is it better to enlarge the model or to buy more unique data? In the regime observed, the paper's number is that increasing pretrained model size is approximately 1.46 times as fine-tuning-compute-efficient as increasing unique in-domain data for reducing MAEL [1]. Note both qualifiers: fine-tuning-compute efficiency, and in the observed regime. It does not say models should grow without bound, and it does not say data is useless.
Where this method stops being a valid basis for a decision
The paper's own scope limits are explicit and worth listing. One dataset: MS MARCO Passage Ranking; out-of-domain benchmarks appear only in the weight decay section, with no cross-domain scaling analysis. One model family: BERT from Tiny to Base, with no decoder-only models and no parameter-efficient methods such as LoRA. One metric family: evaluation loss and MAEL, not nDCG@10 or MRR — Section 4.3 argues MAEL correlates strongly with retrieval metrics, but correlation is not equivalence. One simplified recipe: constant learning rate, no warmup, no decay, weight decay zero in the main grid, whereas real projects vary all of these; the paper itself scopes the learning-rate invariance claim to dense retrieval post-training with relatively small parameter updates and low learning rates. And one local number: 1.46 is a within-regime result, not a global optimum allocation ratio.
So when should you not use it? When your unique-sample budget sits far above 320K; when your encoder is not in the BERT family; when your recipe includes complex schedules and early stopping; when the binding constraint is annotation cost rather than GPU cost; or when train/test distribution shift makes cross-domain generalization the actual question. In those cases the stability argument for MAEL and the 1.46 figure are directionally interesting at best.
And when can you use it directly? You are fine-tuning a retriever, your labeled budget is between tens of thousands and a few hundred thousand pairs, your encoder is BERT-scale, and you must choose between more data and a bigger base. Then do one thing first: compare runs on the floor of the training curve rather than on a fixed-step loss. Then read 1.46 as an order-of-magnitude signal about direction. How much to actually spend still requires putting per-label price, QA cost and GPU-hour price into the same table — a question this paper does not answer, and should not be read as answering [1].
