FLAT: An Optimized Dataflow for Mitigating Attention Bottlenecks
Not on the map. Why?
Abstract (arXiv)
Attention mechanisms, primarily designed to capture pairwise correlations between words, have become the backbone of machine learning, expanding beyond natural language processing into other domains. This growth in adaptation comes at the cost of prohibitively large memory requirements and computational complexity, especially at higher number of input elements. This limitation is due to inherently limited data reuse opportunities and quadratic growth in memory footprints, leading to severe memory-boundedness and limited scalability of input elements. This work addresses these challenges by devising a tailored dataflow optimization, called FLAT, for attention mechanisms without altering their functionality. This dataflow processes costly attention operations through a unique fusion mechanism, transforming the memory footprint quadratic growth to merely a linear one. To realize the full potential of this bespoke mechanism, we propose a tiling approach to enhance the data reuse across attention operations. Our method both mitigates the off-chip bandwidth bottleneck as well as reduces the on-chip memory requirement. FLAT delivers 1.94x (1.76x) speedup and 49% and (42%) of energy savings compared to the state-of-the-art Edge (Cloud) accelerators with no customized dataflow optimization. When on-chip resources are scarce (20 KB-200 KB), FLAT yields, on average, 1.5x end-to-end latency reduction across a diverse range of conventional attention-based models with input sequence lengths ranging from 512-token to 64K-token. Our evaluations demonstrate that state-of-the-art DNN dataflow applied to attention operations reach the efficiency limit for inputs above 512 elements. In contrast, FLAT unblocks transformer models for inputs with up to 64K elements
Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Builds on 59 of its 111 references that are in the map. First posted on arXiv 13 Jul 2021.
Builds on
59 of 111 references.
References · 59
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
38 more
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2019Cross-lingual Language Model Pretrainingcited by 1,090
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2018Image Transformercited by 772
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2020TransTrack: Multiple Object Tracking with Transformercited by 371
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 335
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
- 2018Music Transformercited by 211
- 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
- 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
- 2019Structured Pruning of Large Language Modelscited by 203
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
- 2019Blockwise Self-Attention for Long Document Understandingcited by 159
- 2019Adaptively Sparse Transformerscited by 155
- 2019FlauBERT: Unsupervised Language Model Pre-training for Frenchcited by 153
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
- 2018Learning to Optimize Tensor Programscited by 140
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 110
- 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
- 2020HyGCN: A GCN Accelerator with Hybrid Architecturecited by 74
- 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
- 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
- 2021An Evaluation of Edge TPU Accelerators for Convolutional Neural Networkscited by 39
- 2020GRIP: A Graph Neural Network Accelerator Architecturecited by 37
- 2018Interstellar: Using Halide's Scheduling Language to Analyze DNN Acceleratorscited by 34
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2022: 1; 2023: 5; 2024: 13; 2025: 13; 2026: 7.
39 papers.
Sort:
By area:
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAscited by 64
- 2025History Rhymes: Accelerating LLM Reinforcement Learning with RhymeRLcited by 38
- 2024Duplex: A Device for Large Language Models with Mixture of Experts, Grouped Query Attention, and Continuous Batchingcited by 34
- 2024DiffKV: Differentiated Memory Management for Large Language Models with Parallel KV Compactioncited by 26
- 2023Scaling Down to Scale Up: A Cost-Benefit Analysis of Replacing OpenAI's LLM with Open Source SLMs in Productioncited by 21
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing Systemcited by 20
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
- 2022Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip Recomputationcited by 12
- 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Trainingcited by 11
27 more
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Modelscited by 9
- 2025QuartDepth: Post-Training Quantization for Real-Time Depth Estimation on the Edgecited by 8
- 2025Arrow: Adaptive Scheduling Mechanisms for Disaggregated LLM Inference Architecturecited by 5
- 2024Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloadscited by 4
- 2024Characterizing the Accuracy -- Efficiency Trade-off of Low-rank Decomposition in Language Modelscited by 4
- 2025UbiMoE: A Ubiquitous Mixture-of-Experts Vision Transformer Accelerator With Hybrid Computation Pattern on FPGAcited by 4
- 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systemscited by 3
- 2025SystolicAttention: Fusing FlashAttention within a Single Systolic Arraycited by 3
- 2023A Dataflow Compiler for Efficient LLM Inference using Custom Microscaling Formatscited by 2
- 2025Architecting Long-Context LLM Acceleration with Packing-Prefetch Scheduler and Ultra-Large Capacity On-Chip Memoriescited by 2
- 2023Subgraph Stationary Hardware-Software Inference Co-Designcited by 1
- 2025Beyond Moore's Law: Harnessing the Redshift of Generative AI with Effective Hardware-Software Co-Designcited by 1
- 2025AccLLM: Accelerating Long-Context LLM Inference Via Algorithm-Hardware Co-Designcited by 1
- 2025A Study on Inference Latency for Vision Transformers on Mobile Devicescited by 1
- 2026VersaQ-3D: Architecture Support for Visual Geometry Grounded Transformers via Versatile Quantizationcited by 1
- 2024Comprehensive Performance Modeling and System Design Insights for Foundation Modelscited by 0
- 2024FLARE: FP-Less PTQ and Low-ENOB ADC Based AMS-PiM for Error-Resilient, Fast, and Efficient Transformer Accelerationcited by 0
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devicescited by 0
- 2025Accelerating Sparse Transformer Inference on GPUcited by 0
- 2025DCO: Dynamic Cache Orchestration for LLM Accelerators through Predictive Managementcited by 0
- 2025ProServe: Unified Multi-Priority Request Scheduling for LLM Servingcited by 0
- 2026From Buffers to Registers: Unlocking Fine-Grained FlashAttention with Hybrid-Bonded 3D NPU Co-Designcited by 0
- 2026RedFuser: An Automatic Operator Fusion Framework for Cascaded Reductions on AI Acceleratorscited by 0
- 2026LLMForge: Multi-Backend Hardware-Aware Neural Architecture Search with Infinite-Head Attention for Edge Language Modelscited by 0
- 2026FastTPS: An Optimized Method for LLM Token Phase for AI acceleratorscited by 0
- 2026Transformer Accelerator (TFA): A Macro-Op INT8 Hardware Chip for Transformer Inference and Machine Translationcited by 0
- 2026PATTON: Enabling Commodity PIM for Production LLM Servingcited by 0
- 2026PATTON: Enabling Commodity PIM for Production LLM Serving10 Sep 2026
- 2026Transformer Accelerator (TFA): A Macro-Op INT8 Hardware Chip for Transformer Inference and Machine Translation6 Aug 2026
- 2026FastTPS: An Optimized Method for LLM Token Phase for AI accelerators13 Jul 2026
- 2026LLMForge: Multi-Backend Hardware-Aware Neural Architecture Search with Infinite-Head Attention for Edge Language Models17 May 2026
- 2026RedFuser: An Automatic Operator Fusion Framework for Cascaded Reductions on AI Accelerators24 Feb 2026
- 2026From Buffers to Registers: Unlocking Fine-Grained FlashAttention with Hybrid-Bonded 3D NPU Co-Design11 Feb 2026
- 2026VersaQ-3D: Architecture Support for Visual Geometry Grounded Transformers via Versatile Quantization28 Jan 2026
- 2025ProServe: Unified Multi-Priority Request Scheduling for LLM Serving15 Dec 2025
- 2025DCO: Dynamic Cache Orchestration for LLM Accelerators through Predictive Management8 Dec 2025
- 2025A Study on Inference Latency for Vision Transformers on Mobile Devices29 Oct 2025
- 2025History Rhymes: Accelerating LLM Reinforcement Learning with RhymeRL26 Aug 2025
- 2025Architecting Long-Context LLM Acceleration with Packing-Prefetch Scheduler and Ultra-Large Capacity On-Chip Memories11 Aug 2025
27 more
- 2025SystolicAttention: Fusing FlashAttention within a Single Systolic Array15 Jul 2025
- 2025Accelerating Sparse Transformer Inference on GPU6 Jun 2025
- 2025Arrow: Adaptive Scheduling Mechanisms for Disaggregated LLM Inference Architecture17 May 2025
- 2025Beyond Moore's Law: Harnessing the Redshift of Generative AI with Effective Hardware-Software Co-Design9 Apr 2025
- 2025AccLLM: Accelerating Long-Context LLM Inference Via Algorithm-Hardware Co-Design7 Apr 2025
- 2025QuartDepth: Post-Training Quantization for Real-Time Depth Estimation on the Edge20 Mar 2025
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing System21 Feb 2025
- 2025UbiMoE: A Ubiquitous Mixture-of-Experts Vision Transformer Accelerator With Hybrid Computation Pattern on FPGA8 Feb 2025
- 2024DiffKV: Differentiated Memory Management for Large Language Models with Parallel KV Compaction4 Dec 2024
- 2024FLARE: FP-Less PTQ and Low-ENOB ADC Based AMS-PiM for Error-Resilient, Fast, and Efficient Transformer Acceleration22 Nov 2024
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devices20 Nov 2024
- 2024Comprehensive Performance Modeling and System Design Insights for Foundation Models30 Sep 2024
- 2024Duplex: A Device for Large Language Models with Mixture of Experts, Grouped Query Attention, and Continuous Batching2 Sep 2024
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management28 Jun 2024
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models11 Jun 2024
- 2024Characterizing the Accuracy -- Efficiency Trade-off of Low-rank Decomposition in Language Models10 May 2024
- 2024Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloads17 Apr 2024
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameters31 Jan 2024
- 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAs8 Jan 2024
- 2023Scaling Down to Scale Up: A Cost-Benefit Analysis of Replacing OpenAI's LLM with Open Source SLMs in Production20 Dec 2023
- 2023A Dataflow Compiler for Efficient LLM Inference using Custom Microscaling Formats28 Jul 2023
- 2023Subgraph Stationary Hardware-Software Inference Co-Design21 Jun 2023
- 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Training16 Feb 2023
- 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systems23 Jan 2023
- 2022Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip Recomputation1 Sep 2022
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAscited by 64
- 2024DiffKV: Differentiated Memory Management for Large Language Models with Parallel KV Compactioncited by 26
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing Systemcited by 20
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Modelscited by 9
- 2025Arrow: Adaptive Scheduling Mechanisms for Disaggregated LLM Inference Architecturecited by 5
- 2023A Dataflow Compiler for Efficient LLM Inference using Custom Microscaling Formatscited by 2
- 2025Architecting Long-Context LLM Acceleration with Packing-Prefetch Scheduler and Ultra-Large Capacity On-Chip Memoriescited by 2
- 2025ProServe: Unified Multi-Priority Request Scheduling for LLM Servingcited by 0
- 2026PATTON: Enabling Commodity PIM for Production LLM Servingcited by 0
- 2026PATTON: Enabling Commodity PIM for Production LLM Serving10 Sep 2026
- 2025ProServe: Unified Multi-Priority Request Scheduling for LLM Serving15 Dec 2025
- 2025Architecting Long-Context LLM Acceleration with Packing-Prefetch Scheduler and Ultra-Large Capacity On-Chip Memories11 Aug 2025
- 2025Arrow: Adaptive Scheduling Mechanisms for Disaggregated LLM Inference Architecture17 May 2025
- 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing System21 Feb 2025
- 2024DiffKV: Differentiated Memory Management for Large Language Models with Parallel KV Compaction4 Dec 2024
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management28 Jun 2024
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models11 Jun 2024
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAs8 Jan 2024
- 2023A Dataflow Compiler for Efficient LLM Inference using Custom Microscaling Formats28 Jul 2023
- 2023Scaling Down to Scale Up: A Cost-Benefit Analysis of Replacing OpenAI's LLM with Open Source SLMs in Productioncited by 21
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
- 2022Sparse Attention Acceleration with Synergistic In-Memory Pruning and On-Chip Recomputationcited by 12
- 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Trainingcited by 11
- 2025QuartDepth: Post-Training Quantization for Real-Time Depth Estimation on the Edgecited by 8
- 2024Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloadscited by 4
- 2024Characterizing the Accuracy -- Efficiency Trade-off of Low-rank Decomposition in Language Modelscited by 4
- 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systemscited by 3
- 2025SystolicAttention: Fusing FlashAttention within a Single Systolic Arraycited by 3
- 2023Subgraph Stationary Hardware-Software Inference Co-Designcited by 1
- 2025Beyond Moore's Law: Harnessing the Redshift of Generative AI with Effective Hardware-Software Co-Designcited by 1
- 2025AccLLM: Accelerating Long-Context LLM Inference Via Algorithm-Hardware Co-Designcited by 1
12 most cited of 24 All 24 (JSON)
- 2026Transformer Accelerator (TFA): A Macro-Op INT8 Hardware Chip for Transformer Inference and Machine Translation6 Aug 2026
- 2026FastTPS: An Optimized Method for LLM Token Phase for AI accelerators13 Jul 2026
- 2026LLMForge: Multi-Backend Hardware-Aware Neural Architecture Search with Infinite-Head Attention for Edge Language Models17 May 2026
- 2026RedFuser: An Automatic Operator Fusion Framework for Cascaded Reductions on AI Accelerators24 Feb 2026
- 2026From Buffers to Registers: Unlocking Fine-Grained FlashAttention with Hybrid-Bonded 3D NPU Co-Design11 Feb 2026
- 2026VersaQ-3D: Architecture Support for Visual Geometry Grounded Transformers via Versatile Quantization28 Jan 2026
- 2025DCO: Dynamic Cache Orchestration for LLM Accelerators through Predictive Management8 Dec 2025
- 2025A Study on Inference Latency for Vision Transformers on Mobile Devices29 Oct 2025
- 2025SystolicAttention: Fusing FlashAttention within a Single Systolic Array15 Jul 2025
- 2025Accelerating Sparse Transformer Inference on GPU6 Jun 2025
- 2025Beyond Moore's Law: Harnessing the Redshift of Generative AI with Effective Hardware-Software Co-Design9 Apr 2025
- 2025AccLLM: Accelerating Long-Context LLM Inference Via Algorithm-Hardware Co-Design7 Apr 2025
12 newest of 24 All 24 (JSON)