mlsanityData to 26 Nov 2026

Deep Learning Compilers: Architecture, Optimization, and Empirical Characterization

arXiv 2611.04273 ↗Submitted 3 Nov 2026cs.LG cs.ARcited by 0

Not on the map. Why?

Abstract (arXiv)

As deep learning (DL) models become increasingly complex and hardware architectures grow more heterogeneous, DL compilers play a critical role in optimizing computational efficiency and enabling scalable deployment. This paper presents a systematic analysis of DL compilers, covering their architectural evolution, compilation workflows, optimization techniques, and emerging research directions. We organize DL compiler architectures into frontend, middle-end, and backend stages, emphasizing the role of the middle-end in connecting high-level model representations with hardware-specific optimizations. We further examine representative DL compilers and recent optimization techniques across different compilation stages. Beyond architectural and technical analysis, we conduct an empirical evaluation of compiler behaviors to investigate the effectiveness of graph optimization, compilation overhead, and dynamic-shape handling. Experiments using PyTorch/TorchInductor on an NVIDIA RTX A6000 demonstrate that compiler benefits depend strongly on workload characteristics, with speedups of up to 8.21× for fusion-friendly computation graphs, while other workloads exhibit limited improvements. Our results further reveal that compilation overhead can require thousands of executions to amortize, and dynamic-shape compilation reduces cumulative shape-transition costs by approximately 70% at the expense of modest steady-state performance degradation. By combining systematic architectural analysis with quantitative experimental evidence, this work provides insights into the design, optimization, and practical deployment of modern DL compilers.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 44 of its 105 references that are in the map. Submitted 3 Nov 2026.

Builds on

44 of 105 references.

References · 44

  1. 2017Attention Is All You Needcited by 62,125
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
  3. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,384
  4. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,973
  5. 2016Training Deep Nets with Sublinear Memory Costcited by 924
  6. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 664
  7. 2023End-to-end Autonomous Driving: Challenges and Frontierscited by 513
  8. 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 292
  9. 2021Post-Training Quantization for Vision Transformercited by 287
  10. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 219
  11. 2023Towards Better Dynamic Graph Learning: New Architecture and Unified Librarycited by 172
  12. 2018The Limits and Potentials of Deep Learning for Roboticscited by 107
32 more
  1. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 88
  2. 2021Multi-Task Learning in Natural Language Processing: An Overviewcited by 64
  3. 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 59
  4. 2020The Deep Learning Compiler: A Comprehensive Surveycited by 48
  5. 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 43
  6. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 38
  7. 2021Vector Symbolic Architectures as a Computing Framework for Emerging Hardwarecited by 36
  8. 2020Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network Compilationcited by 30
  9. 2018nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically Encrypted Datacited by 26
  10. 2018Intel nGraph: An Intermediate Representation, Compiler, and Executor for Deep Learningcited by 24
  11. 2023Learning to Linearize Deep Neural Networks for Secure and Efficient Private Inferencecited by 22
  12. 2020Nimble: Efficiently Compiling Dynamic Neural Networks for Model Inferencecited by 21
  13. 2023TpuGraphs: A Performance Prediction Dataset on Large Tensor Computational Graphscited by 20
  14. 2020Cortex: A Compiler for Recursive Deep Learning Modelscited by 17
  15. 2020NPAS: A Compiler-aware Framework of Unified Network Pruning and Architecture Search for Beyond Real-Time Mobile Accelerationcited by 17
  16. 2017Deep Learning with Dynamic Computation Graphscited by 16
  17. 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobilecited by 14
  18. 2022Fuzzing Deep Learning Compilers with HirGencited by 10
  19. 2018Dynamic Control Flow in Large-Scale Machine Learningcited by 9
  20. 2024LLM-Aided Compilation for Tensor Acceleratorscited by 9
  21. 2023oneDNN Graph Compiler: A Hybrid Approach for High-Performance Deep Learning Compilationcited by 8
  22. 2024CompilerDream: Learning a Compiler World Model for General Code Optimizationcited by 8
  23. 2019Relay: A High-Level Compiler for Deep Learningcited by 5
  24. 2022ALCOP: Automatic Load-Compute Pipelining in Deep Learning Compiler for AI-GPUscited by 5
  25. 2021HIR: An MLIR-based Intermediate Representation for Hardware Accelerator Descriptioncited by 4
  26. 2020ShapeFlow: Dynamic Shape Interpreter for TensorFlowcited by 3
  27. 2021A Static Analyzer for Detecting Tensor Shape Errors in Deep Neural Network Training Codecited by 3
  28. 2022CPrune: Compiler-Informed Model Pruning for Efficient Target-Aware DNN Executioncited by 3
  29. 2021AI Powered Compiler Techniques for DL Code Optimizationcited by 2
  30. 2023Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Acceleratorscited by 2
  31. 2022Optimizing DNN Compilation for Distributed Training with Joint OP and Tensor Fusioncited by 1
  32. 2023CMLCompiler: A Unified Compiler for Classical Machine Learningcited by 1

Built on by

Not cited yet.