ByTheWay: Boost Your Text-to-Video Generation Model to Higher Quality in a Training-free Way

Jiazi Bu, Pengyang Ling, Pan Zhang, Tong Wu, Xiao-wen Dong +4 more
2/9/2026

No official code found. Best implementation: Bujiazi/ByTheWay (48 stars, last commit 2025-10-10).

Abstract

The text-to-video (T2V) generation models, offering convenient visual creation, have recently garnered increasing attention. Despite their substantial potential, the generated videos may present artifacts, including structural implausibility, temporal inconsistency, and a lack of motion, often resulting in near-static video. In this work, we have identified a correlation between the disparity of temporal attention maps across different blocks and the occurrence of temporal inconsistencies. Additionally, we have observed that the energy contained within the temporal attention maps is directly related to the magnitude of motion amplitude in the generated videos. Based on these observations, we present ByTheWay, a training-free method to improve the quality of text-to-video generation without introducing additional parameters, augmenting memory or sampling time. Specifically, ByTheWay is composed of two principal components: 1) Temporal Self-Guidance improves the structural plausibility and temporal consistency of generated videos by reducing the disparity between the temporal attention maps across various decoder blocks. 2) Fourier-based Motion Enhancement enhances the magnitude and richness of motion by amplifying the energy of the map. Extensive experiments demonstrate that ByTheWay significantly improves the quality of text-to-video generation with negligible additional cost. Our code is available at: https://github.com/Bujiazi/ByTheWay.

View on arXivView PDF

Code Implementations(1)

Bujiazi/ByTheWayCommunity67%

[CVPR 2025] Official implementation of ByTheWay: Boost Your Text-to-Video Generation Model to Higher Quality in a Training-free Way

480Oct 14, 20241 years ago

Similar Papers

Cite this paper

@article{bu2026bytheway,
  title  = {ByTheWay: Boost Your Text-to-Video Generation Model to Higher Quality in a Training-free Way},
  author = {Jiazi Bu and Pengyang Ling and Pan Zhang and Tong Wu and Xiao-wen Dong and Yuhang Zang and Yuhang Cao and Dahua Lin and Jiaqi Wang},
  year   = {2026},
  eprint = {2410.06241},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.06241},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.06241.svg)](https://codeofpaper.com/paper/2410.06241)

Discussion