Next Article in Journal
Constructions of Beyond-Birthday Secure PRFs from Random Permutations, Revisited
Previous Article in Journal
A Quantum Dual-Signature Protocol Based on SNOP States without Trusted Participant
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Various Auto-Correlation Functions of m-Bit Random Numbers Generated from Chaotic Binary Sequences

Division of Informatics and Energy, Faculty of Advanced Science and Technology, Kumamoto University, Kumamoto 860-8555, Japan
Entropy 2021, 23(10), 1295; https://doi.org/10.3390/e23101295
Submission received: 6 September 2021 / Revised: 27 September 2021 / Accepted: 29 September 2021 / Published: 30 September 2021
(This article belongs to the Section Information Theory, Probability and Statistics)

Abstract

:
This paper discusses the auto-correlation functions of m-bit random numbers obtained from m chaotic binary sequences generated by one-dimensional nonlinear maps. First, we provide the theoretical auto-correlation function of an m-bit sequence obtained by m binary sequences that are assumed to be uncorrelated to each other. The auto-correlation function is expressed by a simple form using the auto-correlation functions of the binary sequences. This implies that the auto-correlation properties of the m-bit sequences can be easily controlled by the auto-correlation functions of the original binary sequences. In numerical experiments using a computer, we generated m-bit random sequences using some chaotic binary sequences with prescribed auto-correlations generated by one-dimensional chaotic maps. The numerical experiments show that the numerical auto-correlation values are almost equal to the corresponding theoretical ones, and we can generate m-bit sequences with a variety of auto-correlation properties. Furthermore, we also show that the distributions of the generated m-bit sequences are uniform if all of the original binary sequences are balanced (i.e., the probability of 1 (or 0) is equal to 1 / 2 ) and independent of one another.

1. Introduction

Chaos-based random number generation has been widely studied [1,2,3,4,5,6,7,8,9,10,11,12,13,14]. In most cases, the random numbers are desired to be independent (or uncorrelated), which are often called truly random numbers, especially for security applications. However, correlated random numbers are also useful in Monte-Carlo methods [15,16] for simulating various kinds of stochastic phenomena. Using one-dimensional (1-D) chaotic maps, we can design various kinds of chaotic sequences including uncorrelated and correlated ones [1,8,9,11,16], which can be adapted according to the desired properties depending on the applications. For example, the convergence rate of Monte-Carlo integrations can be increased by using chaotic sequences with proper auto-correlations, which is called super-efficient chaotic Monte-Carlo simulations [16]. Thus, it is very important to control or design the statistical properties of random numbers according to each application. Noting that random numbers in such numerical methods using computers are represented by finite bits (64-bit, 32-bit, etc.), we discuss m-bit random numbers generated by m different binary random sequences in this paper. The statistical properties of the m-bit random numbers depend on the original m binary sequences. Thus, by changing the properties of the original binary sequences, we can generate m-bit random sequences with a variety of statistical properties. The main purpose of this paper is to discuss the controllability of the auto-correlations of the m-bit random numbers but not to generate only purely random numbers. In [14], we discussed the case of m = 2 , and we generalize the results of [14] for general integers m 2 in this paper. First, we provided the theoretical auto-correlation function of the m-bit sequence generated by m binary sequences. Next, we performed some numerical experiments generating m-bit sequences from several types of chaotic binary sequences generated by 1-D chaotic maps. The numerical auto-correlation functions and distributions of the generated m-bit sequences are also shown.
The rest of this paper is organized as follows. In Section 2, we provide the method for generating an m-bit sequence from m binary sequences. The theoretical auto-correlation function of the m-bit sequence is also provided. In Section 3, two types of chaotic maps for generating uncorrelated/correlated chaotic binary sequences are introduced, as examples. Some numerical results are shown in Section 4. Finally, the concluding remarks are presented in Section 5.

2. Auto-Correlation Functions of m -Bit Random Sequences

2.1. Definition of Auto-Correlation Function

For a general random sequence { Z n } n = 0 , its auto-correlation function R ( ; Z n ) is defined by
R ( ; Z n ) = E [ ( Z n E [ Z n ] ) ( Z n + E [ Z n ] ) ] , = E [ Z n Z n + ] E [ Z n ] 2 ( = 0 , 1 , 2 , ) ,
where E [ · ] denotes taking the average and denotes a time delay. Additionally, the normalized auto-correlation function is defined by
C ( ; Z n ) = R ( ; Z n ) R ( 0 ; Z n ) [ 1 , 1 ] ,
where R ( 0 ; Z n ) means the variance.

2.2. Generation of m-Bit Sequences from Binary Sequences

Let { B n ( i ) } n = 0 ( i = 1 , 2 , , m ) be m binary ( { 0 , 1 } -valued) sequences. We obtain an m-bit random sequence { X n } n = 0 ( [ 0 , 1 2 m ] ) by
X n = 2 1 B n ( 1 ) + 2 2 B n ( 2 ) + + 2 m B n ( m ) .
Now, we consider the auto-correlation function of the m-bit sequence provided by (3). The following theorem can be obtained.
Theorem 1.
The auto-correlation function of the m-bit sequence generated by (3) is given by
R ( ; X n ) = 4 1 R ( ; B n ( 1 ) ) + 4 2 R ( ; B n ( 2 ) ) + + 4 m R ( ; B n ( m ) )
under the assumption that any pair of the m binary sequences, { B n ( i ) } n = 0 and { B n ( j ) } n = 0 ( i j ) , are uncorrelated to each other such that
E [ B n ( i ) B n + ( j ) ] = E [ B n + ( i ) B n ( j ) ] = E [ B n ( i ) ] E [ B n ( j ) ] f o r i j a n d = 0 , 1 , 2 , .
Proof. 
Substituting (3) into
R ( ; X n ) = E [ ( X n E [ X n ] ) ( X n + E [ X n ] ) ] , = E [ X n X n + ] E [ X n ] 2 ,
and using (5), we have
R ( ; X n ) = 4 1 E [ B n ( 1 ) B n + ( 1 ) ] + 4 2 E [ B n ( 2 ) B n + ( 2 ) ] + + 4 m E [ B n ( m ) B n + ( m ) ] 4 1 E [ B n ( 1 ) ] 2 4 2 E [ B n ( 2 ) ] 2 4 m E [ B n ( m ) ] 2
which gives (4). □
Remark 1.
If we set X ^ n = 2 m X n , that is
X ^ n = 2 m 1 B n ( 1 ) + 2 m 2 B n ( 2 ) + + 2 0 B n ( m ) ,
a 2 m -ary integer sequence { X ^ n } n = 0 ( X ^ n { 0 , 1 , , 2 m 1 } ) can be obtained. The auto-correlation function R ( ; X ^ n ) is given by
R ( ; X ^ n ) = 4 m R ( ; X n ) .
Obviously, C ( ; X ^ n ) = C ( ; X n ) . In [14], the case of m = 2 , that is, 4-ary (quaternary) sequences, is discussed.
Remark 2.
Assume
E [ B n ( i ) ] = 1 2 ( i = 1 , 2 , , m ) ,
which gives
R ( 0 ; B n ( i ) ) = 1 4 ( i = 1 , 2 , , m ) ;
then, we have
E [ X n ] = 1 2 ( 1 2 m ) ,
R ( 0 ; X n ) = 1 12 ( 1 4 m ) .
Furthermore, assuming
R ( ; B n ( 1 ) ) = R ( ; B n ( 2 ) ) = = R ( ; B n ( m ) ) ,
we have
R ( ; X n ) = 1 3 ( 1 4 m ) R ( ; B n ( 1 ) ) ,
C ( ; X n ) = C ( ; B n ( 1 ) ) .
Remark 3.
Consider the probability that X n (or X ^ n ) takes a value s p , denoted by P ( X n = s p ) , where s p is a value in 2 m possible values expressed by m-bit numbers ( p = 1 , 2 , , 2 m ). In addition to (10), assuming that { B n ( i ) } n = 0 ( i = 1 , 2 , , m ) are independent of one another, we have
P ( X n = s p ) = 1 2 m f o r a l l p = 1 , 2 , , 2 m
which implies { X n } n = 0 (or { X ^ n } n = 0 ) is a sequence of random numbers with a uniform distribution.

3. Chaotic Binary Sequences with Prescribed Auto-Correlations

A one-dimensional nonlinear difference equation defined by
x n + 1 = τ ( x n ) , x n I = [ 0 , 1 ] , n = 0 , 1 , 2 ,
can generate a chaotic real-valued sequence { x n } n = 0 for a chaotic map τ ( · ) [17,18]. Additionally, we can obtain a binary sequence { B ( x n ) } n = 0 using a binary function B ( x ) ( { 0 , 1 } ) from a real-valued sequence { x n } n = 0 . Then, the theoretical auto-correlation function of the binary sequence { B ( x n ) } n = 0 is defined by
R ( ; B ) = I ( B ( x ) B ) ( B ( τ ( x ) ) B ) f ( x ) d x ,
under the assumption that τ ( x ) has an invariant density function f ( x ) , where τ ( x ) is the -th iterate of the map τ starting from an initial value x = x 0 and B denotes the average of the binary sequence { B ( x n ) } n = 0 defined by
B = I B ( x ) f ( x ) d x .
We also define the normalized auto-correlation function by
C ( ; B ) = R ( ; B ) R ( 0 ; B ) .
Note that, by setting Z n = B ( x n ) , we have the following relations:
E [ Z n ] = B ,
R ( ; Z n ) = R ( ; B ) ,
C ( ; Z n ) = C ( ; B ) .
In this paper, we introduce the following two chaotic maps with I = [ 0 , 1 ] and f ( x ) = 1 , which will be used in numerical experiments later. Note that these chaotic maps are introduced just as examples and other chaotic maps can also be used.
[Chaotic map 1] The Bernoulli map with I = [ 0 , 1 ] is defined by [17,18]
τ ( x ) = 2 x , ( 0 x < 1 2 ) 2 x 1 ( 1 2 x 1 ) ,
which is illustrated in Figure 1. This map has the uniform invariant density f ( x ) = 1 [17].
[Chaotic map 2] Define a fully stretching piecewise linear (FSPL) map with I = [ 0 , 1 ] as [8]
τ ( x ) = 2 | a | | a | 1 x 0 x < | a | 1 2 | a | a x a 1 2 | a | 1 2 | a | x < | a | + 1 2 | a | 2 | a | | a | 1 x | a | + 1 2 | a | | a | + 1 2 | a | x 1 ,
where a is a parameter satisfying | a | > 1 . Examples of the map are shown in Figure 2. The FSPL maps also have the uniform invariant density f ( x ) = 1 [8,18].
In order to obtain binary sequences from chaotic real-valued sequences, we first define a threshold function  Θ t ( x ) as
Θ t ( x ) = 0 ( x < t ) 1 ( x t ) ,
where t is a threshold. In this paper, we use the following three binary functions expressed by the threshold functions:
B 1 ( x ) = Θ 1 2 ( x ) ,
B 2 ( x ) = Θ 3 8 ( x ) Θ 1 2 ( x ) + Θ 5 8 ( x ) ,
B 3 ( x ) = Θ 1 8 ( x ) Θ 1 4 ( x ) + Θ 1 2 ( x ) Θ 3 4 ( x ) + Θ 7 8 ( x ) ,
which are illustrated in Figure 3. Since the above two chaotic maps have f ( x ) = 1 , the average of the binary sequences generated by the binary functions B i ( x ) ( i = 1 , 2 , 3 ) is given by
B i = 1 2 ( i = 1 , 2 , 3 )
which gives
R ( 0 ; B i ) = 1 4 ( i = 1 , 2 , 3 ) .
The auto-correlation function (ACF) of the generated binary sequence depends on the combination of the chaotic map and the binary function. Several examples of the auto-correlation functions are provided as follows.
[ACF-1] For the Bernoulli map and B 1 ( x ) , the normalized ACF is given by [1]
C ( ; B 1 ) = 1 ( = 0 ) 0 ( 1 ) .
Note that the generated binary sequences are i.i.d.(independent and identically distributed).
[ACF-2] For the Bernoulli map and B 2 ( x ) , the normalized ACF is given by [9,11]
C ( ; B 2 ) = 1 ( = 0 ) 1 2 ( = 1 ) 1 4 ( = 2 ) 0 ( 3 ) .
[ACF-3] For the Bernoulli map and B 3 ( x ) , the normalized ACF is given by [9,11]
C ( ; B 3 ) = 1 ( = 0 ) 1 2 ( = 1 ) 1 4 ( = 2 ) 0 ( 3 ) .
[ACF-4] For the FSPL map and B 1 ( x ) , the normalized ACF is given by [8]
C ( ; B 1 ) = 1 a .
By changing the value of a, we can control the auto-correlation property with exponential decay.

4. Numerical Experiments

We performed some numerical experiments using the chaotic maps and the binary functions given in the previous section. First, we generated m chaotic binary sequences { B ( x n ( i ) ) } ( i = 1 , 2 , , m ) , where x 0 ( 1 ) , x 0 ( 2 ) , , x 0 ( m ) are different initial values for the assumptions of (5) (uncorrelation) and Remark 3 (independency). Next, we obtained an m-bit sequence as
X n = 2 1 B ( x n ( 1 ) ) + 2 2 B ( x n ( 2 ) ) + + 2 m B ( x n ( m ) ) .
We generated eight kinds of m-bit sequences using eight combinations of chaotic binary sequences with ACF-1, 2, 3, and 4 as in Table 1. Here, we used the numerical auto-correlation function defined by
R ^ ( ; X n ) = 1 N n = 0 N 1 ( X n E [ X n ] ) ( X n + E [ X n ] ) ,
where we set N = 10 6 .
Figure 4 shows the numerical normalized auto-correlation functions R ^ ( ; X n ) / R ^ ( 0 ; X n ) , where m = 20 and the theoretical auto-correlation functions obtained from (4) are also shown. We can confirm that the numerical auto-correlation values are almost equal to the corresponding theoretical values, which implies that the assumption of (5) is almost satisfied for our initial value selection. Additionally, it has been shown that we can generate m-bit sequences with a variety of auto-correlation functions by changing the chaotic binary sequences. Especially, the types of the auto-correlation properties of (d)–(h) cannot be realized using a simple chaotic map only. Furthermore, Figure 5 shows the probability distributions, where we used 100 bins [ i / 100 , ( i + 1 ) / 100 )   ( i = 0 , 1 , , 99 ) . We can find that the distributions are almost uniform, which implies that the assumption that the m binary sequences are independent of one another in Remark 3 is almost satisfied.
Next, we performed numerical experiments for the case m = 3 . In this case, we treated the sequences as 2 3 -ary integer sequences because m is small. Namely, we obtained a 2 3 -ary integer sequence as
X ^ n = 2 m 1 B ( x n ( 1 ) ) + 2 m 2 B ( x n ( 2 ) ) + + 2 0 B ( x n ( m ) ) .
We also generated eight kinds of 2 3 -ary sequences using eight combinations of chaotic binary sequences as in Table 1 and computed the numerical auto-correlation function R ^ ( ; X ^ n ) . Figure 6 shows the numerical normalized auto-correlation functions R ^ ( ; X ^ n ) / R ^ ( 0 ; X ^ n ) of the 2 3 -ary sequences. We can find that they are almost equal to the auto-correlation functions for m = 20 . The details are slightly different due to the difference of the value of m. Table 2 shows the probability distributions, that is, the probabilities of the eight symbols ( 0 7 ) in the 2 3 -ary sequences. The probability of each symbol is almost equal to 1 / 2 3 , which implies that the probability distribution is almost uniform.

5. Conclusions

We have discussed the auto-correlation functions of m-bit sequences obtained from m binary sequences. The theoretical auto-correlation function and the numerical functions show that we can easily generate m-bit (or 2 m -ary) random numbers with a variety of auto-correlation properties from m chaotic binary sequences with prescribed auto-correlations. In our methods, the m-bit random numbers are obtained by controlling the auto-correlation of each bit sequence, which is quite unique and the main contribution of this paper. The application to Monte-Carlo methods and the discussion of higher-order statistics are left to future study.

Funding

This work was supported by JSPS KAKENHI Grant Number JP19K12158.

Data Availability Statement

Data sharing is not applicable for this article.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Kohda, T.; Tsuneda, A. Statistics of chaotic binary sequences. IEEE Trans. Inf. Theory 1997, 43, 104–112. [Google Scholar] [CrossRef]
  2. Kennedy, M.P.; Rovatti, R.; Setti, G. (Eds.) Chaotic Electronics in Telecommunications; CRC: Boca Raton, FL, USA, 2000. [Google Scholar]
  3. Stojanovski, T.; Kocarev, L. Chaos-based random number generators—Part I: Analysis. IEEE Trans. Circuits Syst. I 2001, 48, 281–288. [Google Scholar] [CrossRef]
  4. Stojanovski, T.; Pihl, J.; Kocarev, L. Chaos-based random umber generators—Part II: Practical realization. IEEE Trans. Circuits Syst. I 2001, 48, 382–385. [Google Scholar] [CrossRef] [Green Version]
  5. Bernardini, R.; Cortelazzo, G. Tools for designing chaotic systems for secure random number generation. IEEE Trans. Circuits Syst. I 2001, 48, 552–564. [Google Scholar] [CrossRef]
  6. Gerosa, A.; Bernardini, R.; Pietri, S. A fully integrated chaotic system for the generation of truly random numbers. IEEE Trans. Circuits Syst. I 2001, 49, 993–1000. [Google Scholar] [CrossRef]
  7. Fort, A.; Cortigiani, F.; Rocchi, S.; Vignoli, V. Very high-speed true random noise generator. Analog. Integr. Circuits Signal Process. 2003, 34, 97–105. [Google Scholar] [CrossRef]
  8. Tsuneda, A. Design of binary sequences with tunable exponential autocorrelations and run statistics based on one-dimensional chaotic maps. IEEE Trans. Circuits Syst. I 2005, 52, 454–462. [Google Scholar] [CrossRef]
  9. Tsuneda, A.; Morikawa, K. A study on random bit sequences with prescribed auto-correlations by post-processing using linear feedback shift registers. In Proceedings of the 2013 European Conference on Circuit Theory and Design, Dresden, Germany, 8–12 September 2013. [Google Scholar]
  10. Cicek, I.; Pusane, A.E.; Dundar, G. A novel design method for discrete time chaos based true random number generators. Integration 2014, 47, 38–47. [Google Scholar] [CrossRef]
  11. Kyaw, T.N.N.; Tsuneda, A. Generation of chaos-based random bit sequences with prescribed auto-correlations by post-processing using linear feedback shift registers. Nonlinear Theory Its Appl. 2017, 8, 224–234. [Google Scholar] [CrossRef]
  12. Demir, K.; Ergün, S. An analysis of deterministic chaos as an entropy source for random number generators. Entropy 2018, 20, 957. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Li, C.; Feng, B.; Li, S.; Kurths, J.; Chen, G. Dynamic analysis of digital chaotic maps via state-mapping networks. IEEE Trans. Circuits Syst. I 2019, 66, 2322–2335. [Google Scholar] [CrossRef] [Green Version]
  14. Tsuneda, A.; Shiraishi, H. A study on auto-correlation functions of quaternary random sequences generated from chaotic binary sequences. In Proceedings of the 2019 International Symposium on Nonlinear Theory and its Applications, Kuala Lumpur, Malaysia, 2–6 December 2019; pp. 165–168. [Google Scholar]
  15. Gentle, J.E. Random Number Generation and Monte-Carlo Method, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2003. [Google Scholar]
  16. Yang, C.A.; Yao, K.; Umeno, K.; Biglieri, E. Using deterministic chaos for superefficient Monte-Carlo simulations. IEEE Circuits Syst. Mag. 2013, 13, 26–35. [Google Scholar] [CrossRef]
  17. Lasota, A.; Mackey, M.C. Chaos, Fractals, and Noise; Springer: Berlin/Heidelberg, Germany, 1994. [Google Scholar]
  18. Boyarsky, A.; Góra, P. Laws of Chaos; Birkhäuser: Boston, MA, USA, 1997. [Google Scholar]
Figure 1. Bernoulli map.
Figure 1. Bernoulli map.
Entropy 23 01295 g001
Figure 2. Fully stretching piecewise linear maps with 3 sections.
Figure 2. Fully stretching piecewise linear maps with 3 sections.
Entropy 23 01295 g002
Figure 3. Binary functions.
Figure 3. Binary functions.
Entropy 23 01295 g003
Figure 4. Normalized auto-correlation functions of m-bit random sequences ( m = 20 ).
Figure 4. Normalized auto-correlation functions of m-bit random sequences ( m = 20 ).
Entropy 23 01295 g004aEntropy 23 01295 g004b
Figure 5. Probability densities of m-bit random sequences ( m = 20 ).
Figure 5. Probability densities of m-bit random sequences ( m = 20 ).
Entropy 23 01295 g005aEntropy 23 01295 g005b
Figure 6. Normalized auto-correlation functions of m-bit random sequences ( m = 3 ).
Figure 6. Normalized auto-correlation functions of m-bit random sequences ( m = 3 ).
Entropy 23 01295 g006
Table 1. Combinations for generating m-bit sequences.
Table 1. Combinations for generating m-bit sequences.
i = 1 i = 2 m
(a)ACF-1ACF-1
(b)ACF-2ACF-2
(c)ACF-3ACF-3
(d)ACF-1ACF-4 ( a = 1.2 )
(e)ACF-2ACF-3
(f)ACF-2ACF-4 ( a = 1.2 )
(g)ACF-3ACF-4 ( a = 1.2 )
(h)ACF-4 ( a = 1.5 )ACF-4 ( a = 1.5 )
Table 2. Probability distributions of each symbol ( 0 7 ) in 2 3 -ary sequences ( m = 3 ).
Table 2. Probability distributions of each symbol ( 0 7 ) in 2 3 -ary sequences ( m = 3 ).
ValueProbability
( 2 3 -ary Symbol)(a)(b)(c)(d)(e)(f)(g)(h)
00.1256010.1252000.1253240.1245730.1252900.1248440.1249690.125310
10.1251160.1258830.1247780.1254440.1247550.1254960.1250570.125829
20.1245460.1250900.1249580.1250490.1248060.1253520.1250630.126000
30.1250410.1240910.1252840.1252380.1254130.1245720.1252550.124875
40.1248090.1251490.1247920.1249360.1248260.1253530.1245400.124821
50.1249540.1250550.1247790.1244600.1248020.1244580.1248470.124540
60.1251000.1248510.1247490.1247270.1249010.1244670.1247130.124196
70.1248330.1246810.1253360.1255730.1252070.1254580.1255560.124429
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Tsuneda, A. Various Auto-Correlation Functions of m-Bit Random Numbers Generated from Chaotic Binary Sequences. Entropy 2021, 23, 1295. https://doi.org/10.3390/e23101295

AMA Style

Tsuneda A. Various Auto-Correlation Functions of m-Bit Random Numbers Generated from Chaotic Binary Sequences. Entropy. 2021; 23(10):1295. https://doi.org/10.3390/e23101295

Chicago/Turabian Style

Tsuneda, Akio. 2021. "Various Auto-Correlation Functions of m-Bit Random Numbers Generated from Chaotic Binary Sequences" Entropy 23, no. 10: 1295. https://doi.org/10.3390/e23101295

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop