1 Introduction
Beta encoders (written as
$\beta $
-encoders in the following) are a new kind of A/D (analogue-to-digital) encoder based on the expansion of real numbers with noninteger radix [Reference Daubechies, DeVore, Gunturk and Vaishampayan1–Reference Kohda, Horio, Takahashi and Aihara3]. They have special properties that are more advantageous than conventional ones from the engineering viewpoint, such as the auto-correction property and robustness against fluctuation of environmental conditions (see [Reference San, Kato, Maruyama, Aihara and Hotta6, Reference Suzuki, Maruyama, San, Aihara and Hotta8] for more information about the implementation).
As such, it is an important problem to analyse the performance of such encoders theoretically. Makino et al. [Reference Makino, Iwata, Shinohara, Jitsumatsu, Hotta, San and Aihara4] discussed the upper bound of the mean squared error (MSE) of the quantization process by
$\beta $
-encoders. Although the problem is fairly straightforward for conventional binary encoders, for
$\beta $
-encoders it turns out to be a complicated problem due to the nonintegrality of the base
$\beta $
, together with the chaotic nature of the
$\beta $
-map, which describes the encoding process.
Makino et al. obtained an upper bound of the MSE based on the concept called segments (see [Reference Makino, Iwata, Shinohara, Jitsumatsu, Hotta, San and Aihara4]). The results are rigorous and satisfactory for realistic use of
$\beta $
-encoders. However, some parts of their arguments rely on brute-force calculations by computers and, as such, their results have some limitations on the validity of the upper bound.
The same problem was discussed with a different idea by Kobayashi and the first author [Reference Shinohara and Kobayashi7]. More precisely, to analyse the combinatorics of the segments, instead of doing the direct calculations, we used the spectral analysis of the Perron–Frobenius operators of
$\beta $
-maps. This technique has the advantage that the results are free from the limitations in [Reference Makino, Iwata, Shinohara, Jitsumatsu, Hotta, San and Aihara4].
This paper is a sequel to [Reference Shinohara and Kobayashi7]. In the previous paper, to demonstrate the power of the spectral method more clearly, we put some assumptions to the
$\beta $
-encoders that we analysed. In this paper, we explain how the technique can be extended to the general cases. Let us briefly discuss the novelty of this paper. To analyse the MSE of the
$\beta $
-encoder, we need to understand the growth of the population of segments. For this purpose, we investigate the generating function of the characteristic function of segments by means of the renewal equation. This is done by carefully investigating the behaviour of the point of discontinuity under the iteration of the
$\beta $
-map, assuming that the point of discontinuity is located at a convenient position. In general cases, we do not have the assumption and the direct application of the same strategy does not seem to work. We circumvent this problem by introducing another convenient characteristic function
$\psi _{\alpha }$
(see Section 3). These are simple functions whose linear combination gives the segments. Thus, their understanding tells us about the MSE of the encoders. Also, they behave nicely under the iteration of the Perron–Frobenius operator, and their analysis is simpler than dealing with segments directly. The use of
$\psi _{\alpha }$
is the novel and important ingredient for carrying out the spectral analysis in the general cases.
Please note that this is a continuation of the paper [Reference Shinohara and Kobayashi7]. Also, as this paper is intended for a special edition, the number of pages is limited. As such, we do not repeat detailed explanations of basic concepts that appear in the previous paper. We recommend the readers to read [Reference Shinohara and Kobayashi7] first.
2 Description of the problem
In this section, we formulate the problem (see [Reference Makino, Iwata, Shinohara, Jitsumatsu, Hotta, San and Aihara4, Reference Shinohara and Kobayashi7] for more information).
Let
$\beta \in (1, 2)$
. Given a real number
$x \in (0, 1)$
, we are interested in converting it to a 0-1 sequence
$(e_i(x))_{i\geq 1}$
(where
$e_i(x) =0$
or
$1$
) such that
$$ \begin{align*} x = (\beta -1) \sum_{i=1}^{\infty} \frac{e_i(x)}{\beta^i} \end{align*} $$
holds. This expression is called the
$\beta $
-expansion of x. The coefficient
$(\beta -1)$
appears so that the expansion
$e_i(x) \equiv 1$
corresponds to the real number 1. Note that, given x, the choice of
$(e_i(x))$
is not unique in general.
Let us explain how the
$\beta $
-encoders transform signals into the digits with the base
$\beta $
. Let
$\nu \in [1-1/\beta , 1/\beta ]$
. Suppose we have a circuit that converts a given signal of magnitude
$x \in [0, 1]$
into
$T(x)$
, where
$$ \begin{align*} T(x) = \begin{cases} \beta x & (x \leq \nu) \\ \beta (x-1) + 1 & (x> \nu ). \end{cases} \end{align*} $$
Note that, as
$T:[0, 1] \to [0, 1]$
, we have
$T^n(x) \in [0, 1]$
for any
$n\geq 1$
. Let
$\phi $
be the indicator function given by
$$ \begin{align*} \phi(x) = \begin{cases} 0 & (x \leq \nu) \\ 1 & (x> \nu ). \end{cases} \end{align*} $$
Then,
$T(x) = \beta x -(\beta -1)\phi (x)$
. Set
$d_i(x) = \phi (T^{i-1}(x))$
. We have
$$ \begin{align} T^K(x) = \beta^K x - (\beta -1)\sum_{i=1}^{K} \beta^{K-i} d_i (x) \iff x = (\beta -1) \sum_{i=1}^{K} \frac{d_i(x)}{\beta^i} + \frac{T^K(x)}{\beta^K}. \end{align} $$
Since
$|T^K(x)| \leq 1$
, we see that the sequence
$(d_i(x))$
gives a
$\beta $
-expansion of x by letting
$K \to \infty $
. This shows that if we have a circuit described as above, then by circulating the signal around this circuit and recording
$d_i(x)$
, we obtain a
$\beta $
-expansion of x. This is the mechanism of the
$\beta $
-encoders that we are interested in.
Now let us explain the problem we discuss. If all the digits
$(d_i(x))_{i \geq 1}$
are available, then there would be no loss of information in the encoding–decoding process. However, in real-world use, only a finite number of digits
$(d_i(x))_{1\leq i \leq K}$
are available (K is the number of digits that we record) and there is some loss of information. That is, given
$x \in (0, 1)$
, we have its incomplete
$\beta $
-expansion
$(d_i(x))_{1\leq i \leq K}$
. This sequence is decoded into
$$ \begin{align} \rho_{\beta, \nu, K} (x) = \rho(x)= (\beta - 1)\sum_{i=1}^K \frac{d_i(x)}{\beta^{i}} + \frac{\theta}{\beta^K}, \end{align} $$
where
$\theta $
is some real number. The last term is an auxiliary constant added so as to decrease the loss of information on average. In this article, we assume that
$\theta = 0.5$
. (For the choice of
$\theta $
, see [Reference Makino, Iwata, Shinohara, Jitsumatsu, Hotta, San and Aihara4, Section 2] for more information.) We are interested in how much
$\rho (x)$
differs from x on average. More precisely, we want to estimate the MSE
$$ \begin{align*} \mathrm{MSE}(\beta,\nu,K) := \int_{[0, 1]} (\rho(x) - x)^2\, dx. \end{align*} $$
It is reasonable to expect that, for fixed
$\beta $
and
$\nu $
, the MSE would be proportional to
$\beta ^{-2K}$
(see also equation (2.3)). Thus, we are interested in estimating the calibrated MSE (abbreviated to CMSE), that is,
$\mathrm {CMSE}:=\beta ^{2K}\mathrm {MSE}$
.
The direct analysis of the MSE is a difficult task for large K. The number of values of
$\rho (x)$
increases exponentially rapidly and, for general
$\beta $
, the points of discontinuity distribute unevenly. As such, the direct calculation of the MSEs requires much effort.
In [Reference Makino, Iwata, Shinohara, Jitsumatsu, Hotta, San and Aihara4], the concept of segments is used to analyse the MSEs. By changing the variable, the calculation of the MSEs is reduced to counting the population of intervals grouped with regard to their images under
$T^{K}$
. They have some Markovian property and this reduces the cost of the calculations.
The technique introduced by Shinohara and Kobayashi [Reference Shinohara and Kobayashi7] has similar flavour. First, recall that given a piecewise
$C^1$
-map
$S:I \to I$
(where I denotes the unit interval
$[0, 1]$
), we have the Perron–Frobenius operator P associated to S (see [Reference Shinohara and Kobayashi7] for more information). This is a linear operator acting on the space of finite measures on I. The action of P is characterized by
for every
$L^1$
-function
$f(x)$
and a finite measure
$\mu $
.
For our map T, using equations (2.1)–(2.2) one can check that
Thus,
where
$dx$
denotes the Lebesgue measure. Hence, to understand the MSE, we need to understand
$P^n(dx)$
. Analysis of Perron–Frobenius operators was carried out by Mori (see [Reference Mori5]). In [Reference Shinohara and Kobayashi7], assuming that
$\nu = 1/\beta $
(which makes the calculation easier), we obtained an explicit formula of
$\eta \,dx := \lim _{n \to \infty } P^n(dx)$
, which turns out to be the invariant measure of T (see [Reference Shinohara and Kobayashi7] for more information). Also, by the spectral analysis we can have a rigorous estimate of the difference between
$\eta \,dx$
and
$P^n(dx)$
for large n.
In this article, we consider the case where
$\nu $
is not necessarily equal to
$1/\beta $
. In the case
$\nu = 1/\beta $
, the generating function of
$P^n(dx)$
is tightly related to the characteristic function of the segments (see [Reference Shinohara and Kobayashi7]). In our case, it seems difficult to establish the same relationship due to the fact that
$\nu \neq 1/\beta $
. Instead of dealing with segments, we use different simple functions. By introducing these functions, we can obtain the explicit formula of the invariant measure and the generating function of the Perron–Frobenius operator. We show this in the next section.
3 Generating function
Given a sequence
$(A_n)_{n \geq 0}$
, its generating function is a formal power series
$\sum _{k=0}^{\infty } A_k z^k$
. We assume that
$A_n$
are elements of some additive group. In our case,
$A_n = P^n(dx)$
(we define
$A_0 = dx$
). The purpose of considering the generating function is that sometimes we can derive a closed expression of it. Then, by investigating it, we can conclude some unexpected properties of
$(A_n)$
. This strategy was demonstrated in [Reference Shinohara and Kobayashi7]. By a similar analysis, we can deduce the closed formula for our case, but it will be more involved. Put
$$ \begin{align*} s(z):=\sum_{k=0}^{\infty} P^k(dx) z^k. \end{align*} $$
We want to obtain a closed expression of
$s(z)$
.
We prepare some notation. Let J denote some sub-interval of I. By
$\boldsymbol {1}_{J} = \boldsymbol {1}_{J}(x)$
, we denote the characteristic function of J. Given
$\alpha \in [0, 1]$
, we set
$\psi _{\alpha }(x) = \boldsymbol {1}_{[0, \alpha ]} -\boldsymbol {1}_{(\alpha , 1]}$
. Note that
$\boldsymbol {1}_{[0,\alpha ]} =\frac 12(\psi _{\alpha }(x) + \boldsymbol {1}_{[0,1]})$
.
We set
$P_{+} = \beta \nu $
,
$P_{-} = \beta \nu -(\beta -1)$
. These are the “upper” and the “lower” values of
$T(\nu )$
. By
$\mathrm {sgn} (x)$
, we denote the sign of x: that is,
$\mathrm {sgn} (x) =1$
if
$x>0$
,
$\mathrm {sgn} (x) =-1$
if
$x <0$
and
$\mathrm {sgn} (0) =0$
.
In the following, for simplicity, we assume that
$T^i(P_{\pm }) \neq \nu $
for every
$i \geq 0$
. Now we are ready to state our conclusion.
Theorem 3.1. We have
$$ \begin{align} s(z) = \frac{1}{1-{z}/{\beta}} \boldsymbol{1}_{[0, 1]} + \frac{z}{2}\frac{1}{\beta-z} \frac{\chi_{+} - \chi_{-}}{1-E_{+}+E_{-}}, \end{align} $$
where
$$ \begin{align*} \chi_{\pm} = \sum_{i=0}^{\infty} \psi_{T^i(P_{\pm})} \bigg(\frac{z}{\beta}\bigg)^i, \quad E_{\pm} = \frac{1}{2} \sum_{i=0}^{\infty} \mathrm{sgn} ( T^i(P_{\pm}) - \nu )\bigg(\frac{z}{\beta}\bigg)^{i+1}. \end{align*} $$
Owing to the limitation in the number of pages, we do not give the proof of this here. The proof is similar to that in [Reference Shinohara and Kobayashi7]. The only difference is that instead of considering the generating function of the intervals, we consider the generating function of
$\psi _{\alpha }$
(see also [Reference Mori5]), that is,
Equation (3.1) can be used to estimate
$P^k(dx)$
. Recall that
$P^k(dx)$
is the coefficient of
$z^k$
. Then, by considering the Taylor expansion of
$s(z)$
, we can deduce the formula of
$P^k(dx)$
. Another interesting piece of information that we can read from equation (3.1) is the asymptotic behaviour of
$P^k(dx)$
. As a rational function of z, one can see that
$s(z)$
has no pole on
$|z| <1$
,
$z=1$
is a simple pole and there are no other poles on
$|z|=1$
. The residue at
$z=1$
corresponds to the limit of
$P^k(dx)$
. Furthermore, by the technique given in [Reference Shinohara and Kobayashi7], it is possible to obtain the rigorous error between the invariant measure and
$P^k(dx)$
. In fact, the error decays exponentially rapidly. (For more information, see [Reference Shinohara and Kobayashi7].)
Applying this for sufficiently large n, we can obtain an approximated value of
$\mathrm {CMSE} (\beta , \nu , n)$
by the integral (2.3) calculated with respect to the invariant measure. We give more details in the next section.
4 Residue and invariant measure
We continue the calculation. In equation (3.1),
$s(z)$
is holomorphic in the disk
${|z|<1}$
, it has a simple pole at
$z=1$
and this is the only pole in
$|z| \leq 1$
. The pole
$z=1$
corresponds to the invariant measure. More precisely,
$s(z)$
can be written as
where A is some constant and
$M(z)$
is some meromorphic function which is holomorphic on some disc
$|z| < 1+\varepsilon $
. Then one can deduce the following theorem.
Theorem 4.1. In the above formula,
$$ \begin{align} A= \frac{1}{(\beta -1)+G_{+} - G_{-}} \quad \text{where } G_{\pm} = \sum_{i=1}^{\infty} \frac{T^i(P_{\pm})}{\beta^i}. \end{align} $$
The calculation is straightforward (see [Reference Shinohara and Kobayashi7]). Equations (3.1) and (4.1) give us the formula of the invariant measure
$\eta \, dx = \lim _{n} P^{n}(dx)$
. In fact, if one considers the Taylor expansion of
$s(z)$
, the terms from
$M(z)$
decay exponentially rapidly, while the terms from the other one do not. As such, the terms from the first one gives the invariant measure.
Theorem 4.2. We have
$$ \begin{align} \eta = \sum_{i=0}^{\infty} \frac{A}{\beta^i}(\psi_{T^i(P_+)} - \psi_{T^i(P_{-})}). \end{align} $$
Using equation (4.2), we can obtain an estimate of the MSE (in equation (2.3)). In fact, for n large,
$P^n(dx)$
is close to
$\eta \,dx$
. As the formula of
$\eta $
in equation (4.2) is given by an infinite series which decays exponentially fast, by taking some finite terms we have an approximation of
$\eta $
, which also approximates
$P^n(dx)$
.
5 Numerical results
We now show the results of the previous section numerically. First, Figures 1 and 2 show the distribution function
$\eta $
of the invariant measure of the map T calculated by the formula in equation (4.2). Here, x denotes the coordinate of
$[0, 1]$
and y denotes the magnitude of
$\eta $
.
The distribution function
$\eta $
of the invariant measure of T,
$\beta =1.8$
,
$\nu =0.5$
.

The distribution function
$\eta $
of the invariant measure of T for
$\beta =1.8$
,
$\nu =0.51$
.

This is a form of infinite sum of simple functions. We have drawn the graph by adding terms up to
$i=20$
. We set
$\beta =1.8$
,
$\nu =0.5, 0.51$
, respectively. Note that, for
$\nu =0.5$
, we can observe the symmetry with respect to
$x=0.5$
.
Using the invariant measure, we can calculate the estimated value of the
$\mathrm {CMSE}$
. Set
In Figures 3 and 4, we show the calculated
$\mathrm {CMSE}^{\infty }$
(by the invariant measure, calculated in the same way) and compare it with the
$\mathrm {CMSE} (\beta , \nu , n)$
(by definition). Recall that the
$\mathrm {CMSE}$
is the
$\beta ^{2K}\mathrm {MSE}$
and that the
$\mathrm {CMSE}^{\infty }$
is a novel quantity which is expected to approximate the
$\mathrm {CMSE}$
.
$\mathrm {CMSE}(\beta , 0.5, 10)$
for
$1.6 \leq \beta \leq 2.0$
and
$\mathrm {CMSE}^{\infty }$
.

$\mathrm {CMSE}(\beta , 0.5, 7)$
for
$1.6 \leq \beta \leq 2.0$
and
$\mathrm {CMSE}^{\infty }$
.

For
$K=10$
, these two quantities are almost the same. In the range calculated, their difference is less than 3%. Note that there is some difference observable for the case
$K=7$
. In the actual use of the
$\beta $
-encoders, K is set around 12. Thus, for practical use, our method gives satisfactory results.
We also calculated the
$\mathrm {CMSE}$
by varying the value of
$\nu $
for
$\beta =1.8, 1.7$
(see Figures 5 and 6). By varying
$\nu $
, the
$\mathrm {CMSE}$
seems to vary continuously, but it looks like it has complicated local behaviour.
The graph of
$\mathrm {CMSE}^{\infty }$
. We set
$\beta =1.8$
and
$0.47\leq \nu \leq 0.53$
.

The graph of
$\mathrm {CMSE}^{\infty }$
. We set
$\beta =1.7$
and
$0.47\leq \nu \leq 0.53$
.

6 Conclusion
We explained the problem of bounding MSEs of
$\beta $
-encoders. We proposed a method of obtaining an approximated value of the CMSE by means of the spectral analysis of Perron–Frobenius operators of one-dimensional maps. We gave some numerical results concerning the values of CMSEs for different parameters.
We propose a few future problems. First, it would be interesting to estimate the difference between the
$\mathrm {CMSE}$
and
$\mathrm {CMSE}^{\infty }$
. In a previous paper [Reference Shinohara and Kobayashi7], by means of interval arithmetics and the further spectral analysis of the generating function, we derived a rigorous upper bound for the error of these two quantities. In principle, it is possible to establish similar results, although it would be difficult.
Another interesting problem is to investigate the behaviour of the convergence. For fixed
$\beta $
and
$\nu $
, as
$K \to \infty $
we know that
$P^K(dx)$
converges to
$\eta \,dx$
. As such, we know that the
$\mathrm {CMSE}$
converges to
$\mathrm {CMSE}^{\infty }$
. Numerical calculations suggest that the convergence is monotone for sufficiently large K, but we do not have any proof of it. Finally, it would be also interesting to investigate the local property of
$\mathrm {CMSE}^{\infty }$
as a function of
$\beta $
and
$\nu $
. It would not be hard to confirm that it is a continuous function. The question is how regular it is. Is it, for instance, Hölder continuous for some exponent?
Acknowledgements
The author is grateful to Dr. Yutaka Jitsumatsu for his support with the calculation of the generating functions. This work was supported by JSPS KAKENHI Grant Numbers JP16K00333 and JP19K12156. Also, this work was supported by the Institute of Mathematics for Industry, Joint Usage/Research Center in Kyushu University (FY2017 Short-term Visiting Researcher “Analog-to-Digital converter and dynamical systems” (Reference No. 20170003)).

























