Many-for-Many: Unify the Training of Multiple Video and Image Generation and Manipulation Tasks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Ruibin, Yang, Tao, Shi, Yangming, Feng, Weiguo, Wen, Shilei, Peng, Bingyue, Zhang, Lei
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917250105081856
author Li, Ruibin
Yang, Tao
Shi, Yangming
Feng, Weiguo
Wen, Shilei
Peng, Bingyue
Zhang, Lei
author_facet Li, Ruibin
Yang, Tao
Shi, Yangming
Feng, Weiguo
Wen, Shilei
Peng, Bingyue
Zhang, Lei
contents Diffusion models have shown impressive performance in many visual generation and manipulation tasks. Many existing methods focus on training a model for a specific task, especially, text-to-video (T2V) generation, while many other works focus on finetuning the pretrained T2V model for image-to-video (I2V), video-to-video (V2V), image and video manipulation tasks, etc. However, training a strong T2V foundation model requires a large amount of high-quality annotations, which is very costly. In addition, many existing models can perform only one or several tasks. In this work, we introduce a unified framework, namely many-for-many, which leverages the available training data from many different visual generation and manipulation tasks to train a single model for those different tasks. Specifically, we design a lightweight adapter to unify the different conditions in different tasks, then employ a joint image-video learning strategy to progressively train the model from scratch. Our joint learning leads to a unified visual generation and manipulation model with improved video generation performance. In addition, we introduce depth maps as a condition to help our model better perceive the 3D space in visual generation. Two versions of our model are trained with different model sizes (8B and 2B), each of which can perform more than 10 different tasks. In particular, our 8B model demonstrates highly competitive performance in video generation tasks compared to open-source and even commercial engines. Our models and source codes are available at https://github.com/leeruibin/MfM.git.
format Preprint
id arxiv_https___arxiv_org_abs_2506_01758
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Many-for-Many: Unify the Training of Multiple Video and Image Generation and Manipulation Tasks
Li, Ruibin
Yang, Tao
Shi, Yangming
Feng, Weiguo
Wen, Shilei
Peng, Bingyue
Zhang, Lei
Computer Vision and Pattern Recognition
Diffusion models have shown impressive performance in many visual generation and manipulation tasks. Many existing methods focus on training a model for a specific task, especially, text-to-video (T2V) generation, while many other works focus on finetuning the pretrained T2V model for image-to-video (I2V), video-to-video (V2V), image and video manipulation tasks, etc. However, training a strong T2V foundation model requires a large amount of high-quality annotations, which is very costly. In addition, many existing models can perform only one or several tasks. In this work, we introduce a unified framework, namely many-for-many, which leverages the available training data from many different visual generation and manipulation tasks to train a single model for those different tasks. Specifically, we design a lightweight adapter to unify the different conditions in different tasks, then employ a joint image-video learning strategy to progressively train the model from scratch. Our joint learning leads to a unified visual generation and manipulation model with improved video generation performance. In addition, we introduce depth maps as a condition to help our model better perceive the 3D space in visual generation. Two versions of our model are trained with different model sizes (8B and 2B), each of which can perform more than 10 different tasks. In particular, our 8B model demonstrates highly competitive performance in video generation tasks compared to open-source and even commercial engines. Our models and source codes are available at https://github.com/leeruibin/MfM.git.
title Many-for-Many: Unify the Training of Multiple Video and Image Generation and Manipulation Tasks
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.01758