NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Contextual Flow Matching for High-quality Visual Content Generation

Bozhi Luan, Hong Chen, Jianmin Bao, Liang Hou, Yuan Gao, Xin Tao, Pengfei Wan, Wengang Zhou, Houqiang Li

NeurIPS page · OpenReview · Open on the map

Category: Diffusion & Image Generation › Diffusion Models · Type: new method · Keywords: flow matching, image generation, spatial dependencies, context operators, visual content synthesis

Areas: Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Improved Flow Matching; Computer Vision & 3D › Visual Diffusion and Restoration › Flow Matching and Denoisers

Summary

Contextual Flow Matching (CFM) introduces context operators to model spatial dependencies in flow matching, improving convergence speed and generation fidelity for image synthesis.

Explained to a 5-year-old

People want to make pictures using computers. The old way only looked at each tiny spot of the picture separately. This made the pictures sometimes have weird parts that didn't match. The new idea looks at how nearby spots talk to each other, like a puzzle where pieces help each other. Because of this, the pictures come out nicer and faster.

Explained to a 5-year-old, longer

Computers can draw pictures by learning from many examples. Some computer methods treat each pixel as an independent dot. This works okay sometimes, but can make pictures look weird. The new idea says that nearby dots in a picture should help each other. Think of it like a group of friends where each friend knows what the others are doing. By using this idea, the computer can keep the picture consistent. It also helps the picture to be smoother and more realistic. The method uses special operators that look at both fast changes and slow changes. Fast changes are like the sharp edges and details in a picture. Slow changes are like the overall shape and big structures. When the computer balances these, it can generate better images. This leads to pictures that look nicer and are created faster.

For a technical reader

The paper observes that standard flow matching models optimize a pointwise loss, ignoring spatial correlations in the velocity field. This independence assumption can cause structural inconsistencies and artifacts in generated images. The authors propose a generalized training objective that introduces context operators-modeled as differential and aggregate operators-to capture high-frequency dynamics and stabilize low-frequency evolution. Experiments on ImageNet show that this approach converges faster and yields higher-fidelity samples compared to the baseline. The contribution is a framework that explicitly models spatial dependencies, improving consistency without requiring architectural changes to existing flow models.

Problem

Standard flow matching models assume each pixel's velocity is independent, ignoring spatial correlations. This can lead to inconsistent structures and artifacts in generated images.

Method

The approach employs context operators analogous to convolution kernels to capture spatial relationships in the velocity field. It uses a differential operator to model high-frequency motion dynamics and an aggregate operator to stabilize low-frequency structural evolution.

Results

The approach accelerates convergence and enhances generation fidelity on ImageNet.

Contributions

It introduces a generalized flow matching framework that models spatial dependencies via context operators, improving consistency and performance.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction