Skip to main content
QUICK REVIEW

[Paper Review] Any-to-Any Generation via Composable Diffusion

Zineng Tang, Ziyi Yang|arXiv (Cornell University)|May 19, 2023
Multimodal Machine Learning ApplicationsComputer Science29 citations
TL;DR

CoDi introduces Composable Diffusion, a model that can generate any subset of output modalities (text, image, video, audio) from any subset of input modalities, using bridging and latent alignment to enable joint multimodal generation without exponentially many training objectives.

ABSTRACT

We present Composable Diffusion (CoDi), a novel generative model capable of generating any combination of output modalities, such as language, image, video, or audio, from any combination of input modalities. Unlike existing generative AI systems, CoDi can generate multiple modalities in parallel and its input is not limited to a subset of modalities like text or image. Despite the absence of training datasets for many combinations of modalities, we propose to align modalities in both the input and output space. This allows CoDi to freely condition on any input combination and generate any group of modalities, even if they are not present in the training data. CoDi employs a novel composable generation strategy which involves building a shared multimodal space by bridging alignment in the diffusion process, enabling the synchronized generation of intertwined modalities, such as temporally aligned video and audio. Highly customizable and flexible, CoDi achieves strong joint-modality generation quality, and outperforms or is on par with the unimodal state-of-the-art for single-modality synthesis. The project page with demonstrations and code is at https://codi-gen.github.io

Motivation & Objective

  • Motivate the need for a unified model that handles arbitrary input-output modality combinations.
  • Propose a training strategy that aligns modalities in both input conditioning and diffusion generation.
  • Enable efficient any-to-any generation with a linear number of objectives via bridging and latent alignment.
  • Demonstrate strong unimodal and multimodal generation quality across diverse datasets.

Proposed method

  • Train separate latent diffusion models (LDMs) for each modality (text, image, video, audio) in parallel to ensure high unimodal quality.
  • Align input conditioning across modalities by projecting inputs into a shared space using Bridging Alignment, enabling interpolation of modality representations.
  • Introduce a cross-attention mechanism and an environment encoder V to project latent variables from different modalities into a shared space for joint generation.
  • Use Latent Alignment to enable cross-attention between modality diffusers by feeding V(z^B_t) into the cross-attention of modality A’s UNet, with linear training objectives.
  • Maintain modularity by freezing modality-specific LDMs while training only cross-attention parameters and environment encoders, enabling unseen modality combinations at inference.
Figure 1: CoDi can generate various (joint) combinations of output modalities from diverse (joint) sets of inputs: video, image, audio, and text (example combinations depicted by the colored arrows).
Figure 1: CoDi can generate various (joint) combinations of output modalities from diverse (joint) sets of inputs: video, image, audio, and text (example combinations depicted by the colored arrows).

Experimental results

Research questions

  • RQ1Can CoDi generate any combination of output modalities from any combination of input modalities without training on all pairings?
  • RQ2How can bridging alignment and latent alignment reduce training complexity from exponential to linear in the number of modalities?
  • RQ3What is the quality of unimodal and multimodal generation when generating joint outputs (e.g., video+audio) from mixed inputs?
  • RQ4How well do jointly generated modalities align in terms of temporal and semantic coherence?

Key findings

  • CoDi supports single-to-single, multi-condition, and joint multimodal generation across text, image, video, and audio.
  • Bridging Alignment enables alignment of prompt encoders across modalities using text as a bridge, allowing zero-shot multi-conditioning.
  • Latent Alignment with cross-attention enables joint generation by interpolating aligned latent representations, reducing training objectives to linear number of tasks.
  • CoDi achieves strong generation quality, matching or exceeding unimodal state-of-the-art in several settings and performing competitively in others.
  • Joint generation tasks exhibit improved coherence and cross-modal consistency compared to independently generated modalities.
Figure 2: CoDi model architecture: (a) We first train individual diffusion model with aligned prompt encoder by “Bridging Alignment”; (b) Diffusion models learn to attend with each other via “Latent Alignment”; (c) CoDi achieves any-to-any generation with a linear number of training objectives.
Figure 2: CoDi model architecture: (a) We first train individual diffusion model with aligned prompt encoder by “Bridging Alignment”; (b) Diffusion models learn to attend with each other via “Latent Alignment”; (c) CoDi achieves any-to-any generation with a linear number of training objectives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.