CoSA: Scheduling by Constrained Optimization for Spatial Accelerators
Not on the map. Why?
Abstract (arXiv)
Recent advances in Deep Neural Networks (DNNs) have led to active development of specialized DNN accelerators, many of which feature a large number of processing elements laid out spatially, together with a multi-level memory hierarchy and flexible interconnect. While DNN accelerators can take advantage of data reuse and achieve high peak throughput, they also expose a large number of runtime parameters to the programmers who need to explicitly manage how computation is scheduled both spatially and temporally. In fact, different scheduling choices can lead to wide variations in performance and efficiency, motivating the need for a fast and efficient search strategy to navigate the vast scheduling space. To address this challenge, we present CoSA, a constrained-optimization-based approach for scheduling DNN accelerators. As opposed to existing approaches that either rely on designers' heuristics or iterative methods to navigate the search space, CoSA expresses scheduling decisions as a constrained-optimization problem that can be deterministically solved using mathematical optimization techniques. Specifically, CoSA leverages the regularities in DNN operators and hardware to formulate the DNN scheduling space into a mixed-integer programming (MIP) problem with algorithmic and architectural constraints, which can be solved to automatically generate a highly efficient schedule in one shot. We demonstrate that CoSA-generated schedules significantly outperform state-of-the-art approaches by a geometric mean of up to 2.5x across a wide range of DNN networks while improving the time-to-solution by 90x.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 18 of its 71 references that are in the map. First posted on arXiv 5 May 2021.
Builds on
18 of 71 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
- 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 135
- 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 85
- 2019The Architectural Implications of Facebook's DNN-based Personalized Recommendationcited by 83
6 more
- 2017Explaining How a Deep Neural Network Trained with End-to-End Learning Steers a Carcited by 66
- 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
- 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
- 2018Interstellar: Using Halide's Scheduling Language to Analyze DNN Acceleratorscited by 34
- 2021Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Searchcited by 24
- 2020Communication-Optimal Tilings for Projective Nested Loops with Arbitrary Boundscited by 2
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 4; 2024: 7; 2025: 7.
22 papers.
Sort:
By area:
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 80
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 39
- 2022Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modelingcited by 15
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Acceleratorscited by 13
- 2024Deeploy: Enabling Energy-Efficient Deployment of Small Language Models On Heterogeneous Microcontrollerscited by 11
- 2024Performance Modeling and Workload Analysis of Distributed Large Language Model Training and Inferencecited by 9
- 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Acceleratorscited by 8
- 2024SCAR: Scheduling Multi-Model AI Workloads on Heterogeneous Multi-Chiplet Module Acceleratorscited by 6
- 2025DOSA: Differentiable Model-Based One-Loop Search for DNN Acceleratorscited by 4
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programmingcited by 3
- 2025eIQ Neutron: Redefining Edge-AI Inference with Integrated NPU and Compiler Innovationscited by 3
- 2022DNNFuser: Generative Pre-Trained Transformer as a Generalized Mapper for Layer Fusion in DNN Acceleratorscited by 2
10 more
- 2022Demystifying Map Space Exploration for NPUscited by 2
- 2023SALSA: Simulated Annealing based Loop-Ordering Scheduler for DNN Acceleratorscited by 2
- 2023Tackling the Matrix Multiplication Micro-kernel Generation with Exocited by 1
- 2024Weight Block Sparsity: Training, Compilation, and AI Engine Acceleratorscited by 1
- 2024Obsidian: Cooperative State-Space Exploration for Performant Inference on Secure ML Acceleratorscited by 1
- 2025Blockbuster, Part 1: Block-level AI Operator Fusioncited by 1
- 2023KAPLA: Pragmatic Representation and Fast Solving of Scalable NN Accelerator Dataflowcited by 0
- 2025CaMDN: Enhancing Cache Efficiency for Multi-tenant DNNs on Integrated NPUscited by 0
- 2025A High-Level Compiler Integration Approach for Deep Learning Accelerators Supporting Abstraction and Optimizationcited by 0
- 2025Mozart: A Chiplet Ecosystem-Accelerator Codesign Framework for Composable Bespoke Application Specific Integrated Circuitscited by 0
- 2025Mozart: A Chiplet Ecosystem-Accelerator Codesign Framework for Composable Bespoke Application Specific Integrated Circuits10 Oct 2025
- 2025eIQ Neutron: Redefining Edge-AI Inference with Integrated NPU and Compiler Innovations17 Sep 2025
- 2025DOSA: Differentiable Model-Based One-Loop Search for DNN Accelerators12 Sep 2025
- 2025A High-Level Compiler Integration Approach for Deep Learning Accelerators Supporting Abstraction and Optimization7 Jul 2025
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Accelerators24 May 2025
- 2025CaMDN: Enhancing Cache Efficiency for Multi-tenant DNNs on Integrated NPUs10 May 2025
- 2025Blockbuster, Part 1: Block-level AI Operator Fusion29 Apr 2025
- 2024Obsidian: Cooperative State-Space Exploration for Performant Inference on Secure ML Accelerators4 Sep 2024
- 2024Deeploy: Enabling Energy-Efficient Deployment of Small Language Models On Heterogeneous Microcontrollers8 Aug 2024
- 2024Performance Modeling and Workload Analysis of Distributed Large Language Model Training and Inference19 Jul 2024
- 2024Weight Block Sparsity: Training, Compilation, and AI Engine Accelerators12 Jul 2024
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programming14 May 2024
10 more
- 2024SCAR: Scheduling Multi-Model AI Workloads on Heterogeneous Multi-Chiplet Module Accelerators1 May 2024
- 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Accelerators12 Mar 2024
- 2023Tackling the Matrix Multiplication Micro-kernel Generation with Exo26 Oct 2023
- 2023KAPLA: Pragmatic Representation and Fast Solving of Scalable NN Accelerator Dataflow9 Jun 2023
- 2023SALSA: Simulated Annealing based Loop-Ordering Scheduler for DNN Accelerators20 Apr 2023
- 2023Full Stack Optimization of Transformer Inference: a Survey27 Feb 2023
- 2022Demystifying Map Space Exploration for NPUs7 Oct 2022
- 2022Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modeling12 May 2022
- 2022DNNFuser: Generative Pre-Trained Transformer as a Generalized Mapper for Layer Fusion in DNN Accelerators26 Jan 2022
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottlenecks13 Jul 2021
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 80
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 39
- 2022Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modelingcited by 15
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Acceleratorscited by 13
- 2024Deeploy: Enabling Energy-Efficient Deployment of Small Language Models On Heterogeneous Microcontrollerscited by 11
- 2024Performance Modeling and Workload Analysis of Distributed Large Language Model Training and Inferencecited by 9
- 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Acceleratorscited by 8
- 2024SCAR: Scheduling Multi-Model AI Workloads on Heterogeneous Multi-Chiplet Module Acceleratorscited by 6
- 2025DOSA: Differentiable Model-Based One-Loop Search for DNN Acceleratorscited by 4
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programmingcited by 3
- 2025eIQ Neutron: Redefining Edge-AI Inference with Integrated NPU and Compiler Innovationscited by 3
- 2022DNNFuser: Generative Pre-Trained Transformer as a Generalized Mapper for Layer Fusion in DNN Acceleratorscited by 2
12 most cited of 21 All 21 (JSON)
- 2025eIQ Neutron: Redefining Edge-AI Inference with Integrated NPU and Compiler Innovations17 Sep 2025
- 2025DOSA: Differentiable Model-Based One-Loop Search for DNN Accelerators12 Sep 2025
- 2025A High-Level Compiler Integration Approach for Deep Learning Accelerators Supporting Abstraction and Optimization7 Jul 2025
- 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Accelerators24 May 2025
- 2025CaMDN: Enhancing Cache Efficiency for Multi-tenant DNNs on Integrated NPUs10 May 2025
- 2025Blockbuster, Part 1: Block-level AI Operator Fusion29 Apr 2025
- 2024Obsidian: Cooperative State-Space Exploration for Performant Inference on Secure ML Accelerators4 Sep 2024
- 2024Deeploy: Enabling Energy-Efficient Deployment of Small Language Models On Heterogeneous Microcontrollers8 Aug 2024
- 2024Performance Modeling and Workload Analysis of Distributed Large Language Model Training and Inference19 Jul 2024
- 2024Weight Block Sparsity: Training, Compilation, and AI Engine Accelerators12 Jul 2024
- 2024MTP: A Meaning-Typed Language Abstraction for AI-Integrated Programming14 May 2024
- 2024SCAR: Scheduling Multi-Model AI Workloads on Heterogeneous Multi-Chiplet Module Accelerators1 May 2024
12 newest of 21 All 21 (JSON)