betaFeedback

WorksComputer Science

Tracking a Small Set of Experts in Online Convex Optimization

Abstract

For the fundamental problem of prediction from expert advice, Freund asked whether one could compete with a comparator that switches kk times among only mm experts. For a discrete set of experts, this problem was resolved by Bousquet and Warmuth (2020), who gave an efficient algorithm with optimal regret matching the information-theoretic limit. We study the analogous problem in online convex optimization, where the action space is continuous. An inefficient algorithm can be derived by discretizing the action space and applying the Bousquet–Warmuth algorithm, giving regret of O~(md+k)\widetilde{O}(md+k), while the best known efficient algorithm for this problem has regret O~(dk)\widetilde{O}(dk). We show that this computational inefficiency is inherent, establishing a separation between the information-theoretic and polynomial-time regret achievable for this problem. Specifically, under the hypergraphic planted-clique conjecture, we show that for every polynomial-time algorithm there exist instances for which it incurs at least (kd)1−o(1)(k\sqrt d)^{1-o(1)} regret.

Introduction

On each round tt of an online learning problem, a learner A\mathcal{A} chooses a decision xtx_t from a set K\mathcal{K}, observes a loss function ftf_t, and incurs ft(xt)f_t(x_t). Its regret against a comparator path u1:T∈KTu_{1:T} \in\mathcal{K}^T is

Reg⁡T(A;u1:T):=∑t=1Tft(xt)−∑t=1Tft(ut).\operatorname{Reg}_T(\mathcal{A};u_{1:T}) := \sum_{t=1}^{T} f_t(x_t) - \sum_{t=1}^{T} f_t(u_t).

External regret compares the learner with the best fixed decision in hindsight, restricting the comparator to a constant path. This benchmark is well understood, with upper and lower bounds characterizing the achievable rates in standard online learning settings [7]. In a changing environment, however, a fixed decision may be too weak a benchmark. Dynamic regret allows the comparator to change over time, but sublinear regret is impossible in general when these changes are unrestricted.

A natural intermediate benchmark, introduced by Bousquet and Warmuth [2] for prediction from a finite set of NN experts, is to compete with a comparator that switches at most kk times among at most mm distinct experts. When m≪km \ll k, the comparator repeatedly returns to the same small set, raising the question of whether the learner can exploit this recurrence. Under log loss, the worst-case information-theoretic regret lower bound is of order

mlog⁡(N/m)⏟identify the pool+klog⁡m⏟choose within the pool+klog⁡(T/k)⏟locate the switches\underbrace{m\log(N/m)}_{\text{identify the pool}} + \underbrace{k\log m}_{\text{choose within the pool}} + \underbrace{k\log(T/k)}_{\text{locate the switches}}

in the regime 2≤m≪N2 \le m \ll N and m≪k≪Tm \ll k \ll T. There are (Nm)\binom{N}{m} choices for the pool of experts and (T−1k)\binom{T-1}{k} choices for the switch locations among the T−1T-1 gaps between consecutive rounds; within the pool, there are mm choices for the initial expert and m−1m-1 choices at each switch. Multiplying gives (Nm)m(m−1)k(T−1k)\binom{N}{m}m(m-1)^k\binom{T-1}{k} possible descriptions of a comparator, whose logarithm gives the order of the information-theoretic lower bound above [2 Section 4.4]. Surprisingly, Bousquet and Warmuth show that an efficient algorithm can attain a matching upper bound for mixable losses, up to loss-dependent constants and additional logarithmic terms.

We study the analogous problem in online convex optimization (OCO), where K⊆Rd\mathcal{K} \subseteq\mathbb{R}^d is a continuous convex decision set and the losses ftf_t are convex. For constant mm and Lipschitz exp-concave losses on a bounded domain, discretizing the domain and applying the Bousquet–Warmuth algorithm gives O~(d+k)\widetilde{O}(d+k). We make this reduction precise in § 1.2. However, the discretization can contain exponentially many points in dd, making this implementation computationally inefficient. On the other hand, polynomial-time algorithms achieve O~(dk)\widetilde{O}(dk) regret for k≥1k \ge1 (Theorem 4.4). These bounds leave open the best achievable dependence on dd and kk under polynomial-time computation. We therefore ask:

What is the best regret rate a computationally efficient algorithm can achieve in this setting?

Overview of Our Results

Our main contribution is a conditional separation between information-theoretic regret and the regret achievable by polynomial-time algorithms, even when the comparator uses only two distinct points.

Computational lower bound. Assuming hypergraphic planted-clique hardness for every fixed order r≥4r \ge4, Theorem 5.2 rules out polynomial-time O~(kadb)\widetilde{O}(k^a d^b) expected regret along k=Θ(dθ)k = \Theta(d^\theta) whenever θa+b<θ+1/2\theta a+b < \theta+1/2, for fixed rational θ>0\theta> 0 and fixed a,b≥0a,b \ge0. In particular, no such guarantee holds for all (k,d)(k,d) if a<1a < 1 or b<1/2b < 1/2, by taking θ\theta sufficiently large or small, respectively. This holds even for m=2m=2 and bounded 1-exp-concave rank-one quadratics on the Euclidean unit ball, with T=poly⁡(d)T = \operatorname{poly}(d). Figure 1 illustrates the computational separation for θ>1/2\theta> 1/2.

Figure 1. Regret exponents for k=Θ(dθ)k=\Theta(d^\theta) (fixed rational θ>0\theta>0), ignoring logarithmic factors. Theorem 5.2 conditionally rules out every fixed exponent below the dashed line. Shading marks the computational separation for θ>1/2\theta>1/2.

Efficient upper bounds. Standard adaptive-regret methods give O~(k)\widetilde{O}(k) regret for strongly convex losses (Theorem 4.3) and O~(dk)\widetilde{O}(dk) regret for exp-concave losses (Theorem 4.4). A gap remains between our computational lower bound and the polynomial-time upper bounds in the exp-concave case, leaving the optimal polynomial-time rate open.

Table 1 summarizes the results across the three curvature regimes. For convex and strongly convex losses, efficient algorithms already attain the information-theoretically optimal dependence on kk, with matching lower bounds. For exp-concave losses, by contrast, recurrence creates a gap between the information-theoretic and efficiently achievable rates.

Loss classInformation-theoretic lower boundPolynomial-time upper boundComputational lower bound
ConvexΩ(kT)\Omega(\sqrt{kT})1 [20]O(kT)O(\sqrt{kT}) [20]–
Strongly convexΩ(k)\Omega(k)2O~(k)\widetilde{O}(k) [Thm. 4.3]–
Exp-concaveΩ~(d+k)\widetilde{\Omega}(d+k) [2]O~(dk)\widetilde{O}(dk) [Thm. 4.4](kd)1−o(1)(k\sqrt{d})^{1-o(1)} [Thm. 5.2]

Table 1. Regret bounds for constant m≥2m \ge2 and k≥1k \ge1, with loss and domain parameters fixed.

From Mixable Experts to Exp-Concave OCO

The Bousquet–Warmuth algorithm for a finite set of experts relies on mixability of losses. For an α\alpha-mixable prediction loss, expert predictions can be combined using probability weights pip_i into a single prediction whose loss, for every outcome, is at most −α−1log⁡∑ipie−αℓi-\alpha^{-1}\log\sum_i p_i e^{-\alpha\ell_i}. Exp-concavity supplies precisely this property in the OCO setting, i.e. for any v1,…,vN∈Kv_1,\ldots,v_N\in\mathcal{K} and probability weights p1,…,pNp_1,\ldots,p_N, concavity of e−αfe^{-\alpha f} gives

f(∑i=1Npivi)≤−1αlog⁡(∑i=1Npie−αf(vi)).f\left(\sum_{i=1}^{N}p_i v_i\right)\leq-\frac{1}{\alpha}\log\left(\sum_{i=1}^{N}p_i e^{-\alpha f(v_i)}\right).

To tackle the OCO problem, treat each point in a finite net of K\mathcal{K} as an expert. Assuming exp-concavity of the loss function, the inequality above allows the learner to run Bousquet–Warmuth by playing weighted averages of these points. For Lipschitz losses on a bounded domain, a sufficiently fine net has log⁡N=O(dlog⁡T)\log N=O(d\log T) and approximates every comparator with at most constant additional loss, without increasing its number of distinct points or switches.1 The Bousquet–Warmuth guarantee then gives O~(mlog⁡N+k)=O~(md+k)\widetilde{O}(m\log N+k)=\widetilde{O}(md+k) regret, with loss and domain parameters fixed. However, the net can be exponentially large in dd, making this implementation inefficient.

Overview of the Hardness Reduction

We reduce hypergraphic planted-clique detection to online convex optimization. The hypergraphic planted-clique conjecture [17] asserts that no polynomial-time algorithm can distinguish a random hypergraph on NN vertices from one with a planted clique whose size is polynomially below N\sqrt{N}. We map the hypergraph to bounded exp-concave losses on the Euclidean unit ball.

We measure the learner’s cumulative gain over always playing the origin by G=∑t=1T(ft(0)−ft(xt))G = \sum_{t=1}^{T}(f_t(0) - f_t(x_t)). Under the planted model, the clique determines a reference sequence u1:Tu_{1:T} that plays one fixed point on selected blocks and the origin elsewhere. This comparator uses only two distinct decisions and, with high probability, has a large advantage Δ=∑t=1T(ft(0)−ft(ut))\Delta= \sum_{t=1}^{T}(f_t(0) - f_t(u_t)). The identity

G=Δ−Reg⁡T(u1:T)G = \Delta- \operatorname{Reg}_{T}(u_{1:T})

then implies that sufficiently small expected regret forces a large expected gain. Under the null model, however, the labels are independent unbiased signs, making a large positive gain unlikely. Thus, sufficiently small regret would let us detect the planted clique through the learner’s observable gain. § 5 gives the construction and formal argument.

Related Work

Tracking experts and long-term memory. Herbster and Warmuth [11] introduced Fixed Share for comparator sequences with a bounded number of switches. For comparators that repeatedly return to a small pool of experts, a problem posed by Yoav Freund, Bousquet and Warmuth (2002) introduced mixing past posteriors to reuse information about previously successful experts. Extensions cover stateful experts, Bayesian formulations, mirror descent, and growing expert sets [15, 16, 4, 19]. Zheng et al. [25] resolved the question of Warmuth and Koolen [22] on exploiting favorable stochastic structure and extended the framework to bandit feedback. Robinson and Herbster [21] reduced the per-round cost of mixing-past-posteriors methods to linear, while Herbster et al. [13] extended long-term memory to multitask learning and structured infinite RKHS classes.

Shifting and adaptive regret in OCO. A parallel literature studies changing comparators in continuous decision spaces without exploiting recurrence. Herbster and Warmuth [12] studied shifting regret for online linear prediction, and György and Szepesvári [6] developed an OCO framework measuring comparator complexity by deviation from prescribed dynamics. Adaptive regret requires low static regret on every time interval [9]; Daniely et al. [5] strengthened these guarantees to depend on interval length. Summing over a piecewise-constant comparator’s segments yields shifting-regret bounds, but pays the static learning cost on each segment. Pasteris et al. [20] obtained optimal shifting regret for general convex OCO, while Yang et al. [23] obtained logarithmic shifting regret for exp-concave and strongly convex OCO.

Static OCO and curvature. Online gradient descent achieves O(T)O(\sqrt{T}) static regret for general convex losses [26]. Strongly convex losses admit dimension-free O(log⁡T)O(\log T) regret, while Online Newton Step achieves O(dlog⁡T)O(d\log T) for exp-concave losses [10]. Consequently, relearning on every segment is inexpensive for strongly convex losses but incurs a dimension-dependent cost in the general exp-concave case. See Hazan [7] for a treatment of static, adaptive, and dynamic regret in OCO.

Planted clique and average-case hardness. Planted clique is a classical source of average-case computational hardness. Alon et al. [1] gave a polynomial-time spectral recovery algorithm above the N\sqrt{N} scale; Jerrum [14] provided hardness evidence by analyzing the failure of the Metropolis process. Hazan and Krauthgamer [8] used planted-clique hardness to show that finding an approximate Nash equilibrium with near-optimal social welfare is hard. Hypergraphic planted clique has been used to establish statistical–computational gaps in tensor estimation and clustering [24, 18]. Luo and Zhang [17] formulated its average-case hardness conjecture and studied its relation to ordinary planted clique, while Brennan and Bresler [3] developed related reductions based on planted-clique variants.

Preliminaries

Notation. We write [n]={1,…,n}[n] = \{1, \ldots, n\} and use 1{A}\mathbf{1}\{A\} for the indicator of an event AA. The Euclidean inner product and norm are denoted by ⟨x,y⟩\langle x,y\rangle and ∥x∥2\lVert x\rVert_2, and B2d={x∈Rd:∥x∥2≤1}B_2^d = \{x \in\mathbb{R}^d : \lVert x\rVert_2 \le1\} is the Euclidean unit ball. The notation O~\widetilde{O} and Ω~\widetilde{\Omega} suppresses polylogarithmic factors.

Online learning protocol. We consider online convex optimization over a nonempty compact convex set K⊆Rd\mathcal{K} \subseteq\mathbb{R}^d of diameter DD. On round tt, the learner chooses xt∈Kx_t \in\mathcal{K} based on previous rounds, after which a differentiable convex loss ftf_t is revealed and the learner incurs ft(xt)f_t(x_t). The aim is to keep the cumulative loss close to that of a comparator whose decision may change over time.

We study this problem for exp-concave losses and, as a special case, strongly convex losses with bounded gradients. We state the definitions below.

Definition 3.1 (Exp-concavity). For α>0\alpha> 0, a function f:K→Rf : \mathcal{K} \to\mathbb{R} is α\alpha-exp-concave if x↦e−αf(x)x \mapsto e^{-\alpha f(x)} is concave on K\mathcal{K}.

Definition 3.2 (Strong convexity). For λ>0\lambda> 0, a differentiable function f:K→Rf : \mathcal{K} \to\mathbb{R} is λ\lambda-strongly convex if, for every x,y∈Kx,y \in\mathcal{K},

f(y)≥f(x)+⟨∇f(x),y−x⟩+λ2∥y−x∥22.f(y) \ge f(x) + \langle\nabla f(x), y-x\rangle+ \frac{\lambda}{2}\lVert y-x\rVert_2^2.

Our benchmark distinguishes the number of comparator switches from the number of distinct decisions, allowing us to capture recurrence.

Definition 3.3 (Comparator paths). A comparator path is a sequence u1:T=(u1,…,uT)∈KTu_{1:T} = (u_1, \ldots, u_T) \in\mathcal{K}^T. Its number of switches and number of distinct points are, respectively,

k(u1:T):=∑t=2T1{ut≠ut−1},m(u1:T):=∣{u1,…,uT}∣.k(u_{1:T}) := \sum_{t=2}^{T} \mathbf{1}\{u_t \ne u_{t-1}\}, \qquad m(u_{1:T}) := |\{u_1, \ldots, u_T\}|.

For integers 1≤m≤T1 \le m \le T and 0≤k≤T−10 \le k \le T-1, define the comparator class

Um,k(K):={u1:T∈KT:m(u1:T)≤m,k(u1:T)≤k}.\mathcal{U}_{m,k}(\mathcal{K}) := \{u_{1:T} \in\mathcal{K}^T : m(u_{1:T}) \le m,\quad k(u_{1:T}) \le k\}.

Thus Um,k(K)\mathcal{U}_{m,k}(\mathcal{K}) consists of paths that switch at most kk times among at most mm distinct points.

The learner is not given the comparator points or their switch times. We compare its cumulative loss with that of the best admissible comparator path in hindsight.

Definition 3.4 (Tracking regret). For an algorithm A\mathcal{A} that outputs decisions x1:T∈KTx_{1:T} \in\mathcal{K}^T and faces losses f1:Tf_{1:T}, the tracking regret with at most kk switches and mm distinct points is

Reg⁡T(A;m,k):=∑t=1Tft(xt)−min⁡u1:T∈Um,k(K)∑t=1Tft(ut).\operatorname{Reg}_T(\mathcal{A};m,k) := \sum_{t=1}^{T} f_t(x_t) - \min_{u_{1:T}\in\mathcal{U}_{m,k}(\mathcal{K})} \sum_{t=1}^{T} f_t(u_t).

For randomized learners, we consider E[Reg⁡T(A;m,k)]\mathbb{E}[\operatorname{Reg}_{T}(\mathcal{A};m,k)], where the expectation is over the learner’s internal randomness for each fixed loss sequence. We seek learners with low tracking regret, and call a learner computationally efficient if its total running time is polynomial in TT, mm, kk and dd.

We also define adaptive regret below, which will be useful for our analysis. Introduced by Hazan and Seshadhri [9], it compares the learner with the best fixed decision on every time interval.

Definition 3.5 (Adaptive regret). For an algorithm A\mathcal{A} that outputs decisions x1:T∈KTx_{1:T} \in\mathcal{K}^{T} and faces losses f1:Tf_{1:T}, the adaptive regret is

AReg⁡T(A):=max⁡1≤r≤s≤T{∑t=rsft(xt)−min⁡u∈K∑t=rsft(u)}.\operatorname{AReg}_{T}(\mathcal{A}) := \max_{1 \le r \le s \le T} \left\{ \sum_{t=r}^{s} f_t(x_t) - \min_{u \in\mathcal{K}} \sum_{t=r}^{s} f_t(u) \right\}.

Upper Bounds

We derive standard switching bounds from adaptive-regret guarantees. Follow-the-Leading-History (FLH) (Hazan and Seshadhri [9]) combines restarted copies of a base learner using exponential weights and plays their weighted-average decision. Its pruned version gives the following guarantee; Appendix § 9 describes the algorithm.

Theorem 4.1 (Hazan and Seshadhri [9]). Suppose the losses are α\alpha-exp-concave on K\mathcal{K}. Given a deterministic base learner B\mathcal{B} with nonnegative, nondecreasing static-regret bound R(T)R(T), pruned FLH produces an algorithm A\mathcal{A} that maintains O(log⁡T)O(\log T) active copies and satisfies

AReg⁡T(A)≤O(R(T)log⁡T+α−1log⁡2T).\operatorname{AReg}_{T}(\mathcal{A}) \le O\left(R(T)\log T + \alpha^{-1}\log^{2}T\right).

The construction preserves oracle efficiency.

Adaptive regret bounds regret on each constant segment of a comparator. Summing over at most k+1k+1 segments gives the following switching bound, proved in Appendix § 9.§ 1.

Corollary 4.2. Under the assumptions of Theorem 4.1, the algorithm A\mathcal{A} satisfies, for every 1≤m≤T1 \le m \le T and 0≤k≤T−10 \le k \le T-1,

Reg⁡T(A;m,k)≤(k+1)AReg⁡T(A)≤O((k+1)⋅[R(T)log⁡T+α−1log⁡2T]).\operatorname{Reg}_{T}(\mathcal{A};m,k) \le(k+1)\operatorname{AReg}_{T}(\mathcal{A}) \le O\left((k+1)\cdot\left[R(T)\log T+\alpha^{-1}\log^{2}T\right]\right).

The bound is independent of mm, and the algorithm requires neither mm nor kk nor the switch times.

For strongly convex losses, using projected online gradient descent (OGD) as the base learner yields a dimension-free switching bound.

Theorem 4.3. Suppose every ftf_t is twice differentiable, λ\lambda-strongly convex, and GG-Lipschitz on K\mathcal{K}. There is a deterministic oracle-efficient algorithm A\mathcal{A} such that, for every 1≤m≤T1 \le m \le T and 1≤k≤T−11 \le k \le T-1,

Reg⁡T(A;m,k)≤O(G2λklog⁡2T).\operatorname{Reg}_{T}(\mathcal{A};m,k) \le O\left(\frac{G^{2}}{\lambda}k\log^{2}T\right).

Proof. Hazan et al. [10] show that projected online gradient descent, restarted with step sizes ηt=1/(λt)\eta_t=1/(\lambda t) in its local time, has static regret

ROGD(n)≤O(G2λlog⁡n).R_{\mathrm{OGD}}(n) \le O\left(\frac{G^{2}}{\lambda}\log n\right).

Moreover, strong convexity and the gradient bound give

∇2ft(x)⪰λI⪰λG2∇ft(x)∇ft(x)T,\nabla^2 f_t(x) \succeq\lambda I \succeq\frac{\lambda}{G^2}\nabla f_t(x)\nabla f_t(x)^{\mathsf{T}},

where for the RHS we used the Cauchy–Schwarz inequality, so each loss is (λ/G2)(\lambda/G^2)-exp-concave. Applying Corollary 4.2 with OGD as the base learner and α=λ/G2\alpha= \lambda/G^2 gives the desired algorithm A\mathcal{A} and proves the bound for every mm and kk.

The bound is independent of the number of distinct comparator points: strong convexity makes relearning after each switch inexpensive, without explicitly exploiting recurrence.

For general exp-concave losses, we instead use Online Newton Step (ONS). Its static-regret bound introduces a factor of dd, which carries over to the switching guarantee.

Theorem 4.4. Suppose K\mathcal{K} has Euclidean diameter at most DD, and every loss ftf_t is α\alpha-exp-concave and GG-Lipschitz on K\mathcal{K}. There is a deterministic oracle-efficient algorithm A\mathcal{A} such that, for every 1≤m≤T1 \le m \le T and 1≤k≤T−11 \le k \le T-1,

Reg⁡T(A;m,k)≤O(d(1α+GD)klog⁡2T).\operatorname{Reg}_T(\mathcal{A};m,k) \le O\left(d\left(\frac{1}{\alpha}+GD\right)k\log^2 T\right).

In particular, this is O(dklog⁡2T)O(dk\log^2 T) when α\alpha, GG, and DD are constants.

Proof. The static-regret guarantee for ONS [10] is

RONS(n)≤O(d(1α+GD)log⁡n).(1)R_{\mathrm{ONS}}(n) \le O\left(d\left(\frac{1}{\alpha}+GD\right)\log n\right). \tag*{(1)}

Theorem 4.1, applied with ONS as the base learner, therefore gives an algorithm A\mathcal{A} satisfying

ARegT(A)≤O(d(1α+GD)log⁡2T),(2)\mathrm{AReg}_T(\mathcal{A}) \le O\left(d\left(\frac{1}{\alpha}+GD\right)\log^2 T\right), \tag*{(2)}

where the aggregation term is absorbed using d≥1d \ge1. The switching bound follows from Corollary 4.2.

Both algorithms learn each constant segment separately, without amortizing the learning cost across recurring comparator values.

Computational Hardness for Exp-Concave Functions

As noted in the previous section, combining Follow-the-Leading-History with Online Newton Step gives an efficient algorithm with regret O~(kd)\widetilde{O}(kd) against a comparator that switches at most kk times. On the other hand, discretizing the continuous decision set and applying the long-term-memory algorithm of Bousquet and Warmuth [2] gives the regret O~(md+k)\widetilde{O}(md+k), but requires time exponential in the dimension. In this section, we show that this computational gap is inherent, i.e. even when the comparator takes only m=2m=2 distinct values, no polynomial-time algorithm can attain O~(md+k)\widetilde{O}(md+k) regret.

Our lower bound is based on the hypergraphic planted-clique conjecture of Luo and Zhang [17]. Fix an integer r≥2r \ge2. Let H0(r)(N)H_0^{(r)}(N) denote the distribution over rr-uniform hypergraphs on [N][N] in which every rr-subset of vertices is independently included as a hyperedge with probability 1/21/2. Under H1(r)(N,q)H_1^{(r)}(N,q), we first sample from H0(r)(N)H_0^{(r)}(N), choose a uniformly random set C⊆[N]C \subseteq[N] of size qq, and then force every rr-subset of CC to be a hyperedge. We write E0\mathbb{E}_0, P0\mathbb{P}_0 and E1\mathbb{E}_1, P1\mathbb{P}_1 for expectation and probability under the H0(r)(N)H_0^{(r)}(N) and H1(r)(N,q)H_1^{(r)}(N,q), respectively.

Conjecture 5.1 (rr-HPC [17]). Fix r≥2r \ge2 and β∈(0,1/2)\beta\in(0,1/2), and let q=⌊Nβ⌋q = \lfloor N^\beta\rfloor. There is no randomized polynomial-time test that, given HH, outputs “null” on H∼H0(r)(N)H \sim H_0^{(r)}(N) and “planted” on H∼H1(r)(N,q)H \sim H_1^{(r)}(N,q) with probability tending to one in both cases as N→∞N \to\infty.

Luo and Zhang [17] formulate this conjecture for every fixed hyperedge order and clique sizes polynomially below the N\sqrt{N} scale. Our strongest lower bound is obtained by allowing the hyperedge order to vary over fixed constants.

Theorem 5.2 (Computational lower bound under rr-HPC). Assume Conjecture 5.1 for every fixed r≥4r \ge4. For every fixed rational θ>0\theta> 0 and fixed a,b≥0a,b \ge0 satisfying

θa+b<θ+12,\theta a + b < \theta+ \frac{1}{2},

no randomized polynomial-time OCO algorithm can guarantee

E[Reg⁡T(A;2,k)]=O~(kadb)\mathbb{E}[\operatorname{Reg}_{T}(\mathcal{A};2,k)] = \widetilde{O}(k^{a}d^{b})

uniformly over instances with k=Θ(dθ)k = \Theta(d^\theta). This holds even for bounded 11-exp-concave rank-one quadratic losses on B2dB_2^d, with T=poly⁡(d)T = \operatorname{poly}(d). In particular, this rules out any uniform guarantee O~(kadb)\widetilde{O}(k^{a}d^{b}) over all (k,d)(k,d) whenever a<1a < 1 or b<1/2b < 1/2, by choosing θ\theta sufficiently large or sufficiently small, respectively.

The proof of Theorem 5.2 is deferred to Appendix § 8.§ 4. To expose the main ideas of the reduction with minimal notation, we first prove the case k=Θ(d)k = \Theta(d), corresponding to θ=1\theta= 1, under the weaker assumption of 4-HPC alone. This rules out every polynomial-time expected-regret guarantee of the form O~(kadb)\widetilde{O}(k^{a}d^{b}) with a+b<3/2a + b < 3/2 in this regime.

Theorem 5.3 (Computational lower bound under 4-HPC). Assume Conjecture 5.1 for r=4r = 4. For every fixed a,b≥0a,b \ge0 with a+b<32a + b < \frac{3}{2}, no randomized polynomial-time OCO algorithm can guarantee

E[Reg⁡T(A;2,k)]=O~(kadb)\mathbb{E}[\operatorname{Reg}_{T}(\mathcal{A};2,k)] = \widetilde{O}(k^{a}d^{b})

uniformly over instances with k=Θ(d)k = \Theta(d). This holds even for bounded 11-exp-concave rank-one quadratic losses on B2dB_2^d, with T=poly⁡(d)T = \operatorname{poly}(d).

We first describe the reduction and establish three lemmas, then combine them to prove Theorem 5.3. Throughout, fix β∈(1/3,1/2)\beta\in(1/3,1/2), q=⌊Nβ⌋q = \lfloor N^\beta\rfloor, and d=q2d = q^2.

Reduction construction. We reduce 4-HPC with planted-clique size qq to OCO. The four hyperedge indices play different roles: two determine the comparator’s switching pattern, one indexes the OCO coordinates, and the fourth provides repeated observations of each coordinate. Partition [N][N] deterministically as

[N]=V1⊔V2⊔V3⊔V4,[N] = V_1 \sqcup V_2 \sqcup V_3 \sqcup V_4,

with ∣V3∣=d|V_3| = d and the remaining vertices split evenly among V1,V2,V4V_1,V_2,V_4. Since d=o(N)d = o(N), we have ∣V1∣,∣V2∣,∣V4∣=Θ(N)|V_1|,|V_2|,|V_4| = \Theta(N). Identify the coordinates of Rd\mathbb{R}^d with V3V_3. For each (i,j)∈V1×V2(i,j) \in V_1 \times V_2, create one block containing one round for every (ℓ,v)∈V3×V4(\ell,v) \in V_3 \times V_4. On this round let

Yijℓv={+1,if {i,j,ℓ,v}∈E(H),−1,otherwise,fijℓv(x)=18(xℓ−Yijℓv)2.Y_{ij\ell v} = \begin{cases} +1, & \text{if } \{i,j,\ell,v\} \in E(H),\\ -1, & \text{otherwise,} \end{cases} \qquad f_{ij\ell v}(x) = \frac{1}{8}(x_\ell- Y_{ij\ell v})^2.

Thus T=Θ(N3d)T = \Theta(N^{3}d), and every queried hyperedge is distinct. Moreover,

∇f(x)=xℓ−Y4eℓ,∇2f(x)=14eℓeℓT,\nabla f(x) = \frac{x_{\ell}-Y}{4}e_{\ell}, \qquad\nabla^{2}f(x) = \frac{1}{4}e_{\ell}e_{\ell}^{\mathsf{T}},

so

∇2f(x)−∇f(x)∇f(x)T=4−(xℓ−Y)216eℓeℓT⪰0.\nabla^{2}f(x)-\nabla f(x)\nabla f(x)^{\mathsf{T}} = \frac{4-(x_{\ell}-Y)^{2}}{16}e_{\ell}e_{\ell}^{\mathsf{T}} \succeq0.

Hence the losses are 1-exp-concave on B2dB_{2}^{d}, bounded in [0,1/2][0,1/2], with gradient norm at most 1/21/2.

Comparator and gain. Under the planted model, suppose H∼H1(4)(N,q)H \sim\mathrm{H}_{1}^{(4)}(N,q) with planted clique CC, and write Cs=C∩VsC_{s}=C\cap V_{s} and qs=∣Cs∣q_{s}=|C_{s}|. Define

u(0)=0,u(1)=γ1C3,γ=q2N.u^{(0)}=0,\qquad u^{(1)}=\gamma1_{C_{3}},\qquad\gamma=\frac{q}{2N}.

Here 1C3∈Rd1_{C_{3}}\in\mathbb{R}^{d} is the indicator vector with coordinate 11 for ℓ∈C3\ell\in C_{3} and 00 otherwise, so u(1)u^{(1)} predicts γ\gamma on clique coordinates and zero elsewhere. Both comparator points lie in B2dB_{2}^{d}, since

∥u(1)∥2=γq3≤γd=q22N<1.\lVert u^{(1)}\rVert_{2}=\gamma\sqrt{q_{3}}\leq\gamma\sqrt{d}=\frac{q^{2}}{2N}<1.

Construct a comparator that takes the value u(1)u^{(1)} on block (i,j)(i,j) whenever (i,j)∈C1×C2(i,j)\in C_{1}\times C_{2}, and takes the value u(0)u^{(0)} otherwise. Figure 2 illustrates one such active block and its comparator.

Figure 2. An active block (i,j)∈C1×C2(i,j)\in C_{1}\times C_{2}. Each cell (ℓ,v)(\ell,v) is one round with loss fijℓv(x)=18(xℓ−Yijℓv)2f_{ij\ell v}(x)=\frac{1}{8}(x_{\ell}-Y_{ij\ell v})^{2}. The planted clique forces +1+1 labels on C3×C4C_{3}\times C_{4}; the remaining labels are independent fair signs conditional on the clique. The fixed comparator vector (right) predicts γ\gamma on C3C_{3} coordinates and zero elsewhere throughout the block. Hidden clique rows and columns are grouped only for visualization. See Figure 3 in Appendix § 10 for the full hypergraph-to-loss construction.

Figure 3. From a hypergraph to a loss sequence. Blue outlines link one queried four-vertex hyperedge to its cell in an OCO block. Orange vertices belong to the hidden clique, forcing +1+1 labels on C3×C4C_3\times C_4; all remaining cells contain independent fair signs conditional on the clique. The comparator predicts γ\gamma on C3C_3 rows throughout the block. Only one hyperedge is drawn. Clique membership is shown for explanation, and the schematic grid groups clique rows and columns for visualization.

Define the comparator’s advantage and the learner’s observable gain by

Δ=∑t=1T(ft(0)−ft(ut)),Gt=∑s=1t(fs(0)−fs(xs)),G=GT.\Delta=\sum_{t=1}^{T}\bigl(f_{t}(0)-f_{t}(u_{t})\bigr),\qquad G_{t}=\sum_{s=1}^{t}\bigl(f_{s}(0)-f_{s}(x_{s})\bigr),\qquad G=G_{T}.

When applied to the learner’s gain, Ei\mathbb{E}_i and Pr⁡i\operatorname{Pr}_i also include the learner’s internal randomness.

We establish three lemmas used in the proof of Theorem 5.3. We first bound the comparator’s number of switches and its advantage over always playing the origin.

Lemma 5.4. Under H∼H1(4)(N,q)H \sim H_1^{(4)}(N,q), with probability 1−oN(1)1-o_N(1), the above comparator u1:Tu_{1:T} makes O(q2)O(q^2) switches, and satisfies

Δ=∑t=1T(ft(0)−ft(ut))≥cq7N2=:SN\Delta= \sum_{t=1}^{T}\left(f_t(0)-f_t(u_t)\right) \ge c\frac{q^7}{N^2}=:S_N

for some constant c>0c>0.

Proof sketch. Only rounds with (i,j,ℓ)∈C1×C2×C3(i,j,\ell)\in C_1\times C_2\times C_3 contribute to Δ\Delta. On every other round, the comparator predicts zero on the queried coordinate, so ft(ut)=ft(0)=1/8f_t(u_t)=f_t(0)=1/8 and the gain is zero. On a contributing round, the comparator predicts γ\gamma. Splitting according to whether the fourth vertex lies in the clique, we obtain

fijℓv(0)−fijℓv(u(1))={γ4−γ28,v∈C4,γYijℓv4−γ28,v∈V4∖C4.f_{ij\ell v}(0)-f_{ij\ell v}(u^{(1)})= \begin{cases} \frac{\gamma}{4}-\frac{\gamma^2}{8}, & v\in C_4,\\ \frac{\gamma Y_{ij\ell v}}{4}-\frac{\gamma^2}{8}, & v\in V_4\setminus C_4. \end{cases}

Conditional on CC, the first case is deterministic, while the labels in the second case are independent unbiased signs. The quadratic penalty is paid in both cases. Collecting all deterministic terms therefore gives Δ=μC+ZC\Delta=\mu_C+Z_C where

μC:=E[Δ∣C]=q1q2q3(γq44−γ2∣V4∣8),ZC=γ4∑i∈C1, j∈C2, ℓ∈C3v∈V4∖C4Yijℓv.\mu_C:=\mathbb{E}[\Delta\mid C]=q_1q_2q_3\left(\frac{\gamma q_4}{4}-\frac{\gamma^2|V_4|}{8}\right),\qquad Z_C=\frac{\gamma}{4}\sum_{\substack{i\in C_1,\ j\in C_2,\ \ell\in C_3\\v\in V_4\setminus C_4}}Y_{ij\ell v}.

With probability 1−oN(1)1-o_N(1), the clique intersections concentrate around their means q∣Vs∣/Nq|V_s|/N: in particular, q1,q2,q4=Θ(q)q_1,q_2,q_4=\Theta(q), q3=Θ(q3/N)q_3=\Theta(q^3/N), and q4≥q∣V4∣/(2N)=γ∣V4∣q_4\ge q|V_4|/(2N)=\gamma|V_4|. Condition on such a clique. Since γ=q/(2N)\gamma=q/(2N) and ∣V4∣=Θ(N)|V_4|=\Theta(N), the deterministic contribution satisfies

μC≥q1q2q3γ2∣V4∣8=Ω(q2⋅q3N⋅q2N)=Ω(q7N2).\mu_C\ge q_1q_2q_3\frac{\gamma^2|V_4|}{8} =\Omega\left(q^2\cdot\frac{q^3}{N}\cdot\frac{q^2}{N}\right) =\Omega\left(\frac{q^7}{N^2}\right).

Thus the positive contribution from forced hyperedges outweighs the quadratic penalties on all contributing rounds. The remaining term ZCZ_C is a sum of

q1q2q3(∣V4∣−q4)=O(q2⋅q3N⋅N)=O(q5)q_1q_2q_3(|V_4|-q_4)=O\left(q^2\cdot\frac{q^3}{N}\cdot N\right)=O(q^5)

independent, mean-zero random variables, each of magnitude γ/4\gamma/4. Its conditional standard deviation is therefore O(γq5)=O(q7/2/N)=o(μC)O(\gamma\sqrt{q^5})=O(q^{7/2}/N)=o(\mu_C). A standard Hoeffding bound therefore gives Δ≥μC/2=Ω(q7/N2)\Delta\ge\mu_C/2=\Omega(q^7/N^2) with high probability.

Finally, there are q1q2=Θ(q2)q_1q_2=\Theta(q^2) active blocks, throughout which the comparator stays at u(1)u^{(1)}. Each active block contributes at most two switches: one on entry and one on exit. Consecutive active blocks require no switch between them, so the total number of switches is O(q2)O(q^2). Combining these bounds with the concentration of the clique intersections proves the claim. See Appendix § 8.§ 1 for the detailed proof.

The next two lemmas apply to both the present reduction and its generalization in Appendix § 8.§ 4. Under the null model, each label remains an unbiased sign after the learner chooses its decision. The following lemma shows that large positive gains over the origin are exponentially unlikely, with a bound independent of the horizon. Its proof appears in Appendix § 8.§ 2.

Lemma 5.5. Consider losses ft(x)=18(xℓt−Yt)2f_t(x) = \frac{1}{8}(x\ell_t-Y_t)^2 on Bd2B_d^2, where each coordinate ℓt\ell_t is fixed before observing YtY_t. If, under the null model, YtY_t is a fresh unbiased sign conditional on the learner’s history and current decision, then every randomized learner satisfies

E0[eG]≤1,Pr⁡0(G≥z)≤e−z.\mathbb{E}_0[e^G] \le1,\qquad\Pr_0(G \ge z) \le e^{-z}.

The identity G=Δ−Reg⁡T(A;u1:T)G = \Delta- \operatorname{Reg}_T(\mathcal{A};u_{1:T}) shows that sufficiently small expected regret yields large expected learner gain on planted instances with substantial comparator advantage. The next lemma averages independent learner runs on the same loss sequence to turn this separation into a reliable polynomial-time test. Its proof appears in Appendix § 8.§ 3.

Lemma 5.6. Suppose a polynomial-time reduction produces T=poly⁡(N)T = \operatorname{poly}(N) losses in [0,1/2][0,1/2], and let SN→∞S_N \to\infty be a known threshold. Assume E0[eG]≤1\mathbb{E}_0[e^G] \le1 under the null model and that, with probability 1−oN(1)1-o_N(1) under the planted model, a comparator has advantage Δ≥SN\Delta\ge S_N. A randomized polynomial-time learner with expected regret at most SN/4S_N/4 against that comparator on every instance in this event yields a randomized polynomial-time test distinguishing the models with probability 1−oN(1)1-o_N(1).

We finally conclude with the proof of Theorem 5.3, which combines the above lemmas to give the desired lower bound.

Proof of Theorem 5.3. Suppose a randomized polynomial-time learner guarantees O~(kadb)\widetilde{O}(k^a d^b) expected regret uniformly over instances with k=Θ(d)k=\Theta(d), for fixed a,b≥0a,b\ge0 with a+b<3/2a+b<3/2. Choose ε>0\varepsilon>0 such that a+b<3/2−εa+b<3/2-\varepsilon, and choose

β∈(max⁡{13,12+ε},12).\beta\in\left(\max\left\{\frac{1}{3},\frac{1}{2+\varepsilon}\right\},\frac{1}{2}\right).

By Lemma 5.4, on its high-probability event the comparator uses two points and makes at most kk switches, where kk is a sufficiently large constant multiple of q2q^2. Since d=q2d=q^2 and q=Θ(Nβ)q=\Theta(N^\beta), these instances satisfy k=Θ(d)k=\Theta(d) and T=Θ(N3d)=Θ(d1+3/(2β))T=\Theta(N^3d)=\Theta(d^{1+3/(2\beta)}). Thus the assumed guarantee applies and is O~(da+b)\widetilde{O}(d^{a+b}). Moreover, N=Θ(d1/(2β))N=\Theta(d^{1/(2\beta)}) and 1/β<2+ε1/\beta<2+\varepsilon give

SN=cq7N2=Θ(d7/2−1/β),72−1β>32−ε>a+b.S_N=c\frac{q^7}{N^2}=\Theta\left(d^{7/2-1/\beta}\right),\qquad\frac{7}{2}-\frac{1}{\beta}>\frac{3}{2}-\varepsilon>a+b.

Consequently, the assumed regret guarantee is o(SN)o(S_N). For all sufficiently large NN, it is at most SN/4S_N/4. Lemma 5.6 then yields a randomized polynomial-time test for 4-HPC, contradicting Conjecture 5.1. □\square

Conclusion and Future Work

We studied online convex optimization against comparators that switch at most kk times among mm distinct decisions. Unrestricted algorithms achieve O~(md+k)\widetilde{O}(md+k) regret, whereas existing efficient methods achieve O~(kd)\widetilde{O}(kd). Assuming rr-HPC for every fixed r≥4r\ge4, we rule out randomized polynomial-time algorithms guaranteeing O~(kadb)\widetilde{O}(k^a d^b) expected regret uniformly for k=Θ(dθ)k=\Theta(d^\theta) whenever θ>0\theta>0 is fixed and rational and a,b≥0a,b\ge0 are fixed with θa+b<θ+1/2\theta a+b<\theta+1/2, even for m=2m=2.

An immediate question is to determine the optimal polynomial-time regret by closing the gap between our computational lower bound and the O~(kd)\widetilde{O}(kd) upper bound. A second direction is to characterize the curvature and structural assumptions under which recurrence can be exploited efficiently. Strongly convex losses already admit dimension-free guarantees without exploiting recurrence. Understanding when recurrence yields additional improvements may clarify the computational limits of learning against recurring comparators in online convex optimization.

AI Disclosure

GPT-6 Astra was used to explore lower bounds for the tracking-regret problem. In response to a prompt from one of the authors, the model proposed the central idea of a reduction from hypergraphic planted clique. The initial bound was weaker than the one presented here. Through further interaction with the model, the authors refined the argument and strengthened the bound to obtain the result in Theorems 5.3 and 5.2. The authors verified the correctness of the final result.

OpenAI Codex was also used to help revise the exposition and presentation of proofs. The authors take full responsibility for all content of the paper, including its correctness, originality, attribution, and citations.

Proofs and Generalization of the Hardness Reduction

We first give the full proofs of Lemmas 5.4–5.6, then extend the construction to prove Theorem 5.2.

Proof of Lemma 5.4

We give an expanded proof of the planted-signal lemma for the four-uniform construction. The argument has two sources of randomness: the choice of the planted clique, which determines how many useful blocks and coordinates there are, and the unforced hyperedges, which determine the fluctuations of the comparator’s gain.

Proof. Recall that q=⌊Nβ⌋q = \lfloor N^\beta\rfloor with β∈(1/3,1/2)\beta\in(1/3,1/2), d=q2d = q^2, and

∣V3∣=d,∣V1∣,∣V2∣,∣V4∣=Θ(N).|V_3| = d,\qquad|V_1|, |V_2|, |V_4| = \Theta(N).

The planted clique CC is a uniformly random qq-subset of [N][N]. Write Cs=C∩VsC_s = C \cap V_s and qs=∣Cs∣q_s = |C_s| for s∈[4]s \in[4]. The comparator uses the two points

u(0)=0,u(1)=γ1C3,γ=q2N.u^{(0)} = 0,\qquad u^{(1)} = \gamma1_{C_3},\qquad\gamma= \frac{q}{2N}.

It plays u(1)u^{(1)} throughout block (i,j)(i,j) if (i,j)∈C1×C2(i,j) \in C_1 \times C_2, and plays u(0)u^{(0)} throughout every other block. We call the former blocks active.

Step 1: Concentration of the clique intersections. For each s∈[4]s \in[4], the variable qsq_s is hypergeometric, with mean

μs:=E[qs]=q∣Vs∣N.\mu_s := \mathbb{E}[q_s] = \frac{q|V_s|}{N}.

Indeed, each vertex of VsV_s belongs to the uniformly chosen clique with probability q/Nq/N. The multiplicative Chernoff bound for sampling without replacement gives

Pr⁡(qs<μs/2)≤e−μs/8,Pr⁡(qs>2μs)≤e−μs/3.\Pr(q_s < \mu_s/2) \le e^{-\mu_s/8},\qquad\Pr(q_s > 2\mu_s) \le e^{-\mu_s/3}.

Define the event

E:={q∣Vs∣2N≤qs≤2q∣Vs∣N for every s∈[4]}.\mathcal{E} := \left\{\frac{q|V_s|}{2N} \le q_s \le\frac{2q|V_s|}{N}\text{ for every }s \in[4]\right\}.

A union bound, which does not require the four intersection sizes to be independent, yields

Pr⁡(Ec)≤2∑s=14e−μs/8≤8e−min⁡sμs/8=oN(1).\Pr(\mathcal{E}^{c}) \le2\sum_{s=1}^{4}e^{-\mu_s/8} \le8e^{-\min_s\mu_s/8} = o_N(1).

To justify the last equality, the means for s=1,2,4s = 1,2,4 are Θ(q)\Theta(q), while

μ3=qdN=q3N=Θ(N3β−1)⟶∞.\mu_3 = \frac{qd}{N} = \frac{q^3}{N} = \Theta(N^{3\beta-1}) \longrightarrow\infty.

Thus every mean tends to infinity. This explains the assumption β>1/3\beta> 1/3: it ensures concentration even for the smaller coordinate part V3V_3.

For the next steps, fix any clique CC satisfying E\mathcal{E}. All expectations and probabilities conditional on CC are over the remaining randomness of the hypergraph. On this event,

q1,q2,q4=Θ(q),q3=Θ(q3N).q_1,q_2,q_4 = \Theta(q),\qquad q_3 = \Theta\left(\frac{q^3}{N}\right).

The constants in these estimates can be chosen uniformly over all such cliques.

Step 2: Feasibility and number of switches. The origin is feasible, and the other point satisfies

∥u(1)∥2=γq3≤γd=q22N⟶0,\lVert u^{(1)} \rVert_2 = \gamma\sqrt{q_3} \le\gamma\sqrt{d} = \frac{q^2}{2N} \longrightarrow0,

where the limit uses β<1/2\beta< 1/2. Hence both points lie in B2dB_2^d for sufficiently large NN.

There are exactly q1q2=Θ(q2)q_1q_2 = \Theta(q^2) active blocks. The comparator is constant within each block, so a switch can occur only at a block boundary. Each active block can account for at most two switches, one on entering it and one on leaving it. Consecutive active blocks require no switch between them. Consequently, the total number of switches is at most 2q1q2=O(q2)2q_1q_2 = O(q^2). In fact, this upper bound holds for every clique, since q1,q2≤qq_1,q_2 \le q.

Step 3: Gain for a fixed active block and coordinate. Outside active blocks, the comparator equals the origin and its gain is zero. On an active block, a round with ℓ∉C3\ell\notin C_3 also has zero gain, because uℓ(1)=0u^{(1)}_\ell= 0 and the loss depends only on coordinate ℓ\ell. Thus only triples (i,j,ℓ)∈C1×C2×C3(i,j,\ell) \in C_1 \times C_2 \times C_3 contribute to

Δ=∑t=1T(ft(0)−ft(ut)).\Delta= \sum_{t=1}^{T}(f_t(0)-f_t(u_t)).

Fix one such triple. For every v∈V4v \in V_4, expanding the square gives

fijℓv(0)−fijℓv(u(1))=18(Yijℓv2−(γ−Yijℓv)2)=γYijℓv4−γ28.f_{ij\ell v}(0)-f_{ij\ell v}(u^{(1)}) = \frac{1}{8}\left(Y_{ij\ell v}^{2}-(\gamma-Y_{ij\ell v})^{2}\right) = \frac{\gamma Y_{ij\ell v}}{4}-\frac{\gamma^2}{8}.

If v∈C4v \in C_4, all four vertices lie in CC, so the hyperedge is forced to be present and Yijℓv=1Y_{ij\ell v}=1. If v∉C4v \notin C_4, the hyperedge is not forced; conditional on CC, its label is an unbiased sign. Therefore

E[Yijℓv∣C]={1,v∈C4,0,v∉C4.\mathbb{E}[Y_{ij\ell v}\mid C] = \begin{cases} 1, & v \in C_4,\\ 0, & v \notin C_4. \end{cases}

Summing over the ∣V4∣|V_4| rounds for this triple, we obtain

E[∑v∈V4(fijℓv(0)−fijℓv(u(1)))∣C]=γq44−γ2∣V4∣8≥γ2∣V4∣8=q2∣V4∣32N2=Ω(q2N).\begin{aligned} \mathbb{E}\left[\left.\sum_{v\in V_4}\left(f_{ij\ell v}(0)-f_{ij\ell v}(u^{(1)})\right)\right| C\right] = \frac{\gamma q_4}{4}-\frac{\gamma^2|V_4|}{8} \\ &\ge\frac{\gamma^2|V_4|}{8} \\ &= \frac{q^2|V_4|}{32N^2} = \Omega\left(\frac{q^2}{N}\right). \end{aligned}

The inequality follows from q4≥q∣V4∣/(2N)=γ∣V4∣q_4 \ge q|V_4|/(2N)=\gamma|V_4|, which holds on E\mathcal{E}. The positive bias from the forced hyperedges therefore outweighs the quadratic penalty paid on all rounds. This is a statement about the sum in expectation; an individual round with label −1-1 has negative gain.

Step 4: Total expected gain. There are

MC:=q1q2q3=Θ(q2) Θ(q3N)=Θ(q5N)M_C := q_1q_2q_3 = \Theta(q^2)\,\Theta\left(\frac{q^3}{N}\right) = \Theta\left(\frac{q^5}{N}\right)

contributing triples. By linearity of expectation,

μC:=E[Δ∣C]=MC(γq44−γ2∣V4∣8)≥MCq2∣V4∣32N2≥c0q7N2\begin{aligned} \mu_C := \mathbb{E}[\Delta\mid C] = M_C\left(\frac{\gamma q_4}{4} - \frac{\gamma^2|V_4|}{8}\right) \\ &\ge M_C\frac{q^2|V_4|}{32N^2} \ge c_0\frac{q^7}{N^2} \end{aligned}

for a constant c0>0c_0 > 0 independent of NN and of the clique satisfying E\mathcal{E}. In particular, the power q7/N2q^7/N^2 comes from multiplying the number of active blocks, the number of clique coordinates, and the expected gain for each such pair:

Θ(q2)⏟active blocksΘ(q3/N)⏟clique coordinatesΩ(q2/N)⏟gain per pair=Ω(q7N2).\underbrace{\Theta(q^2)}_{\text{active blocks}}\quad \underbrace{\Theta(q^3/N)}_{\text{clique coordinates}}\quad \underbrace{\Omega(q^2/N)}_{\text{gain per pair}} = \Omega\left(\frac{q^7}{N^2}\right).

Step 5: Concentration of the total gain. It remains to show that the realized gain is unlikely to fall far below its conditional mean. Define

IC:=C1×C2×C3×(V4∖C4),nC:=∣IC∣.I_C := C_1 \times C_2 \times C_3 \times(V_4 \setminus C_4),\qquad n_C := |I_C|.

Conditional on CC, both the gain from forced edges and all quadratic penalty terms are deterministic. Hence

Δ−μC=∑(i,j,ℓ,v)∈ICγYijℓv4.\Delta-\mu_C=\sum_{(i,j,\ell,v)\in I_C}\frac{\gamma Y_{ij\ell v}}{4}.

Every summand has mean zero and takes values in {−γ/4,γ/4}\{-\gamma/4,\gamma/4\}. These summands are independent conditional on CC: they correspond to unforced hyperedges, and distinct tuples give distinct hyperedges because the four partition parts are disjoint. Their number satisfies

nC=MC(∣V4∣−q4)≤MC∣V4∣=O(q5).n_C=M_C(|V_4|-q_4)\le M_C|V_4|=O(q^5).

When nC>0n_C>0, Hoeffding’s inequality gives, for every a>0a>0,

Pr⁡(Δ−μC≤−a∣C)≤exp⁡(−2a2nC(γ/2)2)=exp⁡(−8a2nCγ2).\Pr(\Delta-\mu_C\le-a\mid C)\le\exp\left(-\frac{2a^2}{n_C(\gamma/2)^2}\right)=\exp\left(-\frac{8a^2}{n_C\gamma^2}\right).

The denominator uses the squared range length of each summand, which is (γ/2)2(\gamma/2)^2. If nC=0n_C=0, then Δ=μC\Delta=\mu_C deterministically and no concentration bound is needed.

Choose c=c0/2c=c_0/2 and set SN=cq7/N2S_N=cq^7/N^2. Since μC≥c0q7/N2\mu_C\ge c_0q^7/N^2, we have SN≤μC/2S_N\le\mu_C/2. Using a=μC/2a=\mu_C/2 in the preceding bound yields

Pr⁡(Δ<SN∣C)≤Pr⁡(Δ−μC≤−μC/2∣C)≤exp⁡(−2μC2nCγ2)≤exp⁡(−Ω((q7/N2)2q5(q2/N2)))=exp⁡(−Ω(q7N2))=oN(1).\begin{aligned} \Pr(\Delta<S_N\mid C)\le\Pr(\Delta-\mu_C\le-\mu_C/2\mid C) \\ &\le\exp\left(-\frac{2\mu_C^2}{n_C\gamma^2}\right) \\ &\le\exp\left(-\Omega\left(\frac{(q^7/N^2)^2}{q^5(q^2/N^2)}\right)\right) \\ &=\exp\left(-\Omega\left(\frac{q^7}{N^2}\right)\right)=o_N(1). \end{aligned}

Here γ2=q2/(4N2)\gamma^2=q^2/(4N^2), and q7/N2=Θ(N7β−2)→∞q^7/N^2=\Theta(N^{7\beta-2})\to\infty because β>1/3\beta>1/3. The bound is uniform over cliques satisfying E\mathcal{E}. Averaging over those cliques and adding the probability of Ec\mathcal{E}^c therefore gives

Pr⁡(Δ<SN)≤Pr⁡(Ec)+exp⁡(−Ω(q7N2))=oN(1).\Pr(\Delta<S_N)\le\Pr(\mathcal{E}^c)+\exp\left(-\Omega\left(\frac{q^7}{N^2}\right)\right)=o_N(1).

Together with feasibility and the switch bound, this proves Lemma 5.4.

Proof of Lemma 5.5

We expand the exponential-moment argument, including the conditioning needed for a randomized learner. The key point is that each new label remains an unbiased sign after the learner has chosen its current decision, even though that decision may depend on all earlier labels.

Proof. Consider the losses

ft(x)=18(xℓt−Yt)2f_t(x) = \frac{1}{8}(x_{\ell_t} - Y_t)^2

and let Ht\mathcal{H}_t be the information available just before YtY_t is revealed, including the learner’s history, its current decision xtx_t, and the coordinate ℓt\ell_t. Thus bt:=xt,ℓtb_t := x_{t,\ell_t} is Ht\mathcal{H}_t-measurable. For a randomized learner, conditioning on xtx_t includes the outcome of its random choice for this round; we will average over that choice when taking unconditional expectations.

Under the hypothesis of the lemma,

Pr⁡0(Yt=1∣Ht)=Pr⁡0(Yt=−1∣Ht)=12.\Pr_0(Y_t = 1 \mid\mathcal{H}_t) = \Pr_0(Y_t = -1 \mid\mathcal{H}_t) = \frac{1}{2}.

In our reduction, this property follows from the independence of hyperedges under the null model and the fact that each round queries a previously unqueried hyperedge. In particular, observing past losses does not reveal the next label.

Step 1: Express the gain on one round. Since Yt2=1Y_t^2 = 1, the origin has loss ft(0)=1/8f_t(0) = 1/8. Expanding the square gives

gt:=ft(0)−ft(xt)=18(Yt2−(bt−Yt)2)=btYt4−bt28.g_t := f_t(0) - f_t(x_t) = \frac{1}{8}\left(Y_t^2 - (b_t - Y_t)^2\right) = \frac{b_tY_t}{4} - \frac{b_t^2}{8}.

Consequently,

E0[gt∣Ht]=−bt28≤0.\mathbb{E}_0[g_t \mid\mathcal{H}_t] = -\frac{b_t^2}{8} \le0.

The linear term is a mean-zero random reward, while the quadratic term is a deterministic penalty once the prediction has been chosen. Nonpositive expected gain alone does not give the desired exponential upper-tail bound, so we next control the exponential moment of gtg_t.

Step 2: Bound the conditional exponential moment. Averaging over the two equally likely values of YtY_t yields

E0[egt∣Ht]=12ebt/4−bt2/8+12e−bt/4−bt2/8=e−bt2/8cosh⁡(bt/4),\mathbb{E}_0[e^{g_t} \mid\mathcal{H}_t] = \frac{1}{2}e^{b_t/4-b_t^2/8} + \frac{1}{2}e^{-b_t/4-b_t^2/8} = e^{-b_t^2/8}\cosh(b_t/4),

where cosh⁡(z)=(ez+e−z)/2\cosh(z) = (e^z + e^{-z})/2. For every real zz,

cosh⁡(z)=∑j=0∞z2j(2j)!≤∑j=0∞(z2/2)jj!=ez2/2.\cosh(z) = \sum_{j=0}^{\infty}\frac{z^{2j}}{(2j)!} \le\sum_{j=0}^{\infty}\frac{(z^2/2)^j}{j!} = e^{z^2/2}.

The termwise inequality uses (2j)!≥2jj!(2j)! \ge2^j j! and z2j≥0z^{2j} \ge0. Substituting z=bt/4z = b_t/4 gives

E0[egt∣Ht]≤e−bt2/8+bt2/32=e−3bt2/32≤1.\mathbb{E}_0[e^{g_t} \mid\mathcal{H}_t] \le e^{-b_t^2/8+b_t^2/32} = e^{-3b_t^2/32} \le1.

This bound holds for every realized history and every current decision, so it allows arbitrary adaptive and randomized choices by the learner.

Step 3: Iterate the conditional bound. Define

G0=0,Gt=∑s=1tgs,G=GT.G_0=0,\qquad G_t=\sum_{s=1}^{t}g_s,\qquad G=G_T.

The accumulated gain Gt−1G_{t-1} is known given Ht\mathcal{H}_t. Since Gt=Gt−1+gtG_t=G_{t-1}+g_t, the tower property gives

E0[eGt]=E0[E0[eGt−1egt∣Ht]]=E0[eGt−1E0[egt∣Ht]]≤E0[eGt−1].\mathbb{E}_0[e^{G_t}] =\mathbb{E}_0\left[\mathbb{E}_0\left[e^{G_{t-1}}e^{g_t}\mid\mathcal{H}_t\right]\right] =\mathbb{E}_0\left[e^{G_{t-1}}\mathbb{E}_0\left[e^{g_t}\mid\mathcal{H}_t\right]\right] \leq\mathbb{E}_0[e^{G_{t-1}}].

Iterating this inequality from t=Tt=T down to t=1t=1 yields

E0[eG]≤E0[eGT−1]≤⋯≤E0[eG0]=1.\mathbb{E}_0[e^G]\leq\mathbb{E}_0[e^{G_{T-1}}]\leq\cdots\leq\mathbb{E}_0[e^{G_0}]=1.

The gains gtg_t need not be independent, since the learner can adapt to previous outcomes. Conditioning at each round is what makes the iteration valid despite this dependence. All expectations are finite because the losses lie in [0,1/2][0,1/2] and the horizon is finite.

Step 4: Derive the upper-tail bound. The exponential is increasing and eGe^G is nonnegative. Markov’s inequality therefore gives, for every real zz,

Pr⁡0(G≥z)=Pr⁡0(eG≥ez)≤E0[eG]ez≤e−z.\Pr_0(G\geq z)=\Pr_0(e^G\geq e^z)\leq\frac{\mathbb{E}_0[e^G]}{e^z}\leq e^{-z}.

In particular, for any δ∈(0,1)\delta\in(0,1), the probability that the learner gains at least log⁡(1/δ)\log(1/\delta) over the origin is at most δ\delta, independently of the horizon TT. This proves both conclusions of Lemma 5.5. □\square

Proof of Lemma 5.6

Proof. Let EN\mathcal{E}_N be the planted event in the statement. For every fixed instance in EN\mathcal{E}_N, the identity G=Δ−Reg⁡T(A;u1:T)G=\Delta-\operatorname{Reg}_T(\mathcal{A};u_{1:T}) gives E[G]≥3SN/4\mathbb{E}[G]\geq3S_N/4, where the expectation is over the learner’s randomness. Run J=⌈64T2SN−2log⁡N⌉J=\lceil64T^2S_N^{-2}\log N\rceil independent copies on the same loss sequence, and set G‾=J−1∑j=1JG(j)\overline{G}=J^{-1}\sum_{j=1}^{J}G^{(j)}. Since each gain lies in [−T/2,T/2][-T/2,T/2], Hoeffding’s inequality, applied to each fixed instance in EN\mathcal{E}_N, gives

Pr⁡1(G‾<SN/2∣EN)≤exp⁡(−JSN28T2)≤N−8.\Pr_1(\overline{G}<S_N/2\mid\mathcal{E}_N)\leq\exp\left(-\frac{JS_N^2}{8T^2}\right)\leq N^{-8}.

Under the null model, convexity of the exponential gives

E0[eG‾]≤1J∑j=1JE0[eG(j)]≤1,Pr⁡0(G‾≥SN/2)≤e−SN/2=oN(1),\mathbb{E}_0[e^{\overline{G}}]\leq\frac{1}{J}\sum_{j=1}^{J}\mathbb{E}_0[e^{G^{(j)}}]\leq1,\qquad\Pr_0(\overline{G}\geq S_N/2)\leq e^{-S_N/2}=o_N(1),

where the probability bound follows from Markov’s inequality. Thus the test that outputs planted exactly when G‾≥SN/2\overline{G}\geq S_N/2 succeeds with probability 1−oN(1)1-o_N(1) in both models. Since SN→∞S_N\to\infty and TT is polynomial in NN, JJ is polynomially bounded, so the test runs in randomized polynomial time. □\square

Generalized construction and proof of Theorem 5.2

We extend the construction for Theorem 5.3 to prove Theorem 5.2. As in the main text, we first describe the reduction and establish its planted-signal lemma, then combine it with the two general lemmas from the main text to prove the theorem. Throughout, fix positive integers pp, ss, and set

h=⌊s2⌋+1,r=p+s+h.h=\left\lfloor\frac{s}{2}\right\rfloor+1,\qquad r=p+s+h.

Fix β∈(1/3,1/2)\beta\in(1/3,1/2) such that β(p+3s+2h)>s+h\beta(p+3s+2h)>s+h. Such a choice is possible because p+3s+2h>2(s+h)p+3s+2h>2(s+h). Let q=⌊Nβ⌋q=\lfloor N^\beta\rfloor and d=q2sd=q^{2s}. The additional condition ensures that the planted advantage tends to infinity.

Reduction construction. We reduce rr-HPC with planted-clique size qq to OCO. The rr hyperedge indices are divided into three groups: pp indices determine the comparator’s switching pattern, ss indices jointly index the OCO coordinates, and hh indices provide repeated observations of each coordinate. Partition [N][N] deterministically as

[N]=B1⊔⋯⊔Bp⊔D1⊔⋯⊔Ds⊔W1⊔⋯⊔Wh,[N]=B_1\sqcup\cdots\sqcup B_p\sqcup D_1\sqcup\cdots\sqcup D_s\sqcup W_1\sqcup\cdots\sqcup W_h,

where ∣Dj∣=q2|D_j|=q^2 for every j∈[s]j\in[s], and split the remaining vertices evenly among the BaB_a and WcW_c. Since q2=o(N)q^2=o(N) and pp, ss, hh are fixed, ∣Ba∣,∣Wc∣=Θ(N)|B_a|,|W_c|=\Theta(N).

Identify the coordinates of Rd\mathbb{R}^d with ∏i=1sDi\prod_{i=1}^sD_i whose cardinality is q2s=dq^{2s}=d. For each i=(i1,…,ip)∈∏i=1pBi\boldsymbol{i}=(i_1,\ldots,i_p)\in\prod_{i=1}^pB_i create one block containing one round for every ℓ=(ℓ1,…,ℓs)∈∏i=1sDi\boldsymbol{\ell}=(\ell_1,\ldots,\ell_s)\in\prod_{i=1}^sD_i and v=(v1,…,vh)∈∏i=1hWi\boldsymbol{v}=(v_1,\ldots,v_h)\in\prod_{i=1}^hW_i. On this round let

Yi,ℓ,v={+1,if {i1,…,ip,ℓ1,…,ℓs,v1,…,vh}∈E(H),−1,otherwise,fi,ℓ,v(x)=18(xℓ−Yi,ℓ,v)2.Y_{\boldsymbol{i},\boldsymbol{\ell},\boldsymbol{v}}= \begin{cases} +1,&\text{if }\{i_1,\ldots,i_p,\ell_1,\ldots,\ell_s,v_1,\ldots,v_h\}\in E(H),\\ -1,&\text{otherwise,} \end{cases} \qquad f_{\boldsymbol{i},\boldsymbol{\ell},\boldsymbol{v}}(x)=\frac{1}{8}(x_{\boldsymbol{\ell}}-Y_{\boldsymbol{i},\boldsymbol{\ell},\boldsymbol{v}})^2.

Since the partition sets are disjoint, each hyperedge queried by the construction uniquely determines the tuple (i,ℓ,v)(\boldsymbol{i},\boldsymbol{\ell},\boldsymbol{v}), so every queried hyperedge is distinct. Thus T=Θ(Np+hd)T=\Theta(N^{p+h}d). Moreover,

∇f(x)=xℓ−Y4eℓ,∇2f(x)=14eℓeℓT,\nabla f(x)=\frac{x_{\ell}-Y}{4}e_{\ell},\qquad\nabla^2f(x)=\frac{1}{4}e_{\ell}e_{\ell}^{\mathsf T},

so

∇2f(x)−∇f(x)∇f(x)T=4−(xℓ−Y)216eℓeℓT⪰0.\nabla^2f(x)-\nabla f(x)\nabla f(x)^{\mathsf T} =\frac{4-(x_{\ell}-Y)^2}{16}e_{\ell}e_{\ell}^{\mathsf T}\succeq0.

Hence the losses are 11-exp-concave on B2dB_2^d, bounded in [0,1/2][0,1/2], with gradient norm at most 1/21/2.

Comparator and gain. Now suppose H∼H1(r)(N,q)H\sim H_1^{(r)}(N,q) with planted clique CC. Define

CBa:=C∩Ba,CDj:=C∩Dj,CWc:=C∩Wc,C_{B_a}:=C\cap B_a,\qquad C_{D_j}:=C\cap D_j,\qquad C_{W_c}:=C\cap W_c,

and let CD:=∏i=1sCDiC_D:=\prod_{i=1}^sC_{D_i}. Set

u(0)=0,u(1)=γ1CD,γ=(q2N)h.u^{(0)}=0,\qquad u^{(1)}=\gamma\mathbf{1}_{C_D},\qquad\gamma=\left(\frac{q}{2N}\right)^h.

Construct a comparator that takes the value u(1)u^{(1)} on block i\boldsymbol{i} whenever i∈∏i=1pCBi\boldsymbol{i}\in\prod_{i=1}^pC_{B_i}, and takes the value u(0)u^{(0)} otherwise. Define the comparator’s advantage and the learner’s observable gain by

Δ=∑t=1T(ft(0)−ft(ut)),Gt=∑τ=1t(fτ(0)−fτ(xτ)),G=GT.\Delta=\sum_{t=1}^{T}\bigl(f_t(0)-f_t(u_t)\bigr),\qquad G_t=\sum_{\tau=1}^{t}\bigl(f_\tau(0)-f_\tau(x_\tau)\bigr),\qquad G=G_T.

The following lemmas concern this construction. We first verify the comparator’s feasibility, switch count, and planted advantage.

Lemma A.1. Under H∼H1(r)(N,q)H \sim H_{1}^{(r)}(N,q), with probability 1−oN(1)1-o_N(1), the comparator u1:Tu_{1:T} takes values in B2dB_{2}^{d}, makes O(qp)O(q^{p}) switches, and satisfies

Δ=∑t=1T(ft(0)−ft(ut))≥cqp+3s+2hNs+h=:SN\Delta=\sum_{t=1}^{T}\left(f_t(0)-f_t(u_t)\right)\ge c\frac{q^{p+3s+2h}}{N^{s+h}}=:S_N

for some constant c>0c>0.

Proof. Since CC is a uniformly random qq-subset of [N][N], E[∣C∩V∣]=q∣V∣/N\mathbb{E}[|C\cap V|]=q|V|/N for each partition part VV. Thus, the expected sizes of CBaC_{B_a} and CWcC_{W_c} are Θ(q)\Theta(q), and those of CDjC_{D_j} are Θ(q3/N)→∞\Theta(q^3/N)\to\infty because β>1/3\beta>1/3. A Chernoff bound therefore gives, with probability 1−oN(1)1-o_N(1),

q∣V∣2N≤∣C∩V∣≤2q∣V∣N\frac{q|V|}{2N}\le|C\cap V|\le\frac{2q|V|}{N}

for every partition part VV.

Condition on a clique CC satisfying this event. In particular, ∣CBa∣,∣CWc∣=Θ(q)|C_{B_a}|,|C_{W_c}|=\Theta(q) and ∣CD∣=Θ(q3s/Ns)|C_D|=\Theta(q^{3s}/N^s). Moreover,

∥u(1)∥22=γ2∣CD∣≤2s−2hq2h+3sN2h+s≤Ns/2−h=oN(1),\left\|u^{(1)}\right\|_2^2=\gamma^2|C_D|\le2^{s-2h}\frac{q^{2h+3s}}{N^{2h+s}}\le N^{s/2-h}=o_N(1),

where β<1/2\beta<1/2 gives q≤N1/2q\le N^{1/2}, and h>s/2h>s/2. Thus both comparator points lie in B2dB_2^d for sufficiently large NN. There are ∏a=1p∣CBa∣=Θ(qp)\prod_{a=1}^{p}|C_{B_a}|=\Theta(q^p) active blocks, so the comparator makes O(qp)O(q^p) switches.

Outside active blocks the comparator is the origin, and outside CDC_D its coordinates are zero. Thus only active block–planted-coordinate pairs contribute to Δ\Delta. Write W=∏c=1hWc\mathcal{W}=\prod_{c=1}^{h}W_c, MW=∏c=1h∣CWc∣M_W=\prod_{c=1}^{h}|C_{W_c}|, and LW=∣W∣L_W=|\mathcal{W}|. For each such pair (i,ℓ)(i,\ell),

E[∑v∈W(fi,ℓ,v(0)−fi,ℓ,v(u(1)))∣C]=E[∑v∈W(γYi,ℓ,v4−γ28)∣C]\mathbb{E}\left[\left.\sum_{v\in\mathcal{W}}\left(f_{i,\ell,v}(0)-f_{i,\ell,v}(u^{(1)})\right)\right|C\right] =\mathbb{E}\left[\left.\sum_{v\in\mathcal{W}}\left(\frac{\gamma Y_{i,\ell,v}}{4}-\frac{\gamma^2}{8}\right)\right|C\right]
=γMW4−γ2LW8≥γ2LW8=Ω(q2hNh),=\frac{\gamma M_W}{4}-\frac{\gamma^2L_W}{8}\ge\frac{\gamma^2L_W}{8}=\Omega\left(\frac{q^{2h}}{N^h}\right),

where the concentration event gives MW≥(q/2N)hLW=γLWM_W\ge(q/2N)^hL_W=\gamma L_W. Since there are (∏a=1p∣CBa∣)∣CD∣=Θ(qp+3s/Ns)(\prod_{a=1}^{p}|C_{B_a}|)|C_D|=\Theta(q^{p+3s}/N^s) such pairs, some constant c0>0c_0>0 satisfies

μC:=E[Δ∣C]≥c0qp+3s+2hNs+h.\mu_C:=\mathbb{E}[\Delta\mid C]\ge c_0\frac{q^{p+3s+2h}}{N^{s+h}}.

Conditional on CC, the random part of Δ\Delta is a sum of at most O(qp+3sNh−s)O(q^{p+3s}N^{h-s}) independent terms, each taking values in {−γ/4,γ/4}\{-\gamma/4,\gamma/4\}. Choose c=c0/2c=c_0/2. Hoeffding’s inequality then gives

Pr⁡(Δ<cqp+3s+2hNs+h∣C)≤exp⁡(−Ω((qp+3s+2h/Ns+h)2qp+3sNh−sγ2))\Pr\left(\left.\Delta<c\frac{q^{p+3s+2h}}{N^{s+h}}\right|C\right) \le\exp\left(-\Omega\left(\frac{(q^{p+3s+2h}/N^{s+h})^2}{q^{p+3s}N^{h-s}\gamma^2}\right)\right)
=exp⁡(−Ω(qp+3s+2hNs+h))=oN(1).=\exp\left(-\Omega\left(\frac{q^{p+3s+2h}}{N^{s+h}}\right)\right)=o_N(1).

The final equality follows from β>(s+h)/(p+3s+2h)\beta>(s+h)/(p+3s+2h), which ensures qp+3s+2h/Ns+h→∞q^{p+3s+2h}/N^{s+h}\to\infty. Combining this with the concentration event proves the claim.

The remaining steps use Lemmas 5.5 and 5.6 directly. The losses have the same coordinate-quadratic form, and distinct queried hyperedges give fresh unbiased signs under the null model. The planted event is supplied by Lemma A.1; moreover, SN→∞S_N\to\infty by the condition on β\beta, and the reduction has polynomial length and running time for fixed pp, ss, hh.

Proof of Theorem 5.2. Suppose a randomized polynomial-time learner guarantees O~(kadb)\widetilde{O}(k^{a}d^{b}) expected regret uniformly over instances with k=Θ(dθ)k = \Theta(d^{\theta}), for a fixed rational θ>0\theta> 0 and fixed a,b≥0a, b \ge0 satisfying θa+b<θ+1/2\theta a + b < \theta+ 1/2. Choose positive integers p,sp, s with p/(2s)=θp/(2s) = \theta. Then the hypothesis gives

pa+2sb=2s(θa+b)<2s(θ+1/2)=p+s.pa + 2sb = 2s(\theta a + b) < 2s(\theta+ 1/2) = p + s.

Set h=⌈s/2⌉+1h = \lceil s/2\rceil+ 1 and r=p+s+h≥4r = p + s + h \ge4, and choose

β∈(max⁡{13,s+hp+3s+2h−pa−2sb},12).\beta\in\left(\max\left\{\frac{1}{3}, \frac{s + h}{p + 3s + 2h - pa - 2sb}\right\}, \frac{1}{2}\right).

This interval is nonempty because p+3s+2h−pa−2sb>2(s+h)p + 3s + 2h - pa - 2sb > 2(s + h). It also satisfies the condition on β\beta used in the construction.

By Lemma A.1, on its high-probability event the comparator uses two points and makes at most kk switches, where kk is a sufficiently large constant multiple of qpq^{p}. Since d=q2sd = q^{2s}, we have k=Θ(dp/(2s))=Θ(dθ)k = \Theta(d^{p/(2s)}) = \Theta(d^{\theta}). Moreover, q=Θ(Nβ)q = \Theta(N^{\beta}) gives T=Θ(Np+hd)=Θ(d1+(p+h)/(2sβ))T = \Theta(N^{p+h}d) = \Theta(d^{1+(p+h)/(2s\beta)}), which is polynomial in dd. Thus the assumed guarantee applies and is O~(qpa+2sb)\widetilde{O}(q^{pa+2sb}), whereas

SN=cqp+3s+2hNs+h,β(p+3s+2h−pa−2sb)>s+h.S_N = c\frac{q^{p+3s+2h}}{N^{s+h}}, \qquad\beta(p + 3s + 2h - pa - 2sb) > s + h.

Consequently, the assumed regret guarantee is o(SN)o(S_N). For all sufficiently large NN, it is at most SN/4S_N/4. Lemma 5.6 then yields a randomized polynomial-time test for rr-HPC, contradicting Conjecture 5.1. □\square

Follow-the-Leading-History and the Switching Bound

We recall the pruned Follow-the-Leading-History (FLH) algorithm of Hazan and Seshadhri [9], used in Theorem 4.1. Each expert EiE_i is a fresh copy of the base learner B\mathcal{B}, initialized at round ii and trained only on subsequent losses.

Pruning schedule. Write i=2v(i)qi = 2^{v(i)}q with qq odd, and set Li=2v(i)+2+1L_i = 2^{v(i)+2} + 1. The active set on round tt is

St={i∈[t]:t≤i+Li}.S_t = \{i \in[t] : t \le i + L_i\}.

Thus experts are discarded after their lifetimes expire. This schedule maintains O(log⁡T)O(\log T) active experts and satisfies

St∩[r,⌊r+t2⌋]≠∅for every 1≤r≤t.S_t \cap\left[r, \left\lfloor\frac{r+t}{2}\right\rfloor\right] \ne\varnothing\qquad\text{for every } 1 \le r \le t.

Exp-concavity controls the aggregation cost, while the pruning schedule provides interval coverage with logarithmic computational overhead. The resulting adaptive-regret bound is stated in Theorem 4.1.

Algorithm 1 Pruned Follow-the-Leading-History (FLH)

  1. Input: Base Learner B\mathcal{B}, exp-concavity parameter α>0\alpha> 0, horizon TT

  2. Initialize E1←BE_1 \leftarrow\mathcal{B}, S1←{1}S_1 \leftarrow\{1\}, and p1(1)←1p_1^{(1)} \leftarrow1

  3. for t=1,…,Tt = 1, \ldots, T do

  4. Obtain xt(i)x_t^{(i)} from each EiE_i, i∈Sti \in S_t

  5. Play xt←∑i∈Stpt(i)xt(i)x_t \leftarrow\sum_{i \in S_t} p_t^{(i)} x_t^{(i)}

  6. Observe ftf_t and update every active EiE_i

  7. if t<Tt < T then

  8. Multiplicative update: For all i∈Sti \in S_t,

p^t+1(i)←pt(i)e−αft(xt(i))∑j∈Stpt(j)e−αft(xt(j))\widehat{p}_{t+1}^{(i)} \leftarrow\frac{p_t^{(i)} e^{-\alpha f_t(x_t^{(i)})}}{\sum_{j \in S_t} p_t^{(j)} e^{-\alpha f_t(x_t^{(j)})}}
  1. Addition: Initialize Et+1←BE_{t+1} \leftarrow\mathcal{B} and set

p~t+1(t+1)←1t+1,p~t+1(i)←tt+1p^t+1(i)(i∈St).\widetilde{p}_{t+1}^{(t+1)} \leftarrow\frac{1}{t+1}, \qquad\widetilde{p}_{t+1}^{(i)} \leftarrow\frac{t}{t+1}\widehat{p}_{t+1}^{(i)} \quad(i \in S_t).
  1. Pruning: Set St+1←{i∈St∪{t+1}:t+1≤i+Li}S_{t+1} \leftarrow\{i \in S_t \cup\{t+1\} : t+1 \le i + L_i\}

  2. Discard experts outside St+1S_{t+1} and set

pt+1(i)←p~t+1(i)∑j∈St+1p~t+1(j)(i∈St+1).p_{t+1}^{(i)} \leftarrow\frac{\widetilde{p}_{t+1}^{(i)}}{\sum_{j \in S_{t+1}} \widetilde{p}_{t+1}^{(j)}} \quad(i \in S_{t+1}).
  1. end if

  2. end for

Proof of the Switching Corollary

Proof of Corollary 4.2. Fix any comparator path u1:T∈Um,k(K)u_{1:T} \in\mathcal{U}_{m,k}(\mathcal{K}). Let I1,…,IsI_1, \ldots, I_s be its maximal constant segments, where s≤k+1s \le k + 1, and let vjv_j be its constant value on IjI_j. Since vjv_j is one possible fixed decision on IjI_j, the definition of adaptive regret gives

∑t∈Ij(ft(xt)−ft(vj))≤∑t∈Ijft(xt)−min⁡v∈K∑t∈Ijft(v)≤AReg⁡T(A).\sum_{t \in I_j} \left(f_t(x_t) - f_t(v_j)\right) \le\sum_{t \in I_j} f_t(x_t) - \min_{v \in\mathcal{K}} \sum_{t \in I_j} f_t(v) \le\operatorname{AReg}_T(\mathcal{A}).

Summing over the segments and considering the best comparator path in the set Um,k(K)\mathcal{U}_{m,k}(\mathcal{K}) gives the claimed bound. □\square

From a Hypergraph to an OCO Block

Figure 3 illustrates the four-uniform construction, tracing a tuple (i,j,ℓ,v)(i,j,\ell,v) from the hypergraph to its quadratic loss and its position in an active OCO block.

The positive bias on C3C_3 rows makes predicting γ\gamma profitable in expectation. On an inactive block, where (i,j)∉C1×C2(i,j)\notin C_1\times C_2, all labels are unbiased and the comparator plays the origin.

References

  1. [1]Noga Alon, Michael Krivelevich, and Benny Sudakov. Finding a large hidden clique in a random graph. Random Structures & Algorithms, 13(3–4):457–466, 1998. doi: 10.1002/(SICI)1098-2418(199810/12)13:3/4<457::AID-RSA14>3.0.CO;2-W.doi.org/10.1002/(sici)1098-2418(199810/12)13:3/4<457::aid-rsa14>3.0.co;2-w
  2. [2]Olivier Bousquet and Manfred K. Warmuth. Tracking a small set of experts by mixing past posteriors. Journal of Machine Learning Research, 3:363–396, 2002.DOI
  3. [3]Matthew Brennan and Guy Bresler. Reducibility and statistical-computational gaps from secret leakage. In Proceedings of the 33rd Conference on Learning Theory, volume 125 of Proceedings of Machine Learning Research, pages 648–847. PMLR, 2020.arxiv.org/abs/2005.08099
  4. [4]Nicolò Cesa-Bianchi, Pierre Gaillard, Gábor Lugosi, and Gilles Stoltz. Mirror descent meets fixed share (and feels no regret). In Advances in Neural Information Processing Systems, volume 25, pages 989–997, 2012.
  5. [5]Amit Daniely, Alon Gonen, and Shai Shalev-Shwartz. Strongly adaptive online learning. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pages 1405–1411. PMLR, 2015.arxiv.org/abs/1502.07073
  6. [6]András György and Csaba Szepesvári. Shifting regret, mirror descent, and matrices. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 2943–2951. PMLR, 2016.
  7. [7]Elad Hazan. Introduction to online convex optimization, 2023. URL https://arxiv.org/abs/1909.05207.
  8. [8]Elad Hazan and Robert Krauthgamer. How hard is it to approximate the best nash equilibrium? SIAM Journal on Computing, 40(1):79–91, 2011. doi: 10.1137/090766991. URL https://epubs.siam.org/doi/10.1137/090766991.DOI
  9. [9]Elad Hazan and C. Seshadhri. Efficient learning algorithms for changing environments. In Proceedings of the 26th Annual International Conference on Machine Learning, pages 393–400, 2009. doi: 10.1145/1533374.1553425.DOI
  10. [10]Elad Hazan, Amit Agarwal, and Satyen Kale. Logarithmic regret algorithms for online convex optimization. Machine Learning, 69(2–3):169–192, 2007.
  11. [11]Mark Herbster and Manfred K. Warmuth. Tracking the best expert. Machine Learning, 32(2):151–178, 1998. doi: 10.1023/A:1007424614876.DOI
  12. [12]Mark Herbster and Manfred K. Warmuth. Tracking the best linear predictor. Journal of Machine Learning Research, 1:281–309, 2001.
  13. [13]Mark Herbster, Stephen Pasteris, and Lisa Tse. Online multitask learning with long-term memory. In Advances in Neural Information Processing Systems, volume 33, 2020.arxiv.org/abs/2008.07055
  14. [14]Mark Jerrum. Large cliques elude the metropolis process. Random Structures & Algorithms, 3(4):347–359, 1992. doi: 10.1002/rsa.3240030402.DOI
  15. [15]Wouter M. Koolen and Tim van Erven. Freezing and sleeping: Tracking experts that learn by evolving past posteriors, 2010.
  16. [16]Wouter M. Koolen, Dmitry Adamskiy, and Manfred K. Warmuth. Putting bayes to sleep. In Advances in Neural Information Processing Systems, volume 25, pages 135–143, 2012.
  17. [17]Yuetian Luo and Anru R. Zhang. Open problem: Average-case hardness of hypergraphic planted clique detection. In Proceedings of the 33rd Conference on Learning Theory, volume 125 of Proceedings of Machine Learning Research, pages 3852–3856. PMLR, 2020.arxiv.org/abs/2009.05870
  18. [18]Yuetian Luo and Anru R. Zhang. Tensor clustering with planted structures: Statistical optimality and computational limits. The Annals of Statistics, 50(1):584–613, 2022. doi: 10.1214/21-AOS2123.DOI
  19. [19]Jauoad Mourtada and Odalric-Ambrym Maillard. Efficient tracking of a growing number of experts. In Proceedings of the 28th International Conference on Algorithmic Learning Theory, volume 76 of Proceedings of Machine Learning Research, pages 517–539. PMLR, 2017.arxiv.org/abs/1708.09811
  20. [20]Stephen Pasteris, Chris Hicks, Vasilios Mavroudis, and Mark Herbster. Online convex optimisation: The optimal switching regret for all segmentations simultaneously. In Advances in Neural Information Processing Systems, volume 37, pages 78278–78298, 2024. doi: 10.52202/079017-2488.DOI
  21. [21]James Robinson and Mark Herbster. Improved regret bounds for tracking experts with memory. In Advances in Neural Information Processing Systems, volume 34, pages 7625–7636, 2021.arxiv.org/abs/2106.13021
  22. [22]Manfred K. Warmuth and Wouter M. Koolen. Open problem: Shifting experts on easy data. In Proceedings of the 27th Conference on Learning Theory, volume 35 of Proceedings of Machine Learning Research, pages 1295–1298. PMLR, 2014.
  23. [23]Wenhao Yang, Yibo Wang, Yuanyu Wan, and Lijun Zhang. Logarithmic switching regret for online convex optimization. In Proceedings of the 43rd International Conference on Machine Learning, 2026. To appear.
  24. [24]Anru R. Zhang and Dong Xia. Tensor SVD: Statistical and computational limits. IEEE Transactions on Information Theory, 64(11):7311–7338, 2018. doi: 10.1109/TIT.2018.2841377.DOI
  25. [25]Kai Zheng, Haipeng Luo, Ilias Diakonikolas, and Liwei Wang. Equipping experts/bandits with long-term memory. In Advances in Neural Information Processing Systems, volume 32, pages 5927–5937, 2019.arxiv.org/abs/1905.12950
  26. [26]Martin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th International Conference on Machine Learning, pages 928–936, 2003.

Paper details

vlnc:W_9kg838yz
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

GPT-6 Astra (bare), Codex

View statement
Looking for related papers…
Contents