Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devices
Not on the map. Why?
Abstract (arXiv)
Recent advances demonstrate that irregularly wired neural networks from Neural Architecture Search (NAS) and Random Wiring can not only automate the design of deep neural networks but also emit models that outperform previous manual designs. These designs are especially effective while designing neural architectures under hard resource constraints (memory, MACs, . . . ) which highlights the importance of this class of designing neural networks. However, such a move creates complication in the previously streamlined pattern of execution. In fact one of the main challenges is that the order of such nodes in the neural network significantly effects the memory footprint of the intermediate activations. Current compilers do not schedule with regard to activation memory footprint that it significantly increases its peak compared to the optimum, rendering it not applicable for edge devices. To address this standing issue, we present a memory-aware compiler, dubbed SERENITY, that utilizes dynamic programming to find a sequence that finds a schedule with optimal memory footprint. Our solution also comprises of graph rewriting technique that allows further reduction beyond the optimum. As such, SERENITY achieves optimal peak memory, and the graph rewriting technique further improves this resulting in 1.68x improvement with dynamic programming-based scheduler and 1.86x with graph rewriting, against TensorFlow Lite with less than one minute overhead.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 6; 2023: 12; 2024: 5; 2025: 0; 2026: 2.
27 papers.
Sort:
- 2022On-Device Training Under 256KB Memorycited by 158
- 2021MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learningcited by 87
- 2024Tiny Machine Learning: Progress and Futurescited by 40
- 2023PockEngine: Sparse and Efficient Fine-tuning in a Pocketcited by 22
- 2022Neural Topological Ordering for Computation Graphscited by 12
- 2023Accelerating Deep Neural Networks via Semi-Structured Activation Sparsitycited by 10
- 2022Dynamic ConvNets on Tiny Devices via Nested Sparsitycited by 7
- 2023RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUscited by 7
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2024Differentiable Combinatorial Scheduling at Scalecited by 6
- 2023Accelerating Exact Combinatorial Optimization via RL-based Initialization -- A Case Study in Schedulingcited by 4
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
15 more
- 2021How to Reach Real-Time AI on Consumer Devices? Solutions for Programmable and Custom Architecturescited by 2
- 2023Baechi: Fast Device Placement of Machine Learning Graphscited by 2
- 2023Fused Depthwise Tiling for Memory Optimization in TinyML Deep Neural Network Inferencecited by 2
- 2023Memory-aware Scheduling for Complex Wired Networks with Iterative Graph Optimizationcited by 2
- 2022Terra: Imperative-Symbolic Co-Execution of Imperative Deep Learning Programscited by 1
- 2023YFlows: Systematic Dataflow Exploration and Code Generation for Efficient Neural Network Inference using SIMD Architectures on CPUscited by 1
- 2024vMCU: Coordinated Memory Management and Kernel Optimization for DNN Inference on MCUscited by 1
- 2022AGO: Boosting Mobile AI Inference Performance by Removing Constraints on Graph Optimizationcited by 0
- 2023DiviML: A Module-based Heuristic for Mapping Neural Networks onto Heterogeneous Platformscited by 0
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layoutcited by 0
- 2023Practical Performance Guarantees for Pipelined DNN Inferencecited by 0
- 2023Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Acceleratorscited by 0
- 2024Data Overfitting for On-Device Super-Resolution with Dynamic Algorithm and Compiler Co-Designcited by 0
- 2026Differentiable Initialization-Accelerated CPU-GPU Hybrid Combinatorial Schedulingcited by 0
- 2026Empowering Hybrid Attention Models on NPUscited by 0
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
- 2026Differentiable Initialization-Accelerated CPU-GPU Hybrid Combinatorial Scheduling30 Mar 2026
- 2024Data Overfitting for On-Device Super-Resolution with Dynamic Algorithm and Compiler Co-Design3 Jul 2024
- 2024Differentiable Combinatorial Scheduling at Scale6 Jun 2024
- 2024vMCU: Coordinated Memory Management and Kernel Optimization for DNN Inference on MCUs1 May 2024
- 2024Tiny Machine Learning: Progress and Futures28 Mar 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2023Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Accelerators30 Nov 2023
- 2023Practical Performance Guarantees for Pipelined DNN Inference7 Nov 2023
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layout30 Oct 2023
- 2023PockEngine: Sparse and Efficient Fine-tuning in a Pocket26 Oct 2023
- 2023YFlows: Systematic Dataflow Exploration and Code Generation for Efficient Neural Network Inference using SIMD Architectures on CPUs1 Oct 2023
15 more
- 2023Accelerating Deep Neural Networks via Semi-Structured Activation Sparsity12 Sep 2023
- 2023Memory-aware Scheduling for Complex Wired Networks with Iterative Graph Optimization26 Aug 2023
- 2023Accelerating Exact Combinatorial Optimization via RL-based Initialization -- A Case Study in Scheduling19 Aug 2023
- 2023DiviML: A Module-based Heuristic for Mapping Neural Networks onto Heterogeneous Platforms31 Jul 2023
- 2023RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUs10 Apr 2023
- 2023Fused Depthwise Tiling for Memory Optimization in TinyML Deep Neural Network Inference31 Mar 2023
- 2023Baechi: Fast Device Placement of Machine Learning Graphs20 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
- 2022Neural Topological Ordering for Computation Graphs13 Jul 2022
- 2022On-Device Training Under 256KB Memory30 Jun 2022
- 2022Dynamic ConvNets on Tiny Devices via Nested Sparsity7 Mar 2022
- 2022Terra: Imperative-Symbolic Co-Execution of Imperative Deep Learning Programs23 Jan 2022
- 2021MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning28 Oct 2021
- 2021How to Reach Real-Time AI on Consumer Devices? Solutions for Programmable and Custom Architectures21 Jun 2021
- 2022On-Device Training Under 256KB Memorycited by 158
- 2021MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learningcited by 87
- 2024Tiny Machine Learning: Progress and Futurescited by 40
- 2023PockEngine: Sparse and Efficient Fine-tuning in a Pocketcited by 22
- 2022Neural Topological Ordering for Computation Graphscited by 12
- 2023Accelerating Deep Neural Networks via Semi-Structured Activation Sparsitycited by 10
- 2022Dynamic ConvNets on Tiny Devices via Nested Sparsitycited by 7
- 2023RESPECT: Reinforcement Learning based Edge Scheduling on Pipelined Coral Edge TPUscited by 7
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2024Differentiable Combinatorial Scheduling at Scalecited by 6
- 2023Accelerating Exact Combinatorial Optimization via RL-based Initialization -- A Case Study in Schedulingcited by 4
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
12 most cited of 27 All 27 (JSON)
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
- 2026Differentiable Initialization-Accelerated CPU-GPU Hybrid Combinatorial Scheduling30 Mar 2026
- 2024Data Overfitting for On-Device Super-Resolution with Dynamic Algorithm and Compiler Co-Design3 Jul 2024
- 2024Differentiable Combinatorial Scheduling at Scale6 Jun 2024
- 2024vMCU: Coordinated Memory Management and Kernel Optimization for DNN Inference on MCUs1 May 2024
- 2024Tiny Machine Learning: Progress and Futures28 Mar 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2023Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Accelerators30 Nov 2023
- 2023Practical Performance Guarantees for Pipelined DNN Inference7 Nov 2023
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layout30 Oct 2023
- 2023PockEngine: Sparse and Efficient Fine-tuning in a Pocket26 Oct 2023
- 2023YFlows: Systematic Dataflow Exploration and Code Generation for Efficient Neural Network Inference using SIMD Architectures on CPUs1 Oct 2023
12 newest of 27 All 27 (JSON)