Fewer Synthetic Samples for the Rarest Classes: A Tested Budget Rule for Long-Tail Augmentation

When a classifier sees only a handful of examples for some classes, a common fix is to train a generative model and use it to fill those classes with synthetic examples until every class has the same count. A diffusion model, which is a generator that learns to turn random noise into samples by gradually removing noise, is the usual choice. This "rebalance to uniform" habit gives the most synthetic data to the rarest classes. Those are exactly the classes where the generator learned from the fewest real images and is therefore least accurate. Statistical theory for diffusion models predicts how a generator's error shrinks as its training data grows. Combined with an ordinary bias–variance argument for the downstream classifier, that theory makes a specific and counterintuitive prediction. The number of synthetic samples a class can usefully absorb before its accuracy plateaus should grow with its number of real samples, following a power law. In other words, the rarest classes saturate first, and synthetic samples generated for them beyond that point are wasted compute.

We propose to test this prediction directly and, if it holds, turn it into a per-class generation budget rule. The rule needs no extra tail validation data. We fit its constants on frequent ("head") classes that we artificially thin down to tail sizes, where the ground truth can be measured with plenty of held-out data, and then apply it to the real tail. The payoff is twofold. First, it is one of the few places where convergence theory for generative models makes a falsifiable claim about downstream learning. Second, if the claim holds, it should cut generation cost substantially at equal or better rare-class accuracy.

Core Claim

Consider a class with $n$ real training images, augmented with $m$ synthetic images from a class-conditional generator. We model the classifier's error on that class as

$$R(n,m) \approx R_\star + \frac{A}{(n+\lambda m)^{\beta}} + B\,\delta(n), \qquad \delta(n) \propto n^{-\gamma}.$$

Here $R_\star$ is the irreducible error. The term $A/(n+\lambda m)^{\beta}$ is the estimation error, which shrinks as effective sample size grows: $\lambda \le 1$ is how much one synthetic sample is worth relative to a real one, and $\beta$ is the student's learning-curve exponent. The term $B\,\delta(n)$ is a bias floor caused by the generator's distribution error $\delta(n)$, which shrinks with the real data it saw at rate $\gamma$.

The power-law form of $\delta(n)$ comes from the minimax analyses. Diffusion Models are Minimax Optimal Distribution Estimators shows total-variation error decaying as a power of $n$ that depends on smoothness and, for flat low-dimensional data, on intrinsic dimension. Conditional Diffusion Models are Minimax-Optimal and Manifold-Adaptive for Conditional Distribution Estimation gives the analogous conditional rate.

Synthetic samples can only drive the estimation term down to the generator's bias floor. The point $m^\star$ at which accuracy is within a tolerance of that floor therefore scales as

$$m^\star(n) \propto n^{\gamma/\beta}.$$

This follows from setting $A/(\lambda m)^{\beta}$ equal to a fixed fraction of $B n^{-\gamma}$. The new claim is not the bias–variance decomposition itself. It is three things together: the sign prediction (the useful synthetic budget increases with real data), the measured exponent, and a budget rule calibrated on thinned head classes that beats uniform rebalancing at matched compute.

A conditional generator shares parameters across classes, so a tail class benefits from head data. DiffuLT's "approximately in-distribution" samples, which borrow textures and backgrounds from head classes, are an explicit form of that transfer. Transfer should flatten $\gamma$ for tail classes, and measuring how much it does is part of the study.

Position Relative to Prior Work

Two empirical papers motivate this work and supply its method.

DiffuLT: Diffusion for Long-tail Recognition Without External Knowledge trains a diffusion model from scratch on the imbalanced data, biases it toward samples near head–tail boundaries, and rebalances every class with synthetic data. We reuse its generator and its training setup unchanged. We change only how many synthetic samples each class receives.

Sample-Efficient Multi-Round Generative Data Augmentation for Long-Tail Instance Segmentation (MRCA) shows that budget allocation matters a great deal. Its feedback loop steers generation by student uncertainty and per-class validation accuracy, and it beats a 1.2M-object blind pool with 72,000 objects. MRCA's allocation is driven by validation accuracy. Ours is driven by a predicted saturation law that does not consume tail validation data. This difference matters most for the rarest classes, where validation sets are tiny and noisy.

The theory papers constrain the functional form rather than supply a ready-made guarantee. The minimax papers above and Generative Modeling with Continuous Flows: Sample Complexity of Flow Matching, which gives an $\mathcal{O}(\epsilon^{-4})$ sample complexity for flow matching, bound generator error. They say nothing about a student trained on generator output. We do not claim to close that gap with a proof. We use the rates as a hypothesis about the exponent and test whether downstream saturation actually follows them.

Tail Annealing for Heavy-Tailed Flow Matching is relevant as a caution. It shows that Lipschitz networks fed Gaussian noise cannot produce power-law tails. Our setting concerns class-frequency tails, meaning few samples per class, not heavy-tailed values within a class, so that barrier does not apply here. We note the distinction so the two kinds of "tail" are not confused.

Research Program

The work has three stages.

Measure the saturation surface. On CIFAR100-LT at imbalance ratio 100, we take 20 head classes and thin each to $n \in \{5, 10, 20, 50, 100, 200\}$ real images. For each thinned configuration we retrain the DiffuLT generator, then sweep $m$ over a log grid and record per-class test accuracy. The generator always sees the full head data for all other classes, so transfer is realistic. These classes have abundant held-out images, so the curves are reliable. We fit $\beta$, $\gamma$, $\lambda$ and the constants by nonlinear least squares, with bootstrap intervals.

Calibrate and transfer the rule. From the fitted law we compute $m^\star(n)$ for each true tail class and allocate a fixed total synthetic budget across classes. The allocation equalizes the predicted marginal reduction in error per synthetic sample, so a class stops receiving samples once its curve flattens.

Test transfer to a larger benchmark. We repeat the calibration on ImageNet-LT. Its "Few" classes are the real tail, and its head classes are thinned in the same way. As a feasibility check outside classification, we port the rule to LVIS v1.0 rare categories inside an MRCA-style pipeline. Generation cost is reported in GPU-hours and synthetic sample counts throughout, because the overhead claim is half the point.

Baselines

The do-nothing reference is the classifier trained on the imbalanced real data with class-weighted cross-entropy and no synthetic data. On ImageNet-LT, DiffuLT reports this baseline at 5.8% Few-class accuracy, and on CIFAR100-LT at 38.3% overall. This reference tells us how much of any gain comes from synthesis at all.

The strongest existing method on these benchmarks is DiffuLT with uniform rebalancing. It reports 52.4% accuracy on CIFAR100-LT at imbalance ratio 100, and 56.9% overall with 39.9% Few-class accuracy on ImageNet-LT with ResNet-50, all in DiffuLT. We found no reported total generation budget for DiffuLT on Lacuna, so we will re-run it ourselves and measure its synthetic count and GPU-hours.

For fairness, every allocation rule uses the identical trained generator, the identical student architecture and schedule, and the same hyperparameter search budget. Our rule gets no extra tuning beyond fitting the saturation law on thinned head classes. We count that fitting cost, including the extra generator retrains, as part of our compute.

Beating DiffuLT means one of two outcomes, measured over three seeds:

  • matching its Few-class accuracy within seed noise while generating at most half as many synthetic samples, counting calibration cost; or
  • exceeding its Few-class accuracy at equal total budget.

The second strong competitor is an MRCA-style validation-feedback allocator adapted to classification. Each round, it gives more budget to classes whose validation accuracy is lowest or still improving. It is run on the same generator with the same total budget and the same number of rounds. MRCA reports 31.81 mask AP on LVIS with 72,000 objects, against 31.56 for the BSGAL baseline using 1.2M objects. That is the reference on LVIS.

Two ablations isolate the key ingredients. The first sets $\gamma = 0$, so the bias floor is constant and the rule collapses back toward uniform rebalancing; this isolates the generator-error term. The second fits the law's constants directly on the real tail classes' small validation sets instead of on thinned head classes; this isolates the head-calibration trick. A random allocation with the same total budget serves as a sanity floor.

Why not just…?

Why not just use validation accuracy to decide when to stop generating, as MRCA does? This is the real threat. If validation feedback matches our rule, the theory adds explanation but no practical value. Our argument is that ImageNet-LT's validation split has only 20 images per class. At that size, the accuracy difference between successive rounds is often within sampling noise for exactly the classes being budgeted. The head-calibrated law pools information across many classes instead. We will settle this empirically by running the feedback allocator with identical rounds and budget and reporting Few-class accuracy and allocation stability across seeds. If the feedback allocator ties or wins, we will report the rule as a cheaper prior for initializing MRCA's first round rather than a replacement.

Why not just generate a large uniform pool, since generation is a one-time cost? MRCA's LVIS result, where 72,000 targeted objects beat 1.2M blind ones, and the early diminishing returns reported in Beyond Quantity: Trajectory Diversity Scaling for Code Agents both show that blind scale buys little per sample. The saturation curves we measure will show directly how many uniform-pool samples land past each class's plateau.

Why not just re-weight or re-sample the real data? Repeating a few rare images adds no new information. DiffuLT's jump in ImageNet-LT Few-class accuracy from 5.8% to 39.9% shows that synthesis supplies something re-weighting does not. The do-nothing baseline above keeps this comparison in every table.

Why not just prompt a large pretrained generator for the rare classes? That changes the question. An internet-scale prior has effectively seen far more than $n$ examples of each class, so the generator's error is no longer governed by the class's real count. As DiffuLT argues, it also confounds algorithmic gains with memorization and is unusable in private domains. We stay in the from-scratch setting, where the theory's premise holds, and say so as a scope limit.

Decisive Checks

The first check is the sign of the exponent. On thinned CIFAR100-LT head classes, the fitted $m^\star(n)$ must increase with $n$, with a bootstrap interval for $\gamma/\beta$ excluding zero. If saturation is flat or decreases with $n$, the core claim is wrong and uniform rebalancing is justified. We would publish that as a negative result.

The second check is transfer. The law fitted on thinned head classes must predict the true tail classes' saturation points within a factor of two, verified with the balanced test set after the fact.

The third check is the operational payoff: the compute and accuracy comparison against DiffuLT and the feedback allocator described under Baselines, on CIFAR100-LT and ImageNet-LT, with LVIS as an out-of-domain transfer test.

A secondary analysis compares the measured $\gamma$ on tail classes with the head-class value to quantify how much cross-class transfer in the generator softens the predicted rate. This is the place where the minimax theory, which ignores transfer, is most likely to be quantitatively off.