Skip to content

NeurIPS papers

Search NeurIPS papers by title, author, or track. Open a paper’s abstract to read more.

Explore the NeurIPS analysis

Search results

201–220 of 245

  • NeurIPS · Main conference

    Sharp Convergence and Sample Complexity of Policy Mirror Descent for Average-Reward MDPs

    Enes Arda, Atilla Eryilmaz

    Abstract

    Policy mirror descent (PMD) has a mature finite-time theory in discounted Markov decision processes (MDPs), but less is known in the average-reward setting, a more natural objective for many control applications. We give a finite-time, finite-sample analysis of PMD in ergodic average-reward MDPs built around a single master recursion that governs convergence for any critic, without external regularization. Its specializations yield linear rates for exact, inexact-tabular, and linear function approximation (LFA) updates. For exact PMD, the rate is tight in the worst case, and convergence can become superlinear. We complement these convergence results with critics whose end-to-end sample complexities improve the prior best policy-gradient dependence from $|\mathcal{S}||\mathcal{A}|\ t_{\mathrm{mix}}^3$ to $|\mathcal{S}|\ t_{\mathrm{mix}}^3+|\mathcal{S}||\mathcal{A}|\ t_{\mathrm{mix}}^2$ in the tabular setting and from $|\mathcal{S}||\mathcal{A}|\ t_{\mathrm{mix}}^5$ to $d\ t_{\mathrm{mix}}^3$ under LFA. Matching information-theoretic lower bounds establish that both critics are optimal up to logarithmic factors.

    Abstract source
  • NeurIPS · Main conference

    LPG: Balancing Efficiency and Policy Reasoning in Latent Policy Guardrails

    Nanxi Li, Zhengyue Zhao, Chaowei Xiao

    Abstract

    Guardrails are a critical safety layer for modern AI systems, but their operating regime is changing. As LLMs are deployed as customized assistants, safety policies are increasingly specified at inference time by users, organizations, or regulatory contexts. This makes safety enforcement fundamentally dynamic: the guardrail should adapt to changing safety policies without retraining. Yet this requirement creates a fundamental tension: faithfully judging complex policy contexts demands reasoning capability, while practical deployment requires low-latency responses. We introduce Latent Policy Guardrail (LPG), a guardrail framework that learns **semantic latent deliberation** over dynamic policies. LPG compresses the internal deliberation needed for intent interpretation and policy grounding into continuous states supervised by decision-relevant semantics. At inference time, it generates only a compact verdict anchored to the violated policy clauses, providing clause-level attribution while avoiding the latency of explicit reasoning. Across policy guardrail benchmarks, LPG-4B reaches 84.5% average safety accuracy and 77.9% F1 by compressing deliberation into just 10 latent tokens, outperforming the strongest dynamic baseline while running roughly 11 times faster than Qwen3-4B-Thinking under the single-sample evaluation setup. Code: https://github.com/SaFo-Lab/Latent_Policy_Guard.

    Abstract source
  • NeurIPS · Main conference

    Action Images: End-to-End Policy Learning via Multiview Video Generation

    Haoyu Zhen, Zixian Gao, Qiao Sun, yilin zhao, Yuncong Yang, Yilun Du, Pengsheng Guo, Tsun-Hsuan Johnson Wang, Yi-Ling Qiao, Chuang Gan

    Abstract

    World action models (WAMs) have emerged as a promising direction for robot policy learning, as they can leverage powerful video backbones to model the future states. However, existing approaches often rely on separate action modules, or use action representations that are not pixel-grounded, making it difficult to fully exploit the pretrained knowledge of video models and limiting transfer across viewpoints and environments. In this work, we present Action Images, a unified world action model that formulates policy learning as multiview video generation. Instead of encoding control as low-dimensional tokens, we translate 7-DoF robot actions into interpretable action images: multi-view action videos that are grounded in 2D pixels and explicitly track robot-arm motion. This pixel-grounded action representation allows the video backbone itself to act as a zero-shot policy, without a separate policy head or action module. Beyond control, the same unified model supports video-action joint generation, action-conditioned video generation, and action labeling under a shared representation. On RLBench and real-world evaluations, our model achieves the strongest zero-shot success rates and improves video–action joint generation quality over prior video-space world models, suggesting that interpretable action images are a promising route to policy learning.

    Abstract source
  • NeurIPS · Main conference

    StaRPO: Stability-Augmented Reinforcement Policy Optimization

    Jinghan Zhang, Fengran Mo, Tharindu Cyril Weerasooriya, Ruimin Dai, Xiaoyan Han, Yanjie Fu, Dakuo Wang, Kunpeng Liu

    Abstract

    Reinforcement learning (RL) is effective in enhancing the accuracy of large language models in complex reasoning tasks. Existing RL policy optimization frameworks rely on final-answer correctness as feedback signals and rarely capture the internal logical structure of the reasoning process. Consequently, the models would generate fluent and semantically relevant responses but logically inconsistent, structurally erratic, or redundant. To this end, we propose StaRPO, a stability-augmented reinforcement learning framework that explicitly incorporates reasoning stability into the optimization objective. Our StaRPO decomposes stability into two computable lightweight metrics: the Autocorrelation Function (ACF) to evaluate local step-to-step coherence, and Path Efficiency (PE) to evaluate global goal-directedness of the reasoning trajectory. These stability rewards are combined with task rewards to provide complementary and process-aware feedback. We validate the effectiveness of using ACF and PE rewards by showing their correlation with logic errors on two backbone models. Experiments on four reasoning benchmarks show that StaRPO consistently outperforms compared baselines and can enhance both final-answer accuracy and logical stability.

    Abstract source
  • NeurIPS · Main conference

    Beyond Clipping: Signed Logarithmic Smoothing for Policy Optimization

    Jihun Yun, Sungjoon Yoon, Beomhan Baek, Minhak Song, Jongha (Jon) Ryu, Kwang-Sung Jun

    Abstract

    Policy optimization algorithms that use rollouts often optimize $\rho A$ where $\rho$ is the importance ratio from the current policy to the rollout policy and $A$ is an advantage estimate. Widely-used algorithms such as PPO and GRPO apply clipping to the ratio $\rho$ as a way to smooth it out, which, depending on $\rho$, zeros out the gradient. Trading off bias and variance, clipping helps optimization. However, *is clipping the best we can do?* In this paper, we propose an alternative smoothing operator called signed logarithmic smoothing (Signed LS), $\psi_\beta(z) = \mathrm{sgn}(z)\cdot\beta^{-1}\log(1+\beta|z|)$ and apply it to the ratio times the advantage $\rho A$ rather than the ratio $\rho$ alone. Building on Signed LS, we introduce KRAFT, a GRPO-style objective that replaces clipping with Signed LS. In an off-policy contextual bandit model, we establish theoretical results characterizing high-probability approximation error bounds of smoothing operators. Our analysis shows that, depending on the smoothing level, clipping and Signed LS show different tradeoffs. In particular, with best tuning parameters, we show that Signed LS achieves a better bound than clipping. In contextual bandit experiments, KRAFT outperforms clipping baselines and shows lower hyperparameter sensitivity. We also validate our approach by fine-tuning three LLMs for mathematical reasoning. KRAFT matches or exceeds GRPO's average benchmark accuracy, with comparable or lower reference KL and higher policy entropy at the end of training.

    Abstract source
  • NeurIPS · Main conference

    DeFlow: Decoupling Behavior-Prior Modeling and Value Maximization for Offline Policy Extraction

    Zhancun Mu, Chi Zhang

    Abstract

    We present DeFlow, a decoupled offline RL framework for extracting high-value actions from a learned multi-step flow prior. Directly optimizing iterative generative policies typically requires backpropagation through ODE solvers, while shortcut policies trade off expressivity, inference cost, and policy-improvement objectives. DeFlow keeps the flow model as a behavior prior and trains a lightweight action-conditioned residual module for value improvement under an adaptive trust-region penalty. This design bypasses solver differentiation and encourages proximity to the learned prior without treating the trust region as exact data-support preservation. Empirically, DeFlow is competitive with recent generative offline RL baselines, with the clearest gains on selected multimodal manipulation and offline-to-online settings.

    Abstract source
  • NeurIPS · Main conference

    Implicit Drifting Policy: One-Step Action Generation via Conditional Expert Geometry

    Zemin Yang, Yaoyu He, Yiming Zhong, Yuhao Zhang, Xinge ZHU, Yao Mu, Qingqiu Huang, Yuexin Ma

    Abstract

    Generative action policies based on diffusion or flow matching excel in behavior cloning, yet their iterative sampling is prohibitive for high-frequency robot control. While recent one-step formulations alleviate this latency, they inevitably discard the intermediate trajectory evolution that provides crucial action correction. Directly recovering this mechanism by explicitly estimating a training-time drifting field is challenging under sparse conditional demonstrations. We introduce **Implicit Drifting Policy (IDP)**, a one-step imitation learning framework that brings the training-time correction of Drifting into policy learning without explicit vector field estimation. IDP extracts a **conditional expert geometry** from the local variation of observation-similar expert actions, and compares it against a global **reference geometry** to isolate condition-specific constraints. This local geometric structure adaptively weights a scalar potential objective. Combined with an expert-proximal terminal evaluation, IDP incorporates local geometric correction into the one-step generator during training. Extensive evaluations across 2D, 3D, and real-world manipulation tasks show IDP effectively maintains adherence to valid action manifolds, improving upon explicit drifting methods and achieving competitive performance with strong one-step baselines.

    Abstract source
  • NeurIPS · Main conference

    The Attacker in the Mirror: Breaking Self-Consistency in Safety via Anchored Bipolicy Self-Play

    Gabriele La Malfa, Emanuele La Malfa, Saar Cohen, Jie Zhang, Michael Luck, Michael Wooldridge, Elizabeth Black

    Abstract

    Self-play red team is an established approach to improving AI safety in which different instances of the same model play attacker and defender roles in a zero-sum game, i.e., where the attacker tries to jailbreak the defender; if self-play converges to a Nash equilibrium, the model is guaranteed to respond safely within the settings of the game. Although the parameter sharing enforced by the use of the same model for the two roles improves stability and performance, it introduces fundamental theoretical and architectural limitations. We show that the set of Nash equilibria that can be reached corresponds to a broad class of behaviours that includes trivial always refuse strategies and oracle-like defenders, thus limiting practical applicability. We then show that when attacker and defender share and update the same base model, the dynamics collapse to self-consistency, so that attacks do not enforce adversarial pressure on the defender. In response, we propose Anchored Bipolicy Self-Play, which trains distinct role-specific LoRA adapters on top of a frozen base model, thereby maintaining stable optimisation while preserving adversarial pressure through explicit role separation. In relation to standard self-play, we show up to 100x greater parameter efficiency than fine-tuning and consistent improvements in safety compared to self-play fine-tuned models. We evaluate on Qwen2.5-\{3B, 7B,14B\}-IT models across widely used safety benchmarks, showing improved robustness without loss of reasoning ability. Cross-play experiments further show that our attacker and defender models are superior to self-play in terms of adversarial defence and safety.

    Abstract source
  • NeurIPS · Main conference

    Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing

    Jie Jiang, Xing Sun, RuoTian Chen, Jianan Su, Kaixin Shen

    Abstract

    Speculative decoding accelerates LLM inference by having a lightweight draft model propose speculative windows of candidate tokens for parallel verification by a larger target model. In practice, speculative efficiency is often bottlenecked by hard-to-draft positions, where an early mismatch truncates the accepted prefix and invalidates the rest of the speculative window. Most learning-based drafters are still optimized with token-level supervised objectives, even though speculative utility is inherently window-level and prefix-sensitive. We propose **PPOW** (**P**erformance-Driven **P**olicy **O**ptimization with Adaptive **W**indowing), a reinforcement learning framework that shifts drafter optimization from token-level imitation to window-level optimization. PPOW combines a Cost-Aware Speedup Reward, a Distribution-Based Proximity Reward, and Adaptive Divergence-Aware Windowing, which prioritizes informative windows with high confidence-weighted draft--target divergence. PPOW achieves average acceptance lengths of 6.29–6.52 and speedups of 3.39–4.36$\times$ across multiple model families and benchmarks under a unified decoding protocol. These results show that performance-driven window-level optimization is a practical approach to improving speculative decoding efficiency.

    Abstract source
  • NeurIPS · Main conference

    DyJR: Preserving Local Policy Plasticity in Reinforcement Learning with Verifiable Rewards via Dynamic Jensen-Shannon Replay

    Long Li, Zhijian Zhou, Tianyi Wang, Weidi Xu, Zuming Huang, Wei Chu, Zhe Wang, Shirui Pan, Chao Qu, Yuan Qi

    Abstract

    While Reinforcement Learning (RL) enhances Large Language Model reasoning, on-policy algorithms like GRPO are sample-inefficient as they discard past rollouts. Existing experience replay methods address this by reusing accurate samples for direct policy updates, but this often incurs high computational costs and causes mode collapse via overfitting. We argue that historical data should prioritize sustaining local policy plasticity rather than simply reinforcing accuracy. We define local policy plasticity as a persistent ability to remain backtrackable and switchable with respect to recent successful trajectories: throughout training, the policy maintains non-negligible support on recently reachable alternatives, so it can smoothly reallocate probability mass when needed without being locked into a single dominant path. To this end, we propose Dynamic Jensen-Shannon Replay (DyJR), a simple yet effective regularization framework using a dynamic reference distribution from recent trajectories. DyJR introduces two innovations: (1) A Time-Sensitive Dynamic Buffer that uses FIFO and adaptive sizing to retain only temporally proximal samples, synchronizing with model evolution; and (2) Jensen-Shannon Divergence Regularization, which replaces direct replay updates with a distributional constraint to prevent premature over-commitment to a single Rank-1 trajectory. Experiments on mathematical reasoning and Text-to-SQL benchmarks demonstrate that DyJR significantly outperforms GRPO as well as baselines such as RLEP and Ex-GRPO, while maintaining training efficiency comparable to the original GRPO. Furthermore, from the perspective of Rank-$k$ token probability evolution, we show that DyJR improves policy plasticity by reducing over-reliance on Rank-1 tokens and preserving recently reachable alternatives, elucidating how specific sub-modules of DyJR influence the training dynamics.

    Abstract source
  • NeurIPS · Main conference

    Beyond Outcome Rewards: Step-Level Self-Distilled Policy Optimization for Deep Search Agents

    Haoze Wu, Chuqiao Kuang, Tianyi Zhuang, Xiaoguang Li

    Abstract

    Deep search agents operate over trajectories spanning dozens of steps, yet standard reinforcement learning provides only a single outcome reward per trajectory — supervision that is far too sparse for effective credit assignment. On-policy self-distillation (OPSD) addresses this by using the model's own logits as dense token-level teachers, but extending it to search agents introduces a fundamental tension: the teacher, having access to privileged information such as the correct answer, produces a distribution that differs systematically from the student's exploration-based reasoning, and naive distillation causes the student to inherit this information asymmetry rather than learn better search strategies. We resolve this tension through two contributions. First, we construct Evidence Anchors — concise, step-level evidence snippets extracted from the web — as privileged information that captures key reasoning steps without revealing the entire answer path. Second, we propose Step-Level Self-Distilled Policy Optimization (SSPO), which converts teacher–student disagreement into step-level advantage weights within GRPO, applied exclusively to incorrect trajectories. This design decouples what to update from how much to update: the outcome reward determines the direction of policy change, while the teacher modulates its magnitude at each step. Correct trajectories are left untouched, preserving their diversity. On Qwen3-8B, SSPO consistently outperforms GRPO across BrowseComp, GAIA, and FRAMES, surpassing or matching GRPO trained with twice as many gradient steps while adding only about 5\% overhead per step from a single additional forward pass.

    Abstract source
  • NeurIPS · Main conference

    Attribution-Guided Exit Policy for Reliable Early-Exit Inference

    Haseena R P, Muhammed Ashrah, Ajith Abraham

    Abstract

    Early-exit neural networks improve inference efficiency by enabling predictions at intermediate layers, but their effectiveness critically depends on the exit policy that decides whether to stop or continue computation. Existing policies, often based on confidence thresholds, enable early termination but offer limited insight into the reliability of such decisions. To address this, we introduce an explainability-aware framework that operationalizes reliability in terms of the semantic consistency of early-exit decisions, using attribution-derived evidence. We propose Progressive Feature Attribution Maps (PFAM), which capture how feature importance evolves across exits, and the Interpretability-Based Early-Exit Score (IEES), a unified decision metric that integrates prediction confidence with attribution strength and cross-exit attribution stability. To enable efficient deployment, we further introduce a lightweight proxy predictor that estimates IEES using inexpensive, attribution-free features, allowing attribution-informed decisions without computing attributions at inference time. Experiments on convolutional architectures (ResNet, MobileNet, MSDNet) show that our approach improves accuracy--efficiency trade-offs, achieving up to 2.9 percentage points of accuracy gain while reducing inference time by up to 24\% compared to full-depth inference. Similar trends are observed on a vision transformer and a BERT-based language model, suggesting applicability beyond convolutional architectures.

    Abstract source
  • NeurIPS · Main conference

    Pushing Biomolecular Utility-Diversity Frontiers with Supergroup Relative Policy Optimization

    Xinwu Ye, He CAO, Hao Li, Bin Feng, Zijing Liu, Robert Tang, Yu Li, Shenghua Gao

    Abstract

    Biomolecular generators are often adapted with reward feedback to improve task-specific utility, but pushing utility alone can concentrate generation on a narrow family of candidates. Maintaining diversity is difficult because sample diversity is a set-level property. We introduce Supergroup Relative Policy Optimization (SGRPO), a flexible GRPO-style framework that directly constructs rewards from set-level diversity. For each condition, SGRPO samples a supergroup of candidate sets, compares their diversity under the same condition, and redistributes the group diversity reward to individual rollouts through leave-one-out diversity contributions before combining it with rollout-level utility. This design decouples SGRPO from a particular generator, utility reward, or diversity metric, and allows instantiation with different GRPO-style approaches. We evaluate SGRPO on three main settings: de novo small-molecule design, pocket-based small-molecule design, and de novo protein design, instantiating it with both GRPO and Coupled-GRPO across autoregressive and discrete diffusion generators. Across decoding sweeps, SGRPO expands the utility-diversity Pareto frontier and achieves the best frontier-level metrics relative to baselines. Our analyses further show that direct set-level diversity rewards remain effective with small groups and help preserve broader generation-distribution coverage during post-training. The code is available at https://github.com/IDEA-XL/SGRPO.

    Abstract source
  • NeurIPS · Main conference

    Coordination Connectivity: Shared Initialization Shapes the Joint-Policy Landscape in MARL

    Yixiang Fan, Dongmin Li, Weihao Zhang, Hao Ma, Yinxing Dai, Shijie Zheng, Jingjing Huang, Zhiqiang Pu

    Abstract

    Mode connectivity studies reveal that high-performing neural networks are often connected by low-loss paths in parameter space. We investigate the analogue of this phenomenon in cooperative multi-agent reinforcement learning (MARL), where a solution is not a single model but a team of decentralized policies. We introduce coordination connectivity, a diagnostic evaluating whether linear interpolation between the actor parameters of two trained policy teams preserves high team return. The resulting coordination barrier measures whether two successful teams are separated by a performance cliff along the joint-policy path. We evaluate this diagnostic on the StarCraft Multi-Agent Challenge (SMAC) across five controlled training histories, isolating the effects of shared initialization, continued training, parameter decoupling, and HAPPO-style separate-actor specialization. Across three SMAC maps and four seeds, policy teams derived from a shared MAPPO checkpoint exhibit near-zero interpolation barriers, even after non-shared specialization. In contrast, interpolation paths involving independently trained HAPPO teams exhibit substantially larger barriers. Mixed-team assembly, single-agent hot-swap, clone-all, role-swap, and weight-space probes further indicate that shared-initialized agents specialize into distinct roles while remaining within a low-barrier coordination component. These results suggest that shared initialization implicitly structures the joint-policy space of cooperative MARL, providing a mode-connectivity-inspired lens for analyzing coordination, specialization, and same-source cross-version team compatibility.

    Abstract source
  • NeurIPS · Main conference

    Cost-Aware SGD: Theory and Applications to LLM Policy Optimization

    Clara Mohri, Amir Globerson, Haim Kaplan, Tomer Koren, Yishay Mansour

    Abstract

    We consider the problem of Cost-Aware Learning, where sampling different components of a finite-sum objective incurs different costs. The objective is to reach a target error while minimizing the total cost. We propose Cost-Aware SGD, which uses a distribution based on gradient norms and costs to sample components. We provide a thorough analysis of this algorithm, including cost-improvement bounds over baselines, a characterization of distribution proxy sub-optimality, and a lower bound. We apply our theoretical insights to reinforcement learning with language models, where the cost of including a sequence in a policy-gradient update scales with its length. We find that advantage magnitude is a high-fidelity proxy for sequence-level gradient norms, motivating Cost-Aware GRPO. Across 1.5B, 4B, and 8B LLMs, Cost-Aware GRPO matches or exceeds baseline accuracy while using up to 33\% fewer policy-optimization FLOPs and 33\% fewer total FLOPs.

    Abstract source
  • NeurIPS · Main conference

    Actor-Accelerated Policy Dual Averaging for Reinforcement Learning in Continuous Action Spaces

    Ji Gao, Caleb Ju, Guanghui Lan, Zhaohui Tong

    Abstract

    Policy Dual Averaging (PDA) offers a principled Policy Mirror Descent (PMD) framework that more naturally admits value function approximation than standard PMD, enabling the use of approximate advantage (or Q-) functions while retaining strong convergence guarantees. However, applying PDA in continuous state and action spaces remains computationally challenging, since action selection involves solving an optimization subproblem at each decision step. In this paper, we propose \textit{actor-accelerated PDA} (AA-PDA), which uses a learned policy network to approximate the solution of the optimization subproblems, significantly reducing runtime. We provide a theoretical analysis that quantifies how actor approximation error impacts the convergence of PDA under suitable assumptions. We then evaluate its performance on several benchmarks in robotics, control, and operations research problems. AA-PDA achieves better performance compared to on-policy baselines such as Proximal Policy Optimization (PPO). Overall, our results take a step toward bridging the gap between the theoretical advantages of PDA and its practical deployment in continuous-action problems with function approximation. Our code is available at \url{https://github.com/jgioa/pdarl}.

    Abstract source
  • NeurIPS · Main conference

    Co-GRPO: Co-Optimized Group Relative Policy Optimization for Masked Image Generation

    Renping Zhou, Zanlin Ni, Tianyi Chen, Zeyu Liu, Yang Yue, Yulin Wang, Yuxuan Wang, Jingshu Liu, Gao Huang

    Abstract

    Recently, Masked Diffusion Models (MDMs) have shown promising potential across vision, language, and cross-modal generation. However, a notable discrepancy exists between their training and inference procedures. In particular, MDM inference is a multi-step, iterative process governed not only by the model itself but also by various schedules that dictate the token-decoding trajectory (e.g., how many tokens to decode at each step). In contrast, MDMs are typically trained using a simplified, single-step BERT-style objective that masks a subset of tokens and predicts all of them simultaneously. This step-level simplification fundamentally disconnects the training paradigm from the trajectory-level nature of inference, leaving the inference schedules never optimized during training. In this paper, we introduce Co-GRPO, which reformulates MDM generation as a unified Markov Decision Process (MDP) that jointly incorporates both the model and the inference schedule. By applying Group Relative Policy Optimization at the trajectory level, Co-GRPO cooperatively optimizes model parameters and schedule parameters under a shared reward, without requiring costly backpropagation through the multi-step generation process. This holistic optimization aligns training with inference more thoroughly and substantially improves generation quality. Empirical results across four benchmarks-ImageReward, HPSv2, GenEval, and DPG-Bench-demonstrate the effectiveness of our approach.

    Abstract source
  • NeurIPS · Main conference

    Feasible Policy Optimization for Safe Reinforcement Learning

    Yujie Yang, Yuanxu Sun, Wenyu Li, Beiyan Jiang, Tao Zhang, Shengbo Eben Li

    Abstract

    Policy gradient methods serve as a cornerstone of reinforcement learning (RL), yet their extension to safe RL, where policies must strictly satisfy safety constraints, remains challenging. While existing methods enforce constraints in every policy update, we demonstrate that this is unnecessarily conservative. Instead, each update only needs to progressively expand the feasible region while improving the value function. Our proposed algorithm, namely feasible policy optimization (FPO), simultaneously achieves both objectives by solving a region-wise policy optimization problem. Specifically, FPO maximizes the value function inside the feasible region and minimizes the feasibility function outside it. We prove that these two sub-problems share a common optimal solution, which is obtained based on a tight bound we derive on the constraint decay function. Extensive experiments on the Safety-Gymnasium benchmark show that FPO achieves excellent constraint satisfaction while maintaining competitive task performance, striking a favorable balance between safety and return compared to state-of-the-art safe RL algorithms.

    Abstract source
  • NeurIPS · Main conference

    When Are Teacher Tokens Reliable? Position-Weighted On-Policy Self-Distillation for Reasoning

    Xiaogeng Liu, Xinyan Wang, Yingzi Ma, Yechao Zhang, Chaowei Xiao

    Abstract

    On-policy self-distillation (OPSD) trains a student on its own rollouts using a privileged teacher, but its standard objective weights all generated tokens equally, implicitly treating the privileged teacher target as equally reliable at every student-visited prefix. Existing entropy-based on-policy distillation methods relax this uniformity by modulating token-level supervision with teacher entropy, but high teacher entropy in reasoning has an ambiguous reliability meaning: it can reflect either non-viable uncertainty or benign solution diversity. To separate the two, we introduce a branch-viability diagnostic. Specifically, we record next-token alternatives from the privileged-answer teacher prompt, force each alternative after the student prompt plus its on-policy spine prefix, and test whether the resulting student-template continuation recovers the correct answer. On Qwen3-4B, we find that an oriented within-sequence position score is the strongest tested predictor of teacher-token reliability, reaching an area-under-ROC-curve (AUROC) of 0.83 with a 95% cluster-bootstrap interval of [0.66, 0.95]; local uncertainty scores are at most 0.57. Motivated by this trajectory-level structure, we propose Position-Weighted On-Policy Self-Distillation (PW-OPSD), which applies an increasing position weight while keeping the same student rollout, privileged teacher pass, and clipped forward-KL target as OPSD. Across three evaluation seeds, the diagnostic-derived PW-OPSD improves AIME 2024 and AIME 2025 Avg@12 over OPSD by +1.0 and +1.1 points, and a generalization evaluation on two larger-scale models from different families, DeepSeek-R1-Distill-Llama-8B and Olmo-3-7B-Think, also demonstrates consistent aggregate Avg@12 improvements. These results show that teacher-token reliability in reasoning distillation is trajectory-structured and can be utilized without additional teacher computation.

    Abstract source
  • NeurIPS · Main conference

    Transformers Provably Implement In-Context Reinforcement Learning with Policy Improvement

    Haodong Liang, Lifeng LAI

    Abstract

    We investigate the ability of transformers to perform in-context reinforcement learning (ICRL), where a model must infer and execute learning algorithms from trajectory data without parameter updates. We show that a linear self-attention transformer block can provably implement policy-improvement methods, including semi-gradient SARSA and actor-critic, via explicit parameter constructions. Beyond existence, we design a teacher-mimicking training procedure, analyze its gradient-flow dynamics, and establish the first convergence guarantee in the ICRL literature: under suitable richness conditions on the training MDP distribution, gradient flow converges locally and exponentially to an optimal parameter manifold corresponding to the desired RL update. Empirically, training transformers on randomly generated tabular MDPs confirms these predictions: the learned models recover the parameter structure of our explicit constructions and, when deployed on unseen MDPs, deliver strong in-context control performance. Together, these results illuminate how transformer architectures internalize and execute classical reinforcement learning algorithms in context, bridging mechanistic understanding and training dynamics in ICRL.

    Abstract source