REVIEW 4 major objections 6 minor 4 references
Time Series Analysis of DECAL Sensor Noise for the Generation of Truly Random Numbers
T0 review · 4 major / 6 minor · reviewed 2026-08-05 · deepseek-v4-flash
Pith's one-line read A particle-detector pixel's noise, whitened by an ARIMA model, yields bits that pass the NIST randomness suite.
desk verdict A clearly-written feasibility study whose 'truly random' conclusion outruns the diagnostics; the Ljung-Box degrees-of-freedom discrepancy deserves a fix before publication. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the ARIMA(3,1,5) residual sequence: the fitted model is supposed to strip the sensor's systematic temporal structure, leaving only white noise. The sign of each residual supplies one bit. A segment-based shuffle, whose parameters are derived from the bit stream itself, is then applied to break any small residual correlations. The Box-Jenkins workflow—ACF/PACF inspection, differencing, AIC/BIC order selection, residual diagnostics—is what justifies calling the residuals noise.
What would settle it
Re-run the pipeline with the shuffle removed and with Ljung-Box evaluated at the correct K-q-p degrees of freedom; if the un-shuffled bits or the residuals fail the randomness tests, the claimed sensor entropy is not the sole source of randomness.
Extended reading notes
Core claim
The central discovery is that the stochastic component of DECAL sensor noise, after ARIMA whitening, behaves as Gaussian white noise whose sign bits pass standard randomness tests. Concretely: discard the first 10,000 scans for warm-up; fit a Gaussian to each threshold-scan count distribution via binned maximum likelihood; take the mean values as a time series; fit an ARIMA(3,1,5) model selected by AIC/BIC; compute the residuals; take the sign of each residual as a bit; apply a segment-based shuffle that swaps bits using patterns in the bit stream itself. The resulting stream passes all applicable NIST tests, and the residuals pass Ljung-Box, periodogram, and random-walk/MSD checks. The auth
Load-bearing premise
The ARIMA residuals are genuine white noise—zero mean, constant variance, and no autocorrelation—so their signs are unbiased independent coin flips.
Editorial extensions
If this is right
- If the claim holds, DECAL and similar pixel sensors can serve as physical entropy sources for random number generation.
- The ARIMA residual stream is a statistical characterization of the sensor noise itself, which can inform calibration of future digital calorimetry experiments.
- The bit-generation step is simple and online, so it can run continuously during normal sensor operation.
- At 5.4 bits per second the current configuration is not a production TRNG; the paper's own conclusion is that optimizing the data acquisition chain is the path to practical rates.
Reading between the lines
- The paper notes that the Ljung-Box statistic follows K-q rather than K-q-p degrees of freedom and that the Box-Pierce correction is neglected; this leaves open the possibility that some apparent whiteness comes from the fitted model and the shuffle, not the sensor itself. A direct comparison of the pipeline with and without the shuffle would separate those contributions.
- Only one pixel is analyzed; if the noise streams of the 64 strips are independent, parallel readout could multiply the 5.4 bits per second rate by roughly the number of independent pixels, turning the feasibility result into a usable entropy source.
- Passing statistical tests establishes local randomness, not physical nondeterminism; for cryptographic use, one would need an entropy model of the sensor and a conservative bias-free extraction rule rather than relying on test-passing alone.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. This paper proposes a TRNG based on DECAL sensor noise. A single pixel's threshold-scan Gaussian means are modeled as ARIMA(3,1,5); the sign of the estimated residuals gives bits, which are then shuffled by a deterministic algorithm. The authors report that the NIST SP 800-22 suite and additional diffusion tests are passed and estimate a bit rate of 5.4 bps. They conclude that the sensor noise can generate truly random numbers.
Significance. The application of time-series analysis to a particle-physics sensor is original and, if the residual-whiteness premise were established, would be a useful feasibility demonstration. The paper is transparent about the slow bit rate and mentions several limitations. However, the conclusion is stronger than the evidence: the residual diagnostics contain an acknowledged degrees-of-freedom discrepancy, the Box-Pierce correction is ignored, the shuffle is a deterministic permutation that cannot add entropy, and no entropy estimate is provided. These are load-bearing gaps.
major comments (4)
- [Sec. 3.3, Eq. (5)] The Ljung-Box result is the main evidence for residual whiteness. The observation that Q follows χ²(K−q) rather than χ²(K−q−p) contradicts the null distribution used for estimated ARIMA residuals. The paper calls this "likely suboptimal choice" and "outside the scope", but this is exactly the assumption on which Eq. (4) and bit generation rest. Please report the Q values, p-values, and the result with correct df and with the Box-Pierce correction (Sec. 2.5). Without this, the residuals cannot be claimed white.
- [Sec. 2.4, shuffle algorithm] Even if the shuffle is deterministic and efficient, it is a permutation of the input bits and cannot increase entropy. If the residual bits contain bias or dependence, the shuffle may hide them from the NIST tests. The paper should test the unshuffled sign-of-residual stream, or at least show that the shuffle preserves the entropy of an i.i.d. source and quantify the min-entropy/entropy per bit (e.g., NIST SP 800-90B). The phrase "truly random numbers" is not justified by passing statistical tests.
- [Secs. 2.3-2.4 and Sec. 4] The residuals are in-sample residuals from a model fitted to the same time series. Such residuals are not an independent sample of the physical innovation process, so NIST tests on them partly validate the fitting algorithm. An out-of-sample procedure (fit on a training interval, generate bits on a held-out interval, re-fit periodically and report parameter stability) would provide much stronger evidence. The current conclusion in Sec. 4 ("truly random numbers") overstates what the design can establish.
- [Data availability] The paper does not provide the raw data, processed time series, or code. Since the results depend on a specific pixel, tuning voltage, warm-up cutoff, ARIMA orders, and shuffle parameters, reproducibility is limited. Please include these materials or a detailed reproducibility description, including results for the other pixels claimed to behave similarly.
minor comments (6)
- [Eq. (2)-(3)] In Eq. (3), γjt should be γj; the subscript t is used both as index and in the expectation limit, which is confusing.
- [Sec. 2.4] The algorithm says "Skip the next Nshuffle segments" and then "when the Nshuffle-th segment is reached", which is inconsistent. Clarify the indexing convention.
- [Sec. 2.5] The symbol q is used both for the MA order in Eq. (1) and for (n−2)/2 in the cumulative periodogram bounds. Rename one to avoid ambiguity.
- [Sec. 3.3] The residual Q-Q plot and histogram are visual; a formal normality test (e.g., Shapiro-Wilk) would be useful, although sign bits only require zero median.
- [Table 1] The caption states that "p-value indicates the probability that the underlying p-values follow the uniform distribution"; this is a misstatement. Revise to describe the P-value of the uniformity test used by NIST.
- [Sec. 2.2 / Sec. 3.4] Please clarify how "repeat the scan 2000 times" yields the 100000 scans mentioned in Sec. 3.4 when computing the bit rate.
Circularity Check
Partial circularity: the 'random' bits are the fitted ARIMA residuals, so in-sample whitening tests partly confirm the model rather than the sensor; external NIST tests on the final bitstream mitigate but do not eliminate the concern.
-
fitted input called prediction
[Section 2.4, Eq. (4); Section 3.3]
"The white noise component is expected to be a time series of uncorrelated, normally distributed random numbers. In principle, this is the end goal of this work: these are hardware generated true random numbers."
The bits are defined as the sign of the residuals of an ARIMA(3,1,5) model fitted to the same sensor time series (Eq. 4). Thus the residual whiteness tests in Sec. 3.3 (ACF, periodogram, Ljung-Box) evaluate the model's own output, not an independent property of the sensor. If the model is overfitted, residuals can appear white by construction. The paper itself finds the Ljung-Box Q statistic follows χ²(K−q) rather than the theoretical χ²(K−q−p) and defers the discrepancy as 'outside the scope,' yet still concludes the residuals are white noise. Passing NIST on the deterministically shuffled bit stream provides external evidence, but the core 'truly random' claim is partly a re-description of the ARIMA fit.
full rationale
The derivation chain from sensor noise to random bits is: fit ARIMA(3,1,5) to the time series, compute residuals (Eq. 4), take their signs, apply a deterministic shuffle, and test. The residuals are the model's fitted innovations; their whiteness is the model's objective, so in-sample diagnostics (Ljung-Box, ACF, periodogram) partly confirm the fit rather than the physical entropy source. The paper's own Sec. 3.3 reports an unexplained deviation in the Ljung-Box degrees of freedom, undercutting the whiteness conclusion. However, the final bitstream is evaluated against the external NIST SP 800-22 suite and random-walk tests, which would be nontrivial to pass if the residual stream had no entropy. Therefore the circularity is partial: the central claim does not reduce entirely to the model fit because external benchmarks provide independent support. There is also a minor self-citation (ref. [24]) used to assert generality to other pixels, but this is not load-bearing for the single-pixel feasibility result. Overall a score of 4 reflects partial circularity without full collapse.
Assumptions & free parameters
free parameters (4)
- ARIMA(3,1,5) coefficients phi_1..phi_3, theta_1..theta_5, mean =
not reported
- ARIMA model orders p=3, q=5 and differencing order d=1 =
3, 1, 5
- Warm-up discard cutoff (first 10000 scans) =
10000
- Shuffle/swap window parameters (8-bit segments, Nshuffle/Nswap in 1..4) =
L=8, ranges 1..4
assumptions (5)
- domain assumption After one differencing, the DECAL noise time series is stationary and is generated by an ARIMA(3,1,5) process with Gaussian white-noise innovations.
- domain assumption The threshold scan count distribution is Gaussian, so its mean is a sufficient summary of the noise state.
- domain assumption The uncontrolled office-desk environment introduces no external periodic or structured signals that survive the ARIMA fit.
- standard math Standard results of ARIMA theory: ACF/PACF identification, MLE properties, Ljung-Box and cumulative periodogram tests, and NIST SP 800-22 test statistics.
- domain assumption Tuning the pixels to about 1.16 V and waiting 200 clock cycles between scans yields a stable, representative noise series.
Cite this review
Pith. "Pith review of Time Series Analysis of DECAL Sensor Noise for the Generation of Truly Random Numbers." pith.science (2026). https://pith.science/paper/O6RGNXMP
@misc{pith2026250902203,
author = {Pith},
title = {Pith review of: Time Series Analysis of DECAL Sensor Noise for the Generation of Truly Random Numbers},
year = {2026},
howpublished = {\url{https://pith.science/paper/O6RGNXMP}},
note = {Machine review of arXiv:2509.02203}
}
read the original abstract
We explore here the stochastic behavior of the DECAL sensor's noise output, and we evaluate its potential application as a true random number generator (TRNG) using time series analysis. The main objectives are twofold: first, to characterize the intrinsic noise properties of the DECAL sensor in the absence of external stimuli, and second, to determine the feasibility of employing the sensor as a source of randomness. The collected sensor data are examined through statistical and time series methodologies, and subsequently modeled using an auto-regressive integrated moving average (ARIMA) process. This modeling approach enables the transformation of the sensor's raw noise into a Gaussian white noise sequence, which serves as the basis for generating random bits. The resulting random numbers are subjected to a series of statistical tests for randomness, including the NIST test suite. Our findings indicate that the method produces statistically sound random numbers. However, the rate of bit generation is relatively low, limiting its practicality for real-time TRNG applications under the current configuration. Despite this limitation, the results suggest that time series modeling presents a promising framework for extracting randomness from the DECAL sensor, and that with further optimization, the sensor could serve as a reliable and effective TRNG.
Figures
Figures from the paper (7 more)
Reference graph
Works this paper leans on
-
[1]
History of uniform random number generation
1P. L’Ecuyer, “History of uniform random number generation”, en, in 2017 Winter Simulation Conference (WSC) (Dec. 2017), pp. 202–230, 10.1109/WSC.2017.8247790. 2D. P. Landau and K. Binder, A guide to Monte Carlo simulations in statistical physics , Fourth edition (Cambridge University Press, Cambridge, United Kingdom, 2015). 11 Time Series Analysis of DEC...
-
[2]
Second Paper on Random Sampling Numbers
edition, corrected second printing, Statistics and computing (Springer, New York, 2005). 5D. E. Knuth, The art of computer programming. V olume 2: Seminumerical algorithms , eng, Third edition, V ol. 2 (Addison-Wesley, Boston, 2021). 6A. J. Menezes, P. C. Van Oorschot, and S. A. Vanstone,Handbook of applied cryptography , CRC Press series on discrete math...
work page 2005
-
[10]
Randomness Tests: Theory and Practice
1007/978-3-319-10683-0_12 . 9L. Devroye, Non-Uniform Random V ariate Generation, en (Springer New York, New York, NY, 1986),10.1007/978- 1-4613-8643-8 . 10A. Shen, “Randomness Tests: Theory and Practice”, en, in Fields of Logic and Computation III , V ol. 12180, edited by A. Blass, P. Cégielski, N. Dershowitz, M. Droste, and B. Finkbeiner, Series Title: L...
arXiv 1986
-
[556]
21L. Fasselt, “Characterization of the DECAL sensor - a CMOS MAPS prototype for digital electromagnetic calorimetry and tracking”, MA thesis (Humboldt U. Berlin, Berlin, Jan. 2023). 22L. Fasselt, P. P. Allport, S. Benhammadi, R. R. Bosley, J. Dopke, S. Flynn, L. Gonella, N. Guerrini, C. Issever, K. Nikolopoulos, I. Kopsalis, P. Philips, T. Price, I. Sedgw...
Reviewed August 5, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.