Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractions
Not on the map. Why?
Abstract (arXiv)
Deep learning models with convolutional and recurrent networks are now ubiquitous and analyze massive amounts of audio, image, video, text and graph data, with applications in automatic translation, speech-to-text, scene understanding, ranking user preferences, ad placement, etc. Competing frameworks for building these networks such as TensorFlow, Chainer, CNTK, Torch/PyTorch, Caffe1/2, MXNet and Theano, explore different tradeoffs between usability and expressiveness, research or production orientation and supported hardware. They operate on a DAG of computational operators, wrapping high-performance libraries such as CUDNN (for NVIDIA GPUs) or NNPACK (for various CPUs), and automate memory allocation, synchronization, distribution. Custom operators are needed where the computation does not fit existing high-performance library calls, usually at a high engineering cost. This is frequently required when new operators are invented by researchers: such operators suffer a severe performance penalty, which limits the pace of innovation. Furthermore, even if there is an existing runtime call these frameworks can use, it often doesn't offer optimal performance for a user's particular network architecture and dataset, missing optimizations between operators as well as optimizations that can be done knowing the size and shape of data. Our contributions include (1) a language close to the mathematics of deep learning called Tensor Comprehensions, (2) a polyhedral Just-In-Time compiler to convert a mathematical description of a deep learning DAG into a CUDA kernel with delegated memory management and synchronization, also providing optimizations such as operator fusion and specialization for specific sizes, (3) a compilation cache populated by an autotuner. [Abstract cutoff]
Key facts. Cited by 84 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 19; 2022: 13; 2023: 16; 2024: 16; 2025: 9; 2026: 11.
84 papers.
Sort:
By area:
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Bettercited by 153
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 56
- 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
- 2021A Deep Learning Based Cost Model for Automatic Code Optimizationcited by 33
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2021Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Searchcited by 24
- 2021CoSA: Scheduling by Constrained Optimization for Spatial Acceleratorscited by 22
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2022Tensor and Matrix Low-Rank Value-Function Approximation in Reinforcement Learningcited by 16
38 more
- 2023TpuGraphs: A Performance Prediction Dataset on Large Tensor Computational Graphscited by 16
- 2024Allo: A Programming Model for Composable Accelerator Designcited by 16
- 2021MAGMA: An Optimization Framework for Mapping Multiple DNNs on Multiple Accelerator Corescited by 15
- 2022TLP: A Deep Learning-based Cost Model for Tensor Program Tuningcited by 14
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2021HASCO: Towards Agile HArdware and Software CO-design for Tensor Computationcited by 10
- 2023GraphRARE: Reinforcement Learning Enhanced Graph Neural Network with Relative Entropycited by 9
- 2021Neural Architecture Search as Program Transformation Explorationcited by 8
- 2021Tensor Processing Primitives: A Programming Abstraction for Efficiency and Portability in Deep Learning & HPC Workloadscited by 8
- 2023Operator Fusion in XLA: Analysis and Evaluationcited by 8
- 2021Horizontally Fused Training Array: An Effective Hardware Utilization Squeezer for Training Novel Deep Learning Modelscited by 7
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2023oneDNN Graph Compiler: A Hybrid Approach for High-Performance Deep Learning Compilationcited by 7
- 2024LOOPer: A Learned Automatic Code Optimizer For Polyhedral Compilerscited by 7
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2021A Reinforcement Learning Environment for Polyhedral Optimizationscited by 5
- 2021Bring Your Own Codegen to Deep Learning Compilercited by 5
- 2024SPLAT: A framework for optimised GPU code-generation for SParse reguLar ATtentioncited by 5
- 2024Scaling Deep Learning Computation over the Inter-Core Connected Intelligence Processor with T10cited by 5
- 2025From Tiny Machine Learning to Tiny Deep Learning: A Surveycited by 5
- 2021A Highly Configurable Hardware/Software Stack for DNN Inference Accelerationcited by 4
- 2022Neural Architecture Search using Property Guided Synthesiscited by 4
- 2023Harnessing Deep Learning and HPC Kernels via High-Level Loop and Tensor Abstractions on CPU Architecturescited by 4
- 2024Unraveling the Key of Machine Learning-based Android Malware Detectioncited by 4
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
- 2024Dynamic Co-Optimization Compiler: Leveraging Multi-Agent Reinforcement Learning for Enhanced DNN Accelerator Performancecited by 4
- 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimizationcited by 4
- 2021A Data-Centric Optimization Framework for Machine Learningcited by 3
- 2022Benchmarking the Linear Algebra Awareness of TensorFlow and PyTorchcited by 3
- 2024CIM-MLC: A Multi-level Compilation Stack for Computing-In-Memory Acceleratorscited by 3
- 2024A Reinforcement Learning Environment for Automatic Code Optimization in the MLIR Compilercited by 3
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Servingcited by 3
- 2021Collage: Seamless Integration of Deep Learning Backends with Automatic Placementcited by 2
- 2022Demystifying Map Space Exploration for NPUscited by 2
- 2022Legal-Tech Open Diaries: Lesson learned on how to develop and deploy light-weight models in the era of humongous Language Modelscited by 2
- 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloadscited by 2
- 2023Serving Deep Learning Model in Relational Databasescited by 2
50 most cited of 84 All 84 (JSON)
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimization11 Sep 2026
- 2026LLM4LLM: Bridging Kernel Benchmarks and Real Deployment via Closed-Loop Agentic Optimization22 Aug 2026
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026It's All Just Vectorization: einx, a Universal Notation for Tensor Operations30 Jul 2026
- 2026Nova: An End-to-End MLIR Compiler for Deep Learning15 Jul 2026
- 2026DMuon: Efficient Distributed Muon Training with Near-Adam Overhead25 Jun 2026
- 2026Toward Compiler World Models: Learning Latent Dynamics for Efficient Tensor Program Search8 Jun 2026
- 2026Step-TP: A Grounded, Step-Level Dataset with Chain-of-Thought Reasoning for LLM-Guided Tensor Program Optimization25 May 2026
- 2026PolyBlocks: A Compiler Infrastructure for AI Chips and Programming Frameworks6 Mar 2026
- 2026Hexagon-MLIR: An AI Compilation Stack For Qualcomm's Neural Processing Units (NPUs)23 Feb 2026
- 2026Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simple22 Jan 2026
- 2025Morphling: Fast, Fused, and Flexible GNN Training at Scale1 Dec 2025
38 more
- 2025Scalable Synthesis of distributed LLM workloads through Symbolic Tensor Graphs13 Nov 2025
- 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization1 Nov 2025
- 2025VibeCodeHPC: An Agent-Based Iterative Prompting Auto-Tuner for HPC Code Generation Using LLMs26 Sep 2025
- 2025The Syntax and Semantics of einsum24 Sep 2025
- 2025From Tiny Machine Learning to Tiny Deep Learning: A Survey21 Jun 2025
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving2 Jun 2025
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation17 Apr 2025
- 2025Tempo: Compiled Dynamic Deep Learning with Symbolic Dependence Graphs9 Jan 2025
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernels27 Oct 2024
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctness4 Oct 2024
- 2024A Reinforcement Learning Environment for Automatic Code Optimization in the MLIR Compiler17 Sep 2024
- 2024Scaling Deep Learning Computation over the Inter-Core Connected Intelligence Processor with T109 Aug 2024
- 2024SPLAT: A framework for optimised GPU code-generation for SParse reguLar ATtention23 Jul 2024
- 2024Compressing Structured Tensor Algebra18 Jul 2024
- 2024Dynamic Co-Optimization Compiler: Leveraging Multi-Agent Reinforcement Learning for Enhanced DNN Accelerator Performance11 Jul 2024
- 2024Scorch: A Library for Sparse Deep Learning27 May 2024
- 2024Graph neural networks with configuration cross-attention for tensor compilers26 May 2024
- 2024Allo: A Programming Model for Composable Accelerator Design7 Apr 2024
- 2024LOOPer: A Learned Automatic Code Optimizer For Polyhedral Compilers18 Mar 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2024Unraveling the Key of Machine Learning-based Android Malware Detection5 Feb 2024
- 2024CIM-MLC: A Multi-level Compilation Stack for Computing-In-Memory Accelerators23 Jan 2024
- 2024PolyTOPS: Reconfigurable and Flexible Polyhedral Scheduler12 Jan 2024
- 2024conv_einsum: A Framework for Representation and Fast Evaluation of Multilinear Operations in Convolutional Tensorial Neural Networks7 Jan 2024
- 2023GraphRARE: Reinforcement Learning Enhanced Graph Neural Network with Relative Entropy15 Dec 2023
- 2023Packrat: Automatic Reconfiguration for Latency Minimization in CPU-based DNN Serving30 Nov 2023
- 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architectures29 Nov 2023
- 2023Serving Deep Learning Model in Relational Databases7 Oct 2023
- 2023YFlows: Systematic Dataflow Exploration and Code Generation for Efficient Neural Network Inference using SIMD Architectures on CPUs1 Oct 2023
- 2023LoopTune: Optimizing Tensor Computations with Reinforcement Learning4 Sep 2023
- 2023Saturn: An Optimized Data System for Large Model Deep Learning Workloads3 Sep 2023
- 2023Target-independent XLA optimization using Reinforcement Learning28 Aug 2023
- 2023TpuGraphs: A Performance Prediction Dataset on Large Tensor Computational Graphs25 Aug 2023
- 2023Toward American Sign Language Processing in the Real World: Data, Tasks, and Methods23 Aug 2023
- 2023MARS: Exploiting Multi-Level Parallelism for DNN Workloads on Adaptive Multi-Accelerator Systems23 Jul 2023
- 2023AMULET: Adaptive Matrix-Multiplication-Like Tasks12 May 2023
- 2023Harnessing Deep Learning and HPC Kernels via High-Level Loop and Tensor Abstractions on CPU Architectures25 Apr 2023
- 2023Full Stack Optimization of Transformer Inference: a Survey27 Feb 2023
50 newest of 84 All 84 (JSON)
- 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimizationcited by 4
- 2025VibeCodeHPC: An Agent-Based Iterative Prompting Auto-Tuner for HPC Code Generation Using LLMscited by 2
- 2026LLM4LLM: Bridging Kernel Benchmarks and Real Deployment via Closed-Loop Agentic Optimizationcited by 0
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimizationcited by 0
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimization11 Sep 2026
- 2026LLM4LLM: Bridging Kernel Benchmarks and Real Deployment via Closed-Loop Agentic Optimization22 Aug 2026
- 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization1 Nov 2025
- 2025VibeCodeHPC: An Agent-Based Iterative Prompting Auto-Tuner for HPC Code Generation Using LLMs26 Sep 2025
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Bettercited by 153
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 56
- 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
- 2021A Deep Learning Based Cost Model for Automatic Code Optimizationcited by 33
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2021Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Searchcited by 24
- 2021CoSA: Scheduling by Constrained Optimization for Spatial Acceleratorscited by 22
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2022Tensor and Matrix Low-Rank Value-Function Approximation in Reinforcement Learningcited by 16
12 most cited of 76 All 76 (JSON)
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026It's All Just Vectorization: einx, a Universal Notation for Tensor Operations30 Jul 2026
- 2026Nova: An End-to-End MLIR Compiler for Deep Learning15 Jul 2026
- 2026DMuon: Efficient Distributed Muon Training with Near-Adam Overhead25 Jun 2026
- 2026PolyBlocks: A Compiler Infrastructure for AI Chips and Programming Frameworks6 Mar 2026
- 2026Hexagon-MLIR: An AI Compilation Stack For Qualcomm's Neural Processing Units (NPUs)23 Feb 2026
- 2026Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simple22 Jan 2026
- 2025Morphling: Fast, Fused, and Flexible GNN Training at Scale1 Dec 2025
- 2025Scalable Synthesis of distributed LLM workloads through Symbolic Tensor Graphs13 Nov 2025
- 2025The Syntax and Semantics of einsum24 Sep 2025
- 2025From Tiny Machine Learning to Tiny Deep Learning: A Survey21 Jun 2025
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation17 Apr 2025
12 newest of 76 All 76 (JSON)