TL;DR
Researchers from KAIST have introduced Generalized Consistency Trajectory Models (GCTMs), a framework that enables high-quality image manipulation—like translation, restoration, and editing—in as little as a single neural function evaluation (NFE). By combining the speed of Consistency Models with the flexibility of Flow Matching, GCTMs can bridge any two arbitrary data distributions, moving beyond the standard "noise-to-image" limitation of traditional diffusion distillation.
What Problem Does This Paper Address?
Diffusion Models (DMs) are the current gold standard for generative AI, but they have a major drawback: they are slow. Generating an image typically requires dozens or hundreds of iterative steps (NFEs) to solve a complex differential equation.
While "distillation" methods like Consistency Models (CMs) and Consistency Trajectory Models (CTMs) were developed to reduce this to 1-2 steps, they are almost exclusively designed to map Gaussian noise to data. This makes them rigid for tasks like image-to-image translation (e.g., turning a sketch into a photo), where the starting point isn't pure noise but a structured image. This paper addresses this limitation by generalizing the CTM framework to handle trajectories between any two distributions.
Methods
The core innovation is the marriage of Consistency Trajectory Models with Flow Matching (FM) theory.
- Theoretical Generalization: The authors prove that the Probability Flow ODE used in Flow Matching—which can interpolate between any two distributions $q(x_0)$ and $q(x_1)$—can be re-parameterized into a "consistency" form. This allows a neural network to learn to jump between any two points along the trajectory in a single step.
- Design Space Exploration: The authors identify three critical components for training GCTMs:
- Couplings: How you pair your source and target images during training. They explore Independent coupling, Optimal Transport (OT) coupling (which pairs similar images to create "straighter" paths), and Supervised coupling (for specific tasks like inpainting).
- Gaussian Perturbation: By adding a tiny amount of noise to the input distribution, they ensure the ODE is well-defined and allow for "one-to-many" generation (creating multiple valid outputs from one input).
- Parallel Evaluation: GCTMs can simultaneously estimate the "score" (local direction) and the "ODE endpoint" (the final result), which is particularly useful for guided generation and restoration.
Datasets
The authors evaluated GCTMs across a wide range of standard benchmarks:
- Unconditional Generation: CIFAR-10.
- Image-to-Image Translation: Edges $\rightarrow$ Shoes, Night $\rightarrow$ Day, and Facades (from the Pix2Pix dataset).
- Image Restoration: FFHQ ($64 \times 64$) and ImageNet ($256 \times 256$) for tasks including $2\times$ and $4\times$ super-resolution, Gaussian deblurring, and center inpainting.
Key Insights and Ideas
- CTM is a Special Case: The paper mathematically proves that the original CTM is simply a GCTM where one side of the distribution is fixed to Gaussian noise.
- OT Coupling is a Cheat Code: Using Optimal Transport to pair images during training makes the ODE trajectories "straighter." This leads to a $2.5\times$ training speedup and significantly sharper images compared to independent pairing.
- Solving the "Blurry Mean" Problem: In supervised tasks, simple regression often results in blurry images (the average of all possible answers). GCTMs, through Gaussian perturbation, act as stochastic generators that can produce sharp, distinct samples from a single input.
- Zero-Shot Versatility: Because GCTMs learn the entire trajectory, they can be used for "zero-shot" restoration (where the corruption is unknown at training time) by using the learned ODE velocity for guidance.
Key Results
- Speed: GCTMs achieve high-quality results with NFE = 1, making them orders of magnitude faster than standard diffusion solvers.
- Quality: On image-to-image tasks, GCTM outperformed baselines like Pix2Pix, Palette, and $I^2SB$ in both visual quality (FID) and faithfulness to the input (LPIPS). For example, on the Facades dataset, GCTM achieved an FID of 111.3 compared to Pix2Pix's 134.1.
- Restoration: In zero-shot restoration on FFHQ, GCTM outperformed specialized solvers like DPS and CM-based restoration across PSNR and SSIM metrics.
Limitations and Future Work
- Unconditional SOTA: While highly competitive, GCTMs haven't yet reached the absolute state-of-the-art performance of the most advanced (but slower) iterative models in unconditional generation. The authors suggest further hyperparameter tuning could close this gap.
- Discretization Sensitivity: The model's performance is sensitive to the number of discretization steps ($N$) used during training, particularly near the target distribution ($t=1$).
- Social Impact: As with all high-fidelity translation models, the authors note the potential for misuse in generating malicious content and emphasize the need for regulation.
Summary updated