[Paper Review] Thermal-Aware Compilation of Spiking Neural Networks to Neuromorphic Hardware
This paper proposes a thermal-aware compilation technique for spiking neural networks (SNNs) on neuromorphic hardware, modeling crossbar thermal gradients from current variations due to parasitic RC delays and using a hill-climbing heuristic to minimize average temperature. The method reduces average crossbar temperature by 11.4K and leakage power by 52% compared to performance-optimized mapping.
Hardware implementation of neuromorphic computing can significantly improve performance and energy efficiency of machine learning tasks implemented with spiking neural networks (SNNs), making these hardware platforms particularly suitable for embedded systems and other energy-constrained environments. We observe that the long bitlines and wordlines in a crossbar of the hardware create significant current variations when propagating spikes through its synaptic elements, which are typically designed with non-volatile memory (NVM). Such current variations create a thermal gradient within each crossbar of the hardware, depending on the machine learning workload and the mapping of neurons and synapses of the workload to these crossbars. \mr{This thermal gradient becomes significant at scaled technology nodes and it increases the leakage power in the hardware leading to an increase in the energy consumption.} We propose a novel technique to map neurons and synapses of SNN-based machine learning workloads to neuromorphic hardware. We make two novel contributions. First, we formulate a detailed thermal model for a crossbar in a neuromorphic hardware incorporating workload dependency, where the temperature of each NVM-based synaptic cell is computed considering the thermal contributions from its neighboring cells. Second, we incorporate this thermal model in the mapping of neurons and synapses of SNN-based workloads using a hill-climbing heuristic. The objective is to reduce the thermal gradient in crossbars. We evaluate our neuron and synapse mapping technique using 10 machine learning workloads for a state-of-the-art neuromorphic hardware. We demonstrate an average 11.4K reduction in the average temperature of each crossbar in the hardware, leading to a 52% reduction in the leakage power consumption (11% lower total energy consumption) compared to a performance-oriented SNN mapping technique.
Motivation & Objective
- To address the unconsidered thermal gradient in neuromorphic crossbars caused by current variations in long bitlines and wordlines.
- To model the temperature of NVM-based synaptic cells considering spatial thermal contributions from neighboring cells.
- To minimize average crossbar temperature during SNN mapping to reduce leakage power and energy consumption.
- To develop a scalable thermal model that balances accuracy and computational efficiency for use in compilation heuristics.
Proposed method
- Formulate a detailed thermal model for PCM-based crossbars that accounts for thermal contributions from adjacent synaptic cells using a spatial dependency equation.
- Incorporate the thermal model into a hill-climbing heuristic to explore neuron and synapse mappings that minimize average crossbar temperature.
- Use a workload-dependent thermal model that captures current variations due to differing path lengths in bitlines and wordlines.
- Validate the thermal model against a high-fidelity layout-based simulation (30 min per run) and a single-cell model, showing improved accuracy over prior models.
- Integrate the thermal model into a compilation pipeline to guide mapping decisions with a configurable iteration limit (MaxIter) for trade-off control.
- Optimize the mapping using a greedy hill-climbing approach that iteratively improves temperature metrics across the crossbar.
Experimental results
Research questions
- RQ1How do current variations in bitline and wordline paths affect thermal gradients in neuromorphic crossbars?
- RQ2To what extent does neglecting spatial thermal coupling in thermal models lead to inaccurate leakage power estimation?
- RQ3Can a thermal-aware mapping strategy reduce average crossbar temperature and leakage power in SNN workloads on neuromorphic hardware?
- RQ4What is the trade-off between compilation time and temperature reduction when varying the number of iterations in the hill-climbing heuristic?
- RQ5How does the proposed thermal model compare in accuracy to high-fidelity and simplified thermal models?
Key findings
- The proposed thermal model reduces peak temperature underestimation by 1.6K on average compared to single-cell models, due to inclusion of spatial thermal coupling.
- The spatial thermal contribution model achieves 8.2% lower error (0.3K absolute) compared to a detailed layout-based simulation, demonstrating high accuracy.
- Using MaxIter = 100 provides the best trade-off between compilation time and solution quality, as increasing to 1000 yields minimal temperature improvement.
- The technique reduces average crossbar temperature by 11.4K across 10 SNN workloads, leading to a 52% reduction in leakage power.
- Total energy consumption is reduced by 11% compared to a performance-optimized mapping technique, despite no performance degradation.
- The method effectively mitigates the thermal gradient caused by conservative voltage design for longest current paths, which otherwise increases leakage in frequently accessed cells.
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.