Contrastive-Augmented Flow Matching for Style-Content Disentanglement

Yusong Li, Pingchuan Ma, Ming Gui, Vincent Tao Hu, Björn Ommer
7/14/2026
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Learning representations that separate content and style is crucial for controllable generation and compositional generalization. However, diffusion and flow-based models trained primarily with generative objectives often produce entangled or misaligned factors. To address this gap, we introduce Contrastive Augmented Flow Matching (CAtFM), a framework that integrates contrastive regularization into an invertible flow matching formulation to promote structured content-style representations. Rather than constraining intermediate latents or velocity fields, we apply contrastive supervision to predicted endpoints during training, enforcing semantic consistency across transported distributions while allowing disentanglement to emerge implicitly, without assuming strictly pure or fully factorized content and style representations. Our main experiments operate in the CLIP embedding space, with additional validation using frozen DINO and ALIGN encoders. Across synthetic data, in-domain styles, and real-world benchmarks (ImageNet, WikiArt, DomainNet, and DTD), CAtFM improves content and style retrieval, enhances embedding cluster separation, and achieves stronger open-set robustness compared to generative and discriminative baselines. Overall, CAtFM provides a simple way to couple discriminative constraints with deterministic transport, improving disentanglement and robustness under distribution shift.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026contrastiveaugmented,
  title  = {Contrastive-Augmented Flow Matching for Style-Content Disentanglement},
  author = {Yusong Li and Pingchuan Ma and Ming Gui and Vincent Tao Hu and Björn Ommer},
  year   = {2026},
  eprint = {2607.12404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.12404v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.12404.svg)](https://codeofpaper.com/paper/2607.12404)

Discussion