Labeling every pixel of a real street photo takes more than 1.5 hours per frame, so a common workaround is to train segmentation models on video-game frames, which come with perfect labels for free. The model then teaches itself on unlabeled real photos. A "teacher" copy of the network guesses labels on those photos (pseudo-labels), and the "student" trains on the guesses. The weak point is the teacher. In the standard recipe it is a running average of the student's past weights, so it is always somewhat worse than the student it supervises, and its mistakes get baked in. Learning from Future showed that a teacher built from the student's future weights produces better labels. Obtaining those weights by simulating extra gradient steps is expensive, though, and becomes unstable when the simulation looks too far ahead.
We propose a teacher that looks ahead at almost no cost. It extrapolates the student's weights forward along the direction training is already moving, much like Nesterov's accelerated gradient method, which evaluates the gradient at an extrapolated point ahead of the current iterate. The distance of the extrapolation is set by a label-free trust budget that caps how many target pixels the teacher may relabel relative to the student. Put in two sentences: past-average teachers lag and future-simulating teachers are costly and fragile, so extrapolate the weights forward using motion the optimizer has already computed, and stop the extrapolation before its predictions drift too far from the current model. We then ask a data-scaling question. How much extra synthetic data is a better teacher worth?
Core Claim
A single scalar knob spans the lagging past teacher, the current student, and an extrapolated future teacher. Let $\theta_t$ be the student weights at step $t$ and $\bar\theta_t$ their exponential moving average (the usual teacher). We define the teacher as
$$ \theta^{T}_t(\alpha) = \theta_t + \alpha\,(\theta_t - \bar\theta_t). $$
Setting $\alpha=-1$ recovers the moving-average teacher, $\alpha=0$ uses the current student, and $\alpha>0$ extrapolates beyond the student along its recent drift. We pick $\alpha$ adaptively. Every $N$ steps we evaluate a small grid of candidate values on one target batch and choose the largest $\alpha$ that satisfies
$$ \frac{1}{|P|}\sum_{p \in P} \mathbf{1}\left[\arg\max f_{\theta^T_t(\alpha)}(p) \neq \arg\max f_{\theta_t}(p)\right] \le \rho . $$
Here $P$ is the set of target pixels in the batch, $f$ is the per-pixel class-probability output, and $\rho$ is a relabeling budget. The budget plays the role of a proximal term, in the spirit of the proximal regularizer in Catalyst. The difference is that it is applied to predictions rather than to weights, which is where extrapolation in a non-convex network actually does its damage.
The claim is this. At the compute cost of a few extra forward passes, and with no extra backward passes, this teacher recovers most or all of the gain from future-simulating teachers. It also avoids the late-training degradation those teachers show at long horizons. We make no convergence claim. The guarantees behind Nesterov acceleration, Catalyst, and the accelerated bilevel method AGM-BiO assume convexity or compact feasible sets, and these assumptions do not hold here. The research file flags exactly this gap: extrapolation can overshoot moving minima.
Relation to Prior Work
Two papers motivate the proposal by exposing the teacher-lag problem. DAFormer combines a Transformer encoder with a moving-average teacher, rare-class sampling, an ImageNet feature-distance anchor, and learning-rate warmup. It reaches 68.3 mIoU on GTA5→Cityscapes, but its teacher trails the student by construction. Learning from Future (FST) replaces the past teacher with one produced by virtual gradient rehearsals. It reports that cutting pseudo-label error by about 5.7% gives a 7.1% validation jump, and it reaches 69.3 mIoU. FST also reports two costs: degradation when looking $K=4$ steps ahead, and repeated forward and backward passes per step. Our proposal keeps FST's premise that future teachers help. It replaces the rehearsal with weight extrapolation, which needs no new gradients, and replaces the hand-set horizon with a prediction-space budget. If extrapolation matches rehearsal, FST's extra backward passes were buying little beyond the direction of travel.
A second group of papers supplies the method and constrains it. Nesterov-style extrapolation and multi-sequence schemes such as Chonghai Hu et al. and AGM-BiO give the extrapolation template. Catalyst supplies the idea of taming the extrapolation with a proximal anchor. We borrow the mechanics but not the theory, and we do not attempt the bilevel reformulation of source and target losses. The file offers no evidence that such a reformulation survives non-convexity, and its projection costs are exactly what AGM-BiO lists as a limitation.
The third group frames the scaling analysis. How Much is a Noisy Image Worth? derives clean-versus-noisy exchange rates, finding that one clean image is worth roughly 1.5–1.75 noisy ones at σ=0.2 on ImageNet. That result holds only for additive Gaussian noise in generation. LS-CRF shows that large sets of noisy masks help within a single domain. DrugOOD warns that noise which is systematic rather than random breaks scaling, and self-training confirmation bias is exactly that kind of noise. We therefore measure an exchange rate in the setting none of these cover: perfectly labeled synthetic frames versus teacher quality on real frames.
Research Program
We build the extrapolated teacher on the public DAFormer codebase, which keeps DAFormer's backbone, sampling, feature distance, and schedule fixed. The change is a handful of lines. We maintain the moving average as usual, compute $\theta^T_t(\alpha)$ on the fly, and run the budget search every $N$ steps with α drawn from a small grid (for example five values between 0 and 2).
We run three analyses:
- The α curve. On the Cityscapes training split, whose labels are used only for analysis and never for training or selection, we record pseudo-label error as a function of α at several points in training. This tests whether an interior optimum above zero exists and whether it moves over time.
- Stability. We test whether the budget prevents late-training collapse by comparing fixed large α against budgeted α. This mirrors FST's $K=4$ failure.
- Exchange rate. We train the moving-average and extrapolated teachers on 25%, 50%, and 100% of GTA5 and fit mIoU against synthetic volume for each. The horizontal shift between the two curves gives how many synthetic frames the better teacher is worth. We compare this against FST's reported ratio between error reduction and mIoU gain.
Baselines
The naive reference point is source-only training on GTA5 evaluated on Cityscapes. It measures the raw gap, and we will run it ourselves; the file has no reported source-only figure for this backbone ("no reported result found on Lacuna for source-only MiT-B5 GTA5→Cityscapes").
The standard self-training reference is DAFormer. It reports 68.3 mIoU on GTA5→Cityscapes and a 5.4-point gain over prior work on SYNTHIA→Cityscapes (DAFormer). We rerun it with three seeds in our environment, since our method differs from it only in the teacher.
The strongest competitor is FST-D, which reports 69.3 mIoU on GTA5→Cityscapes (Learning from Future). The file has no absolute FST number for SYNTHIA ("no reported result found on Lacuna for FST on SYNTHIA→Cityscapes"). We run FST in two ways:
- Iteration-matched, with the same backbone, data, schedule, and three seeds.
- Compute-matched. Here we give our method the wall-clock time FST spends on rehearsals, as extra training iterations.
We count the proposal as a win on either of two conditions. The first is that it matches FST within seed noise while using clearly less GPU time. The second is that it exceeds FST when compute is matched. An improvement over DAFormer alone does not count as a win.
Four ablations isolate the key ingredient:
- Teacher equal to the current student ($\alpha=0$).
- A moving-average teacher with the decay tuned over the same grid budget we spend on α.
- A fixed α with no budget.
- A budgeted teacher that is only allowed to move backward ($\alpha\le 0$).
Every variant gets the same tuning budget, with hyperparameters chosen on a held-out slice of target images using the label-free agreement criterion, never on validation labels.
Why not just…?
Why not just shorten the moving-average lag, or use the current student as teacher? This is the most serious threat. FST's evidence is against lagging teachers, not specifically for extrapolation. If the $\alpha=0$ or tuned-decay ablations match the extrapolated teacher, the "future" story reduces to "less past." We would report that, and it would itself be a useful correction to the FST narrative. The α curve decides it: a pseudo-label error minimum strictly above zero, holding across seeds, is the evidence we need.
Why not just run FST with a short horizon? FST with $K=1$ is stable and already gains over DAFormer, so the question is purely cost. The compute-matched comparison answers it. If FST $K=1$ beats our method even after we receive its rehearsal time as extra iterations, then real gradients carry information that extrapolation does not, and the cheap route loses.
Why not just use a bigger backbone or train longer? FST reports that its look-ahead gains held across Swin, BEiT, and MiT backbones and that it matched standard self-training in a third of the iterations. This suggests that teacher quality is not substituted by capacity or time. We still include a longer DAFormer run, matched to our total compute, to rule this out directly.
Why not a full Catalyst outer loop or a bilevel source/target formulation? Both require solving an inner problem to reasonable accuracy on each outer step. That multiplies cost for a deep segmentation network, and their guarantees rest on convexity that is absent here. We keep only the proximal idea, as the prediction budget. If the budgeted teacher is unstable, a weight-space proximal anchor is the natural next variant to test.
Decisive Checks
The main table reports GTA5→Cityscapes and SYNTHIA→Cityscapes mIoU with per-class IoU, since DAFormer's largest jumps were on rare classes such as train (16.0 to 65.1). We add BDD100K and Mapillary as secondary real targets to check that the gain is not specific to Cityscapes.
Three results would each be decisive:
- Interior optimum. A pseudo-label error curve with a minimum at $\alpha>0$ that the budget tracks over training.
- Stability. No late-training degradation under the budget, where fixed large α degrades the way FST did at $K=4$.
- Exchange rate. A measurable leftward shift of the synthetic-volume scaling curve, giving the first exchange rate between labeled synthetic frames and teacher quality.
If all three fail, extrapolation is not a usable cheap substitute for simulating future steps in this setting. Knowing that would also clarify what FST's rehearsals actually buy.
References
- Learning from Future: A Novel Self-Training Framework for Semantic Segmentation
- A Universal Catalyst for First-Order Optimization
- An Accelerated Gradient Method for Convex Smooth Simple Bilevel Optimization
- DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentation
- Accelerated Gradient Methods for Stochastic Optimization and Online Learning
- How Much is a Noisy Image Worth? Data Scaling Laws for Ambient Diffusion.
- Closed-Form Approximate CRF Training for Scalable Image Segmentation
- DrugOOD: Out-of-Distribution Dataset Curator and Benchmark for AI-Aided Drug Discovery - a Focus on Affinity Prediction Problems with Noise Annotations