[Paper Review] Stream: Design Space Exploration of Layer-Fused DNNs on Heterogeneous Dataflow Accelerators
This paper introduces Stream, an open-source framework for design space exploration of layer-fused DNNs on heterogeneous multi-core accelerators. It enables fine-grained, depth-first scheduling across diverse hardware architectures, achieving up to 30× reduction in energy-delay product compared to traditional layer-by-layer scheduling.
As the landscape of deep neural networks evolves, heterogeneous dataflow accelerators, in the form of multi-core architectures or chiplet-based designs, promise more flexibility and higher inference performance through scalability. So far, these systems exploit the increased parallelism by coarsely mapping a single layer at a time across cores, which incurs frequent costly off-chip memory accesses, or by pipelining batches of inputs, which falls short in meeting the demands of latency-critical applications. To alleviate these bottlenecks, this work explores a new fine-grain mapping paradigm, referred to as layer fusion, on heterogeneous dataflow accelerators through a novel design space exploration framework called Stream. Stream captures a wide variety of heterogeneous dataflow architectures and mapping granularities, and implements a memory and communication-aware latency and energy analysis validated with three distinct state-of-the-art hardware implementations. As such, it facilitates a holistic exploration of architecture and mapping, by strategically allocating the workload through constraint optimization. The findings demonstrate that the integration of layer fusion with heterogeneous dataflow accelerators yields up to 2.2x lower energy-delay product in inference efficiency, addressing both energy consumption and latency concerns. The framework is available open-source at: https://github.com/kuleuven-micas/stream.
Motivation & Objective
- Address the inefficiency of traditional layer-by-layer scheduling in latency-critical, resource-constrained edge DNN inference.
- Enable systematic exploration of scheduling granularity and hardware architecture trade-offs for layer-fused DNNs.
- Provide a generalizable, open-source modeling framework to evaluate and optimize scheduling on diverse multi-core accelerator designs.
- Quantify the impact of architectural heterogeneity and fine-grained scheduling on energy, latency, and memory efficiency.
Proposed method
- Developed a unified modeling representation for layer-fused DNNs across multiple scheduling granularities and hardware architectures.
- Implemented a rapid fine-grained data dependency generator to model complex inter-layer and intra-layer dependencies in fused networks.
- Employed a genetic algorithm-based layer-core allocator to map fused layers to optimal processing cores.
- Integrated a heuristics-based scheduler to generate efficient execution sequences minimizing energy, latency, or memory footprint.
- Validated the framework against three state-of-the-art hardware accelerators using measured efficiency data.
- Conducted large-scale design space exploration across 7 hardware architectures and 5 DNNs to identify optimal scheduling and architecture combinations.
Experimental results
Research questions
- RQ1How does fine-grained, depth-first scheduling of layer-fused DNNs impact energy, latency, and memory efficiency compared to traditional layer-by-layer scheduling?
- RQ2To what extent do high-level architectural choices—such as single-core, homogeneous multi-core, or heterogeneous multi-core—impact the efficiency of layer-fused DNN execution?
- RQ3Can a general-purpose modeling framework accurately predict hardware efficiency across diverse accelerator designs and scheduling granularities?
- RQ4What is the maximum achievable reduction in energy-delay product (EDP) through joint optimization of scheduling and hardware architecture?
Key findings
- Stream achieves tight matching (within 5% of measured values) with three state-of-the-art hardware implementations using layer-fused scheduling.
- For single-core architectures, layer fusion reduces the energy-delay product by 2.4× to 4.7× compared to layer-by-layer scheduling.
- Homogeneous multi-core architectures achieve 10× to 19× better EDP with layer fusion than with layer-by-layer scheduling.
- Heterogeneous multi-core architectures reduce EDP by up to 30.4× compared to layer-by-layer scheduling, outperforming even the best homogeneous designs.
- Heterogeneous architectures provide the greatest benefit for networks with diverse layer types, while uniform networks like SqueezeNet see less improvement or even performance degradation.
- The genetic algorithm-based layer-core allocator significantly outperforms manual allocation, reducing latency and memory footprint.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.