Abstract
As Deep Neural Networks (DNNs) become increasingly pervasive in edge computing, the demand for energy-efficient hardware has led to the rise of Computing-in-Memory (CIM) architectures. However, existing CIM designs often suffer from a rigid trade-off between the high accuracy of digital implementations (DCIM) and the high energy efficiency of analog ones (ACIM). This paper presents OSA-HCIM, a novel On-the-fly Saliency-Aware Hybrid SRAM CIM architecture. By dynamically adjusting computational precision based on the importance (saliency) of input data, OSA-HCIM achieves a 1.95x energy efficiency boost over conventional digital CIM while maintaining baseline accuracy within 0.1%.
Introduction: The Rigidity of Conventional CIM
The "memory wall"—the energy bottleneck caused by data movement between memory and processing units—remains a primary challenge for DNN acceleration. Computing-in-Memory (CIM) addresses this by embedding arithmetic operations directly within the memory array. Despite its promise, CIM hardware typically falls into two camps: Digital CIM (DCIM), which offers high precision but high power consumption, and Analog CIM (ACIM), which is energy-efficient but sensitive to noise and limited in accuracy.
Current hybrid CIM designs attempt to combine these approaches but often rely on a fixed boundary between digital and analog processing. This "one-size-fits-all" precision is inherently inefficient because neural network inputs exhibit varying degrees of importance. For instance, in image recognition, pixels representing the primary subject require higher precision than background elements.
Proposed Architecture: OSA-HCIM
The OSA-HCIM architecture introduces a dynamic, saliency-aware approach to CIM. It mimics biological vision by focusing computational resources on "salient" data while reducing precision for less critical information. The system is built upon three primary innovations:
1. On-the-fly Saliency-Aware (OSA) Scheme
The OSA scheme serves as the system's control mechanism, evaluating input importance in real-time. It performs a preliminary evaluation using the high-order bits of a multiply-accumulate (MAC) operation. This allows the hardware to estimate the total saliency of an input before committing full resources to its computation.
2. Hybrid CIM Array (HCIMA)
The hardware core utilizes a custom split-port 6T SRAM structure. This design enables simultaneous access to weights for both digital and analog processing paths. By decoupling the read ports, the HCIMA effectively doubles throughput compared to standard single-port hybrid designs.
3. Dynamic Digital-to-Analog Boundary ($B_{D/A}$)
Unlike static hybrid architectures, OSA-HCIM can shift the boundary between digital and analog processing during runtime. Depending on the saliency score generated by the OSA scheme, the system dynamically reconfigures the number of bits processed in the digital domain versus the analog domain. Non-salient data may even be discarded entirely to maximize power savings.
Experimental Results
The OSA-HCIM was implemented in a 65nm CMOS process with a 64x144 macro array. Performance was evaluated using standard benchmarks including CIFAR100 and ImageNet on ResNet18/20 architectures.
Energy Efficiency and Throughput
The architecture achieved a peak energy efficiency of 5.79 TOPS/W (normalized for 8-bit operations). Compared to a fully digital CIM baseline, the saliency-aware dynamic configuration provided a 1.95x enhancement in energy efficiency. This gain is largely attributed to the reduction in high-power digital operations for non-salient data and the use of a compact 3-bit SAR-ADC for the analog portion, which minimizes the traditional ADC power bottleneck.
Accuracy Preservation
A critical metric for any variable-precision system is its impact on model performance. On the CIFAR100 dataset, OSA-HCIM maintained classification accuracy within 0.1% of the full-digital baseline. This demonstrates that the saliency-aware pruning and analog shifting effectively target data that is redundant or less critical to the final inference result.
Conclusion and Future Outlook
OSA-HCIM represents a significant step toward adaptive, "smart" hardware for AI. By integrating real-time saliency evaluation with a flexible hybrid CIM array, it breaks the rigid precision constraints of traditional architectures. Future work will focus on automating threshold training for saliency detection and optimizing workload balancing between digital and analog units. As AI moves toward more complex, real-time edge applications, such dynamic hardware will be essential for balancing the competing demands of accuracy and energy constraints.
Summary updated