CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer

Zhuoyi Yang, Jiayan Teng, Wendi Zheng, Ming Ding, Shiyu Huang, Jiazheng Xu, Yuanming Yang, Wenyi Hong, Xiaohan Zhang, Guanyu Feng, Da Yin, Xiaotao Gu, Yuxuan Zhang, Weihan Wang, Yean Cheng, Ting Liu, Bin Xu, Yuxiao Dong, Jie Tang

arXiv:2408.06072 · 2026-07-27 공개 · arXiv · PDF

video-generation diffusion-transformer high-resolution semantic-alignment text-to-video video-captioning expert-transformer long-duration

Abstract

We present CogVideoX, a large-scale text-to-video generation model based on diffusion transformer, which can generate 10-second continuous videos aligned with text prompt, with a frame rate of 16 fps and resolution of 768 * 1360 pixels. Previous video generation models often had limited movement and short durations, and is difficult to generate videos with coherent narratives based on text. We propose several designs to address these issues. First, we propose a 3D Variational Autoencoder (VAE) to compress videos along both spatial and temporal dimensions, to improve both compression rate and video fidelity. Second, to improve the text-video alignment, we propose an expert transformer with the expert adaptive LayerNorm to facilitate the deep fusion between the two modalities. Third, by employing a progressive training and multi-resolution frame pack technique, CogVideoX is adept at producing coherent, long-duration, different shape videos characterized by significant motions. In addition, we develop an effective text-video data processing pipeline that includes various data preprocessing strategies and a video captioning method, greatly contributing to the generation quality and semantic alignment. Results show that CogVideoX demonstrates state-of-the-art performance across both multiple machine metrics and human evaluations. The model weight of both 3D Causal VAE, Video caption model and CogVideoX are publicly available at https://github.com/THUDM/CogVideo.

한국어 요약

한 줄 요약

CogVideoX는 16fps, 768×1360 해상도로 10초 길이의 텍스트-비디오를 생성하는 확장형 디퓨전 트랜스포머 모델이다.

핵심 기여도

핵심 아이디어

기존 비디오 생성 모델은 짧은 시간 동안의 제한된 움직임만 생성할 수 있었으며, 텍스트 기반의 일관된 스토리텔링을 구현하기 어려웠다. CogVideoX는 이 문제를 해결하기 위해 3D VAE를 도입하여 비디오의 공간과 시간 차원을 동시에 압축하고, expert transformer를 통해 텍스트와 비디오의 깊은 융합을 가능하게 했다. 특히 expert adaptive LayerNorm은 텍스트와 비디오의 모달 간 상호작용을 유연하게 조절하여 일치도를 높이는 데 기여했다.

기술적 접근법

주요 결과

의의 및 한계

CogVideoX는 텍스트 기반의 긴 시간 동안 일관된 움직임을 가진 비디오 생성을 가능하게 하여, 텍스트-비디오 생성 분야의 기술적 한계를 확장한다. 그러나 초고해상도 또는 초장시간 비디오 생성에 대한 구체적 평가는 명시되지 않았으며, 모델의 대규모 파라미터 수량이나 추론 속도는 언급되지 않았다.

실용적 활용

CogVideoX는 콘텐츠 제작, 광고, 영화 분야에서 텍스트 기반의 비디오 자동 생성에 활용될 수 있으며, 연구적으로는 멀티모달 생성 모델의 기초로 사용될 수 있다.