arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.11531cs.CRcs.AIcs.LG
收藏

伪随机数生成:一种强化学习方法

Pseudo Random Number Generation: a Reinforcement Learning approach

University of Siena(锡耶纳大学);University of Chieti-Pescara(基耶蒂-佩斯卡拉大学)

Luca Pasqualini, Maurizio Parton

摘要:

伪随机数生成器(PRNG)是产生用于生成统计上不相关的数的长序列的算法,即伪随机数(PRN)。这些数字广泛应用于中级密码学和软件应用程序中。测试套件被用来评估PRNG的质量,通过检查生成的序列的统计特性。机器学习技术通常用于破坏这些生成器,例如使用神经网络逼近某个生成器或某个序列。但是使用机器学习来生成PRN生成器怎么样呢?本文提出了一种强化学习(RL)方法,通过学习策略来解决N维导航问题,从头开始生成PRNG。在这个上下文中,N是生成的序列的周期长度,并且使用在该周期上运行的适当测试套件的平均值来迭代地改进策略。这项工作的目的是证明所提出的方法的可行性,比较它与经典的方法,并奠定了基础的研究路径,结合RL和PRNG。

英文摘要:

Pseudo-Random Numbers Generators (PRNGs) are algorithms produced to generate long sequences of statistically uncorrelated numbers, i.e. Pseudo-Random Numbers (PRNs). These numbers are widely employed in mid-level cryptography and in software applications. Test suites are used to evaluate PRNGs quality by checking statistical properties of the generated sequences. Machine learning techniques are often used to break these generators, for instance approximating a certain generator or a certain sequence using a neural network. But what about using machine learning to generate PRNs generators? This paper proposes a Reinforcement Learning (RL) approach to the task of generating PRNGs from scratch by learning a policy to solve an N-dimensional navigation problem. In this context, N is the length of the period of the generated sequence, and the policy is iteratively improved using the average value of an appropriate test suite run over that period. Aim of this work is to demonstrate the feasibility of the proposed approach, to compare it with classical methods, and to lay the foundation of a research path which combines RL and PRNGs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑