MATCHA: Efficient Deployment of Deep Neural Networks on Multi-Accelerator Heterogeneous Edge SoCs
Organizations: University of Catania, Italy · Politecnico di Torino, Italy · ETH Zurich, Switzerland · University of Bologna, Italy
Abstract
Deploying DNNs on System-on-Chips (SoC) with multiple heterogeneous acceleration engines is challenging, and the majority of deployment frameworks cannot fully exploit heterogeneity. We present MATCHA, a unified DNN deployment framework that generates highly concurrent schedules for parallel, heterogeneous accelerators and uses constraint programming to optimize L3/L2 memory allocation and scheduling. Using pattern matching, tiling, and mapping across individual HW units enables parallel execution and high accelerator utilization. On the MLPerf Tiny benchmark, using a SoC with two heterogeneous accelerators, MATCHA improves accelerator utilization and reduces inference latency by up to 35% with respect to the the state-of-the-art MATCH compiler.
Figures & tables
| Work | Open Source | HSoC Support | Operator Extension | Device Extension | Multi ISA | Async. Execution | Pattern Tiling |
| TFLite ( David et al., 2021 ) | |||||||
| TelaMalloc ( Maas et al., 2022 ) | |||||||
| Bolt ( Xing et al., 2022 ) | |||||||
| COMB ( Zheng et al., 2023 ) | |||||||
| HTVM ( Van Delm et al., 2023 ) | |||||||
| DORY ( Burrello et al., 2021 ) |
| TVM | MATCH | MATCHA (No Tiling) | MATCHA (Ours) | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Model | MACs | Params | Cycles | Runtime | FLOPS | Cycles | Runtime | FLOPS | Cycles | Runtime | FLOPS | Cycles | Runtime | FLOPS |
| AutoEncoder | 0.27M | 268k | 5.03M | 100.2 ms | 5.36M | 1.01M | 20.1 ms | 26.7M | 1.01M | 20.1 ms | 26.7M | 0.673M | 13.4 ms | 40.1M |
| DS-CNN | 2.8M | 22.6k | 30.3M | 604.6 ms | 9.29M | 6.58M | 131.1 ms | 42.9M | 6.58M | 131.1 ms | 42.9M | 6.58M | 131.1 ms | 42.9M |
| MobileNet | 7.9M | 210k | 157.4M | 3137.8 ms | 5.07M | 24.4M | 486.7 ms | 32.7M | 24.4M | 486.7 ms | 32.7M | 24.4M | 486.7 ms | 32.7M |
| ResNet18 | 12.8M | 78k | 200.2M | 3991.7 ms | 6.43M | 22.9M | 456.6 ms | 56.2M | 19.9M | 395.9 ms | 64.9M | 16.3M | 325.1 ms | 79.0M |
Efficient Neural Network Inference
Efficient neural network inference reduces the time, memory, and energy needed to run trained models across hardware and deployment settings.
See all 465 papers