TrajCFG: Token-Wise Classifier-Free Guidance via Denoising Trajectory Feedback
Jingyu Liu, Hao Jiang, Yikang Ding, Huafeng Shi, Xu Yang, Xiaoqiang Liu, Guoxin Zhang, Pengfei Wan, Kun Gai
Abstract
Classifier-free guidance (CFG) typically applies a shared scale to all latent tokens, although their velocity predictions evolve differently during sampling. We introduce Trajectory-Adaptive Classifier-Free Guidance (TrajCFG), a training-free method for flow-matching models that adapts token-wise guidance using historical changes in guided velocity direction. TrajCFG maps this feedback to bounded scales, assigning stronger guidance to larger directional changes and weaker guidance to more consistent directions. It combines adjacent-step and interval-normalized longer-span feedback, reusing standard CFG predictions without additional model evaluations. Controlled diagnostics and ablations examine the roles of directional feedback, token-wise allocation, and history-span fusion. Experiments on text-to-video, image-to-video, text-to-audio-video, text-to-image, and image-to-3D generation show improvements over base samplers across multiple backbones. For text-to-video generation, TrajCFG improves VBench Total scores by 0.30-0.75 points over the strongest evaluated baseline on each of three backbones. These results support historical directional feedback as a broadly applicable signal for fine-grained guidance allocation. The project page is available at https://jyliu-98.github.io/trajcfg-project-page/.
Create a lesson
Metadata
- Comments
- 22 pages. Project page: https://jyliu-98.github.io/trajcfg-project-page/
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.
TGuide: Faster Autoregressive Video Diffusion via Historical Trajectory Guidance
Shared title terminologycs.CVZhuo Chen, Bin Zou, Fanyue Wei et al.
Video Codec-Guided Training-Free Token Compression for Video Large Language Models
Shared title terminologycs.CVXihua Sheng, Ruijie Liu, Chang Wen Chen
HSTTA: Hierarchical Selective Test-Time Adaptation for Label-Free Cross-Subject EEG-to-Image Retrieval
Shared title terminologycs.CVHongzhou Chen, Yuhao Wei, Lianghua He et al.
Non-Linear Motion from Two Frames: Cubic Hermite Trajectories for Video Frame Interpolation
Shared title terminologycs.CVMd Rifat Ur Rahman, Md Abtahi Majeed Chowdhury, Md Sakib Hossain Shovon et al.
Spe3DUp: Faithful Trajectory Distillation for Fast Image-to-3D Generation
Shared title terminologycs.CVLiangchao Xu, Jiaye Fu, Youtian Lin et al.