cs.ITAug 20, 2026

A Layered Simplex Architecture for Large Alphabets

Authors: Meir Feder, Yaniv Fogel, Ruediger Urbanke

Organizations: School of Electrical and Computer Engineering Tel Aviv University, Tel Aviv, Israel · School of Computer and Communication Sciences EPFL, Lausanne, Switzerland

Abstract

Probability estimation over large alphabets under log loss is a well-studied problem, with celebrated methods such as the Good-Turing estimator. We introduce and study a new Bayesian estimator with four notable properties. First, its construction is exceptionally simple: multiply independent uniform draws from the probability simplex coordinate-wise and renormalize. Depth is the only structural parameter, and averaging over depths eliminates the need to tune it. Second, the regret of the resulting mixture, the excess code length it pays relative to a code that knows the source, admits an explicit and efficiently computable expression. Third, despite its simplicity and lack of tuned constants, the estimator is competitive across a diverse set of synthetic and real-text benchmarks with substantially more specialized methods, including Good-Turing. Fourth, the tractability of its regret allows us to identify scaling laws in data, alphabet size, and depth. For Zipf targets with exponent above one, the regret has a simple reading as long as the sample reveals only a small fraction of the alphabet. It closely matches the description length of the set of discovered symbols, at one bit of code per bit of description, plus a further cost per symbol. The data exponent is therefore the rate at which new symbols are discovered.

Figures & tables

Explore similar work

May 20, 2026

Symbolic Density Estimation for Discrete Distributions

Discrete probability laws underpin statistical modeling, yet the catalog of interpretable distributions has expanded only gradually through centuries of case-by-case mathematical derivations. We introduce symbolic density estimation (SDE), an unsupervised framework that automatically recovers closed-form probability mass functions by composing elementary analytic operations within a structured search space. Our method integrates domain-specific structural priors with evolutionary search and a validity-aware inference stage, and it extends to richer distribution families such as zero inflation and finite mixtures. To support systematic evaluation and future research, we contribute a benchmark dataset spanning a broad collection of commonly used discrete distributions. The proposed algorithm recovers all benchmark families with accurate parameter estimates. A real data application shows that it identifies concise and interpretable mixture models that improve goodness-of-fit over standard models.
Oct 8, 2026

Estimating Great Expectations Under Autoregressive Language Models with Potentials

Many applications of language models require estimating the expectation of a test functional under the model. Obtaining precise estimates can be computationally expensive. We show how to improve estimation precision by exploiting next-token conditional probabilities available as a by-product of sampling. Our approach uses potentials: real-valued functions of prefixes that induce an additive decomposition of the test functional. We construct a family of estimators parameterized by these potentials and derive conditions for variance reduction. Across applications including entropy estimation, watermark detection, and rare-event probability estimation, our estimators achieve substantial variance reductions relative to Monte Carlo and importance sampling baselines at comparable computational cost.
Aug 27, 2026

Sharp Minimax Regret for Infinite-Memory Logistic Prediction

We determine the minimax cumulative log-loss regret of a finite-alphabet, exogenously driven source with genuinely infinite input memory: independent Rademacher inputs (Ut)(U_t) are observed sequentially and the next binary mark has logit ∑j≥1θjUt+1−j\sum_{j\ge1}θ_jU_{t+1-j}, the unknown coefficients obeying a summable envelope ∣θj∣≤rj|θ_j|\le r_j, ∑jrj≤B\sum_jr_j\le B. At horizon TT, lag jj can move the logit by at most rjr_j and is exercised in only nT,j=(T−j+1)+n_{T,j}=(T-j+1)_+ rounds, and the two limitations combine into the sum ΓT(r)=∑j≤Tlog⁡(1+nT,jrj2)Γ_T(r)=\sum_{j\le T}\log(1+n_{T,j}r_j^{2}). One coordinate-localised Bayesian mixture achieves RT(r)≤CΓT(r)R_T(r)\le CΓ_T(r) for every summable envelope with CC universal. Our main result is a matching nonasymptotic converse for the canonical exponential and polynomial envelopes; its new ingredients are a modular finite-sample information bound for logistic experiments with an exogenous random design, and a conditioning estimate for the overlapping Toeplitz lag matrix obtained by exhibiting each off-diagonal Gram sum as a sum of independent Rademacher variables indexed by the edges of a forest, needing neither local asymptotic normality nor any spectral theorem for random Toeplitz matrices. So ΓT(r)Γ_T(r) is the minimax regret scale here, giving Θ(α−1log⁡2T)Θ(α^{-1}\log^{2}T) for rj=Ae−αjr_j=Ae^{-αj} and Θ(T1/(2s))Θ(T^{1/(2s)}) for rj=Aj−sr_j=Aj^{-s}, s>1s>1 --- the latter without the extra (log⁡T)1−1/(2s)(\log T)^{1-1/(2s)} factor any window-truncation analysis pays. We also show memory decay cannot determine regret, and that a profile-scaled online Newton predictor attains OB(ΓT(r))O_B(Γ_T(r)) in polynomial time per round.