Generalized Consistency Trajectory Models for Image Manipulation

Beomsu Kim, Jaemin Kim, Jeongsol Kim, Jong Chul Ye

TL;DR

Generalized Consistency Trajectory Models (GCTMs) extend the speed of consistency models to the flexibility of flow matching, enabling high-quality image manipulation between any two distributions in a single step. By generalizing the theoretical framework of Consistency Trajectory Models (CTMs), GCTMs can perform tasks like image-to-image translation, restoration, and editing with just one neural function evaluation (NFE). This significantly outperforms iterative diffusion baselines in both speed and quality.

The Problem: The "Speed Tax" of Diffusion Models

Diffusion models (DMs) are the current gold standard for image generation, but they come with a significant "speed tax": they require dozens or hundreds of iterative steps to produce a high-quality image. While distillation methods like Consistency Models (CMs) and Consistency Trajectory Models (CTMs) have reduced this to 1 or 2 steps, they are traditionally "locked" into a specific path—mapping Gaussian noise to clean data.

In the real world, we often want to map between arbitrary distributions, such as turning an edge map into a photo, or a blurry image into a sharp one. Existing "bridge" models that handle these tasks often revert to being slow and iterative. The authors address this gap by creating a model that combines the one-step speed of CTMs with the distribution-agnostic flexibility of Flow Matching.

Methods: Generalized Consistency Trajectory Models

The core innovation is the Generalized Consistency Trajectory Model (GCTM). It builds on two main pillars:

  1. Flow Matching (FM) Generalization: Instead of the standard diffusion path, GCTMs use Flow Matching theory to define an Ordinary Differential Equation (ODE) that interpolates between any two distributions, $q(x_0)$ and $q(x_1)$.
  2. Trajectory Learning: The GCTM network is trained to learn the integral of this ODE. This allows the model to "jump" between any two points in time along the trajectory in a single forward pass.
Conceptual overview of Generalized Consistency Trajectory Models (GCTMs) translating between arbitrary distributions.

The authors also explore the "design space" of these models to optimize performance:

  • Couplings: They test different ways to pair source and target images during training. They found that Minibatch Entropic Optimal Transport (EOT) creates straighter trajectories, which simplifies the model's learning process and speeds up training by 2.5x.
Training speedup achieved by using Optimal Transport (OT) coupling compared to independent coupling.
  • Gaussian Perturbation: By adding a tiny amount of noise to the input, they enable "one-to-many" generation. This prevents the model from outputting a blurry average of possible results and instead allows it to produce sharp, diverse images.
  • Parallel Evaluation: GCTMs can estimate both the "score" (local direction) and the "endpoint" (final image) simultaneously, which is a massive advantage for guided tasks like zero-shot restoration.

Key Insights and Ideas

  • CTM is a Special Case: The authors mathematically prove that the original CTM is just a specific version of GCTM where one of the distributions happens to be Gaussian noise.
  • The Power of Optimal Transport (OT): Using OT to pair images during training isn't just a mathematical nicety; it makes the "flow" of the model much simpler (straighter lines), which makes the one-step approximation much more accurate.
  • Solving the "Blurry Mean" Problem: Standard regression models often produce blurry results because they try to minimize the average error. GCTMs use the "latent vector" provided by small input perturbations to choose a specific, sharp path, maintaining high perceptual quality.
  • Zero-Shot Versatility: Because GCTMs can jump to any point in time, they can be used as "plug-and-play" priors for inverse problems (like fixing a corrupted image) without needing to be specifically trained for that exact corruption.

Key Results

The researchers evaluated GCTMs across a wide variety of standard benchmarks, including unconditional generation (CIFAR10), image-to-image translation (Edges$\to$Shoes, Night$\to$Day, Facades), and image restoration (FFHQ, ImageNet).

  • Speed: GCTMs achieve high-quality image manipulation in a single step (~87ms), whereas traditional diffusion-based solvers like DPS or Palette require significantly more time and evaluations to reach comparable quality.
  • Image-to-Image Translation: On the Edges$\to$Shoes task, GCTM achieved an FID of 40.3 with NFE=1, significantly better than Pix2Pix (77.0) and Palette (334.1 at NFE=5).
  • Restoration: In zero-shot deblurring on FFHQ, GCTM outperformed both DPS and CM-based methods in terms of PSNR and SSIM, while being much faster.
  • Scalability: The model successfully scales to 256x256 resolution on ImageNet, maintaining sharp details where iterative methods often struggle at low step counts.

Limitations and Future Work

While GCTMs are highly competitive, they haven't yet surpassed the absolute state-of-the-art in unconditional generation (like iCMs). The authors suggest that further hyperparameter tuning and the addition of GAN-based losses could close this gap. Additionally, as with all powerful generative models, the ability to rapidly translate images could be used for malicious purposes (e.g., generating deepfakes), highlighting the need for regulation in this area.

Looking forward, the authors see massive potential in applying GCTMs to more complex domains like medical image restoration, where fast, high-fidelity translation is critical.

Summary updated

BibTeX
@inproceedings{kim2025generalized,
  author = {Beomsu Kim and Jaemin Kim and Jeongsol Kim and Jong Chul Ye},
  title = {{Generalized Consistency Trajectory Models for Image Manipulation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Zjv38dg1Hb},
}
Figure