The problem

The object of study is an online RL loop

Modelcurrent weightsExperiencerollouts and rewardsUpdatea gradient estimateactestimatestept = 1, 2, 3, … no fixed dataset, no final step

A model acts and writes its own experience; from that experience we estimate an update; the updated model writes the next experience. Pre-training is this loop with the first arrow cut. RL in the lab runs it in rounds and then freezes the model. Online RL in deployment is the same loop with no last step. The goal is the most progress per unit of compute, sustained over a long horizon.

Design principles

Bounded, information-seeking, and faithful to its data

Principle 1

Bounded compute and memory

At every step, for as long as it runs. A learner cannot keep its whole history or go back over it, so every mechanism has to be an incremental update.

Principle 2

Information-seeking

It writes its own data, so it should spend experience where it is uncertain. Its uncertainty has to be something it can act on, simply and cheaply.

Principle 3

Faithful to its data

It learns from what it generated itself, through imperfect machinery. Every update has to account for who produced the data and how noisy the signal is.

How the problem splits

Every turn of the loop has to answer three questions

The factors trade. Throughput is bought with fast kernels, asynchrony and larger batches, and it is paid for in the last factor. Scaling means raising the first factor without losing the others.

Where my work sits

Three questions, one quantity

Information per sample is decided by which experience the learner collects. The fraction each update extracts is lost in two ways: an update that points the wrong way (bias) or one that is drowned in noise (variance).

Question 1 · Exploration

Which experience to collect?

Information per sample
d log T
ensemble directions match Thompson sampling, down from (actions × T)
15%
of DDQN's interaction data for human-level Atari, with 5% of its parameters

Thompson sampling sends the learner where plausible models disagree, and stops exploring on its own once they agree. Its price is a fresh posterior sample every round. I build the randomness into the model instead: a random index as a second input, trained so that simple noise is pushed forward onto the posterior. A sample is one forward pass; an update is one SGD step that moves every sample at once. The theory rests on a sequential extension of the Johnson–Lindenstrauss lemma to data the agent chose itself.

Question 2 · Bias

Is the update pointed the right way?

Fraction each update extracts
O(T)
trust-region bound for long sequences, down from the classical O(T²)

Large RL runs sample on fast inference engines and train elsewhere. The two engines assign different probabilities to the same tokens even at identical weights, and asynchrony adds stale data on top, so a run set up to be on-policy is off-policy anyway. We traced LLM-RL collapse to this training–inference mismatch, then built corrections that act on the whole sequence: sequence-level importance sampling and masking, a sequence-level trust region, and a learning-rate schedule that decays the step size as instability builds. Around the sampler, the gain of an update is a tangent plus a remainder bounded by the reward range times the sequence KL, and a batch-size-invariant rule for the step size and the queue keeps the gap fixed as runs grow.

Question 3 · Variance

Is the signal above the noise?

Fraction each update extracts
4 = 32
group size 4 matches group size 32, about two thirds fewer tokens
2×
more stable training steps and +21% on AIME25 with geometric sequence masking (Qwen3-14B)

Even fully on-policy, runs collapse, and a spike in gradient variance comes first: one sparse reward multiplies a sum of thousands of token gradients. The best baseline is a center of mass weighted by gradient energy. Energy builds up along the rollout, so the Optimal Token Baseline is per token, and it costs nothing extra: the logit-gradient norm is read off the forward pass.

Systems and applications

The same tools, at work

All publications, grouped by question →

Questions 2 and 3

A public line of work, from diagnosis to correction

  1. 2019
    Off-policy reuse made safe by a divergence between the state distributions of two policies.
  2. Sep 2025
    Blog, with Jiacai Liu and co-authors
    RL collapse traced to the training–inference mismatch, largest on rare tokens.
  3. Oct 2025
    veRL, open source
    Sequence-level correction and masking in a public training stack.
  4. Oct–Nov 2025
    Blog, with Jiacai Liu
    Bias and variance of each estimator; token-level or sequence-level correction.
  5. Dec 2025
    A sequence-level trust region; the noisy tail of the vocabulary.
  6. Dec 2025
    Why top-k routing makes mixture-of-experts RL harder to optimize.
  7. Dec 2025
    Variance as a second cause of collapse; the mismatch moves with the step size.
  8. Oct 2026
    The gain is a tangent plus a remainder bounded by the sequence KL; a batch-size-invariant rule for the step size and the queue keeps the gap fixed as runs grow.
Outlook

Toward learners that keep learning

A model that keeps learning in deployment is the same loop with no last step. It cannot afford to explore by temperature, retrain from scratch, or trust data written by an earlier self. The tools above are where I would start.

Continual learning · uncertainty

Uncertainty the learner can act on

A random index as a second input, trained by the same incremental updates as the model, so a deployed learner can choose what to try and what to keep.

Continual learning · stability

Updates that stay close to their data

A learner in deployment trains on data from its earlier self. How tightly each update is held to that earlier self is a direct handle on stability against plasticity.

Continual learning · scale

Rules and gauges that hold at scale

How throughput, exploration and update quality trade as compute grows can be measured, with cheap gauges such as the sampler–trainer KL and gradient energy.

Open questions: forgetting over long horizons, exploration at frontier scale, and where uncertainty should live in the architecture.

Talks

Selected talks

  • Dec 2025 Revisiting Trust Region Policy Optimization in the Era of LLMs QingkeAI
  • Nov 2025 LLM-RL Instability and the Training–Inference Mismatch SLAI; Bay Area RL community
  • Nov 2024 Tackling Data Scarcity for Trustworthy Agents ETH Zurich
  • 2024 Exploration at Scale: Theory, Algorithms and Applications MIT; Princeton; INFORMS Annual Meeting; ISMP; INFORMS IOS; RLChina Slides
  • Aug 2022 No-Regret Learning in Unknown Games with Applications RL Theory Student Workshop, Nanjing University Slides
  • Dec 2021 HyperDQN: A Randomized Exploration Method for Deep RL NeurIPS Workshop on Ecological Theory of RL Slides