Tianwei Ni 倪天炜
I am a research scientist at Google DeepMind in London, focusing on reinforcement learning, continual learning, and self-improvement for general-purpose agents.
I earned my PhD at Mila - Quebec AI Institute and Université de Montréal on reinforcement learning, advised by Pierre-Luc Bacon. In the previous years, I worked closely with Benjamin Eysenbach at Princeton University and Aditya Mahajan at McGill University. I also worked at Amazon as an applied scientist intern on LLM reasoning, supervised by Rasool Fakoor and Allen Nie. I am a recipient of RBC Borealis AI fellowship.
Before embarking on my PhD journey, I was a research intern on embodied AI at Allen Institute for AI. I earned my Master's degree in Machine Learning at Carnegie Mellon University and my Bachelor's degree in Computer Science at Peking University.
Selected Work
Full list on Google Scholar. Notation: * equal contribution, ° equal advising.
From Static Policies to Adaptive Priors in Offline Reinforcement Learning
Conference on Neural Information Processing Systems (NeurIPS) Position Paper Track, 2026
ICML Workshop on Decision-Making from Offline Datasets to Online Adaptation, 2026
A position paper arguing that offline RL should shift from learning static policies to learning adaptive policy priors in the era of experience.
The Three Regimes of Offline-to-Online Reinforcement Learning
ICML Workshop on Decision-Making from Offline Datasets to Online Adaptation (best paper award), 2026
and RLC Workshop on Continual Reinforcement Learning (oral), 2026
A predictive framework for online RL fine-tuning based on a stability–plasticity principle: we should not only preserve prior knowledge from the pretrained policy or offline dataset, whichever is better, but also retain sufficient plasticity to acquire new knowledge.
Long-Horizon Model-Based Offline Reinforcement Learning Without Explicit Conservatism
International Conference on Machine Learning (ICML), 2026
NeurIPS Workshop on Aligning RL Experimentalists and Theorists, 2025
and ICML Workshop on Decision-Making from Offline Datasets to Online Adaptation, 2026
Offline RL methods rely heavily on conservatism, but conservatism hinders adaptation. To pursue test-time in-context adaptation, this work discovers key design choices to make the Bayesian offline RL principle practical for the first time.
Offline Learning and Forgetting for Reasoning with Large Language Models
Transactions on Machine Learning Research (TMLR), 2025
Inference-time search improves reasoning in LLMs but is expensive at deployment. We offline fine-tune LLMs to follow correct reasoning paths and forget wrong ones collected from various reasoning algorithms, while enabling fast inference.
Understanding Behavioral Metric Learning: A Large-Scale Study on Distracting Reinforcement Learning Environments
Reinforcement Learning Conference (RLC), 2025
Distracting observations in the real world can be addressed by metric learning in RL. Our extensive study highlights the often-overlooked roles of layer normalization and self-prediction in improving these methods.
Do Transformer World Models Give Better Policy Gradients?
International Conference on Machine Learning (ICML), 2024
and ICLR Workshop on Generative Models for Decision Making (oral), 2024
How to design world models for long-horizon planning w/o policy gradient explosion? Use f(s[0], a[0:t]) w/ Transformer, instead of recursively calling f(s[t], a[t]).
Bridging State and History Representations: Understanding Self-Predictive RL
International Conference on Learning Representations (ICLR), 2024
and NeurIPS Workshop on Self-Supervised Learning: Theory and Practice (oral), 2023
Provide a unified view on state and history representations in MDPs and POMDPs, and further investigate the challenge, solution, and benefit of learning self-predictive representations in standard MDPs, distracting MDPs, and sparse-reward POMDPs.
When Do Transformers Shine in RL? Decoupling Memory from Credit Assignment
Conference on Neural Information Processing Systems (NeurIPS), 2023 (oral)
and NeurIPS Workshop on Foundation Models for Decision Making, 2023
Investigate the architectural aspect of history representations in RL on temporal dependencies -- memory and credit assignment, with rigorous quantification.
Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPs
International Conference on Machine Learning (ICML), 2022
Find and implement simple but often strong baselines for POMDPs, including meta-RL, robust RL, generalization in RL, and temporal credit assignment.
f-IRL: Inverse Reinforcement Learning via State Marginal Matching
Conference on Robot Learning (CoRL), 2020
Learn reward functions from state-only demonstrations with f-divergence matching.
Blog Posts
RL Fine-Tuning Is a Stability–Plasticity Problem
A predictive framework for online RL fine-tuning balancing prior preservation and plasticity.
Read article
Adaptive Policy Prior in the Era of Experience: Rethinking the Goal of Offline RL
Why offline RL should shift from static policies to adaptive policy priors for continual interaction.
Read articleServices
Workshop Co-organizer
Continual RL Workshop at RLC 2026
Conference Reviewer
Peer review service across reinforcement learning and machine learning venues.
Teaching Assistant
10-703 Deep Reinforcement Learning and Control, Carnegie Mellon University, Fall 2020