Beyond Random Couplings: Contrastive Noise Alignment in Generative Flows
cs.CV, cs.LG
Submitted: 2026-09-16
Updated: 2026-09-16
Comments: 21 pages, 10 figures, 9 tables
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: Diffusion and flow-matching models are typically trained by corrupting data through independently sampled Gaussian noise.
Terminology
Abstract
Diffusion and flow-matching models are typically trained by corrupting data through independently sampled Gaussian noise. While simple and scalable, this forward process induces arbitrary data-noise couplings, forcing the network to learn high-curvature transports between unrelated endpoints. Existing optimal-transport methods reduce this burden by reassigning fixed noise samples to data, but the source noise distribution itself remains passive. To address this, we introduce Contrastive Noise Alignment (CNA), a training-time method that creates dynamic, contrastive couplings by optimizing the noise representations directly. By modeling the noise batch as an interacting particle system, CNA employs a cross-modal InfoNCE objective to align noise particles with their paired data targets. To prevent spatial collapse, this alignment is regularized using an angular entropy term and a radial norm penalty. We show theoretically that this equilibrium asymptotically preserves Gaussian structures, maintaining tractability during inference. Empirically, CNA improves the alignment between noise and data, reduces flow curvature, and provides better generation quality with fewer required sampling steps. For few-step, pixel-space generation (2-4 NFEs), CNA reduces FID by over 50% compared to standard rectified flow, and by at least 24% against Optimal Transport baselines.
Sources
- The Coupling Within: Flow Matching via Distilled Normalizing Flows
- InfoNCE Induces Gaussian Distribution
- Faster Inference of Flow-Based Generative Models via Improved Data-Noise Coupling
- Generative Modeling via Drifting
- Coupled Variational Autoencoder
- Diverse Text-to-Image Generation via Contrastive Noise Optimization
- Better Source, Better Flow: Learning Condition-Dependent Source Distribution for Flow Matching
- AlignFlow: Improving Flow-based Generative Models with Semi-Discrete Optimal Transport
- Flow Matching with Semidiscrete Couplings
- MixFlow: Mixed Source Distributions Improve Rectified Flows
- Representation Learning with Contrastive Predictive Coding
- DINOv2: Learning Robust Visual Features without Supervision
- Multisample Flow Matching: Straightening Flows with Minibatch Couplings
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models