Two-timescale Derivative Free Optimization for Performative Prediction with Markovian Data

Haitong Liu, Qiang Li, Hoi To Wai

In the world of machine learning, we often assume data is a static target. But what happens when your model’s predictions actually change the data it sees next? This is the core of Performative Prediction. Whether it’s a credit scoring model that causes applicants to change their financial behavior or a ride-sharing app where prices shift rider demand, the "feedback loop" between model and data is everywhere.

A new paper from researchers at ETH Zurich and the Chinese University of Hong Kong, titled "Two-timescale Derivative Free Optimization for Performative Prediction with Markovian Data," tackles this challenge in its most difficult form: when you don't have access to gradients and the data distribution shifts slowly over time (Markovian dynamics).

TL;DR

The authors propose DFO($\lambda$), a derivative-free algorithm designed to find optimal models in environments where the data distribution depends on the model and evolves as a Markov chain. By using a clever two-timescale step-size design and a sample accumulation mechanism, they achieve a near-stationary solution with a sample complexity of $\mathcal{O}(1/\epsilon^3)$, outperforming several existing gradient-based benchmarks.

What Problem Does This Paper Address?

Most machine learning assumes data is i.i.d. (independent and identically distributed). Performative prediction breaks this by introducing decision-dependent distributions.

Previous work often focused on finding a "performative stable" point—a model that is optimal for the distribution it creates. However, the stable point isn't necessarily the optimal point (the one that minimizes the overall risk). Finding the optimum is hard because:

  1. Unknown Gradients: To calculate the true gradient of the performative risk, you need to know exactly how the distribution shifts in response to your model—information a learner rarely has.
  2. Stateful Environments: In reality, distributions don't shift instantly. They evolve. If you deploy a new model, the "state" of the population moves toward a new equilibrium via a Markov chain. This introduces bias into every data point you collect.

This paper addresses how to find the performative optimal solution using only loss function evaluations (zeroth-order information) while navigating these delayed Markovian shifts.

Comparison of optimization algorithms for performative prediction.

Methods

The authors introduce DFO($\lambda$), which stands out through two primary innovations:

  • Two-Timescale Design: The algorithm manages a delicate bias-variance tightrope. It uses two different rates for its parameters: one for the query radius ($\delta_k$, how far it "probes" the loss function) and another for the model update ($\eta_k$). By updating the model at a slower timescale than the gradient estimation, the algorithm allows the Markovian data distribution enough "time" to adapt, reducing bias.
  • Sample Accumulation with Forgetting ($\lambda$): Standard DFO is notoriously high-variance. Instead of using just the latest (biased) sample, DFO($\lambda$) aggregates all observed samples within an epoch, weighted by a forgetting factor $\lambda \in [0, 1)$. This mechanism effectively reuses data to reduce variance while prioritizing more recent samples that are closer to the "true" distribution of the current model.

The algorithm is "derivative-free" because it estimates the gradient by querying the loss function at randomly perturbed points, rather than requiring a closed-form derivative.

Datasets

As a theoretical contribution, the paper evaluates the algorithm on three sophisticated synthetic benchmarks that simulate performative feedback loops:

  1. 1-Dimensional Quartic Loss: A non-convex problem where the data follows an auto-regressive (AR) process.
  2. Markovian Pricing (5D): A multi-dimensional problem where a platform sets prices for five goods, and customer demand reacts according to a controlled Markov chain.
  3. Performative Regression (5D): A linear regression task where features and labels are correlated and shift based on the deployed model.

Key Insights and Ideas

  • Optimal vs. Stable: The paper reinforces a critical distinction in the field. Simple "retraining" (Repeated Risk Minimization) only finds stable points. DFO($\lambda$) actually hunts for the stationary points of the performative risk, which are often much better.
  • The Power of $\lambda$: The forgetting factor $\lambda$ acts as a tuner for the performative risk's smoothness. If the risk gradient has a small Lipschitz constant (it's "smooth"), a larger $\lambda$ can significantly speed up convergence by utilizing more historical data.
  • No Distribution Modeling Needed: Unlike "two-phase" algorithms that try to explicitly learn the distribution map $\Pi_\theta$ first, DFO($\lambda$) treats the distribution shift as a black box. This makes it more robust and easier to deploy in complex environments.

Key Results

Experimental results showing DFO(λ) converging to optimal solutions across different performative tasks.
  • Theoretical Convergence: The authors prove that DFO($\lambda$) reaches an $\epsilon$-stationary point in $\mathcal{O}(1/\epsilon^3)$ samples. While this is slower than the $\mathcal{O}(1/\epsilon^2)$ rate of standard DFO in static settings, it is a significant result for the much harder decision-dependent, Markovian setting.
  • Empirical Superiority: In experiments, DFO($\lambda$) successfully converged to the performative optimal solution, while standard benchmarks like SGD-GD (Stochastic Gradient Descent with Greedy Deployment) and DFO-GD failed, often getting stuck at sub-optimal stable points or diverging due to bias.
  • Efficiency: Compared to two-point gradient estimators (which require two samples per update), the one-point estimator in DFO($\lambda$) proved more sample-efficient in the Markovian context.

Limitations and Future Work

  • Sample Complexity Gap: There is still a gap between the $\mathcal{O}(1/\epsilon^3)$ rate found here and the $\mathcal{O}(1/\sqrt{T})$ rates seen in decision-independent optimization. The authors suggest this might be a fundamental limit for DFO-type algorithms in performative settings.
  • High Dimensionality: While the algorithm works for 5D problems, zeroth-order methods typically struggle as the number of dimensions ($d$) grows very large. Scaling this to deep neural networks with millions of parameters remains a massive challenge.
  • Assumptions: The analysis relies on "Geometric Mixing" (the Markov chain converges reasonably fast). Exploring settings with "slow-mixing" or non-stationary environments is a promising next step.

Summary updated

BibTeX
@inproceedings{liu2024two,
  author = {Haitong LIU and Qiang LI and Hoi To Wai},
  title = {{Two-timescale Derivative Free Optimization for Performative Prediction with Markovian Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=Aj18fUB6Th},
}
Figure