NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Segmented Exponent Alignment and Dynamic Wordline Activation for Floating-Point Analog CIM Macros

Weiping Yang, Shilin Zhou, Hui Xu, Jiawei Xue, Changlin Chen

Abstract

Analog Compute-in-Memory (CIM) macros offer high efficiency for integer operations but struggle with the complexity of floating-point (FP) arithmetic, particularly the exponent alignment required for mantissa multiplication. This paper presents Segmented Exponent Alignment (SEA) and Dynamic Wordline Activation (DWA), techniques that exploit the non-uniform distribution of exponents in neural networks. By categorizing exponents into segments and using fixed-width inputs, the proposed architecture achieves a 63.8% reduction in power and a 40.87% reduction in latency with minimal accuracy loss.

Introduction

Floating-point precision (e.g., FP16) is increasingly necessary for large-scale AI models, yet its implementation in analog CIM is hindered by the hardware overhead of mantissa alignment. Traditional methods utilize a comparison tree to identify the maximum exponent ($E_{max}$) within an input group, followed by shifting mantissas accordingly. This process is both energy-intensive and introduces significant latency due to bit-serial input requirements. Previous solutions often relied on complex hybrid digital-analog architectures that carry heavy hardware overhead.

Methods

The core of the proposed solution lies in the observation that exponents in trained deep neural networks (DNNs) are not uniformly distributed but rather cluster within specific ranges.

Figure 1: Normalized frequency of exponent values across layers in VGG16 and ResNet18, demonstrating significant clustering.

Segmented Exponent Alignment (SEA)

Instead of a global search for $E_{max}$, SEA divides the exponent space into three segments based on the three most significant bits (MSBs). Each segment is mapped to a predefined "shared exponent" determined offline. This eliminates the comparison-tree hardware and reduces the shifting distance for mantissas.

Dynamic Wordline Activation (DWA)

DWA complements SEA by activating CIM crossbar wordlines in cycles corresponding to these exponent segments. By grouping inputs with similar exponents, the system optimizes the bit-serial processing flow. This approach simplifies the crossbar logic by using a 2-bit flag per input to manage activation.

Figure 2: Comparison of (a) traditional comparison-tree alignment versus (b) the proposed segmented exponent alignment which simplifies the hardware logic.

Fixed Width Input (FWI)

To further streamline processing, the authors employ a fixed number of bits for input mantissas. While this introduces a degree of quantization error, the efficiency gains in latency and power are substantial.

Experimental Results

The architecture was simulated in a 28nm process at 100MHz using VGG16 and ResNet18 benchmarks on the CIFAR-10 dataset.

  • Efficiency: The design achieved a 63.8% reduction in power consumption and a 40.87% reduction in bit-serial delay compared to baseline comparison-tree methods.
  • Area: Hardware area was reduced by 58.6%, avoiding the complexity of hybrid digital-analog scheduling logic.
  • Accuracy: These performance improvements resulted in a manageable 2.04% accuracy drop for VGG16 on CIFAR-10.

Conclusion

By tailoring hardware to the statistical properties of DNN data, SEA and DWA significantly improve the feasibility of floating-point analog CIM. While the current 2.04% accuracy drop is acceptable for many edge AI applications, future work will investigate adaptive segmentation to further minimize accuracy loss and explore support for diverse formats like BF16 and FP8.

Summary updated

BibTeX
@inproceedings{yang2025segmented,
  author = {Weiping Yang and Shilin Zhou and Hui Xu and Jiawei Xue and Changlin Chen},
  title = {{Segmented Exponent Alignment and Dynamic Wordline Activation for Floating-Point Analog CIM Macros}},
  booktitle = {ICECS},
  year = {2025},
  doi = {10.1109/icecs66544.2025.11270709},
}
Figure