High-Performance Computation in Residue Number System Using Floating-Point Arithmetic

Author:

Isupov KonstantinORCID

Abstract

Residue number system (RNS) is known for its parallel arithmetic and has been used in recent decades in various important applications, from digital signal processing and deep neural networks to cryptography and high-precision computation. However, comparison, sign identification, overflow detection, and division are still hard to implement in RNS. For such operations, most of the methods proposed in the literature only support small dynamic ranges (up to several tens of bits), so they are only suitable for low-precision applications. We recently proposed a method that supports arbitrary moduli sets with cryptographically sized dynamic ranges, up to several thousands of bits. The practical interest of our method compared to existing methods is that it relies only on very fast standard floating-point operations, so it is suitable for multiple-precision applications and can be efficiently implemented on many general-purpose platforms that support IEEE 754 arithmetic. In this paper, we make further improvements to this method and demonstrate that it can successfully be applied to implement efficient data-parallel primitives operating in the RNS domain, namely finding the maximum element of an array of RNS numbers on graphics processing units. Our experimental results on an NVIDIA RTX 2080 GPU show that for random residues and a 128-moduli set with 2048-bit dynamic range, the proposed implementation reduces the running time by a factor of 39 and the memory consumption by a factor of 13 compared to an implementation based on mixed-radix conversion.

Funder

Russian Science Foundation

Publisher

MDPI AG

Subject

Applied Mathematics,Modeling and Simulation,General Computer Science,Theoretical Computer Science

Reference28 articles.

1. Residue Number Systems: Theory and Applications;Ananda Mohan,2016

2. Residue Number Systems: Theory and Implementation;Omondi,2007

3. Residue Arithmetic and Its Application to Computer Technology;Szabo,1967

4. Implementation and Performance Evaluation of RNS Variants of the BFV Homomorphic Encryption Scheme

5. A Full RNS Variant of FV Like Somewhat Homomorphic Encryption Schemes;Bajard,2017

Cited by 8 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Information Security of the National Economy Based on an Effective Data Control Method;Journal of International Commerce, Economics and Policy;2023-09-19

2. Fast Operation of Determining the Sign of a Number in RNS Using the Akushsky Core Function;Computation;2023-06-28

3. High-Precision Computing based on the CUDA Architecture in Residual Number Systems;2023 5th International Youth Conference on Radio Electronics, Electrical and Power Engineering (REEPE);2023-03-16

4. An Overview of Enhancing Encryption Standards for Multimedia in Explainable Artificial Intelligence Using Residue Number Systems for Security;A Roadmap for Enabling Industry 4.0 by Artificial Intelligence;2022-11-30

5. Polynomial Rabin Cryptosystem Based on the Operation of Addition;2022 12th International Conference on Advanced Computer Information Technologies (ACIT);2022-09-26

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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