Skip to main content

Advertisement

Log in

SpinCIM: spin orbit torque memory for ternary neural networks based on the computing-in-memory architecture

  • Regular Paper
  • Published:
CCF Transactions on High Performance Computing Aims and scope Submit manuscript

Abstract

Although significant breakthrough has been made in deep neural networks (DNNs), which show impressive potential as a general solution to the field of artificial intelligence (AI), DNN computing tasks generally need billions of floating-point multiplication and accumulation (MAC) operations, bringing great challenges on hardware resource, power consumption, and communication bandwidth. Computing-in-memory (CIM) architecture, especially the one based on spintronic memories, which integrates the memory and computing together, shows fascinating prospects in DNNs for its high energy efficiency and good endurance. In this work, we leveraged coupled magnetic tunnel junctions (MTJs), which are driven by the interplay of field-free spin orbit torque (SOT) and spin transfer torque (STT) effects, to realize two different innovative stateful CIM paradigms for ternary MAC operations. Based on both paradigms, we further demonstrated the highly parallel array structures to implement a memory array supportive of functioning both as memory and CIM for ternary neural networks (TNNs). Our results demonstrated that the area overhead for CIM is only about 0.8% of the memory array. The advantage of our design in power consumption was illustrated in comparison with the CPU, GPU and other state-of-the-art works.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig.13
Fig. 14
Fig. 15

Similar content being viewed by others

References

Download references

Acknowledgements

This work is supported by the Beijing Nova Program from Beijing Municipal Science and Technology Commission (No. Z201100006820042 and No. Z211100002121014), National Natural Science Foundation of China (Grants No. 61871008). Lichuan Luo and He Zhang contributed equally to this work. On behalf of all authors, the corresponding author (Wang Kang) states there is no conflict of interest.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wang Kang.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Luo, L., Liu, D., Zhang, H. et al. SpinCIM: spin orbit torque memory for ternary neural networks based on the computing-in-memory architecture. CCF Trans. HPC 4, 421–434 (2022). https://doi.org/10.1007/s42514-022-00108-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s42514-022-00108-w

Keywords

Navigation