Journal on Communications ›› 2023, Vol. 44 ›› Issue (6): 23-33.doi: 10.11959/j.issn.1000-436x.2023111

• Papers • Previous Articles     Next Articles

Research on test strategy for randomness based on deep learning

Dongyu CHEN1,2, Hua CHEN1, Limin FAN1, Yifang FU1,2, Jian WANG1,2   

  1. 1 Trusted Computing and Information Assurance Laboratory, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
    2 University of Chinese Academy of Sciences, Beijing 100049, China
  • Revised:2023-06-12 Online:2023-06-25 Published:2023-06-01
  • Supported by:
    The National Key Research and Development Program of China(2020YFA0309704)

Abstract:

In order to achieve better test performance, researches on the randomness test strategies based on deep learning were conducted, including the batch average strategy proposed by EUROCRYPT 2021 and the selection strategy for data unit size.By introducing the randomness statistical test model based on deep learning methods, the statistical distribution and test power expression of two test strategies were theoretically derived, and it was pointed out that: (i) the batch average strategy could amplify the prediction accuracy of the model, but it was prone to an increase in the probability of the second type of error in statistics, instead reducing the statistical test power; (ii) the smaller data units of the deep model generally obtained the more powerful statistical tests.Based on the above understanding, a new bit-level deep learning model was proposed for randomness statistical tests, which gained the advantage of prediction with 80 times fewer parameters and 50% samples, compared with the previous work on linear congruent generator (LCG) algorithm, and achieved significant prediction advantages with 10~20 times fewer parameters by extending the model to apply to 5~7 rounds of Speck, compared with the model proposed by Gohr.

Key words: deep learning, randomness, statistical test, random number generator, Speck, LCG, batch average strategy

CLC Number: 

No Suggested Reading articles found!