Latent Flow Transformer
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
Transformers, the standard implementation for large language models (LLMs), typically consist of tens to hundreds of discrete layers. While more layers can lead to better performance, this approach has been challenged as far from efficient, especially given the superiority of continuous layers demonstrated by diffusion and flow-based models for image generation. We propose the Latent Flow Transformer (LFT), which replaces a block of layers with a single learned transport operator trained via flow matching, offering significant compression while maintaining compatibility with the original architecture. Additionally, we address the limitations of existing flow-based methods in textitpreserving coupling by introducing the Flow Walking (FW) algorithm. On the Pythia-410M model, LFT trained with flow matching compresses 6 of 24 layers and outperforms directly skipping 2 layers (KL Divergence of LM logits at 0.407 vs. 0.529), demonstrating the feasibility of this design. When trained with FW, LFT further distills 12 layers into one while reducing the KL to 0.736 surpassing that from skipping 3 layers (0.932), significantly narrowing the gap between autoregressive and flow-based generation paradigms.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 27 of its 34 references that are in the map. First posted on arXiv 20 May 2025.
Builds on
27 of 34 references.
Closest ancestors · 2
Same direction, newest first
- 2024One Step Diffusion via Shortcut Models16 Oct
- 2022Scalable Diffusion Models with Transformers19 Dec
Other references · 25
- 2017Attention Is All You Needcited by 59,932
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,315
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
13 more
- 2022On Neural Differential Equationscited by 264
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 172
- 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
- 2023AR-Diffusion: Auto-Regressive Diffusion Model for Text Generationcited by 113
- 2022Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoisecited by 79
- 2021Prune Once for All: Sparse Pre-Trained Language Modelscited by 66
- 2024ContiFormer: Continuous-Time Transformer for Irregular Time Series Modelingcited by 61
- 2024Latent Space Chain-of-Embedding Enables Output-free LLM Self-Evaluationcited by 56
- 2022ODE Transformer: An Ordinary Differential Equation-Inspired Model for Sequence Generationcited by 26
- 2024Reassessing Layer Pruning in LLMs: New Insights and Methodscited by 23
- 2024Simulation-Free Training of Neural ODEs on Paired Datacited by 8
- 2025Flowing Through Layers: A Continuous Dynamical Systems Perspective on Transformerscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Convergence Analysis of Flow Matching in Latent Space with Transformers
- 2023Flow Matching in Latent Space
- 2025LaTtE-Flow: Layerwise Timestep-Expert Flow-based Transformer
- 2026TextLDM: Language Modeling with Continuous Latent Diffusion
- 2026MPDiT: Multi-Patch Global-to-Local Transformer Architecture For Efficient Flow Matching and Diffusion Model
- 2022Exploring Transformer Backbones for Image Diffusion Models
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- 2026FlowCodec: One-Step Flow Prior for Generative Image Compression