NeurIPS papers
Search NeurIPS papers by title, author, or track. Open a paper’s abstract to read more.
Explore the NeurIPS analysisSearch results
21–40 of 333
- NeurIPS · Main conference
Efficient Gradient-Aware Asynchronous Reinforcement Learning for LLM Post-Training
Songhan Yang, Jie Wang, Yinqi Bai, Xialiang Tong, Jianye Hao, Mingxuan Yuan, Feng Wu
Abstract
Asynchronous reinforcement learning (RL) improves the efficiency of large language model (LLM) post-training by separating rollout generation from policy optimization. However, this process produces stale off-policy samples, making effective replay selection important for learning. Replay selection methods such as D-ARL evaluate candidates under the current policy, which increases computational cost. We propose Gradient-Aware Asynchronous Reinforcement Learning (GA-ARL), a framework for efficient replay selection. GA-ARL derives an analytic target distribution from the KL-regularized RL objective and weights it by absolute advantage. This design combines the policy preference captured by the analytic distribution with the learning signal reflected in advantage magnitude. GA-ARL computes replay scores using cached behavior-policy and reference-policy probabilities and advantages. It selects samples with low discrepancy between their behavior probabilities and the target scores, without additional current-policy evaluation during selection. Across five reasoning benchmarks, GA-ARL improves average accuracy over D-ARL by 3.1% on Qwen3-1.7B and 1.4% on Qwen3-4B in relative terms. On Qwen3-1.7B, it also reduces wall-clock training time by 25.3% on average.
Abstract source - NeurIPS · Main conference
RL-IF: Tracking Non-local Training Data Influence for Online Reinforcement Learning
Shixuan Liu, Cheng Tang, Yuzheng Hu, Fan Wu, Han Zhao, Jiaqi Ma
Abstract
Online reinforcement learning (RL) has achieved significant success in decision-making tasks, but modern online RL remains highly sensitive to the quality of training experience. Understanding the contribution of individual training instances is therefore central to data-centric RL, with applications ranging from experience selection to policy interpretation. Existing data attribution methods for online RL primarily focus on local influence within a single training round, overlooking the non-local data influence across multiple training rounds. In this work, we formalize data attribution in online RL through a trajectory-level leave-one-out quantity, RL-LOO, which measures how one training sample influences a downstream target after subsequent online updates have taken place. We then derive RL-IF, a first-order estimator that propagates data influence through both optimization effects and policy-induced sampling effects, and provide theoretical guarantees on its approximation accuracy under smoothness assumptions. Our analysis further disentangles these two effects and shows both theoretically and empirically that the full RL-IF estimator can often be well approximated using the optimization effect alone. Building on this observation, we develop RINSE, a practical data filtering method for online RL. Experiments on standard control benchmarks and an RLHF-style toxicity-mitigation setting show that RINSE improves training efficiency and final performance over standard PPO and local attribution baselines. These results suggest that RL-IF provides a practical and principled framework for understanding and improving online RL.
Abstract source - NeurIPS · Main conference
Know Your Task, Learn It Right: Task-Aware Optimistic Value Learning for Multi-Task Multi-Agent Reinforcement Learning
Chang Liu, Mengyang Li
Abstract
Cooperative multi-agent reinforcement learning over heterogeneous episodes requires both identifying which latent class an episode belongs to and adapting the learning algorithm to that identity. Recent trajectory-class-aware methods address the first half of this problem by clustering trajectories into latent classes and feeding the class label to the agent policy. Class-dependent learning dynamics also motivate adapting the Bellman update and the credit assignment performed by the value mixer. We show empirically that, even when classes are recovered accurately, the Bellman dynamics across classes diverge sharply, with simple classes saturating early and harder classes sustaining large temporal-difference residuals and large cross-agent value disagreement. Building on this observation, we propose Know Your Task, Learn It Right (KYT), a class-aware extension of value factorization that injects per-class learning signal into the Bellman update itself. KYT maintains a lightweight tracker that summarizes the per-class TD-error and cross-agent value spread without any extra network, and uses it to add a bounded, class-relative exploration bonus to the Bellman target. A class-conditioned mixer further modulates credit assignment through a softplus-gated affine layer that preserves the Individual-Global-Max (IGM) property, so that decentralized greedy execution stays consistent with the centrally trained value for any predicted class label. Across StarCraft II micromanagement benchmarks including SMACv2 and the unit-combination suite SurComb, KYT outperforms strong class-aware and exploration-aware baselines, with the largest gains concentrated on the hardest classes.
Abstract source - NeurIPS · Main conference
Events as Triggers for Behavioral Diversity in Multi-Agent Reinforcement Learning
Hannes M Büchi, Manon Flageat, Eduardo Sebastián, Amanda Prorok
Abstract
Effective multi-agent cooperation requires agents to adopt diverse behaviors as task conditions evolve—and to do so at the right moment. Yet, current Multi-Agent Reinforcement Learning (MARL) frameworks that facilitate this diversity are still limited by the fact that they bind fixed behaviors to fixed agent identities. Consequently, they are ill-equipped for tasks where agents need to take on different roles at very specific moments in time. We argue that, to define these behavioral transitions, the missing ingredient is **events**. Events are changes in the state of the system that induce qualitative changes in the task. Based on this view, we introduce a framework that decouples agent identity from behavior, capturing a continuous manifold from which agents instantiate their behaviors in response to events. This framework is based on two elements. First, to build an expressive behavior manifold, we introduce Neural Manifold Diversity (NMD), a formal distance metric that remains well-defined when behaviors are transient and agent-agnostic. Second, we use an event-based hypernetwork that generates Low-Rank Adaptation (LoRA) modules over a shared team policy, enabling on-the-fly agent-policy reconfiguration in response to events. We prove that this construction ensures that diversity does not interfere with reward maximization by design. Empirical results demonstrate that our framework outperforms established baselines across benchmarks while exhibiting zero-shot generalization, and being the only method that solves tasks requiring sequential behavior reassignment.
Abstract source - NeurIPS · Main conference
Reinforcement Learning-Guided Symbolic Execution for Efficient and Exploitable Smart Contract Analysis
Zhaoxuan Li, Ziming Zhao, Siqi Lu, Rui Zhang, Wenhao Li, Xiaofei Yue, Fan T Zhang
Abstract
Currently, frequent security incidents of Ethereum contracts have caused billions of dollars in losses. There is a pressing need to identify defective contract code and generate exploit call sequences to reproduce attacks and ensure detection accuracy. Nevertheless, the state-of-the-art (SOTA) detection methods based on symbolic execution and fuzzy testing cannot achieve the desired performance due to the state explosion problem caused by contract characteristics such as cross-contract calls and loop branches, especially in large wild contracts. To tackle this problem, we propose RSymX, an assembly strategy-guided symbolic execution for contracts that leverages reinforcement learning to dynamically balance code coverage and vulnerability discovery. Extensive experiments on open-sourced datasets demonstrate that RSymX achieves an overlap score of 92.39% and identifies many vulnerable wild instances that SOTAs misreport. Especially, its dynamic strategies improve the efficiency of state exploration by 2x~4x, and in some cases up to 10x, offering guidance for future symbolic-execution-based analyzers. The code and data are available in https://github.com/Secbrain/RSymX.
Abstract source - NeurIPS · Main conference
Exploring Lifelong Adaptation: In-Context Reinforcement Learning in Non-Stationary Environments
Ye Wang, Kaiqian Cui, Xinrun Xu, Tao Zhang, Qin Jin
Abstract
Standard In-Context Reinforcement Learning (ICRL) typically assumes stationary dynamics within an interaction history, a restriction that limits its real-world applicability. We formalize Lifelong ICRL, a more realistic paradigm in which agents must continuously adapt to diverse non-stationary dynamics, ranging from abrupt random shifts to structured temporal drifts within a single lifetime. To probe the adaptation limits of this setting, we conduct a large-scale empirical study across non-stationary environments that span discrete symbolic reasoning and continuous physics-based control. We systematically investigate three core dimensions governing adaptation: (i) Training Regimes, comparing the generalization boundaries of domain randomization, stationary training, non-stationary training, and their staged combinatorial strategies; (ii) Model Architectures, evaluating modern sequence models, including Linear Attention and hybrid designs; and (iii) Impact of Scale, analyzing the relative contributions of interaction scale and model capacity. Our results reveal how these factors jointly shape robust in-context adaptation under unknown dynamics, yielding actionable insights for the design of generalist agents.
Abstract source - NeurIPS · Main conference
Calibrated Safe Policy Improvement for Continuous Offline Reinforcement Learning
Federico Bianchi, Alessandro Farinelli, Alberto Castellini
Abstract
Safe Policy Improvement (SPI) aims to improve a baseline policy offline using fixed data while avoiding performance degradation with high probability. Existing baseline-bootstrapping SPI methods rely on count-based support, which does not directly extend to continuous state-action spaces. We propose Calibrated Safe Policy Improvement (Cal-SPI), a continuous offline SPI framework that replaces count-based support with calibrated model trust. Cal-SPI learns a deep ensemble dynamics model and calibrates ensemble disagreement on held-out data through a Wilks-style tolerance construction, turning raw uncertainty into a statistical upper bound on one-step model error. This certificate defines a hard trust gate over continuous state-action candidates. MCTS-DPW is used to propose and rank gate-certified deviations, while execution is controlled by a separate baseline-relative one-step certificate with fallback to the baseline. We show that, under the stated calibration and deployment-transfer conditions, this mechanism yields a conditional PAC-style baseline-relative improvement bound and collapses exactly to the baseline when no admissible gate can be constructed. Experiments across five continuous-control domains of increasing complexity show that Cal-SPI preserves baseline performance when calibration support is insufficient and improves over the baseline once calibrated model trust becomes reliable.
Abstract source - NeurIPS · Main conference
Reinforcement Learning for Code Optimization
Pierre Chambon, Kunhao Zheng, Juliette Decugis, Benoît Sagot, Gabriel Synnaeve
Abstract
RL for code correctness is now established: have the model generate a program, run it against hidden test cases, and reward solutions that pass. Extending this to code optimization seems straightforward: just add execution time to the reward. But in practice, once timing drives the reward, small problems in measurement noise, reward sparsity, or Group Relative Policy Optimization (GRPO) instability overwhelm the signal and make RL fail: generated solutions are barely faster, and more of them can fail. We make execution time learnable through three stages: (1) how code is tested, by building DMC-Optim with large optimization tests and a calibrated sandbox; (2) how speed is turned into reward, by composing correctness and speed in the RL environment and using an offline simulator to predict the most promising configurations; and (3) how the model learns from that reward, by adapting GRPO and evaluation to the sparser, noisier timed-execution setting. On DMC-Optim, the strongest optimization-aware configurations improve pass@1 under a top-50% speed threshold from 18.0% to 31.3% on Qwen 2.5 7B and from 30.7% to 50.4% on CWM 32B. Under a top-30% threshold, these gains further increase, with CWM 32B showing 125% relative improvement, while pure-correctness scores remain stable. When the timing sandbox is degraded, robust optimization RL reaches roughly 100%–200% improvement over standard RL with verifiable rewards (RLVR), depending on the evaluation criterion. On LiveCodeBench (LCB), CWM 32B wins up to 83% of median-sample speed comparisons against standard RLVR. Relative to the fastest correct human submissions per problem, it reaches about half the human rate of complexity-class improvements (13% vs. 22%).
Abstract source - NeurIPS · Main conference
DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation
Siqi Guo, Ming Lin, Tianbao Yang
Abstract
Developing efficient CUDA kernels is a fundamental yet challenging task in the generative AI industry. Recent research leverages Large Language Models (LLMs) to automatically convert PyTorch reference implementations to CUDA kernels, significantly reducing engineering effort. State-of-the-art LLMs, such as GPT-5.2 and Claude-Sonnet-4.5, still struggle with this task. To address this challenge, we propose **DRTriton**, a scalable learning framework for training LLMs to convert PyTorch programs into highly optimized Triton kernels, which are then compiled to CUDA kernels at runtime. DRTriton consists of three key components: (i) a data synthetic algorithm CSP-DAG that guarantees full coverage and unbiased uniform sampling over the operator space with controlled difficulty; (ii) a curriculum RL framework with decoupled rewards that jointly optimizes conversion success rate and execution speed; and (iii) a test-time search algorithm that further improves the execution speed of the generated Triton kernels. With a warmup stage of SFT on limited PyTorch-Triton pairs curated using existing LLMs, DRTriton trained by RL on synthesized PyTorch programs generalizes effectively to real-world CUDA kernels that are challenging even for human experts. Experimental results show that DRTriton-7B achieves speedup over PyTorch on 92\% of KernelBench Level 2 tasks, compared to 23\% for GPT-5.2 and 19\% for Claude-Sonnet-4.5.
Abstract source - NeurIPS · Main conference
Benign Reinforcement Learning Can Amplify Latent Backdoors
Chen Lai, Javier Rando, Nicholas Carlini, Yiming Zhang
Abstract
Reinforcement learning (RL) is now standard for post-training large language models. The same reward optimization that elicits useful capabilities, however, can also reinforce latent backdoors planted earlier in the pipeline: attack success rates of 0–0.2% after SFT rise to 40–98% on training-distribution inputs after RL, and generalize to 13–30% on held-out evaluation, with no modification to the RL data, reward function, or training loop. We study this phenomenon in the context of agent models, where SFT poisoning teaches the victim model (Qwen3-8B and Claude Haiku 4.5) to call an attacker-controlled oracle. Because the oracle can be set up to always return correct answers, calling it earns higher reward than the model’s own attempts, and RL reinforces the behavior. We further show that the oracle’s RL-time responses can instill persistent biases, such as brand preferences, that survive into deployment even when no tool calls happen. Such patterns appear difficult to detect with current tools: traditional guard models do not flag this mechanism, and LLM-based auditors remain unreliable, achieving only 4.5% precision even after iterative prompt refinement. Our findings point to the value of monitoring model behavior during and after RL training.
Abstract source - NeurIPS · Main conference
Towards Differentially Private Reinforcement Learning with General Function Approximation
Yi He, Xingyu Zhou
Abstract
We present the first theoretical guarantees for differentially private online reinforcement learning (RL) with general function approximation, extending beyond prior work restricted to tabular and linear settings. Our approach combines a batched policy update scheme with the exponential mechanism, together with a novel regret analysis. We show that, even under general function approximation, the regret in the model-free setting under differential privacy matches the state of the art for the linear case, scaling as $\widetilde{O}(K^{3/5})$, where $K$ denotes the number of episodes. As an important by-product, we also establish the first regret bound for online RL with batch update that depends on the standard complexity measure of **coverability**, complementing existing results based on a newly introduced Eluder-Condition class. In addition, we uncover fundamental gaps in recent results for private RL with linear function approximation, thereby clarifying its landscape.
Abstract source - NeurIPS · Main conference
When Credit Turns Against Tools: Transition-Aware Credit Assignment in Agentic Reinforcement Learning
Xiangyu Lu, Zhanke Zhou, Jiazhe Ning, Chentao Cao, Jiangchao Yao, Bo Han
Abstract
Agentic reinforcement learning with verifiable rewards trains language models through multi-turn tool interactions, yet their reasoning performance and tool-calling ability can decline during training. We trace this degradation to three coupled mechanisms: (1) _tool-token imbalance_ produces negative overall tool credit when incorrect trajectories contain more tool tokens per turn than correct ones; (2) _aggregation amplification_ can further strengthen this negative signal as token-mean aggregation gives longer incorrect trajectories greater weight in policy updates; and (3) _failure-driven retries_ prolong trajectories as models tend to call tools again after execution errors, extending potential negative credit to recovery attempts. To counter this suppression, we propose Transition-Aware Credit Assignment (TACA), which targets the transition from reasoning to tool use through supervision of both call initiation and generation. Specifically, TACA uses _Advantage Projection_ to enforce a nonnegative mean advantage on tool-call tokens within each prompt group through a minimal uniform shift. Additionally, TACA guides tool-use decisions with _Decision Contrast_, comparing rewards for tool-assisted and direct answers to the same prompt. Through _Supervised Replay_, it reinforces tool-call generation using calls from previously sampled correct trajectories. Across models and tasks, TACA improves performance and sustains more reliable tool interaction during training, raising mean accuracy over MT-GRPO on six reasoning benchmarks by 4.61 percentage points for Qwen2.5-1.5B and 3.61 for Qwen2.5-3B. Our code is available at https://github.com/tmlr-group/TACA.
Abstract source - NeurIPS · Main conference
TPRL: Adaptive Visual Token Pruning in LVLMs via Language-Guided Reinforcement Learning
Sihan Cao, Jianwei Zhang, Pengcheng Zheng, Jiaxin Yan, Caiyan Qin, Yalan Ye, Wei Dong, Peng Wang, Yang Yang, Chaoning Zhang
Abstract
Large Vision-Language Models (LVLMs) incur substantial inference costs due to the processing of a vast number of visual tokens. Existing methods typically rely on hand-engineered scoring rules that fail to capture the complex inter-dependencies of progressive visual token reduction, while directly deploying multi-step pruner during inference introduces unacceptable latency. To overcome this dilemma, we propose TPRL, a reinforcement learning framework that leverages sequential multi-step exploration during training to derive a highly adaptive, one-shot pruning policy for efficient inference. During the training phase, we formulate visual token reduction as a Markov Decision Process (MDP) with explicit state transitions, employing a self-supervised autoencoder to compress visual tokens for efficient policy learning. Initialized via learning from demonstrations, the policy is fine-tuned using Proximal Policy Optimization (PPO) to explicitly learn sequential token dependencies and jointly optimize end-task accuracy and computational efficiency. Crucially, at inference time, TPRL deploys this trained policy as a deterministic one-shot selector, amortizing the cost of sequential reasoning into a single forward pass. Our experimental results demonstrate that TPRL removes up to 66.7\% of visual tokens and achieves up to a 65.3\% reduction in FLOPs during inference while maintaining a near-lossless average accuracy drop of only 0.2\% on LLaVA-1.5-7B. Extensive evaluations across diverse architectures further confirm the robust generalizability of our approach.
Abstract source - NeurIPS · Main conference
When Does Non-Uniform Replay Matter in Reinforcement Learning?
Michal Korniak, Mikołaj Czarnecki, Yarden As, Piotr Miłoś, Pieter Abbeel, Michal Nauman
Abstract
Modern off-policy reinforcement learning algorithms often rely on simple uniform replay sampling and it remains unclear when and why non-uniform replay improves over this strong baseline. Across diverse RL settings, we show that the effectiveness of non-uniform replay is governed by three factors: replay volume, the number of replayed transitions per environment step; expected recency, how recent sampled transitions are; and the entropy of the replay sampling distribution. Our main contribution is clarifying when non-uniform replay is beneficial and providing practical guidance for replay design in modern off-policy RL. Namely, we find that non-uniform replay is most beneficial when replay volume is low, and that high-entropy sampling is important even at comparable expected recency. Motivated by these findings, we adopt a simple Truncated Geometric replay that biases sampling toward recent experience while preserving high entropy and incurring negligible computational overhead. Across large-scale parallel simulation, single-task, and multi-task settings, including four modern and classic algorithms evaluated on six RL benchmark suites, this replay sampling strategy improves sample efficiency in low-volume regimes while remaining competitive when replay volume is high.
Abstract source - NeurIPS · Main conference
NashDreamer: Model-Based Reinforcement Learning for Zero-Sum Imperfect-Information Games
Tomáš Holeček, Viliam Lisy
Abstract
Model-based reinforcement learning (MBRL) has achieved remarkable results in single-agent domains, yet its extension to competitive imperfect information games (IIGs) remains underexplored. In multi-agent settings, opponent-induced non-stationarity complicates the learning process, and decentralized model learning faces severe identifiability barriers, which we argue make centralized model learning a mathematical necessity. Building on this analysis, we propose NashDreamer, a principled MBRL framework for two-player zero-sum IIGs. It introduces a centralized Multi-Agent Recurrent State-Space Model (MARSSM) that decouples environment dynamics from the effect of players' strategies on their individual observations. NashDreamer is designed to use arbitrary policy gradient algorithms and inherits their convergence guarantees towards Nash equilibria under an idealized model. Empirical evaluations across five benchmark games demonstrate that NashDreamer substantially improves sample efficiency over model-free baselines early in the training. Finally, we theoretically analyze the architecture's optimization landscape, identifying the vulnerability of the Dreamer family of algorithms to posterior collapse in stochastic environments. We leave it as an open challenge.
Abstract source - NeurIPS · Main conference
Multi-Objective Reinforcement Learning Using Routed Ensembles and Trajectory Attribution
Zhenshuo Zhang, Ruoxuan Xiong, Hongyang Zhang
Abstract
Multi-objective reinforcement learning is a fundamental problem for modern AI, with applications spanning post-training, reasoning models, and robotic control. A central challenge is to learn policies that balance competing objectives, such as helpfulness versus honesty in safety and alignment, or speed versus energy in robotics. The optimal policy can vary sharply with objective-weighting combinations, and the extent of this variation depends crucially on the degree of conflict among objectives, making per-preference policy learning sample-inefficient. In this paper, we introduce objective-conflict coefficients and derive near-optimal regret bounds for online settings using this measure, thereby quantifying the impact of misalignment on learning efficiency. Then, we design routed ensemble policy learning, an algorithm that maintains a small set of basis policies and dynamically routes trajectories to the policy with the highest potential reward. Finally, we consider trajectory selection as another approach to mitigate objective conflict, and design a kernel surrogate trajectory attribution algorithm that estimates how feedback signals from a set of trajectories influence policy learning on other trajectories. The kernel can capture nonlinear interactions such as synergy and antagonism between trajectories. We evaluate our approach across diverse environments and benchmarks: routed ensembles improve average performance by 4.3\% over baselines for online environments from Meta-World and MO-Gymnasium, and kernel surrogate attribution improves correlation with leave-one-out analysis over existing baselines by 50\%. When applied to trajectory selection, kernel surrogate attribution yields a 27\% improvement in reward over baseline attribution methods.
Abstract source - NeurIPS · Main conference
The Reasoning Boundary Paradox: How Reinforcement Learning Constrains Language Models
Nguyen Phuc, Chinh D La, Duy M. H. Nguyen, Nitesh Chawla, Binh T. Nguyen, Khoa D Doan
Abstract
Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a key method for improving Large Language Models' reasoning capabilities, yet recent evidence suggests it may paradoxically shrink the reasoning boundary rather than expand it. This paper explains this shrinkage issue of RLVR by analyzing its learning dynamics and reveals two critical phenomena that account for this failure. First, we expose negative interference in RLVR, where learning to solve certain training problems actively reduces the likelihood of correct solutions for others, leading to the decline of Pass@$k$ performance, or the probability of generating a correct solution within $k$ attempts. Second, we uncover the winner-take-all phenomenon: RLVR disproportionately reinforces problems with high likelihood, correct solutions under the base model, while suppressing other initially low-likelihood ones. Through extensive theoretical and empirical analysis on multiple mathematical reasoning benchmarks, we show that this effect arises from the inherent on-policy sampling in standard RL objectives, causing the model to converge toward narrow solution strategies. These insights motivate us to design a \textit{simple yet effective} data curation algorithm that focuses RLVR learning on low-likelihood problems (the non-winners) and achieves notable improvement in Pass@$k$ performance, illustrating the potential of a broader class of data-curation mitigation strategies.
Abstract source - NeurIPS · Main conference
Reward Inflation: A Healthy Stimulus for Reinforcement Learning
Ganghun Lee, Minji Kim, Minsu Lee, Byoung-Tak Zhang
Abstract
Reward serves as the primary learning signal in reinforcement learning (RL). However, while reward magnitudes are typically held fixed throughout training, their temporal modulation remains underexplored. In this paper, we propose reward inflation, a gradual scaling of rewards over the course of training, and show that it can act as a healthy stimulus for RL. Theoretically, reward inflation induces an implicit recency weighting that upweights recent transitions during policy updates, enabling faster adaptation. We further show that reward inflation suppresses the emergence of dormant neurons by sustaining gradient signals as the policy saturates, suggesting a possible contribution to plasticity preservation. Empirical results on ALE games and MuJoCo tasks corroborate these findings, showing that an appropriate level of reward inflation benefits a broad range of tasks. Finally, we introduce Fed, an adaptive variant that adjusts the inflation level on the fly, and find that it often improves upon fixed inflation. Source code is available at https://github.com/northadventure/RewardInflation.
Abstract source - NeurIPS · Main conference
$\varphi$TD: Distributional Reinforcement Learning using Characteristic Functions
Thomas Mousseau, Tyler Kastner, Davide Baldelli, Amir-massoud Farahmand
Abstract
Distributional Reinforcement Learning methods aim to learn the entire distribution of returns, yet current algorithmic approaches are limited to a narrow class of distributions. We propose $\varphi$TD, a method to overcome this limitation by computing the loss in the frequency domain. We demonstrate that this further unifies quantile and categorical approaches to distributional RL, and enables the learning of distributions that were previously impossible to capture, such as mixtures of continuous distributions. We empirically study $\varphi$TD across synthetic benchmarks and large-scale deep RL environments and demonstrate that the flexibility obtained from wider parametric families can lead to improved performance.
Abstract source - NeurIPS · Main conference
Control Reinforcement Learning: Token-Level Mechanistic Analysis via Learned SAE Feature Steering
Seonglae Cho, Zekun Wu, Adriano Koshiyama
Abstract
Sparse autoencoders (SAEs) decompose language model activations into interpretable features, primitives for mechanistic circuit analysis. Yet existing methods identify task-specific circuits via attribution or apply steering along fixed directions, but none learns a policy from task reward for per-token feature amplification. We cast token-level feature intervention as a single-layer, partially observed control problem over the layer-causal computation of the LLM and approximate it as an MDP. Control Reinforcement Learning (CRL) trains a policy in this POMDP that selects an SAE feature to amplify at each generation step, yielding per-token intervention traces that expose which features drive task behavior. Adaptive Feature Masking encourages diverse feature discovery while preserving single-feature attribution. The framework provides branch point tracking (tokens where feature choice changes outcomes), critic trajectory analysis (separating policy from value estimation errors), and layer-wise comparison along the hierarchy of the residual stream. Cross-task transfer is asymmetric (MMLU features harm GSM8K but not vice versa; HarmBench helps XSTest), consistent with partial task computation overlap rather than dataset-specific shortcuts: task-conditional attribution does not require transfer invariance. On Gemma-2 2B and LLaMA-3.1 8B across MMLU, BBQ, GSM8K, HarmBench, and XSTest, CRL serves as an SAE quality diagnostic alongside accuracy gains. Learned feature steering thus serves as a layer-specific diagnostic complementing SAE analysis based on activations.
Abstract source