cs.LGMay 6, 2026

Online Nonstochastic Prediction: Logarithmic Regret via Predictive Online Least Squares

Authors: Chih-Fan PaiYang Zheng

Organizations: Department of Electrical and Computer Engineering, UC San Diego

Abstract

We study online prediction for marginally stable, partially observed linear dynamical systems under nonstochastic disturbances. Our objective is to minimize the cumulative squared prediction loss and compete with the best-in-hindsight Luenberger predictor. Standard online learning methods typically rely on bounded domains/gradients, and thus their guarantees may fail to deal with potentially unbounded trajectories in marginally stable systems. In this paper, we introduce an unconstrained online least squares method that stabilizes the learning process via tailored predictive hints. With model knowledge, we prove that hints constructed from any stabilizing Luenberger predictor render the hint residuals uniformly bounded, achieving logarithmic regret despite unbounded trajectory growth. We also discuss model-free prediction and introduce a simple universal hint for symmetric systems, under which logarithmic regret is maintained without model knowledge. Our results provide an adaptive, instance-wise optimal online predictor compared to classical fixed-gain observers under nonstochastic disturbances.

Explore similar work

Jul 2, 2026cs.LG

A Memory Efficient Unified Algorithm for Online Learning of Linear Dynamical Systems

Motivated by the challenge of stabilizing a general unknown linear dynamical system (LDS) from observations, we study the natural prerequisite of online prediction. Our goal is to achieve sublinear regret with a memory footprint that adapts to the intrinsic complexity of the dynamics rather than the full hidden-state dimension. We focus on the practically central regime of systems with low instability complexity -- eigenvalues outside the real stable interval that do not decay rapidly, together with non-semisimple modes -- potentially embedded in an otherwise stable real spectrum of much higher dimension; we write kk for this count. This regime is the primary setting in which stabilization is plausible: we show that many systems with high instability complexity cannot be stabilized without exponentially large controls. Thus, prediction is meaningful for stabilization precisely when the instability complexity is small. Within this regime, we introduce a unified online algorithm that handles every LDS (including non-diagonalizable systems with complex or exploding modes) with a learnable parameter count of O~(k)\widetilde{O}(k). Finally, we prove a lower bound showing that kk is a valid complexity measure: any filter-based predictor needs at least kk filters. Experiments corroborate our theory: on a high-dimensional system, our predictor sharply outperforms prior methods at an equal parameter budget.
Yuval Ran-Milo, Angelos Assos, Elad Hazan
May 7, 2026cs.LG

Hedging Memory Horizons for Non-Stationary Prediction via Online Aggregation

We study online prediction under distribution shift, where inputs arrive chronologically and outcomes are revealed only after prediction. In this setting, predictors must remain stable in quiet regimes yet adapt when regimes shift, and the right adaptation memory is unknown in advance. We propose MELO (Memory-hedged Exponentially Weighted Least-Squares Online aggregation), a model-agnostic method that hedges across adaptation scales: it wraps any non-anticipating base-predictor pool with exponentially weighted least-squares (EWLS) adaptation experts at multiple forgetting factors, and aggregates raw and EWLS-adapted forecasts with MLpol, a parameter-free online aggregation rule. Under boundedness conditions, we establish deterministic oracle inequalities showing that it competes with both the best raw predictor and the best bounded, time-varying affine combinations of the base predictions, up to a path-length-dependent tracking cost and a sublinear aggregation overhead. We evaluate MELO on French national electricity-load forecasting through the COVID-19 lockdown using no regime indicators, lockdown dates, or policy covariates. MELO reduces overall RMSE by 34.7% relative to base-only MLpol and achieves lower overall RMSE than a TabICL reference supplied with an external COVID policy-response covariate. Moreover, MELO requires only lightweight per-step recursive updates without model retraining.
Yutong Wang, Yannig Goude, Qiwei Yao
Aug 27, 2026cs.IT

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 j1θjUt+1j\sum_{j\ge1}θ_jU_{t+1-j}, the unknown coefficients obeying a summable envelope θjrj|θ_j|\le r_j, jrjB\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=(Tj+1)+n_{T,j}=(T-j+1)_+ rounds, and the two limitations combine into the sum ΓT(r)=jTlog(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 \emph{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 Θ(α1log2T)Θ(α^{-1}\log^{2}T) for rj=Aeαjr_j=Ae^{-αj} and Θ(T1/(2s))Θ(T^{1/(2s)}) for rj=Ajsr_j=Aj^{-s}, s>1s>1 --- the latter without the extra (logT)11/(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.
Vaneet Aggarwal