arXiv:2609.10767stat.MLSep 2026

Manuscript Offprint

arXiv:2609.10767

Weighted Empirical Risk Minimization for Machine Learning under Long-Range Dependence: Exact Pathwise Rates and Learning-Error Geometry

Elina Moldavskaya

ELINA MOLDAVSKAYA 1,a^{1,a}

1^{1} Technion–Israel Institute of Technology, Israel, a^{a} elina.mol@technion.ac.il

We develop an exact almost-sure learning theory for smooth parametric models trained by regularly weighted empirical risk minimization on long-range dependent data. The training observations are generated from a fixed finite window of a stationary Gaussian sequence, and the sample weights are regularly varying. If the loss gradient at the population minimizer has Wiener-chaos rank m and a nonzero low-frequency coefficient, then, in the long-memory interior regime, the finite-lag score reduces on the iterated-logarithm scale to a single weighted Hermite chaos. This yields an almost-sure Bahadur representation, an exact limsup law for the learned parameter, and, for m≥2m \geq 2, the functional cluster set of the complete learning trajectory. The polynomial learning exponent is determined by the memory parameter and the chaos rank and is invariant under the admissible power weighting, whereas the sharp pathwise constant and cluster geometry depend on the weights. In the rank-one case, global optimization over the admissible power exponents shows that every optimizer is positive. Time-series prediction and classification examples illustrate the results.

Keywords: empirical risk minimization; functional law of the iterated logarithm; long-range dependence; machine learning; regularly varying weights; Wiener chaos

1. Introduction

Machine-learning methods are often trained on temporally ordered data, including time series, sensor streams, network measurements, and repeatedly observed systems. A substantial learning-theoretic literature treats dependent observations through mixing and related weak-dependence conditions and derives finite-sample generalization guarantees; see, for example, Mohri and Rostamizadeh (2010), Kuznetsov and Mohri (2017). Long-range dependence has a different asymptotic structure: correlations are not summable, and cumulative fluctuations may be substantially larger and more persistent than under independent or short-memory sampling.

Sample weighting is also common in machine learning, for example under covariate shift and importance weighting Shimodaira (2000), Sugiyama, Krauledat and Müller (2007), Cortes, Mansour and Mohri (2010). Here we consider a different class: deterministic regularly varying sample weights at=t−κLa(t)a_t = t^{-\kappa} L_a(t), t=1,2,…t = 1, 2, \ldots, where κ∈R\kappa \in \mathbb{R} is the power exponent and LaL_a is slowly varying at infinity.

Our main question is whether such weighting changes the exact pathwise learning rate under long-range dependence and, if not, how it changes the sharp fluctuation constant.

We study a smooth parametric predictor fθf_\theta with parameter vector θ∈Θ⊂Rp\theta \in \Theta \subset \mathbb{R}^p, trained from observations Zt=(Ut,Yt)Z_t = (U_t, Y_t), where UtU_t denotes the feature vector and YtY_t the response or label. We assume that, for some fixed lag r≥0r \geq 0, Zt=Φ(Xt,Xt−1,…,Xt−r)Z_t = \Phi(X_t, X_{t-1}, \ldots, X_{t-r}), for a fixed measurable map Φ\Phi, where {Xt}t∈Z\{X_t\}_{t \in \mathbb{Z}} is a centered stationary Gaussian sequence with unit variance and covariance function

ρ(h):=E[X0Xh]∼ch−αL0(h),h→∞,where c>0,0<α<1,and L0 is slowly varying at infinity.\rho(h):=\mathbb{E}[X_0X_h]\sim ch^{-\alpha}L_0(h),\quad h\to\infty,\text{where }c>0,0<\alpha<1,\text{and }L_0\text{ is slowly varying at infinity.}

For a loss function ℓ\ell, measuring the cost of a prediction (prediction error), we write

ℓ(θ;Zt)=ℓ(fθ(Ut),Yt).\ell(\theta;Z_{t})=\ell\big(f_{\theta}(U_{t}),Y_{t}\big).

Let Wn:=∑t=r+1natW_n := \sum_{t=r+1}^n a_t. The population and weighted empirical risks are R(θ):=Eℓ(θ;Z0)R(\theta) := \mathbb{E}\ell(\theta; Z_0) and R^n(θ):=Wn−1∑t=r+1natℓ(θ;Zt)\widehat{R}_n(\theta) := W_n^{-1} \sum_{t=r+1}^n a_t \ell(\theta; Z_t), respectively, and we denote the corresponding population and empirical minimizers by θ0\theta_0 and θ^n\widehat{\theta}_n, respectively. The case at≡1a_t \equiv 1 gives ordinary empirical risk minimization.

The central probabilistic object is the loss gradient at the population minimizer,

g(Xt,…,Xt−r)=∇θℓ(θ0;Φ(Xt,…,Xt−r))∈RP.g(X_{t},\ldots,X_{t-r})=\nabla_{\theta}\ell(\theta_{0};\Phi(X_{t},\ldots,X_{t-r}))\in\mathbb{R}^{P}.

Its first nonzero Wiener chaos determines the leading long-memory fluctuations.

For nonlinear functionals of Gaussian long-memory sequences, the first nonzero Wiener chaos determines the leading dependence; this is the Hermite-rank mechanism underlying classical long-memory limit theory Taqqu (1977), Dehling and Taqqu (1989), Arcones (1994). We denote by m the Wiener-chaos rank of the loss gradient, that is, the order of its first nonzero chaos, and by J∈Rp\mathcal{J} \in \mathbb{R}^p its effective low-frequency coefficient.

The law of the iterated logarithm (LIL) describes the exact almost-sure scale of the largest recurrent fluctuations of partial sums. The probabilistic input of the present work is the weighted LIL established in the companion paper Moldavskaya (2026a). It studies weighted sums of nonlinear functionals of long-memory Gaussian sequences. In particular, for the pure-chaos reference statistic

Tn=∑t≤natHm(Xt),T_{n}=\sum_{t\leq n}a_{t}H_{m}(X_{t}),

where HmH_m is the mth Hermite polynomial and Bn2=Var(Tn)B_n^2 = \text{Var}(T_n), the companion result identifies the almost-sure scale Bn(2log⁡log⁡n)m/2B_n(2\log\log n)^{m/2}. In the nonlinear regime it also gives the functional cluster set and the corresponding variational LIL constant. The present paper develops the consequences of this pathwise theory for statistical learning.

Classical almost-sure theory for M-estimators already includes laws of the iterated logarithm and Bahadur-type invariance representations; see He and Wang (1995). For dependent errors, Fan, Yan and Xiu (2014) established strong Bahadur representations and an LIL for M-estimators in linear models with a Markov dependence structure. These results do not address regularly weighted ERM in the noncentral Gaussian long-memory regime or the chaos-rank-dependent functional cluster geometry studied here.

Statistical estimation under long-range dependence has been studied extensively, including M-estimation and least-squares estimation in regression; see, for example, Koul (1992), Moldavskaya (2007), the latter in a constrained regression setting with strong dependence. Weighted nonlinear Gaussian functionals with singular spectra were studied by Ivanov et al. (2013), who obtained Gaussian distributional limits under general weight conditions. Our question is different: we seek exact almost-sure normalizations, limsup constants, and functional cluster geometry in the noncentral long-memory regime. Also related is the nonasymptotic anytime LIL for general M-estimators of Schreuder, Brunel and Dalalyan (2020); that work provides finite-time probability guarantees, whereas we study exact pathwise behavior generated by long memory and Wiener-chaos structure. Very recently, Benning, Nourdin and Peccati (2026) showed that correlation decay and Hermite rank also determine the infinite-depth limit of residual networks with correlated initialization. Their dependence acts across network layers at initialization, whereas here long-range dependence is generated by the temporally dependent training data and we study exact almost-sure learning fluctuations.

The main consequences are as follows.

  1. We prove a finite-lag reduction for the loss gradient. Although it depends on the Gaussian vector (Xt,…,Xt−r)(X_t, \ldots, X_{t-r}), on the leading LIL scale the effect of the fixed lag window is reduced to the coefficient J\mathcal{J}:
∑t=r+1natg(Xt,…,Xt−r)=J∑t=1natHm(Xt)+oa.s.(Bn(2log⁡log⁡n)m/2).(1.1)\sum_{t=r+1}^{n}a_{t}g(X_{t},\ldots,X_{t-r})=\mathcal{J}\sum_{t=1}^{n}a_{t}H_{m}(X_{t})+o_{\mathrm{a.s.}}\big(B_{n}(2\log\log n)^{m/2}\big). \tag{1.1}

This reduction connects the companion scalar LIL with the learning problem.

  1. Under standard smoothness, identifiability, and positive-curvature conditions, we obtain a pathwise asymptotic linear representation (of Bahadur type) that expresses the learning error through the weighted score:
θ^n−θ0=−Wn−1V−1J∑t=1natHm(Xt)+oa.s.(rn),(1.2)\widehat{\theta}_{n}-\theta_{0}=-W_{n}^{-1}V^{-1}\mathcal{J}\sum_{t=1}^{n}a_{t}H_{m}(X_{t})+o_{\mathrm{a.s.}}(r_{n}), \tag{1.2}

where V=∇2R(θ0)V = \nabla^2 R(\theta_0) and rn=Bn(2log⁡log⁡n)m/2/Wnr_n = B_n(2 \log \log n)^{m/2} / W_n. This yields exact endpoint limsup laws and, for m≥2m \geq 2, the full functional cluster set describing the normalized learning trajectory.

  1. The leading multidimensional learning error lies in the deterministic direction V−1JV^{-1} \mathcal{J}. Thus scalar Gaussian finite-lag subordination produces a one-dimensional leading pathwise geometry even when θ∈RP\theta \in \mathbb{R}^P.

  2. In the interior regime αm<1\alpha m < 1 and 2κ+αm<12\kappa + \alpha m < 1,

rn≍n−αm/2L0(n)m/2(2log⁡log⁡n)m/2.r_{n}\asymp n^{-\alpha m/2}L_{0}(n)^{m/2}(2\log\log n)^{m/2}.

More precisely, the slowly varying weight factor LaL_{a} cancels and κ\kappa does not affect the polynomial exponent, although it changes the sharp LIL constant and, in the nonlinear case, the cluster geometry. The excess population risk satisfies an exact LIL on the corresponding squared scale, with the sharp constant identified explicitly.

  1. For m=1m = 1, the sharp weighting problem can be solved globally over the full admissible range κ<(1−α)/2\kappa < (1 - \alpha)/2. Every global optimizer is strictly positive: both negative exponents and ordinary unweighted ERM are suboptimal for the exact rank-one LIL constant.

The results are illustrated by three machine-learning examples. One-step linear prediction has chaos rank two despite its linear parameterization; lagged threshold classification has chaos rank one; and a quadratic-target model exhibits a symmetry-induced transition between chaos ranks one and two. Reproducible numerical experiments illustrate the effect of weighting on the sharp LIL constant, the one-dimensional geometry of the learning error, and the symmetry-induced rank transition. The numerical study also reveals a pronounced asymmetry: optimal positive weighting gives only a modest improvement, whereas weighting in the opposite direction can be substantially more costly.

Sections 2–3 develop the learning model and finite-lag reduction, Sections 4–6 establish the learning LILs and study weighting, Sections 7–8 give examples and numerical experiments, and Section 9 discusses the scope and extensions.