NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scale-Matched Self-Paced Learning for Regression Across Orders of Magnitude

Many regression problems ask a network to predict quantities that range from one to tens of thousands: buildings in a satellite tile, people in a crowd image, the mass of a household object, days a patient spends in intensive care. Practitioners usually handle this by training on the logarithm of the target, so a 10% miss costs the same at every scale. A separate toolbox, curriculum learning, trains on samples the model currently finds easy and lets harder ones in gradually. Its loss-based variants are also used to ignore samples that look like label noise. This proposal starts from the observation that these two tools interact badly. Curriculum methods judge a sample as "hard" or "probably noisy" by comparing its loss to a single global threshold. In linear space that threshold treats every large-magnitude target as an outlier. Moving to log space flips the bias rather than removing it. Small counts are intrinsically noisier in relative terms (a Poisson count of 2 routinely comes out as 1 or 4), so a global log-space threshold now treats the low end of the range as noise and stops learning from it.

The core idea is simple. A sample should be called hard only relative to other samples of the same order of magnitude. We propose scale-matched self-paced weighting. We compute the log-ratio error, track a separate running "typical loss" for each band of target magnitude, and assign each sample a confidence weight by comparing its loss to its own band's typical loss. In this design the log transform removes the dependence of difficulty on scale, and the per-band threshold removes the remaining dependence on how noisy each scale naturally is. The curriculum is then left to do the one thing it is good at, which is postponing samples that are genuinely anomalous for their scale. The claim is testable. Under noise that varies with scale, global-threshold curricula should hurt one end of the range, in linear space at the high end and in log space at the low end. The scale-matched version should not.

Core Claim

Self-paced and confidence-weighted curricula carry an implicit definition of difficulty, and on wide-dynamic-range regression that definition is mostly a proxy for target magnitude. Fixing the error metric (log space) is necessary but not sufficient. The comparison set must also be fixed (same-scale peers). We expect scale-matched weighting to keep the label-noise robustness that curricula provide while removing their systematic error tilt across magnitude bands. The predicted signature is a flat per-decade error profile under noise, where the alternatives show a tilted one.

Background and Positioning

The log-scale side supplies the error metric and the evidence that static log losses are a strong default. A log-space loss lets a scale-prediction channel treat all font sizes equally in It's All About The Scale. A mean squared logarithmic error lets BERTground model telescope backgrounds without being dominated by intensity spikes. An absolute log-difference error lets image2mass cover objects from light to heavy. Squared log error stops long-stay patients from pulling Temporal Pointwise Convolutional Networks toward the mean. A log-count regression head breaks the 33-building prediction ceiling of the binned classifier in the multitask RSVQA counting work. All of these train with uniform shuffling and uniform sample weights. None asks what a log loss does to sample weighting under label noise, and that question is what we add.

The curriculum side supplies the weighting mechanism and the theory that tells us what difficulty should mean. Self-Paced Learning selects samples whose loss falls under an annealed threshold. SuperLoss replaces hard selection with a closed-form confidence driven by the gap between a sample's loss and a running-average threshold $\tau$. We reuse SuperLoss's confidence formula directly and change only what $\tau$ is compared against. Theory of Curriculum Learning, with Convex Loss Functions separates irreducible difficulty (loss under the optimal model, essentially noise) from current difficulty. It shows that convergence slows with irreducible difficulty and, holding that fixed, speeds up with current difficulty. This motivates our design. Under scale-dependent noise, irreducible difficulty varies by band, so a global threshold confounds the two quantities the theory says must be kept apart. A Curriculum View of Robust Loss Functions constrains the design. It shows that implicit weighting can starve samples with large initial errors (MAE on CIFAR-100 collapsing to 3.69% until rescaled to 70.97%). We must therefore check that per-band weighting does not starve whole bands early in training, when every band starts far from its targets.

The closest existing connection is Learning Error-Driven Curriculum for Crowd Counting. It pairs a fixed ×1000 density multiplier with an auxiliary network that upweights high-error pixels. Its curriculum mines spatially hard regions, and its scale fix is a static multiplier. It never conditions difficulty on target magnitude and never uses log-ratio errors. Pop-Art adapts target normalization across orders of magnitude while preserving outputs. It is a normalization method, not a weighting one, and it works with global linear-space moments.

Method

For sample $i$ with target $y_i \ge 0$ and prediction $\hat y_i$, define the log residual $r_i = \log(y_i + \epsilon) - \log(\hat y_i + \epsilon)$ and the loss $\ell_i = r_i^2$. The offset $\epsilon$ is set per task to roughly the smallest meaningful nonzero unit, which avoids the distortion that $\log(1+y)$ causes for tiny densities. We partition targets into magnitude bands $b(i)$ by decade of $y_i$, using the known training target rather than the prediction, and give exact zeros their own band. For each band we keep an exponential running mean $\tau_b$ and running spread $s_b$ (median absolute deviation) of $\ell$. The training objective is SuperLoss with a band-local, spread-normalized gap:

$$ L_i = \frac{\ell_i - \tau_{b(i)}}{s_{b(i)}}\,\sigma_i + \lambda(\log \sigma_i)^2, $$

where $\sigma_i$ is the per-sample confidence, solved in closed form as in SuperLoss, and $\lambda$ sets how aggressively anomalous samples are downweighted. Dividing by $s_b$ makes a single $\lambda$ mean the same thing in every band. A smoother variant replaces discrete bands with a small running regression of $\ell$ on $\log y$. We will report both, plus sensitivity to band width.

Two safeguards target known failure modes. Against the initialization trap, $\tau_b$ is warm-started from the first epoch's losses, so no band begins entirely below its threshold. We also log each band's average $\sigma$ over training to detect starvation. Against the easy-bias ceiling that SuperLoss itself notes, the per-band normalization means each band always contributes roughly half its samples at above-median weight. A rare decade therefore cannot be silenced wholesale.

Research Program

The work has three parts. The first is a controlled synthetic study. We build regression tasks with targets drawn log-uniformly over four decades and label noise of three known kinds: multiplicative (constant relative noise, under which global log-space thresholds should be fine), Poisson-like (relative noise shrinking with scale, under which global log thresholds should suppress small targets), and sparse gross corruption (the case curricula are meant to handle). Because the optimal model is known, we can compute irreducible difficulty per sample. This lets us test directly whether each weighting scheme's confidence tracks noise or tracks magnitude, which is the distinction drawn by Weinshall and Amir.

The second part moves to real tasks with natural wide ranges: building counts on RSVQA high-resolution, crowd counts on ShanghaiTech Part B, object mass using the image2mass training set and household test set, and length of stay on eICU. Each is run on clean labels and with injected noise of the same three kinds.

The third part is analysis. We plot per-decade error and per-decade mean confidence over training for every method. We expect the mechanism to show up there, beyond any aggregate number.

Baselines

The naive reference is a static log loss with uniform shuffling and no weighting: MSE on $\log(y+\epsilon)$ for counts and length of stay, absolute log-difference for mass. This is the recipe in BERTground, image2mass and the RSVQA log-count head. It is the bar any curriculum must clear, and on clean data it may be very hard to beat.

The strongest curriculum competitor is SuperLoss with a global threshold, applied on top of the same log loss. This is the obvious way to combine the two directions, and it isolates exactly our ingredient, since the confidence formula, $\lambda$ search and schedule are shared and only the threshold differs. We also run SuperLoss on raw linear MSE, to confirm the predicted suppression of high-magnitude samples. On UTKFace age regression with 80% noise, SuperLoss reports MAE 13.09 against 17.56 without it (SuperLoss). We reproduce that setting as a sanity check that our implementation matches theirs before trusting any comparison. For crowd counting, the strongest reported system in the file is static ×1000 scaling plus the TutorNet error curriculum, at MAE 7.0 on ShanghaiTech Part B with a DenseNet backbone (7.5 with scaling alone, 13.0 for plain DenseNet) (Learning Error-Driven Curriculum for Crowd Counting). We will use the same backbone and compare against both reported figures. For object mass, the reported shape-aware model reaches mALDE 0.465 on the household set, with median humans at 0.459 (image2mass). For eICU length of stay, the reported mean absolute deviation is 1.55 days (Temporal Pointwise Convolutional Networks). For continuous count regression on RSVQA, the file gives no numerical regression error, only classification counting accuracy of 67–68% for the binned baseline. We therefore report the static log-count head as our own reproduced reference: no reported result found on Lacuna for continuous count error on RSVQA HR.

Two further baselines address rival explanations. Magnitude-balanced sampling (inverse-frequency resampling by decade, no confidence weighting) tests whether gains come merely from giving rare scales more exposure. Pop-Art-style adaptive normalization of log targets tests whether gains come from target normalization. Every method receives the same data splits, architecture, epochs, and an equal hyperparameter search budget, with twenty configurations each, selected on a noise-matched validation set. All results are reported over at least five seeds. Beating the competitors means lower aggregate error than global-threshold SuperLoss and static log loss under scale-dependent noise, and no per-decade band worse than the static log loss by more than seed variance. On clean data, the requirement is to match the static log loss.

Why not just…?

Why not just train on the log target and shuffle uniformly? This is the most likely winner on clean data, and we expect at most parity there. The log transform fixes how errors are measured, but it gives the model no defense against corrupted labels: a mislabeled tile contributes its full gradient every epoch. The noisy-label experiments settle whether that matters. If static log loss matches us under injected Poisson and gross-corruption noise, the curriculum adds nothing and we will say so.

Why not just put SuperLoss on top of the log loss? This is the real threat and the main comparison. Our argument is mechanistic. With Poisson-like noise the expected squared log residual at the optimum grows as targets shrink, so a global $\tau$ lowers confidence on low-count samples for reasons unrelated to label quality. The per-decade confidence plots will show directly whether this happens. Under purely multiplicative noise we predict the two methods tie, which is a built-in falsification check on our explanation.

Why not just rebalance sampling by magnitude band? Balanced sampling handles rarity of extreme scales, a known limitation of log losses, but it cannot tell a noisy sample from a clean one inside a band. If it matches our method under noise, then the benefit came from exposure and not from difficulty estimation. The comparison under gross corruption, where rarity is held fixed and only label quality varies, separates the two explanations.

Why not just expand the target range progressively, training on small counts first? A dynamic-range curriculum is plausible, given that mixed curricula rescued quadratic in-context regression from 0% to 60% success in the function-class study. However, that study varied functional complexity at fixed numerical scale, and log targets already make the regression problem look similar across decades. We will run a range-expansion schedule that keeps earlier bands in the buffer, as a secondary arm. If it wins on clean data, that is a separate finding and does not contradict ours, because it does not address noise.

Decisive Checks

Three results would decide the project. First, on the synthetic task with Poisson-like noise, global-threshold log-space SuperLoss should show elevated error and depressed confidence in the lowest decade, and the scale-matched version should not. If neither tilt appears, the premise is wrong. Second, under multiplicative noise the two should tie. Third, on ShanghaiTech Part B and RSVQA HR with 20–40% injected count corruption, scale-matched weighting should beat the static log loss, global SuperLoss, and balanced sampling in aggregate error without losing any decade. On clean ShanghaiTech it should land at or below the reported 7.0 MAE when combined with the same backbone. Success would establish a concrete rule for wide-range regression: curriculum difficulty must be measured in log space and judged against same-scale peers. Failure on the second or third check would show that the log transform alone already captures what matters.