arXiv:2611.01430cs.ITNov 2026

Manuscript Offprint

arXiv:2611.01430

Polynomial-Time Minimax Prediction for Stationary Renewal Processes

Xinyu Chen, Yiming Ma

Abstract

The minimax next-symbol Kullback–Leibler risk for stationary binary renewal processes is known to have order n−1/2n^{-1/2}. We give a polynomial-time predictor attaining this order for an arbitrary unknown finite-mean interarrival law. The construction uses a classical type-uniform renewal code. Its contribution is an exact dynamic program for censored prefix marginals, avoiding enumeration of gap histograms or binary completions. Combined with an established prediction reduction, it gives risk at most ⌊log⁡Mn+1+log⁡(n+2)⌋/n\lfloor \log M_{n+1} + \log(n+2) \rfloor / n, where MNM_N counts renewal types. Shared suffix updates reduce the total computation to O(n3)O(n^3) arithmetic work and polynomial bit complexity, without tail, mixing, known-mean, or bounded-support assumptions. The statistical rate and its lower bound are prior results; the proposed advance concerns computation.

Index terms: Renewal processes, universal prediction, minimax risk, computational complexity.

1 Problem and contribution

Let T1,T2,…T_1, T_2, \dots be independent with common law μ\mu on N={1,2,… }\mathbb{N} = \{1, 2, \dots\} and finite mean mμm_\mu. Independently choose T0T_0 with the equilibrium residual law

Pr⁡(T0=a)=Rμ(a)/mμ,Rμ(a)=Pr⁡μ(T1≥a).\Pr(T_0 = a) = R_\mu(a)/m_\mu, \qquad R_\mu(a) = \Pr_{\mu}(T_1 \geq a).

Set Xi=1X_i = 1 exactly at times T0,T0+T1,…T_0, T_0 + T_1, \dots. These laws form the stationary binary renewal class R\mathcal{R}. Neither μ\mu nor its mean is known. Given X1n=(X1,…,Xn)X_1^n = (X_1, \dots, X_n), define next-symbol prediction risk by

Ln(P,qn)=EPD(P(Xn+1∈⋅∣X1n)∥qn(⋅∣X1n)).\mathcal{L}_n(P, q_n) = \mathbb{E}_P D\big(P(X_{n+1} \in \cdot \mid X_1^n) \parallel q_n(\cdot \mid X_1^n)\big).

Logarithms are natural. Han, Jiang, and Wu [1] proved minimax risk of order n−1/2n^{-1/2} and explicitly asked for a polynomial-time predictor attaining this order.

The type method and O(n)O(\sqrt{n}) renewal coding bound are classical [2, 3, 4]. Computing a complete-word probability, however, does not compute its prefix marginals. We give the latter computation for the classical type-uniform code and apply the suffix-averaged prediction reduction of [1]. No new statistical minimax rate, lower bound, sufficient statistic, or general reduction is claimed.

The computation must account for a last observed gap that has not yet ended. Direct enumeration can visit superpolynomially many gap histograms; we instead retain coefficients

*OpenAI Codex assisted with mathematical derivations, software development, computational checks, and manuscript preparation. The authors are responsible for the final content.

indexed only by future span and number of gaps. A marked coefficient records whether the first future gap exceeds the observed age. Removing observations from the left then updates these coefficients by multiplication by a single polynomial, allowing all suffixes to share one computation.

Let p(s)p(s) be the integer partition number, p(0)=1p(0)=1, and set

M0=1,MN=1+∑s=0N−1(N−s)p(s)(N≥1).(1)M_{0}=1,\qquad M_{N}=1+\sum_{s=0}^{N-1}(N-s)p(s)\quad(N\geq1). \tag{1}

Theorem 1. There is an explicit deterministic rational-valued predictor qnq_n such that for every n≥1n\geq 1,

sup⁡P∈RLn(P,qn)≤log⁡Mn+1+log⁡(n+2)n=O(n−1/2).\sup_{P\in\mathcal{R}}\mathcal{L}_{n}(P,q_{n})\leq\frac{\log M_{n+1}+\log(n+2)}{n}=O(n^{-1/2}).

Its rate is minimax optimal by [1, Theorem 1.4]. The predictor is evaluated by the algorithm in Theorem 2.

The statistical consequence and the new computational statement are separate: Theorem 2 evaluates all required prefix masses in O(n3)O(n^{3}) arithmetic operations, with polynomial bit complexity and O(n2)O(n^{2}) stored integer entries. Theorem 1 then applies an existing statistical reduction to that evaluator. Polynomial complexity is not a large-scale runtime claim. The predictor may use the observation horizon; no horizon-free update result is asserted.

This work resolves the computational question raised by Han, Jiang, and Wu (2024) [1] concerning the existence of a polynomial-time predictor attaining the minimax-optimal risk for stationary renewal processes.