Abstract
Transformer models have achieved remarkable progress in both natural language processing and computer vision; however, the SoftMax operation has become a major bottleneck in Transformer inference due to costly exponential operations and repeated memory access. We present a hardware-native SoftMax engine based on an asynchronous probabilistic Ising machine built from experimentally fabricated SOT-MTJ P-Bit. A SoftMax-to-Ising compiler maps arbitrary logits into an implementable energy function, enabling direct physical sampling of the corresponding Boltzmann distribution. The resulting Ising SoftMax converges rapidly, exceeding FP16 precision at 32μs. When integrated into neural network workloads, it preserves high inference accuracy without noticeable degradation. These results demonstrate a fully asynchronous physical SoftMax engine and highlight its potential for energy-efficient deep learning acceleration.
Funding Information
  • National Natural Science Foundation of China (T2293703)
  • National Natural Science Foundation of China (T2293700)
  • National Natural Science Foundation of China (62171009)
  • National Natural Science Foundation of China (62271026)
  • National Natural Science Foundation of China (T2394474)
  • National Natural Science Foundation of China (T2394470)
  • National Natural Science Foundation of China (2022YFB4400200)
  • Research Funding of Hangzhou International Innovation Institute of Beihang University (2024KQ121)