DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusion
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks (DNNs) have emerged as the core enabler of many major applications on mobile devices. To achieve high accuracy, DNN models have become increasingly deep with hundreds or even thousands of operator layers, leading to high memory and computational requirements for inference. Operator fusion (or kernel/layer fusion) is key optimization in many state-of-the-art DNN execution frameworks, such as TensorFlow, TVM, and MNN. However, these frameworks usually adopt fusion approaches based on certain patterns that are too restrictive to cover the diversity of operators and layer connections. Polyhedral-based loop fusion techniques, on the other hand, work on a low-level view of the computation without operator-level information, and can also miss potential fusion opportunities. To address this challenge, this paper proposes a novel and extensive loop fusion framework called DNNFusion. The basic idea of this work is to work at an operator view of DNNs, but expand fusion opportunities by developing a classification of both individual operators and their combinations. In addition, DNNFusion includes 1) a novel mathematical-property-based graph rewriting framework to reduce evaluation costs and facilitate subsequent operator fusion, 2) an integrated fusion plan generation that leverages the high-level analysis and accurate light-weight profiling, and 3) additional optimizations during fusion code generation. DNNFusion is extensively evaluated on 15 DNN models with varied types of tasks, model sizes, and layer counts. The evaluation results demonstrate that DNNFusion finds up to 8.8x higher fusion opportunities, outperforms four state-of-the-art DNN execution frameworks with 9.3x speedup. The memory requirement reduction and speedups can enable the execution of many of the target models on mobile devices and even make them part of a real-time application.
Key facts. Cited by 56 papers in the map (data through 7 Oct 2026). Builds on 23 of its 114 references that are in the map. First posted on arXiv 30 Aug 2021.
Builds on
23 of 114 references.
References · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2017Mask R-CNNcited by 7,259
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,624
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
11 more
- 2017Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classificationcited by 521
- 2018Learning to Optimize Tensor Programscited by 138
- 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
- 2020PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruningcited by 75
- 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
- 2020MNN: A Universal and Efficient Inference Enginecited by 64
- 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
- 2020RTMobile: Beyond Real-Time Mobile Acceleration of RNNs for Speech Recognitioncited by 19
- 2020Cortex: A Compiler for Recursive Deep Learning Modelscited by 16
- 2018On Optimizing Operator Fusion Plans for Large-Scale Machine Learning in SystemMLcited by 13
- 2015Polly's Polyhedral Scheduling in the Presence of Reductionscited by 3
Built on by
Citing papers per year: 2021: 2; 2022: 9; 2023: 9; 2024: 12; 2025: 12; 2026: 12.
56 papers.
Sort:
By area:
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2023Pre-RMSNorm and Pre-CRMSNorm Transformers: Equivalent and Efficient Pre-LN Transformerscited by 30
- 2021Understanding GNN Computational Graph: A Coordinated Computation, IO, and Memory Perspectivecited by 28
- 2022DreamShard: Generalizable Embedding Table Placement for Recommender Systemscited by 14
- 2023Towards Artificial General Intelligence (AGI) in the Internet of Things (IoT): Opportunities and Challengescited by 14
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobilecited by 12
- 2023Operator Fusion in XLA: Analysis and Evaluationcited by 8
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A surveycited by 8
- 2024Optimal Kernel Orchestration for Tensor Programs with Korchcited by 7
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2025Neuromorphic Principles for Efficient Large Language Models on Intel Loihi 2cited by 6
- 2023Shared Memory-contention-aware Concurrent DNN Execution for Diversely Heterogeneous System-on-Chipscited by 5
38 more
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
- 2026Event Tensor: A Unified Abstraction for Compiling Dynamic Megakernelcited by 4
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programmingcited by 3
- 2024Survey for Landing Generative AI in Social and E-commerce Recsys -- the Industry Perspectivescited by 3
- 2025msf-CNN: Patch-based Multi-Stage Fusion with Convolutional Neural Networks for TinyMLcited by 3
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMscited by 3
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUscited by 3
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placementcited by 2
- 2022DNNFuser: Generative Pre-Trained Transformer as a Generalized Mapper for Layer Fusion in DNN Acceleratorscited by 2
- 2022Efficient Adaptive Activation Rounding for Post-Training Quantizationcited by 2
- 2023TorchBench: Benchmarking PyTorch with High API Surface Coveragecited by 2
- 2024Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloadscited by 2
- 2022OLLIE: Derivation-based Tensor Program Optimizercited by 1
- 2022Inference Latency Prediction at the Edgecited by 1
- 2023RAF: Holistic Compilation for Deep Learning Model Trainingcited by 1
- 2024Kernel Looping: Eliminating Synchronization Boundaries for Peak Inference Performancecited by 1
- 2025Blockbuster, Part 1: Block-level AI Operator Fusioncited by 1
- 2025Scalable Synthesis of distributed LLM workloads through Symbolic Tensor Graphscited by 1
- 2025Optimizing 3D Gaussian Splattering for Mobile GPUscited by 1
- 2026FlashMem: Supporting Modern DNN Workloads on Mobile with GPU Memory Hierarchy Optimizationscited by 1
- 2022CoCoPIE XGen: A Full-Stack AI-Oriented Optimizing Frameworkcited by 0
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizationscited by 0
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimizationcited by 0
- 2023PowerFusion: A Tensor Compiler with Explicit Data Movement Description and Instruction-level Graph IRcited by 0
- 2023Grassroots Operator Search for Model Edge Adaptationcited by 0
- 2024GeoT: Tensor Centric Library for Graph Neural Network via Efficient Segment Reduction on GPUcited by 0
- 2024Deep Learning Inference on Heterogeneous Mobile Processors: Potentials and Pitfallscited by 0
- 2024Accelerating Depthwise Separable Convolutions on Ultra-Low-Power Devicescited by 0
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devicescited by 0
- 2025GPU-accelerated Multi-relational Parallel Graph Retrieval for Web-scale Recommendationscited by 0
- 2025Accelerating Sparse Transformer Inference on GPUcited by 0
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflowcited by 0
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devicescited by 0
- 2025Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systemscited by 0
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUscited by 0
- 2026RedFuser: An Automatic Operator Fusion Framework for Cascaded Reductions on AI Acceleratorscited by 0
- 2026MONET: Modeling and Optimization of neural NEtwork Training from Edge to Data Centerscited by 0
- 2026Optimizing Feature Extraction for On-device Model Inference with User Behavior Sequencescited by 0
50 most cited of 56 All 56 (JSON)
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026FBLayout: Optimizing Memory Layout for Efficient LLM Finetuning on Mobile GPUs7 Jul 2026
- 2026AgentCompile: An LLM-Guided Compiler for Direct CUDA Inference4 Jun 2026
- 2026On Efficient Scaling of GNNs via IO-Aware Layers Implementations29 May 2026
- 2026Forge-UGC: FX optimization and register-graph engine for universal graph compiler14 Apr 2026
- 2026Event Tensor: A Unified Abstraction for Compiling Dynamic Megakernel14 Apr 2026
- 2026Optimizing Feature Extraction for On-device Model Inference with User Behavior Sequences23 Mar 2026
- 2026MONET: Modeling and Optimization of neural NEtwork Training from Edge to Data Centers16 Mar 2026
- 2026RedFuser: An Automatic Operator Fusion Framework for Cascaded Reductions on AI Accelerators24 Feb 2026
- 2026FlashMem: Supporting Modern DNN Workloads on Mobile with GPU Memory Hierarchy Optimizations17 Feb 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUs23 Jan 2026
38 more
- 2025Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systems12 Dec 2025
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices27 Nov 2025
- 2025Optimizing 3D Gaussian Splattering for Mobile GPUs20 Nov 2025
- 2025Scalable Synthesis of distributed LLM workloads through Symbolic Tensor Graphs13 Nov 2025
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow6 Nov 2025
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUs9 Oct 2025
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMs30 Sep 2025
- 2025Accelerating Sparse Transformer Inference on GPU6 Jun 2025
- 2025msf-CNN: Patch-based Multi-Stage Fusion with Convolutional Neural Networks for TinyML16 May 2025
- 2025Blockbuster, Part 1: Block-level AI Operator Fusion29 Apr 2025
- 2025GPU-accelerated Multi-relational Parallel Graph Retrieval for Web-scale Recommendations17 Feb 2025
- 2025Neuromorphic Principles for Efficient Large Language Models on Intel Loihi 212 Feb 2025
- 2024MAS-Attention: Memory-Aware Stream Processing for Attention Acceleration on Resource-Constrained Edge Devices20 Nov 2024
- 2024Kernel Looping: Eliminating Synchronization Boundaries for Peak Inference Performance31 Oct 2024
- 2024Accelerating Depthwise Separable Convolutions on Ultra-Low-Power Devices18 Jun 2024
- 2024Optimal Kernel Orchestration for Tensor Programs with Korch13 Jun 2024
- 2024Survey for Landing Generative AI in Social and E-commerce Recsys -- the Industry Perspectives10 Jun 2024
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programming14 May 2024
- 2024Deep Learning Inference on Heterogeneous Mobile Processors: Potentials and Pitfalls3 May 2024
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobile21 Apr 2024
- 2024Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloads17 Apr 2024
- 2024GeoT: Tensor Centric Library for Graph Neural Network via Efficient Segment Reduction on GPU3 Apr 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A survey27 Sep 2023
- 2023Grassroots Operator Search for Model Edge Adaptation20 Sep 2023
- 2023Towards Artificial General Intelligence (AGI) in the Internet of Things (IoT): Opportunities and Challenges14 Sep 2023
- 2023Shared Memory-contention-aware Concurrent DNN Execution for Diversely Heterogeneous System-on-Chips10 Aug 2023
- 2023PowerFusion: A Tensor Compiler with Explicit Data Movement Description and Instruction-level Graph IR11 Jul 2023
- 2023Pre-RMSNorm and Pre-CRMSNorm Transformers: Equivalent and Efficient Pre-LN Transformers24 May 2023
- 2023TorchBench: Benchmarking PyTorch with High API Surface Coverage27 Apr 2023
- 2023RAF: Holistic Compilation for Deep Learning Model Training8 Mar 2023
- 2023Operator Fusion in XLA: Analysis and Evaluation30 Jan 2023
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimization2 Dec 2022
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networks24 Oct 2022
- 2022ALT: Boosting Deep Learning Performance by Breaking the Wall between Graph and Operator Level Optimizations22 Oct 2022
- 2022Inference Latency Prediction at the Edge6 Oct 2022
- 2022DreamShard: Generalizable Embedding Table Placement for Recommender Systems5 Oct 2022
50 newest of 56 All 56 (JSON)
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2023Pre-RMSNorm and Pre-CRMSNorm Transformers: Equivalent and Efficient Pre-LN Transformerscited by 30
- 2021Understanding GNN Computational Graph: A Coordinated Computation, IO, and Memory Perspectivecited by 28
- 2022DreamShard: Generalizable Embedding Table Placement for Recommender Systemscited by 14
- 2023Towards Artificial General Intelligence (AGI) in the Internet of Things (IoT): Opportunities and Challengescited by 14
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobilecited by 12
- 2023Operator Fusion in XLA: Analysis and Evaluationcited by 8
- 2023Enabling Resource-efficient AIoT System with Cross-level Optimization: A surveycited by 8
- 2024Optimal Kernel Orchestration for Tensor Programs with Korchcited by 7
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2025Neuromorphic Principles for Efficient Large Language Models on Intel Loihi 2cited by 6
- 2023Shared Memory-contention-aware Concurrent DNN Execution for Diversely Heterogeneous System-on-Chipscited by 5
12 most cited of 55 All 55 (JSON)
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026FBLayout: Optimizing Memory Layout for Efficient LLM Finetuning on Mobile GPUs7 Jul 2026
- 2026On Efficient Scaling of GNNs via IO-Aware Layers Implementations29 May 2026
- 2026Forge-UGC: FX optimization and register-graph engine for universal graph compiler14 Apr 2026
- 2026Event Tensor: A Unified Abstraction for Compiling Dynamic Megakernel14 Apr 2026
- 2026Optimizing Feature Extraction for On-device Model Inference with User Behavior Sequences23 Mar 2026
- 2026MONET: Modeling and Optimization of neural NEtwork Training from Edge to Data Centers16 Mar 2026
- 2026RedFuser: An Automatic Operator Fusion Framework for Cascaded Reductions on AI Accelerators24 Feb 2026
- 2026FlashMem: Supporting Modern DNN Workloads on Mobile with GPU Memory Hierarchy Optimizations17 Feb 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUs23 Jan 2026
- 2025Parallax: Runtime Parallelization for Operator Fallbacks in Heterogeneous Edge Systems12 Dec 2025
12 newest of 55 All 55 (JSON)