Sam Babichenko

Reading notes / Strategic and performative prediction

Who leads and who follows in strategic classification?

Zrnic et al., 2021

Context. Strategic classification and performative optimality fix the order of play: the decision-maker deploys a rule and agents best respond instantly. In practice both sides learn, each on its own clock, and this paper asks what the coupled learning converges to. The slower player becomes the leader. With enough separation of time scales the fast player has converged to its best response between any two moves of the slow one, so the slow player is in effect optimizing against the fast player's best-response map, the logic of two-timescale stochastic approximation. A decision-maker that retrains faster than the agents adapt therefore makes them the leader. This need not hurt the decision-maker. In the paper's examples following is weakly better for the decision-maker, and leading lets the agents commit (in the regression example, to a milder manipulation), so both sides weakly prefer the agents to lead.

Setting. The decision-maker picks θ∈Θ⊆Rd\theta\in\Theta\subseteq\mathbb R^d with convex loss ℓ(z;θ)\ell(z;\theta); the agents' aggregate action is μ∈M\mu\in\mathcal M, the data follow P(μ)P(\mu), and the agents' loss is r(z;θ)r(z;\theta). Write L(μ,θ)=EP(μ)ℓL(\mu,\theta)=\mathbb E_{P(\mu)}\ell and R(μ,θ)=EP(μ)rR(\mu,\theta)=\mathbb E_{P(\mu)}r, with unique best responses μBR(θ)\mu_{BR}(\theta) and θBR(μ)\theta_{BR}(\mu). The Stackelberg risks are SRL(θ)=L(μBR(θ),θ)SR_L(\theta)=L(\mu_{BR}(\theta),\theta) when the decision-maker leads and SRR(μ)=R(μ,θBR(μ))SR_R(\mu)=R(\mu,\theta_{BR}(\mu)) when the agents lead; their minimizers are the decision-maker's equilibrium θSE\theta_{SE} (the performative optimum) and the agents' equilibrium μSE\mu_{SE}. Neither side knows the other's loss. Play proceeds in epochs: one update of the slower player, then τ\tau updates of the faster one. The decision-maker is proactive if it is slower and reactive if it is faster. The agents are rational in a no-regret sense matched to the clock: (A1) against a proactive decision-maker, vanishing average regret within an epoch against the fixed θt\theta_t as τ→∞\tau\to\infty; (A2) against a reactive one, vanishing average regret across epochs against the composite loss R(μ,θR(μ))R(\mu,\theta_R(\mu)) as T→∞T\to\infty, for any response map θR\theta_R.

Theorem (proactive decision-maker). Let the decision-maker run the one-point zeroth-order method of Flaxman et al., ϕt+1=ΠΘ(ϕt−ηtdδL(μˉt,ϕt+δut)ut)\phi_{t+1}=\Pi_\Theta\big(\phi_t-\eta_t\tfrac d\delta L(\bar\mu_t,\phi_t+\delta u_t)u_t\big), deploying θt=ϕt+δut\theta_t=\phi_t+\delta u_t, where μˉt\bar\mu_t is the agents' average action in epoch tt. If SRLSR_L is convex and β\beta-Lipschitz, ∣L∣≤B|L|\le B, and LL is βμ\beta_\mu-Lipschitz in μ\mu, then with ηt∝d−1/2t−3/4\eta_t\propto d^{-1/2}t^{-3/4} and δ∝d1/2T−1/4\delta\propto d^{1/2}T^{-1/4}, ∑t≤T(E SRL(θt)−SRL(θSE))≤Cd T3/4+dδ βμDΘ∑t≤TE∥μˉt−μBR(θt)∥,\sum_{t\le T}\big(\mathbb E\,SR_L(\theta_t)-SR_L(\theta_{SE})\big)\le C\sqrt d\,T^{3/4}+\frac d\delta\,\beta_\mu D_\Theta\sum_{t\le T}\mathbb E\|\bar\mu_t-\mu_{BR}(\theta_t)\|, and under (A1) with M\mathcal M compact the last sum vanishes as τ→∞\tau\to\infty: the usual zeroth-order regret plus a bias from agents not yet at their best response, which long epochs remove. Constant epochs. If the agents instead run warm-started gradient descent on a smooth Polyak-Lojasiewicz objective and μBR\mu_{BR} is Lipschitz, a fixed epoch length biases the decision-maker's gradient estimate toward the stable-point condition and regret is linear; the epoch length has to grow with TT (logarithmically in dTdT suffices) to reach the leader's optimum at the O(d T3/4)O(\sqrt d\,T^{3/4}) rate (Step 3).

Theorem (reactive decision-maker). If for each fixed μt\mu_t the decision-maker's within-epoch iterates converge in probability to θBR(μt)\theta_{BR}(\mu_t), the agents' update maps are continuous in past play and rational in the sense (A2), M\mathcal M is compact, and the relevant Stackelberg risks are Lipschitz, then lim⁡T→∞lim⁡τ→∞1T∑t≤TE SRR(μt)=SRR(μSE),lim⁡T→∞lim⁡τ→∞1T∑t≤TE L(μt,θt)=L(μSE,θBR(μSE)),\lim_{T\to\infty}\lim_{\tau\to\infty}\frac1T\sum_{t\le T}\mathbb E\,SR_R(\mu_t)=SR_R(\mu_{SE}),\qquad \lim_{T\to\infty}\lim_{\tau\to\infty}\frac1T\sum_{t\le T}\mathbb E\,L(\mu_t,\theta_t)=L(\mu_{SE},\theta_{BR}(\mu_{SE})), so play converges on average to the Stackelberg equilibrium with the agents leading.

Propositions (who prefers which order). Linear regression: x0x_0 isotropic, y=x0⊤β+ξy=x_0^\top\beta+\xi with Var ξ=σ2\mathrm{Var}\,\xi=\sigma^2, squared loss, and agents who shift every feature vector by the same μ\mu, ∥μ∥≤B\|\mu\|\le B, to raise their prediction, R=−μ⊤θR=-\mu^\top\theta. Then σ22+∥β∥2min⁡(1,B)22(1+min⁡(1,B)2)=L(μSE,θBR(μSE))≤SRL(θSE)=σ22+∥β∥2B22(1+B2),\frac{\sigma^2}2+\frac{\|\beta\|^2\min(1,B)^2}{2(1+\min(1,B)^2)}=L(\mu_{SE},\theta_{BR}(\mu_{SE}))\le SR_L(\theta_{SE})=\frac{\sigma^2}2+\frac{\|\beta\|^2B^2}{2(1+B^2)}, with the matching ordering for the agents' risk. The orders coincide for B≤1B\le1; for B>1B>1 both players strictly prefer the agents to lead, and the agents manipulate less. Logistic regression: for any base law, with agents of label 0 shifting by μ\mu, ∥μ∥≤B\|\mu\|\le B, both players weakly prefer the agents to lead, strictly in some configurations (shown numerically).

Step 1

The slower player faces a Stackelberg problem, because the faster one has already converged. Take τ→∞\tau\to\infty before T→∞T\to\infty. Against a proactive decision-maker the agents end each epoch at μBR(θt)\mu_{BR}(\theta_t), so the loss it observes for θt\theta_t is SRL(θt)SR_L(\theta_t) up to the agents' lag. Against a reactive one the model ends each epoch at θBR(μt)\theta_{BR}(\mu_t), and by continuity lim⁡τ∑tER(μt,θt)=∑tE SRR(μt)\lim_\tau\sum_t\mathbb E R(\mu_t,\theta_t)=\sum_t\mathbb E\,SR_R(\mu_t): the agents are scored on their Stackelberg risk whether they know it or not. Whoever is slow runs a learning rule on its own Stackelberg risk, and only the slow player's rationality decides which equilibrium is reached.

Step 2

A proactive decision-maker reaches its equilibrium with a zeroth-order method, and the agents' lag enters as a bias. It cannot differentiate through μBR\mu_{BR}, so it uses dδ loss(ϕ+δu) u\tfrac d\delta\,\mathrm{loss}(\phi+\delta u)\,u, an unbiased gradient of the ball-smoothed SRLSR_L; the standard online analysis gives d T3/4\sqrt d\,T^{3/4}. The new piece is that the queried loss is L(μˉt,θt)L(\bar\mu_t,\theta_t) in place of L(μBR(θt),θt)L(\mu_{BR}(\theta_t),\theta_t), off by at most βμ∥μˉt−μBR(θt)∥\beta_\mu\|\bar\mu_t-\mu_{BR}(\theta_t)\|; the one-point estimator scales any error in a function value by d/δd/\delta, and in the descent inequality it multiplies ∥ϕt−θ^SE∥≤DΘ\|\phi_t-\hat\theta_{SE}\|\le D_\Theta. Under (A1) and compactness, vanishing average regret against a unique minimizer forces the average lag to vanish.

Step 3

With a constant epoch length the agents' lag biases the decision-maker toward the stable point, so epochs must grow with TT. Gradient descent on a Polyak-Lojasiewicz objective contracts the distance to the minimizer by α(τ)<1\alpha(\tau)\lt1 per epoch, so the warm-started lag ϵt=∥μt−μBR(θt)∥\epsilon_t=\|\mu_t-\mu_{BR}(\theta_t)\| satisfies ϵt≤α(τ)(ϵt−1+βBR∥θt−θt−1∥),\epsilon_t\le\alpha(\tau)\big(\epsilon_{t-1}+\beta_{BR}\|\theta_t-\theta_{t-1}\|\big), forgetting its past at rate α\alpha and refreshed by however far the deployed model moved. The deployed model jumps by up to 2δ2\delta each epoch through the fresh probe utu_t, so the lag is of order δ\delta every epoch, and the estimator multiplies it by d/δd/\delta. The bias has a simple form: the probe moves the best response by about δJut\delta Ju_t, with JJ the Jacobian of μBR\mu_{BR}, and if an epoch shrinks the lag by a factor ρ\rho, only the fraction 1−ρ1-\rho of that move has happened when the loss is read. To first order the expected estimate is ∇θL+(1−ρ)J⊤∇μL\nabla_\theta L+(1-\rho)J^\top\nabla_\mu L in place of ∇SRL=∇θL+J⊤∇μL\nabla SR_L=\nabla_\theta L+J^\top\nabla_\mu L, an interpolation between the stable-point condition (ρ=1\rho=1) and the leader's (ρ=0\rho=0). In an example meeting every assumption (d=1d=1, R=12(μ−θ)2R=\tfrac12(\mu-\theta)^2, L=12(θ−1)2+μθL=\tfrac12(\theta-1)^2+\mu\theta, ημ=12\eta_\mu=\tfrac12, τ=1\tau=1, so ρ=12\rho=\tfrac12) the iterates settle at 1/(3−ρ)=0.41/(3-\rho)=0.4 instead of θSE=1/3\theta_{SE}=1/3, and regret grows linearly (my analysis, checked by simulation; not in the paper). Warm starts keep the lag at the probe scale, where reinitializing each epoch would leave a constant lag, but only epochs growing with TT (logarithmically in dTdT) recover the rate; the paper's experiments, with epochs of 100 to 200 steps, are long enough that the bias is negligible (my estimate).

Step 4

A reactive decision-maker delivers the agents' equilibrium by a continuity argument, with no rates. Compare the real play with an ideal path μt∗\mu^*_t that the agents' continuous update rule would produce if every model were exactly θBR(μ)\theta_{BR}(\mu). By induction on tt, μt→pμt∗\mu_t\to_p\mu^*_t as τ→∞\tau\to\infty, since the decision-maker's iterates converge to θBR(μt)\theta_{BR}(\mu_t) and every map involved is continuous. On the ideal path (A2) is exactly vanishing regret on SRRSR_R, and continuity carries it to the real path; uniqueness of μSE\mu_{SE} and compactness turn vanishing regret into vanishing average distance to μSE\mu_{SE}, and a Lipschitz bound gives the decision-maker's loss. Both limits are needed: the agents must learn a bandit problem over epochs, and nothing says how long that takes.

Step 5

In linear regression the leading agents stop at norm 1, which helps both sides. If the decision-maker leads, the agents push the full budget along the model, μBR(θ)=Bθ/∥θ∥\mu_{BR}(\theta)=B\theta/\|\theta\|, and SRL(θ)=σ22+12∥β−θ∥2+B22∥θ∥2,θSE=β1+B2.SR_L(\theta)=\tfrac{\sigma^2}2+\tfrac12\|\beta-\theta\|^2+\tfrac{B^2}2\|\theta\|^2,\qquad\theta_{SE}=\frac\beta{1+B^2}. If the agents lead, the decision-maker answers a known shift with θBR(μ)=(I+μμ⊤)−1β\theta_{BR}(\mu)=(I+\mu\mu^\top)^{-1}\beta, so SRR(μ)=−μ⊤β/(1+∥μ∥2)SR_R(\mu)=-\mu^\top\beta/(1+\|\mu\|^2), minimized along β\beta at ∥μ∥=min⁡(1,B)\|\mu\|=\min(1,B): past norm 1 the decision-maker discounts the manipulated direction faster than the push gains, and the milder shift also lowers the decision-maker's loss. Moreover the decision-maker-led outcome is a Nash equilibrium, a performatively stable point (my observation, checked numerically, not stated in the paper), because μBR\mu_{BR} moves orthogonally to θ\theta while LL depends on μ\mu only through μ⊤θ\mu^\top\theta, so the indirect term in ∇SRL\nabla SR_L vanishes. In this model the stable point and the decision-maker's optimum coincide, and the improvement comes only from letting the agents lead.

Step 6

In logistic regression each inequality follows in one line. On the agents' side, the same orthogonality shows that ∇SRL(θSE)=0\nabla SR_L(\theta_{SE})=0 implies ∇θL(μBR(θSE),θSE)=0\nabla_\theta L(\mu_{BR}(\theta_{SE}),\theta_{SE})=0, so θSE\theta_{SE} is a best response to μBR(θSE)\mu_{BR}(\theta_{SE}); leading agents can play μBR(θSE)\mu_{BR}(\theta_{SE}) and get the decision-maker-led outcome, and they can only do better. On the decision-maker's side, only label-0 points move and their loss increases in μ⊤θ\mu^\top\theta, so the agents' best response is its worst case, SRL(θ)=max⁡μ∈ML(μ,θ)SR_L(\theta)=\max_{\mu\in\mathcal M}L(\mu,\theta), and for every θ\theta L(μSE,θBR(μSE))≤L(μSE,θ)≤max⁡μL(μ,θ)=SRL(θ),L(\mu_{SE},\theta_{BR}(\mu_{SE}))\le L(\mu_{SE},\theta)\le\max_\mu L(\mu,\theta)=SR_L(\theta), the min-max inequality of a game that is zero-sum along μ⊤θ\mu^\top\theta. Strictness is numerical: the gap grows as fewer agents can manipulate a label and as BB grows.

Step 7

In simulations both players do better when the agents lead. Wherever the two orders differ, both players do better when the agents lead, including in a setting the propositions do not cover. With budget-constrained agents, at B=2B=2 both players' running risks settle at clearly better values when the agents lead, and at B=1B=1 the equilibria coincide. With costly deviations, R=λ2∥μ∥2−μ⊤θR=\tfrac\lambda2\|\mu\|^2-\mu^\top\theta, the response θ/λ\theta/\lambda is not orthogonal to θ\theta, so the decision-maker-led point is not a Nash point, and the ranking holds anyway, with a gap that shrinks as λ\lambda grows. These are small, low-dimensional runs with step sizes tuned per setting.

Consequences and limits. The clock is a strategic variable, and the side that updates more slowly commits. A fraud team that retrains daily against rings that change tactics weekly is reactive, which makes the rings leaders: they choose tactics against the model the retraining will produce. When the attackers' best response is the defender's worst case, as roughly in fraud, the min-max inequality says following is weakly better for the defender, which argues for fast retraining, though label delay (chargebacks take weeks) means a fast retrain reacts to old information, which the model leaves out. A slow learner that does want to lead needs epochs long enough for the agents to settle, or its gradient points toward the stable point instead of its optimum. The agents are one aggregate action, anticipate the decision-maker only by trial and error across epochs and never by forecasting its update rule, and each side observes only its own loss. The reactive result has no rates, the preference results are linear or logistic models with linear agent utility, and the meta-game over clocks is left open.

Terms

Proactive / reactive
The decision-maker updates slower / faster than the agents adapt.
Epoch
One update of the slower player followed by τ\tau updates of the faster one.
SRL(θ)SR_L(\theta)
L(μBR(θ),θ)L(\mu_{BR}(\theta),\theta): the decision-maker's risk as leader; its minimizer θSE\theta_{SE} is the performative optimum.
SRR(μ)SR_R(\mu)
R(μ,θBR(μ))R(\mu,\theta_{BR}(\mu)): the agents' risk as leader; its minimizer is the agents' equilibrium μSE\mu_{SE}.
Slow player leads
With time-scale separation the fast player sits at its best response, so the slow player optimizes its Stackelberg risk.
(A1) / (A2)
No-regret within an epoch against a fixed model / across epochs against the composite R(μ,θR(μ))R(\mu,\theta_R(\mu)).
Agents' lag
∥μˉt−μBR(θt)∥\|\bar\mu_t-\mu_{BR}(\theta_t)\|: enters the proactive regret as a bias times (d/δ)βμDΘ(d/\delta)\beta_\mu D_\Theta.
Warm start
Agents continue from last epoch's action; keeps the lag at the probe scale at constant τ\tau, not enough for sublinear regret.
∥μSE∥=min⁡(1,B)\|\mu_{SE}\|=\min(1,B)
In linear regression, leading agents manipulate less than the full budget BB.
Min-max inequality
Following never hurts in a zero-sum game; here the agents' best response is the learner's worst case.
Orthogonal response
μBR=Bθ/∥θ∥\mu_{BR}=B\theta/\|\theta\| moves orthogonally to θ\theta, so the decision-maker-led point is a Nash (stable) point.

Quiz

  1. In the proactive regret bound, what produces the extra term proportional to ∑tE∥μˉt−μBR(θt)∥\sum_t\mathbb E\|\bar\mu_t-\mu_{BR}(\theta_t)\|?
  2. In the logistic example, why is following never worse for the decision-maker?
  3. The reactive result is stated as lim⁡T→∞lim⁡τ→∞\lim_{T\to\infty}\lim_{\tau\to\infty}. What does the inner limit provide?

Sources