Fixed-point Encoding and Architecture Exploration for Residue Number Systems

Author:

Deng Bobin1ORCID,Nadendla Bhargava1ORCID,Suo Kun1ORCID,Xie Yixin2ORCID,Lo Dan Chia-Tien1ORCID

Affiliation:

1. Computer Science, Kennesaw State University, Marietta, United States

2. Information Technology, Kennesaw State University, Marietta, United States

Abstract

Residue Number Systems (RNS) demonstrate the fascinating potential to serve integer addition/ multiplication-intensive applications. The complexity of Artificial Intelligence (AI) models has grown enormously in recent years. From a computer system’s perspective, ensuring the training of these large-scale AI models within an adequate time and energy consumption has become a big concern. Matrix multiplication is a dominant subroutine in many prevailing AI models, with an addition/multiplication-intensive attribute. However, the data type of matrix multiplication within machine learning training typically requires real numbers, which indicates that RNS benefits for integer applications cannot be directly gained by AI training. The state-of-the-art RNS real-number encodings, including floating-point and fixed-point, have defects and can be further enhanced. To transform default RNS benefits to the efficiency of large-scale AI training, we propose a low-cost and high-accuracy RNS fixed-point representation: Single RNS Logical Partition (S-RNS-Logic-P) representation with Scaling-down Postprocessing Multiplication (SD-Post-Mul) . Moreover, we extend the implementation details of the other two RNS fixed-point methods: Double RNS Concatenation and S-RNS-Logic-P representation with Scaling-down Preprocessing Multiplication . We also design the architectures of these three fixed-point multipliers. In empirical experiments, our S-RNS-Logic-P representation with SD-Post-Mul method achieves less latency and energy overhead while maintaining good accuracy. Furthermore, this method can easily extend to the Redundant Residue Number System to raise the efficiency of error-tolerant domains, such as improving the error correction efficiency of quantum computing.

Publisher

Association for Computing Machinery (ACM)

Reference72 articles.

1. IEEE standard for floating-point arithmetic. 2008. IEEE Std 754-2008 (2008) 1–70. 10.1109/IEEESTD.2008.4610935

2. DeepBench. 2016. Retrieved from https://github.com/baidu-research/deepbench. (2016).

3. IEEE standard for floating-point arithmetic. 2019. IEEE Std 754-2019 (Revision of IEEE 754-2008). (2019) 1–84. 10.1109/IEEESTD.2019.8766229

4. Nanobench. Retrieved from https://github.com/martinus/nanobench. Access on June 2023.

5. TOP500 LIST –JUNE 2023. 2023. Retrieved from https://www.top500.org/lists/top500/list/2023/06/

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3