in ,

A Crystallization Robot for Generating True Random Numbers Based on Stochastic Chemical Processes, Hacker News

A Crystallization Robot for Generating True Random Numbers Based on Stochastic Chemical Processes, Hacker News

Highlights

  • )
  • Automated system for obtaining statistical data on crystal formation
  • First example of generation of true random numbers using stochasticity of chemistry

  • . Encryption capability better than Mersenne Twister pseudorandom number generator
  • Analysis of entropy in different crystallizing compounds.
  • Progress and Potential
    . As chemistry and materials synthesis is starting to embrace an era of automation and the use of machine learning, it is becoming vital th at the quality and reliability of that data is assessed. By automating and parallelizing batch chemical reactions, enough samples may be run that statistical data can be obtained on the reaction system. We monitored the crystallization for hundreds of parallel reactions using a webcam and found that crystal features in the images obtained could be used to generate true random numbers. We also found that the approximate entropy of these numbers was different for different types of chemical reaction, and that the encryption capability of these numbers was greater than a commonly used pseudorandom number generator. This is the first time that stochasticity of chemistry has been investigated in large datasets from experimental data.
  • Summary (chemistry inherently involves a wide range of stochastic processes, yet chemists do not typically explore stochastic processes at the macroscale due to the difficulty in gathering data. We wondered whether it was possible to explore such processes, in this case crystallization, in a systematic way using an autonomous robotic platform. By performing inorganic reactions in an automated system, and observing the resultant occupied macrostate (crystallization images), we developed a powerful entropy source for generation of true random numbers. Randomness was confirmed using tests described by the National Institute for Standards and Technology (p uniformity>> 0. 18. Deficit from maximum approximate entropy was found be different between compounds (p

    ANOVA (

  • Graphical Abstract )

    Figure thumbnail fx1

Material Advancement Progression (MAP2: Benchmark)

Keywords Figure thumbnail fx1 random numbers

  • (chemical robot)
      crystallization robot Introduction

      ) Recently the reproducibility and bias in chemical reaction data have been discussed.

        (1) Figure thumbnail fx1 Jia X. (Lynch A.

        Huang Y.

      • Danielson M.
      • Lang’at I.
      • Milder A.
      • Ruby AE
      • Wang H.
        • Friedler SA

        • Norquist AJ
        • Schrier J.
        • Anthropogenic biases in chemical reaction data hinder exploratory inorganic synthesis.
    • This is because machine learning in chemical and materials synthesis will require large amounts of reliable data, but also so that algorithms can be validated.

    • (2)
    • (Dodge J.)
    • Gururangan S.
    • (Card D.) Schwartz R.
    • Smith NA
    • Show your work: improved reporting of experimental results.
    • The recent development of automated platforms for chemistry are not only transformative for chemical synthesis

      (3) ()

    • Steiner
    • S.

    • Wolf J.

    • Glatzel S.
    • Andreou A.
    • , 4
    • Coley CW
    • Thomas DA
    • Lummiss JAM
    • Jaworski JN
    • Breen CP
    • Schultz V.
    • Hart T.
    • Fishman JS
    • Rogers L.

    • Gao H.
    • et al.

    • A robotic platform for flow synthesis of organic compounds informed by AI planning.

    • (and and

      (5)

    • Granda JM

    • Donina L.
    • Dragone V.
    • Long D.-L.
    • Cronin L.
    • Controlling an organic synthesis robot with machine learning to search for new reactivity.
  • ,
    6 (6)

    Zhavoronkov A. Ivanenkov YA

  • Aliper A.
  • Veselov MS

  • Aladinskiy VA
  • Aladinskaya AV
  • Terentiev VA
  • Polykovskiy DA
  • Kuznetsov MD
  • Asadulaev A.
  • et al.
  • Deep learning enables rapid identification of potent DDR1 kinase inhibitors.
  • but also for exploration of data reliability. Another important aspect of exploring the extent to which experimental data are reproducible is the fact that many processes are intrinsically stochastic. Such stochasticity can also be useful, such as in the generation of random numbers.
  • Random numbers are used extensively in many applications, such as cryptography

    (7) ()

  • (Baur S.)
  • Deppe C.

  • (Boche H.
  • Secure storage for identification; random resources and privacy leakage.

  • and scientific modeling,

  • He S.

    Tang S.

  • Wang W.
  • A stochastic SIS model driven by random diffusion of air pollutants.

  • where their non-deterministic properties and unpredictability are essential. The source of randomness (ie, the entropy source) is a crucial factor for whether correlations between generated numbers are present, and this has a great impact on the randomness and utility of the output.

    (9)

    Stipčević M.

  • Koç Ç.K.
  • True random number generators.
  • As such, random number generation not only can help us understand the reproducibility of a process, but also are more desirable than computational methods of number generation (eg, pseudorandom number generators) . This is because they extract their randomness from a physical system with a large available pool of entropy.

    (

  • 23

  • Noll, LC; Mende, R.G .; Sisodiya, S. .. (2014. Method for seeding a pseudo-random number generator with a cryptographic hash of a digitization of a chaotic system.US Patent US A, filed January , and granted March , .
  • Importantly, the generation of random outcomes is of profound importance as a source of noise, and potentially allows the generation of unanticipated data.

    In a chemical system, each time a reaction is performed there is an almost infinite number of energetically equivalent ways for particular reagents to combine, resulting in both high uncertainty and entropy, and the exact pathway undertaken will n ever be repeated. The overall outcome of such a reaction is therefore an example of one specific state out of an almost infinite number of possible macrostates.

  • Greiner W. Neise L. Stocker H.

  • Thermodynamics and Statistical Mechanics (Classical Theoretical Physics).
  • As such, the entropy of such a chemical system is extraordinarily high,

  • Krivovichev SV
  • Which inorganic structures are the most complex?.

  • and may therefore serve as a very good entropy pool for application of random number generation.

  • In this regard, we hypothesized that one such system with a large entropy pool is that of compound formation and subsequent crystallization, where the detectable ensemble macrostates considered are the locations and morphologies of each crystal that has grown in a period of time as a result of these processes. To explore this idea, we set out to develop a fully automated system to not only do the chemical reactions but also grow crystals of the products using a camera as a detector. The platform was designed so that it converts these data into binary sequences, as shown schematically in (Figure 1) , which are assessed for randomness using the methods specified in National Institute for Standards and Technology ( NIST (special publication) – (a.

    )

    Rukhin A. Soto J.

  • Nechvatal J.
  • Smid M.
  • Barker E.
  • Leigh S.
  • Levenson M.
  • Vangel M.
  • Banks D.
  • Heckert A.
  • et al.
  • A statistical test suite for the validation of random number generators and pseudo random number generators for cryptographic applications.

  • We find that the numbers generated in this way are random, demonstrating the possibility to investigate and use crystallization as an entropy pool for random numbers, and we show that this is possible by encrypting a word and validating the difficulty in breaking the code.
  • (Figure 1 Schematic of Procedure for Generating Random Numbers Using Crystallization () Show full caption .

  • (A) Images are acquired using a mobile tracking camera attached to the underside of the platform.

    (B) Feature-detection and image-segmentation algorithms locate the pixels corresponding to crystals and the crystallization vial.

    (C) Appl ication of a binarization algorithm converts the feature-detection data in (B) to a sequence of 0s and 1s.

    (D) Sequences from subsequent binarization applications are joined to form a longer sequence, suitable for randomness testing.

  • View Large                                             Image                                         
  • (Figure Viewer)
  • (Download PPT) )
  • Results A robotic platform (Figure 2) was designed to generate images of fresh crystallizations for random number generation from chemistry, based on a Computer Numerical Control (CNC) machine. Using rapid prototyping techniques described previously,

  • (8) (Na) (3) [W19Mn2O61Cl(SeO3)2(H2O)2] Cl

    (2) (6H) (2) O,

    hereafter referred to as {W

    () ; and the synthesis and crystallization of the coordination cluster [Co4(2-pyridinemethanol)4(MeOH)4Cl4],

    Images of each vial were obtained at – min intervals for each reaction. The crystals in each image were isolated using an object-detection and image-segmentation algorithm (Mask R-CNN) and their locations within the vial were determined using computer vision techniques (see (Figures S)

  • View Large                                             Image                                         
  • (Figure Viewer)
  • Download (PPT)
  • Finally, since random numbers are commonly used to encrypt data, we considered the encryption capability of this random number generator versus that of a frequently used pseudorandom number generator, the Mersenne Twister (MT).

  • 78 Matsumoto M.
  • Nishimura T.
  • Mersenne twister: a

  • – dimensionally equidistributed uniform pseudo-random number generator.
  • Since the MT output is determined based on its internal state, knowledge of this state allows accurate prediction of future output . However, this is not possible in the case of the true random number generator, whose internal state is either (seemingly) non-existent
  • Opt. Express. ; : – 670467 Noll, LC; Mende, R.G .; Sisodiya, S. .. (2014. Method for seeding a pseudo-random number generator with a cryptographic hash of a digitization of a chaotic system.US Patent US A, filed January , and granted March , .

    Feistel R.

  • Distinguishing between Clausius, Boltzmann and Pauling entropies of frozen non-equilibrium states.
  • (Entropy.) 2393; :
    • Greiner W.

    • Neise L.
    • (Stocker H.)
    • Thermodynamics and Statistical Mechanics (Classical Theoreti cal Physics).

      Second Edition. Springer ,         

  • Krivovichev SV

  • which inorganic structures are the most complex?.
  • Angew. Chem. Int. Ed. ; : 823 –
  • (Rukhin A.) (Soto. J.
  • Nechvatal J.
  • Smid M.
  • Barker E.
  • (Leigh S.)
  • Levenson M.
  • (Vangel M.) Banks D.
  • Heckert A.
  • et al.
  • A statistical test suite for the validation of random number generators and pseudo random number generators for cryptographic applications. ()
  • Gutierrez JMP

  • Hinkley T.
  • Taylor JW
  • Yanev K.
  • Cronin L.

  • Evolution of oil droplets in a chemorobotic platform. Nat. Commun. ; 5 :
  • (Jones R.
      Haufe P.
  • Sells E.

  • Iravani P. (Olliver V.) Palmer. Palmer C.

    Bowyer A.

  • RepRap — the replicating rapid prototyper. (Robotica.) ; :
  • Abdulla W.

  • Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow. GitHub repository. He K.
    • Gkioxari G.
  • Dollar P.

  • Girshick R.

  • (Mask R-CNN. (arXiv.) 2493;
  • Duros V.
  • Grizou J.
  • Xuan WM
  • Hosni Z.
  • Long D.-L.
  • Miras HN
  • Cronin L.

  • Human versus robot in the discovery and crystallization of gigantic polyoxometalates.

  • Matsumoto M.

  • Nishimura T. Mersenne twister: a – dimensionally equidistributed uniform pseudo-random number generator. ACM Trans. Model. Comput. Simul. ; 8 : 3- ) Hensen B.
  • Bernien H.
  • Dréau AE
  • Reiserer A.
  • Kalb N.
  • Blok MS
  • Ruitenberg J.
  • Vermeulen RFL
  • Schouten RN
  • Abellán C.
  • et al.
  • Loophole-free Bell inequality violation using electron spins separated by 1.3 kilometers. (Nature.) 2385; : – Kong X.
  • (Deng H.) (Yan F.) Kim J.
  • Swisher JA

  • Smit B.
  • Yaghi OM

  • Reimer JA
  • Mapping of functional groups in metal-organic frameworks.
  • (Science.)
  • 2088;
  • : 1998 –

    Article Info

    (Publication History)

  • Published: February , 2590
  • Accepted:             January 0050,             2493
  • Received in revised form:             January ,             
  • Received:             January 6,             
    (Publication stage) (In Press Corrected Proof )
  • |

    ScienceDirect

    (Access this article on ScienceDirect

  •                                                                                                                                                                                                                                                      
    Cell Press Commenting Guidelines

    To submit a comment for a journal article, please use the space above and note the following:

    We will review submitted comments within 2 business days.

    • This forum is intended for constructive dialog. Comments that are commercial or promotional in nature, pertain to specific medical cases, are not relevant to the article for which they have been submitted, or are otherwise inappropriate will not be posted.