[Paper Review] A Semi-Decoupled Approach to Fast and Optimal Hardware-Software Co-Design of Neural Accelerators
This paper proposes a semi-decoupled hardware-software co-design framework that reduces the search space for neural accelerator optimization by orders of magnitude while preserving optimality. By leveraging latency and energy monotonicity—where architecture rankings across accelerators remain highly correlated—it first identifies a small set of optimal architectures on a single proxy accelerator, then co-optimizes the accelerator only over this compact set, achieving near-optimal performance with drastically reduced search cost.
In view of the performance limitations of fully-decoupled designs for neural architectures and accelerators, hardware-software co-design has been emerging to fully reap the benefits of flexible design spaces and optimize neural network performance. Nonetheless, such co-design also enlarges the total search space to practically infinity and presents substantial challenges. While the prior studies have been focusing on improving the search efficiency (e.g., via reinforcement learning), they commonly rely on co-searches over the entire architecture-accelerator design space. In this paper, we propose a \emph{semi}-decoupled approach to reduce the size of the total design space by orders of magnitude, yet without losing optimality. We first perform neural architecture search to obtain a small set of optimal architectures for one accelerator candidate. Importantly, this is also the set of (close-to-)optimal architectures for other accelerator designs based on the property that neural architectures' ranking orders in terms of inference latency and energy consumption on different accelerator designs are highly similar. Then, instead of considering all the possible architectures, we optimize the accelerator design only in combination with this small set of architectures, thus significantly reducing the total search cost. We validate our approach by conducting experiments on various architecture spaces for accelerator designs with different dataflows. Our results highlight that we can obtain the optimal design by only navigating over the reduced search space. The source code of this work is at \url{https://github.com/Ren-Research/CoDesign}.
Motivation & Objective
- Address the exponentially large search space in hardware-software co-design of neural accelerators, which limits practical deployment.
- Overcome the inefficiency of fully coupled co-design approaches that scale as O(MN), where M and N are the sizes of the architecture and accelerator spaces.
- Preserve design optimality while drastically reducing search cost, avoiding the sub-optimality of fully decoupled NAS and accelerator design.
- Demonstrate that optimal architectures identified on a single proxy accelerator are nearly identical across diverse accelerator designs due to performance monotonicity.
- Enable fast, scalable co-design by restricting the search to a small, high-quality set of architectures derived from one proxy accelerator.
Proposed method
- Apply hardware-aware neural architecture search (NAS) on a single proxy accelerator to identify a compact set 𝒫 of K optimal architectures.
- Leverage the property of performance monotonicity—wherein the ranking of architectures by latency and energy consumption remains highly consistent across different accelerators—across multiple search spaces (NAS-Bench-301, AlphaNet, and layer-wise mixed dataflows).
- Use the set 𝒫 as the fixed architecture candidate pool in Stage 2, co-designing the accelerator only over this reduced set instead of the full architecture space.
- Validate monotonicity using Spearman’s rank correlation coefficient (SRCC) across thousands of accelerator configurations and model variants.
- Conduct experiments on two benchmark search spaces: NAS-Bench-301 and AlphaNet, with both fixed and mixed dataflow configurations.
- Compare the final co-design results against state-of-the-art fully coupled co-design methods to confirm optimality and efficiency gains.
Experimental results
Research questions
- RQ1To what extent is the ranking of neural architectures by inference latency and energy consumption consistent across different accelerator designs?
- RQ2Can a small set of architectures optimal for a single proxy accelerator be used to achieve near-optimal co-design results across all accelerators, without re-searching the full architecture space?
- RQ3How does the proposed semi-decoupled co-design approach compare in search cost and optimality to fully coupled co-design and fully decoupled NAS?
- RQ4What is the empirical strength of performance monotonicity in diverse neural architecture and accelerator configuration spaces, including mixed dataflow scenarios?
- RQ5Can the proposed method achieve optimal or near-optimal performance with a search space reduced by orders of magnitude?
Key findings
- Performance monotonicity in latency and energy consumption is strong across diverse accelerators: Spearman’s rank correlation coefficient (SRCC) for latency and energy is consistently above 0.9 in both NAS-Bench-301 and AlphaNet search spaces.
- The set of optimal architectures identified on a single proxy accelerator is nearly identical to the optimal set across all other accelerators, validating the core assumption of the semi-decoupled approach.
- The proposed method achieves optimal or near-optimal performance with a search space reduced by orders of magnitude compared to state-of-the-art fully coupled co-design.
- Experiments on NAS-Bench-301 and AlphaNet show that the model selected from the proxy’s optimal architecture set matches the accuracy of the SOTA coupled co-design approach.
- The method significantly reduces co-design cost: while SOTA co-designs take dozens of GPU hours per deployment scenario, the proposed approach enables fast, scalable co-design with minimal overhead.
- The approach remains effective even under complex layer-wise mixed dataflow configurations, where each layer can be mapped to different hardware and dataflow combinations, as confirmed by high SRCC values across 5,000 sampled mixtures.
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.