arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.14332cs.CVcs.AI
收藏

TraceSampler:为加速生成式采样实现可预测且可校正的采样误差

TraceSampler: Making Sampling Errors Predictable and Correctable for Accelerated Generative Sampling

University of Exeter(埃克塞特大学);NTT Communication Science Laboratories(NTT通信科学研究所)

George Matthew, Guoqiang Zhang, Kenta Niwa

AI总结:

TraceSampler是一种无需修改预训练模型的后训练方法,通过建模样本特定端点误差,在10步时大幅降低轨迹MSE,提升生成质量,且仅增加极少计算开销。

摘要:

从连续时间生成模型进行精确采样通常需要多次模型评估,低步数采样虽能降低成本,但粗糙的更新会引入端点误差,这些误差会累积并降低生成质量。我们提出了TraceSampler,这是一种无需修改预训练模型的训练后误差校正方法。TraceSampler不直接优化低步数更新,而是将端点误差建模为样本特定的预测问题:同一区间内更高步数的参考积分提供监督目标,而紧凑表示可从采样轨迹预测高维误差,该表示结合了共享残差结构、轨迹衍生方向和低秩残差,因此浅层的每步MLP头可预测样本相关系数。这些系数驱动两阶段学习残差校正:第一阶段预测完整端点残差,中间骨干网络评估提供新的轨迹信息以预测剩余残差,该评估会被后续步骤复用。我们在CIFAR-10上结合Rectified Flow、在ImageNet-256上结合SiT-XL/2、在文本到图像生成任务中结合SD3.5 Medium对TraceSampler进行评估:在10步时,其相对于匹配步数的Euler方法,在CIFAR-10上将轨迹MSE降低90.5%,在ImageNet-256上降低85.6%,同时FID分数分别达到2.692和2.189,接近120步Heun参考方法的2.601和2.056,且骨干网络评估次数减少24倍;在SD3.5 Medium上,TraceSampler提升了图像质量和指令跟随能力,10步时ImageReward从0.752升至0.906,轨迹MSE下降70.7%。这些改进在保留Euler方法骨干网络评估预算的同时,仅增加不到0.4%的推理FLOPs,且带来的 wall-clock 开销可忽略,证明粗糙步长的采样误差可通过采样轨迹预测并高效校正。

英文摘要:

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$\times$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑