Lune

NeurIPS2025Top-tier venue

Edit Flows: Variable Length Discrete Flow Matching with Sequence-Level Edit Operations

Marton Havasi, Brian Karrer, Itai Gat, Ricky T. Q. Chen

Abstract

Autoregressive generative models naturally generate variable-length sequences, while non-autoregressive models struggle, often imposing rigid, token-wise structures. We propose Edit Flows, a non-autoregressive model that overcomes these limitations by defining a discrete flow over sequences through edit operations— insertions, deletions, and substitutions. By modeling these operations within a Continuous-time Markov Chain over the sequence space, Edit Flows enable flexible, position-relative generation that aligns more closely with the structure of sequence data. Our training method leverages an expanded state space with auxiliary variables, making the learning process efficient and tractable. Empirical results show that Edit Flows outperforms both autoregressive and mask models on image captioning and significantly outperforms the mask construction in text and code generation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Time-Reparameterized Cumulative Intensity Extrapolation Sampler for Discrete Flow Matching cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • A Time-Reparameterized Cumulative Intensity Extrapolation Sampler for Discrete Flow Matching cites Denoising Diffusion Probabilistic Models
  • Structured Denoising Diffusion Models in Discrete State-Spaces cites Denoising Diffusion Probabilistic Models
  • Scalable Diffusion Models with Transformers cites Learning Transferable Visual Models From Natural Language Supervision
  • Scalable Diffusion Models with Transformers cites Denoising Diffusion Probabilistic Models
  • STRIDE: Post-Training LLMs to Reason and Refine Bio-Sequences via Edit Trajectories cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • STRIDE: Post-Training LLMs to Reason and Refine Bio-Sequences via Edit Trajectories cites Denoising Diffusion Probabilistic Models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Scalable Diffusion Models with Transformers
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Flowception: Temporally Expansive Flow Matching for Video Generation cites Scalable Diffusion Models with Transformers
  • Flowception: Temporally Expansive Flow Matching for Video Generation cites Denoising Diffusion Probabilistic Models
  • Flowception: Temporally Expansive Flow Matching for Video Generation cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Flowception: Temporally Expansive Flow Matching for Video GenerationTariq Berrada Ifriqi, John Nguyen, Karteek Alahari, Jakob Verbeek et al.CVPR 2026 · 2 citations
  2. Insertion Based Sequence Generation with Learnable Order DynamicsDhruvesh Patel, Benjamin Rozonoyer, Gaurav Pandey, Tahira Naseem et al.ICML 2026 · 1 citation
  3. A Time-Reparameterized Cumulative Intensity Extrapolation Sampler for Discrete Flow MatchingFeiyang Fu, Hehe FanICML 2026
  4. STRIDE: Post-Training LLMs to Reason and Refine Bio-Sequences via Edit TrajectoriesDaiheng Zhang, Shiyang Zhang, Sizhuang He, Yangtian Zhang et al.ICML 2026

Builds on29

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
  4. Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari et al.ICML 2024 · 3,620 citations
  5. Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations

Related papers

  1. Edit-Based Flow Matching for Temporal Point ProcessesDavid Lüdke, Marten Lienen, Marcel Kollovieh, Stephan GünnemannICLR 2026 · 9 citations
  2. Non-autoregressive Text Editing with Copy-aware Latent AlignmentsYu Zhang, Yue Zhang, Leyang Cui, Guohong FuEMNLP 2023 · 2 citations
  3. Autoregressive Image Generation without Vector QuantizationTianhong Li, Yonglong Tian, He Li, Mingyang Deng et al.NeurIPS 2024 · 758 citations
  4. MaskINT: Video Editing via Interpolative Non-autoregressive Masked TransformersHaoyu Ma, Shahin Mahdizadehaghdam, Bichen Wu, Zhipeng Fan et al.CVPR 2024 · 3 citations
  5. NextStep-1: Toward Autoregressive Image Generation with Continuous Tokens at ScaleChunrui Han, Guopeng Li, Jingwei Wu, Quan Sun et al.ICLR 2026 · 58 citations
Dusk over the sea between two cliffs drawn in fine vertical lines