NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions
Tianwei Ni

Tianwei Ni

Université de Montréal · Mila - Quebec Artificial Intelligence Institute
5 previous affiliations
16Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Tianwei Ni focuses on reinforcement learning, emphasizing agent adaptability, memory representation, and offline-to-online fine-tuning. His earlier work explored meta-learning and inverse reinforcement learning to improve sample efficiency and continuous control. Currently, he investigates methods for mitigating reasoning taxes in large language models and developing adaptive policy priors for offline reinforcement learning.

Research Trajectory

Early in his trajectory, research focused on optimizing reinforcement learning algorithms and improving reward learning frameworks. He introduced Meta-SAC: Auto-tune the Entropy Temperature of Soft Actor-Critic via Metagradient in 2020, which automates the tuning of the entropy temperature parameter using metagradients. By optimizing this parameter against a meta-objective aligned with the actual task reward, the method removes the need for manual hyperparameter tuning. This work directly contributed to the research direction of The Meta-Hyperparameter Problem in Self-Tuning Algorithms and the area of Meta-Learning for Warm-Starting Optimization. Following this, he developed f-IRL: Inverse Reinforcement Learning via State Marginal Matching, an algorithm that learns a stationary reward function by matching the agent's state distribution to an expert's state density, yielding more robust transfer of learned behaviors to new dynamics.

In 2022, the research expanded to address continuous-time environments and partial observability. Recognizing that physical environments evolve continuously rather than in discrete steps, he proposed Continuous-Time-Controlled MDPs (CTC-MDP) in Continuous Control on Time. This framework allows agents to determine the physical duration of each action while introducing mechanisms to prevent the degeneration of action time scales into infinitesimally small intervals. Concurrently, he contributed to evaluating memory-based architectures in partially observable settings with Recurrent Model-Free RL Can Be a Strong Baseline for Many POMDPs. This work demonstrated that augmenting standard model-free RL with recurrent memory provides a surprisingly effective baseline for complex tasks, relevant to the broader area of Sample Efficiency through Off-Policy Data Reuse.

Subsequent work investigated the role of memory and representation in complex environments, particularly evaluating the strengths and limitations of modern architectures. When Do Transformers Shine in RL? Decoupling Memory from Credit Assignment highlights a critical dichotomy: while transformer-based agents excel at recalling information over thousands of steps, they still struggle with the research direction of Temporal Credit Assignment for Long Horizon Decisions, failing to link actions to rewards over much shorter horizons. This interest in robust representations extended to filtering task-irrelevant information, as seen in his collaborative work on Understanding Behavioral Metric Learning: A Large-Scale Study on Distracting Reinforcement Learning Environments. The study introduced the denoising factor (DF) as a metric to rigorously evaluate how well behavioral metric learning methods filter out environmental noise, identifying the critical roles of layer normalization and self-prediction.

Most recently, the trajectory has shifted toward post-training paradigms, offline-to-online fine-tuning, and the intersection of reinforcement learning with large language models. The Three Regimes of Offline-to-Online Reinforcement Learning introduces a stability-plasticity framework that categorizes fine-tuning strategies based on the relative performance of pretrained policies versus offline datasets. Applying RL principles to foundation models, he developed Offline Learning and Forgetting for Reasoning with Large Language Models. This approach integrates inference-time search capabilities directly into the model by fine-tuning it on unpaired successful reasoning paths while explicitly "forgetting" failed ones, thereby reducing computational costs at deployment. He also participated in Rotation-Preserving Supervised Fine-Tuning, addressing the catastrophic forgetting and out-of-domain degradation that often occurs when sharpening a pretrained language model's skills on specific tasks.

In the domain of offline RL, Long-Horizon Model-Based Offline Reinforcement Learning Without Explicit Conservatism challenges the long-held assumption that offline learning requires strict pessimism about out-of-distribution actions. The proposed NEUBAY algorithm utilizes a Bayesian approach with long-horizon imaginary rollouts and adaptive truncation, demonstrating that test-time adaptation can outperform explicit conservatism. Building on this perspective, From Static Policies to Adaptive Priors in Offline Reinforcement Learning formalizes adaptive offline reinforcement learning, arguing that offline training should prepare agents for future experience by learning adaptive policy priors that preserve the capacity for test-time adaptation and online fine-tuning.

Current Directions

Recent work investigates the intersection of reinforcement learning and foundation model post-training, alongside adaptive methods in offline RL. The most recent papers in the evidence address the stability-plasticity tradeoff during fine-tuning, seeking to preserve general capabilities while acquiring specific skills. This includes developing frameworks for offline-to-online RL and addressing catastrophic forgetting in supervised fine-tuning. Additionally, current research explores how to internalize inference-time search into large language models by learning from both successful and failed reasoning trajectories, aiming to improve reasoning without incurring high computational costs at deployment. In offline RL, the focus has shifted toward Bayesian, model-based approaches that prioritize test-time adaptation over explicit conservatism, enabling agents to operate effectively over long horizons.

Profile updated

See something wrong? Report a mistake