TraceSampler: Making Sampling Errors Predictable and Correctable for Accelerated Generative Sampling
Abstract
Accurate sampling from continuous-time generative models can require many model evaluations. Low-step sampling reduces cost, but coarse updates introduce endpoint errors that can accumulate and degrade generation quality. We introduce TraceSampler, a post-training method that corrects these errors without modifying the pretrained model. Rather than optimising low-step updates directly, TraceSampler models endpoint error as a sample-specific prediction problem. A higher-step reference integration over the same interval provides the supervised target, while a compact representation makes high-dimensional error predictable from the sampling trace. This representation combines shared residual structure, trace-derived directions, and a low-rank remainder, so shallow per-step MLP heads predict sample-dependent coefficients. These coefficients drive a two-stage learned residual correction: the first stage predicts the full endpoint residual, while an intermediate backbone evaluation provides new trace information to predict the remaining residual; this evaluation is reused by the following step. TraceSampler is evaluated with Rectified Flow on CIFAR-10, SiT-XL/2 on ImageNet-256, and SD3.5 Medium for text-to-image generation. At 10 steps, it reduces trajectory MSE relative to matched-step Euler by 90.5% on CIFAR-10 and 85.6% on ImageNet-256, while achieving FID scores of 2.692 and 2.189, close to 120-step Heun references of 2.601 and 2.056 with 24 fewer backbone evaluations. On SD3.5 Medium, TraceSampler improves image quality and prompt following; at 10 steps, ImageReward rises from 0.752 to 0.906 while trajectory MSE falls by 70.7%. These gains preserve Euler's backbone-evaluation budget, add less than 0.4% inference FLOPs, and incur negligible wall-clock overhead, showing that coarse-step sampling error can be made predictable from the sampling trace and efficiently corrected.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
TORE: Token-Wise Taylor Order Selection via Decomposed Residual Error Estimation for Diffusion Acceleration
Shared title terminologycs.CVLei Tang, Baoquan Zhang, Yakun Zhang et al.
FasterGRN: Reducing the Refinement Redundancy for Accelerating Generative Refinement Networks
Shared title terminologycs.CVZiqian Zhang, Pengcheng Wang, Yulong Chen et al.
TempoKV: Predictive KV Cache Quantization for Autoregressive Video Generation
Shared title terminologycs.CVJiahui Hu, Weile Mo, Peiliang Cai et al.
PreCoG: Preview-Edit for Efficient Video Correction in Generation-Time
Shared title terminologycs.CVYilai Liu, Wenqi Pei, Zhifeng Lu et al.
A Lightweight Velocity Correction Framework for Improving Instruction Following in Few-Step Text-to-Image Generation
Shared title terminologycs.CVYating Gao, Zhenlong Zhu, Wen Zihao et al.
WebVibe: Multimodal Interactive Website Generation via Reverse Synthesis and Visual Self-Distillation
Shared title terminologycs.CVTianxiang Jiang, Sheng Xia, Yilin Long et al.