Generalization and Memorization in Rectified Flow

Mingxing Rao, Daniel Moyer
3/12/2026
2 citations
cs.LGcs.CV
diffusion-flow

No official code found. Best implementation: mx-ethan-rao/rf_gen_mem (0 stars, MIT, last commit 2026-07-17).

Abstract

Generative models based on the Flow Matching objective, particularly Rectified Flow, have emerged as a dominant paradigm for efficient, high-fidelity image synthesis. However, while existing research heavily prioritizes generation quality and architectural scaling, the underlying dynamics of how RF models memorize training data remain largely underexplored.

Show full abstract

In this paper, we systematically investigate the memorization behaviors of RF through the test statistics of Membership Inference Attacks (MIA). We progressively formulate three test statistics, culminating in a complexity-calibrated metric that successfully decouples intrinsic image spatial complexity from genuine memorization signals. This calibration yields a significant performance surge -- boosting attack AUC by up to 15% and the privacy-critical TPR@1%FPR metric by up to 45% -- establishing the first non-trivial MIA specifically tailored for RF. Leveraging these refined metrics, we uncover a distinct temporal pattern: under standard uniform temporal training, a model's susceptibility to MIA strictly peaks at the integration midpoint, a phenomenon we justify via the network's forced deviation from linear approximations. Finally, we demonstrate that substituting uniform timestep sampling with a Symmetric Exponential (U-shaped) distribution effectively minimizes exposure to vulnerable intermediate timesteps. Extensive evaluations across three datasets confirm that this temporal regularization suppresses memorization while preserving generative fidelity.

View on arXivView PDF

Code Implementations(1)

MIT

Code release for "Generalization and Memorization in Rectified Flow"

00Jun 27, 20264 months agoMIT

Similar Papers

Cite this paper

@article{rao2026generalization,
  title  = {Generalization and Memorization in Rectified Flow},
  author = {Mingxing Rao and Daniel Moyer},
  year   = {2026},
  eprint = {2603.13421},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.13421v3},
  journal = {ECCV 2026 2026}
}

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/2603.13421.svg)](https://codeofpaper.com/paper/2603.13421)

Discussion