Papers
Topics
Authors
Recent
Search
2000 character limit reached

Repeated Policy Regret (RP-Regret) Framework

Updated 4 July 2026
  • Repeated Policy Regret (RP-Regret) is a counterfactual regret notion where the comparator is endogenous, evaluated under the counterfactual history it induces rather than the learner’s actual journey.
  • It extends standard regret measures by benchmarking performance against adaptive adversaries in settings such as online bandits, repeated games, and contracting, thereby highlighting conditions for sublinear regret.
  • Practical algorithms, including mini-batching, successive elimination in tallying bandits, and occupancy-measure methods, demonstrate how RP-Regret can be effectively minimized in dynamic environments.

Searching arXiv for recent and foundational papers on repeated policy regret and closely related policy-regret frameworks. Repeated Policy Regret (RP-Regret) is a family of counterfactual regret notions for repeated interaction in which the benchmark is evaluated under the history that the comparator policy would itself induce, rather than under the learner’s realized history. In online bandits, policy regret compares realized cumulative loss to the loss of a competitor sequence under the adversary’s response to that counterfactual sequence (Arora et al., 2012). In repeated games, RP-Regret measures the difference between the realized and the best-in-hindsight accumulated utility or loss when all players can respond to the history of play (Liu et al., 4 Jun 2026). Closely related formulations appear as policy regret in repeated games (Arora et al., 2018), complete policy regret against the full policy class XTX^T in tallying bandits (Malik et al., 2022), counterfactual policy regret for repeated contracting (Collina et al., 2024), and regret-plus-switching guarantees that coincide with RP-Regret under stationary, gap-separated episodic reinforcement-learning assumptions (Velegkas et al., 2022).

1. Formal object of comparison

The central formal feature of RP-Regret is that the comparator is endogenous: changing the comparator policy changes the history distribution and therefore the future losses or utilities. In the online bandit formulation, for a competitor class CTC_T, policy regret is

t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].

This differs from standard regret because the comparator term is evaluated under the counterfactual sequence itself rather than under the realized trajectory (Arora et al., 2012).

In repeated games, the same idea is written directly in terms of strategy sequences. With accumulated expected loss

$J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$

RP-Regret for player $1$ is

$R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$

The minimization allows the comparator to be a history-dependent policy, and the opponents respond to the counterfactual distribution of histories induced by that comparator sequence at every round (Liu et al., 4 Jun 2026).

Comparator classes vary by model. In tallying bandits, the strongest benchmark is the complete class XTX^T, giving complete policy regret

RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),

which is explicitly stronger than constant-action policy regret and other restricted comparator classes (Malik et al., 2022). In repeated contracting, policy regret compares the Principal’s realized utility to the counterfactual world in which the Principal commits to a constant mechanism fif_i selecting Agent ii every round, while Agents play a non-responsive equilibrium appropriate to that mechanism (Collina et al., 2024).

2. Departure from external regret

RP-Regret was introduced because standard external regret becomes inadequate when the environment adapts to the learner’s behavior. In the adaptive-adversary bandit setting, standard regret compares the learner to the “peculiar” counterfactual

CTC_T0

which holds the adversary’s response fixed to the realized trajectory while silently replacing only the current action. The policy-regret benchmark instead evaluates the loss sequence that would have resulted had the learner committed to the comparator policy itself (Arora et al., 2012).

This distinction is not merely terminological. For fully adaptive adversaries with unbounded memory, no bandit algorithm can guarantee sublinear policy regret even against the best constant action sequence: Theorem 1 gives a linear lower bound, stated as CTC_T1 (Arora et al., 2012). In general online learning with CTC_T2-memory bounded utilities, policy regret and external regret can also be incompatible: there exist utility sequences such that any action sequence with sublinear policy regret must incur linear external regret, and any action sequence with sublinear external regret must incur linear policy regret (Arora et al., 2018).

The comparison class also matters. Complete policy regret is the strongest possible version of policy regret because its benchmark is the entire deterministic policy class CTC_T3, not just fixed actions or piecewise-constant competitors. The tallying-bandit results were motivated precisely by the gap between tractability for weaker comparator classes and tractability for this strongest benchmark (Malik et al., 2022).

3. Conditions under which sublinear RP-Regret is possible

Across the literature, sublinear RP-Regret requires structural restrictions on either the adversary, the comparator, the opponents, or the information flow through history. In adaptive bandits, the foundational restriction is bounded memory: an CTC_T4-memory-bounded adversary chooses losses that depend only on the CTC_T5 most recent actions. This is the regime in which the mini-batching reduction from standard regret to policy regret becomes possible (Arora et al., 2012).

Tallying bandits impose stricter structure. The adversary is CTC_T6-memory bounded, CTC_T7-restricted, and CTC_T8-tallying: for each action CTC_T9, the loss depends only on the tally of t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].0 among the last t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].1 rounds,

t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].2

This dramatically reduces the effective complexity of adaptive histories and enables nontrivial complete policy regret guarantees (Malik et al., 2022).

The 2026 repeated-games formulation identifies two necessary conditions for sublinear RP-Regret. The first is sublinear variation of the comparator sequence: t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].3 The second is imperfect recall via exponential decay memory (EDM): t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].4 Without Condition 1 on the comparator, RP-Regret can be t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].5; if either the comparator or opponents have perfect recall, RP-Regret can also be t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].6 (Liu et al., 4 Jun 2026).

In repeated contracting, the equilibrium restriction is different but serves an analogous role. Non-responsive equilibrium requires strategies to depend only on the history of states of nature and randomness, not on the history of other Agents’ actions or Principal selections. The paper proves existence of a pure non-responsive Nash equilibrium for every Principal selection mechanism, thereby avoiding the complexities of collusion and threats in the policy-regret analysis (Collina et al., 2024).

4. Bandit and online-learning algorithms

The foundational constructive result is the mini-batching reduction. Let t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].7 be any bandit algorithm whose standard regret against constant actions over t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].8 rounds is bounded by t=1TE[ft(X1,,Xt)]min(y1,,yT)CTt=1TE[ft(y1,,yt)].\sum_{t=1}^T \mathbb{E}[f_t(X_1,\ldots,X_t)] - \min_{(y_1,\ldots,y_T)\in C_T} \sum_{t=1}^T \mathbb{E}[f_t(y_1,\ldots,y_t)].9. Group the horizon into batches of length $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$0, play a single action throughout each batch, and update $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$1 only with the average batch loss. For an $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$2-memory-bounded adaptive adversary and $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$3, the policy regret against any constant comparator $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$4 satisfies

$J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$5

This conversion yields explicit sublinear rates in several settings. For $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$6-armed bandits, mini-batched EXP3 with

$J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$7

achieves policy regret

$J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$8

The same framework gives $J_T(\bpi_{1:T}) \coloneqq \sum_{t=1}^T f^{t-1}(\bpi_{1:t}),$9 policy regret for bandit convex optimization and $1$0 policy regret for bandit linear optimization and bandit submodular minimization; it also extends to switching regret, internal regret, swap regret, and policy $1$1-regret (Arora et al., 2012).

Tallying bandits address a harder comparator class. The SE-TB algorithm exploits the structural fact that optimal policies can be approximated by $1$2-cyclic policies, then applies successive elimination over that structured class while estimating shared tally statistics $1$3. For any $1$4-tallying bandit and $1$5, the high-probability complete policy regret bound is

$1$6

with probability at least $1$7. The expected lower bound is

$1$8

and in the deterministic feedback case the paper also proves an almost-sure upper bound $1$9 and an expected lower bound $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$0 (Malik et al., 2022).

5. Repeated games and equilibrium consequences

In repeated games with self-interested agents, policy regret and external regret need not be antagonistic. For two-player repeated games with bounded bilinear utilities, if both players use no-external-regret algorithms with regrets $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$1 and both are on average $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$2-stable, then for any fixed actions $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$3 and $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$4,

$R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$5

MWU and Exp3 are on average $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$6-stable for any $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$7 and have $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$8 external regret, so both achieve $R_T = J_T(\bpi_{1:T}) - \min_{\hat\bpi^{(1)}_{1:T}\in \cC_T^{(1)}} J_T\big((\hat\bpi^{(1)}_{1:T},\bpi^{(-1)}_{1:T})\big).$9 policy regret in this regime. The same work introduces policy equilibrium and shows that no-policy-regret dynamics converge to policy equilibria, while coarse correlated equilibria form a strict subset of policy equilibria (Arora et al., 2018).

The 2026 repeated-games framework makes RP-Regret explicit for adaptive opponents and dynamic, history-dependent comparators. The per-round loss is non-convex in strategy space because it depends on products of policies along histories, and the paper therefore develops three algorithmic routes: an oracle-based non-convex method, a convex linearized surrogate called Local RP-Regret (LRP-Regret), and a direct occupancy-measure method for slowly changing opponents. For the local surrogate, projected gradient descent yields

XTX^T0

with XTX^T1 and XTX^T2. Under slowly changing opponents, the occupancy-measure method gives XTX^T3 provided XTX^T4. When all players minimize RP-Regret or its linearized variant, the resulting periodic strategy profiles yield approximate SPNE or SPCCE with bounded deviation. The experiments on Stag-Hunt over 100,000 iterations, with memory lengths XTX^T5 and learning rate XTX^T6, show that minimizing LRP-Regret more frequently converges to the cooperative equilibrium XTX^T7, and that longer memory further improves the rate of convergence to cooperative outcomes (Liu et al., 4 Jun 2026).

6. Counterfactual contracting and episodic reinforcement learning

Repeated contracting provides a direct counterfactual interpretation of RP-Regret. A Principal adaptively selects among XTX^T8 non-myopic Agents over XTX^T9 rounds using only bandit feedback, while Agents maximize RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),0-round utility and may hold mis-specified but full-support beliefs over future states. Policy regret compares realized utility under the Principal’s selection mechanism RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),1 to the counterfactual utility in a world where the Principal commits to a constant mechanism RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),2 selecting Agent RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),3 every round and Agents play a non-responsive equilibrium for that mechanism: RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),4 Monotonicity of the selection mechanism is the key condition converting standard regret to counterfactual policy regret. For any concave contract, if the Principal uses a monotone bandit algorithm with external regret bounded by RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),5, then policy regret is at most RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),6. MonoBandit instantiated with Multiplicative Weights is monotone and satisfies

RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),7

so the Principal’s policy regret is at most that quantity. For limited liability, the paper introduces a tab mechanism and shows that a monotone no swap-regret algorithm suffices: MonoBandit(TreeSwap) is monotone, has

RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),8

and yields policy-regret and liability guarantees of the same order, with a corresponding RCPR=t=1Tft(a1:t)min(y1,,yT)XTt=1Tft(y1:t),R_{\text{CPR}} = \sum_{t=1}^T f_t(a_{1:t}) - \min_{(y_1,\dots,y_T)\in X^T} \sum_{t=1}^T f_t(y_{1:t}),9 bound under a fixed linear contract fif_i0 (Collina et al., 2024).

Episodic reinforcement learning provides a closely related but not explicitly named RP-Regret framework. In an episodic MDP fif_i1, episode fif_i2 uses policy fif_i3, regret is

fif_i4

and switching cost is

fif_i5

Under the global suboptimality-gap assumption

fif_i6

the paper proves logarithmic regret in fif_i7 together with fif_i8 policy switches, with complexity governed by eluder dimension and covering numbers. In the model-free case,

fif_i9

and in the model-based case,

ii0

The lower bound

ii1

shows that ii2 instance-dependent regret is impossible even in tabular episodic MDPs. The paper does not explicitly define RP-Regret, but under its stationary, deterministic-reward, gap-separated assumptions the best comparator sequence with at most ii3 switches is the stationary optimal policy ii4, so ii5. In that sense, its regret-plus-switching framework is a precise instantiation of RP-Regret in episodic RL with general function approximation (Velegkas et al., 2022).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Repeated Policy Regret (RP-Regret).