# PrimFlow: Few-Step Trajectory Distillation with Adaptive Temporal Function Parameterization

arXiv: https://arxiv.org/abs/2610.27146 · HTML: https://mlsanity.com/paper/2610.27146/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 13 of its 14 references that are in the map.
- Submitted 19 Oct 2026.

## Builds on (most cited first, 13 of 13)

- [Denoising Diffusion Probabilistic Models](https://mlsanity.com/paper/2006.11239/) (2020)
- [Score-Based Generative Modeling through Stochastic Differential Equations](https://mlsanity.com/paper/2011.13456/) (2020)
- [Flow Matching for Generative Modeling](https://mlsanity.com/paper/2210.02747/) (2022)
- [Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow](https://mlsanity.com/paper/2209.03003/) (2022)
- [Consistency Models](https://mlsanity.com/paper/2303.01469/) (2023)
- [One-step Diffusion with Distribution Matching Distillation](https://mlsanity.com/paper/2311.18828/) (2023)
- [Improved Distribution Matching Distillation for Fast Image Synthesis](https://mlsanity.com/paper/2405.14867/) (2024)
- [Mean Flows for One-step Generative Modeling](https://mlsanity.com/paper/2505.13447/) (2025)
- [InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generation](https://mlsanity.com/paper/2309.06380/) (2023)
- [Learning Few-Step Diffusion Models by Trajectory Distribution Matching](https://mlsanity.com/paper/2503.06674/) (2025)
- [pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation](https://mlsanity.com/paper/2510.14974/) (2025)
- [Parallel Decoding Distillation for Fast Image and Video Generation](https://mlsanity.com/paper/2607.26004/) (2026)
- [ArcFlow: Unleashing 2-Step Text-to-Image Generation via High-Precision Non-Linear Flow Distillation](https://mlsanity.com/paper/2602.09014/) (2026)

## Abstract (arXiv)

How to compress the hundreds of network evaluations required by diffusion and flow models to generate content into only a few steps while maintaining generation quality is an important concern in industry. Trajectory distillation enables a few-step model to fit the ODE trajectory obtained by integrating the teacher's multistep dynamics through a single backbone computation, providing an effective approach to few-step generation. Existing methods typically use temporal function parameterization (TFP), in which the backbone predicts parameters of a predefined temporal trajectory function. These designs generally express only trajectories with particular structures; even fully optimizing their learnable parameters does not guarantee an accurate fit to an arbitrary teacher trajectory. We introduce PrimFlow, which extracts shared latent features with one backbone forward pass and uses a lightweight auxiliary network conditioned on query time to learn an adaptive temporal function, relaxing this restriction. Text-to-image experiments on FLUX.2-Klein-base-9B and Qwen-Image-20B show better overall performance across multiple evaluation metrics, backbones, and 2/4 backbone-evaluation settings.
