Improved Bernoulli Sampling for Discrete Gaussian Distributions over the Integers

被引:1
|
作者
Xie, Shaohao [1 ,2 ]
Zhuang, Shaohua [1 ,2 ]
Du, Yusong [1 ,2 ,3 ]
机构
[1] Sun Yat Sen Univ, Sch Comp Sci & Engn, Guangzhou 510006, Peoples R China
[2] Guangdong Key Lab Informat Secur Technol, Guangzhou 510006, Peoples R China
[3] Guangzhou Higher Educ Mega Ctr, 132 Waihuandong Rd, Guangzhou 510006, Peoples R China
关键词
discrete Gaussian sampling; discrete Gaussian distribution; exponential distribution;
D O I
10.3390/math9040378
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Discrete Gaussian sampling is one of the fundamental mathematical tools for lattice-based cryptography. In this paper, we revisit the Bernoulli(-type) sampling for centered discrete Gaussian distributions over the integers, which was proposed by Ducas et al. in 2013. Combining the idea of Karney's algorithm for sampling from the Bernoulli distribution B-e-1/2, we present an improved Bernoulli sampling algorithm. It does not require the use of floating-point arithmetic to generate a precomputed table, as the original Bernoulli sampling algorithm did. It only needs a fixed look-up table of very small size (e.g., 128 bits) that stores the binary expansion of ln2. We also propose a noncentered version of Bernoulli sampling algorithm for discrete Gaussian distributions with varying centers over the integers. It requires no floating-point arithmetic and can support centers of precision up to 52 bits. The experimental results show that our proposed algorithms have a significant improvement in the sampling efficiency as compared to other rejection algorithms.
引用
收藏
页码:1 / 13
页数:13
相关论文
共 50 条
  • [1] On the Rejection Rate of Exact Sampling Algorithm for Discrete Gaussian Distributions over the Integers
    Du, Yusong
    Ma, Xiao
    THEORY OF COMPUTING SYSTEMS, 2022, 66 (06) : 1099 - 1122
  • [2] On the Rejection Rate of Exact Sampling Algorithm for Discrete Gaussian Distributions over the Integers
    Yusong Du
    Xiao Ma
    Theory of Computing Systems, 2022, 66 : 1099 - 1122
  • [3] A rejection sampling algorithm for off-centered discrete Gaussian distributions over the integers
    Du, Yusong
    Wei, Baodian
    Zhang, Huang
    SCIENCE CHINA-INFORMATION SCIENCES, 2019, 62 (03)
  • [4] A rejection sampling algorithm for off-centered discrete Gaussian distributions over the integers
    Yusong Du
    Baodian Wei
    Huang Zhang
    Science China Information Sciences, 2019, 62
  • [5] A rejection sampling algorithm for off-centered discrete Gaussian distributions over the integers
    Yusong DU
    Baodian WEI
    Huang ZHANG
    ScienceChina(InformationSciences), 2019, 62 (03) : 196 - 198
  • [6] Arbitrary-Centered Discrete Gaussian Sampling over the Integers
    Du, Yusong
    Fan, Baoying
    Wei, Baodian
    INFORMATION SECURITY AND PRIVACY, ACISP 2020, 2020, 12248 : 391 - 407
  • [7] COSAC: COmpact and Scalable Arbitrary-Centered Discrete Gaussian Sampling over Integers
    Zhao, Raymond K.
    Steinfeld, Ron
    Sakzad, Amin
    POST-QUANTUM CRYPTOGRAPHY, PQCRYPTO 2020, 2020, 12100 : 284 - 303
  • [8] Generic, efficient and isochronous Gaussian sampling over the integers
    Shuo Sun
    Yongbin Zhou
    Yunfeng Ji
    Rui Zhang
    Yang Tao
    Cybersecurity, 5
  • [9] Generic, efficient and isochronous Gaussian sampling over the integers
    Sun, Shuo
    Zhou, Yongbin
    Ji, Yunfeng
    Zhang, Rui
    Tao, Yang
    CYBERSECURITY, 2022, 5 (01)
  • [10] On the discrete Gaussian distributions over Zp
    Wei, Baodian
    Du, Yusong
    Zhang, Huang
    Tian, Haibo
    Gao, Chongzhi
    Wang, Guancheng
    Journal of Computational Information Systems, 2014, 10 (10): : 4467 - 4474