mlsanityData to 7 Oct 2026

Flowformer: Linearizing Transformers with Conservation Flows

arXiv 2202.06258 ↗First posted 13 Feb 2022cs.LG cs.AIcited by 69

Not on the map. Why?

Abstract (arXiv)

Transformers based on the attention mechanism have achieved impressive success in various areas. However, the attention mechanism has a quadratic complexity, significantly impeding Transformers from dealing with numerous tokens and scaling up to bigger models. Previous methods mainly utilize the similarity decomposition and the associativity of matrix multiplication to devise linear-time attention mechanisms. They avoid degeneration of attention to a trivial distribution by reintroducing inductive biases such as the locality, thereby at the expense of model generality and expressiveness. In this paper, we linearize Transformers free from specific inductive biases based on the flow network theory. We cast attention as the information flow aggregated from the sources (values) to the sinks (results) through the learned flow capacities (attentions). Within this framework, we apply the property of flow conservation into attention and propose the Flow-Attention mechanism of linear complexity. By respectively conserving the incoming flow of sinks for source competition and the outgoing flow of sources for sink allocation, Flow-Attention inherently generates informative attentions without using specific inductive biases. Empowered by the Flow-Attention, Flowformer yields strong performance in linear time for wide areas, including long sequence, time series, vision, natural language, and reinforcement learning. The code and settings are available at this repository: https://github.com/thuml/Flowformer.

Key facts. Cited by 69 papers in the map (data through 7 Oct 2026). Builds on 40 of its 57 references that are in the map. First posted on arXiv 13 Feb 2022.

Builds on

40 of 57 references.

References · 40

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  10. 2020Longformer: The Long-Document Transformercited by 3,362
  11. 2016Pointer Sentinel Mixture Modelscited by 2,992
  12. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
28 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  2. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  4. 2020Reformer: The Efficient Transformercited by 1,658
  5. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
  6. 2020Rethinking Attention with Performerscited by 1,584
  7. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
  8. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  9. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  10. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  11. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,406
  12. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  13. 2020AWAC: Accelerating Online Reinforcement Learning with Offline Datasetscited by 647
  14. 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 636
  15. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  16. 2020A Transformer-based Framework for Multivariate Time Series Representation Learningcited by 449
  17. 2021Random Feature Attentioncited by 350
  18. 2019ROCKET: Exceptionally fast and accurate time series classification using random convolutional kernelscited by 336
  19. 2018The UEA multivariate time series classification archive, 2018cited by 330
  20. 2019Unsupervised Scalable Representation Learning for Multivariate Time Seriescited by 267
  21. 2020Sparse Sinkhorn Attentioncited by 250
  22. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
  23. 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
  24. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
  25. 2020Fast Transformers with Clustered Attentioncited by 123
  26. 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
  27. 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
  28. 2021You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Samplingcited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 7; 2023: 9; 2024: 26; 2025: 18; 2026: 9.

69 papers.

Sort:

By area:

  1. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,030
  2. 2023iTransformer: Inverted Transformers Are Effective for Time Series Forecastingcited by 906
  3. 2024Transolver: A Fast Transformer Solver for PDEs on General Geometriescited by 299
  4. 2024TimeMixer++: A General Time Series Pattern Machine for Universal Predictive Analysiscited by 113
  5. 2024Is Mamba Effective for Time Series Forecasting?cited by 110
  6. 2023Artificial Intelligence for Digital and Computational Pathologycited by 106
  7. 2024UniTS: A Unified Multi-Task Time Series Modelcited by 93
  8. 2023Modeling Dense Multimodal Interactions Between Biological Pathways and Histology for Survival Predictioncited by 92
  9. 2022Temporal Attention Unit: Towards Efficient Spatiotemporal Predictive Learningcited by 84
  10. 2023Transformers as Support Vector Machinescited by 67
  11. 2024TimeMachine: A Time Series is Worth 4 Mambas for Long-term Forecastingcited by 63
  12. 2022MogaNet: Multi-order Gated Aggregation Networkcited by 59
38 more
  1. 2024Scene Adaptive Sparse Transformer for Event-based Object Detectioncited by 39
  2. 2024TOTEM: TOkenized Time Series EMbeddings for General Time Series Analysiscited by 37
  3. 2023Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representationcited by 28
  4. 2025OLinear: A Linear Model for Time Series Forecasting in Orthogonally Transformed Domaincited by 25
  5. 2023Efficient Attention via Control Variatescited by 23
  6. 2023FormerTime: Hierarchical Multi-Scale Representations for Multivariate Time Series Classificationcited by 21
  7. 2024xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memoriescited by 18
  8. 2025FreEformer: Frequency Enhanced Transformer for Multivariate Time Series Forecastingcited by 18
  9. 2024TimeMIL: Advancing Multivariate Time Series Classification via a Time-aware Multiple Instance Learningcited by 12
  10. 2022Designing Robust Transformers using Robust Kernel Density Estimationcited by 11
  11. 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
  12. 2024Minusformer: Improving Time Series Forecasting by Progressively Learning Residualscited by 10
  13. 2024TSCMamba: Mamba Meets Multi-View Learning for Time Series Classificationcited by 10
  14. 2025TimesBERT: A BERT-Style Foundation Model for Time Series Understandingcited by 10
  15. 2025FeDaL: Federated Dataset Learning for General Time Series Foundation Modelscited by 10
  16. 2024Chimera: Effectively Modeling Multivariate Time Series with 2-Dimensional State Space Modelscited by 8
  17. 2024Cross-Modal Learning for Anomaly Detection in Complex Industrial Process: Methodology and Benchmarkcited by 8
  18. 2025TVNet: A Novel Time Series Analysis Method Based on Dynamic Convolution and 3D-Variationcited by 8
  19. 2022Linear Video Transformer with Feature Fixationcited by 6
  20. 2023Correlated Attention in Transformers for Multivariate Time Seriescited by 6
  21. 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
  22. 2024Peri-midFormer: Periodic Pyramid Transformer for Time Series Analysiscited by 5
  23. 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
  24. 2024A Primal-Dual Framework for Transformers and Neural Networkscited by 4
  25. 2024DiffFluid: Plain Diffusion Models are Effective Predictors of Flow Dynamicscited by 4
  26. 2024Predictor-Corrector Enhanced Transformers with Exponential Moving Average Coefficient Learningcited by 4
  27. 2022DBA: Efficient Transformer with Dynamic Bilinear Low-Rank Attentioncited by 3
  28. 2024Computation and Parameter Efficient Multi-Modal Fusion Transformer for Cued Speech Recognitioncited by 3
  29. 2024UmambaTSF: A U-shaped Multi-Scale Long-Term Time Series Forecasting Method Using Mambacited by 3
  30. 2025Recency Biased Causal Attention for Time-series Forecastingcited by 3
  31. 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domaincited by 3
  32. 2023OptScaler: A Collaborative Framework for Robust Autoscaling in the Cloudcited by 2
  33. 2024Scalable and Generalizable Correspondence Pruning via Geometry-Consistent Pre-trainingcited by 2
  34. 2025Gateformer: Advancing Multivariate Time Series Forecasting through Temporal and Variate-Wise Attention with Gated Representationscited by 2
  35. 2025MMET: A Multi-Input and Multi-Scale Transformer for Efficient PDEs Solvingcited by 2
  36. 2025Task-Aware Mixture-of-Experts for Time Series Analysiscited by 2
  37. 2024LETS-C: Leveraging Text Embedding for Time Series Classificationcited by 1
  38. 2024Reorganizing attention-space geometry with expressive attentioncited by 1

50 most cited of 69 All 69 (JSON)