TROLL: Trust Regions Improve Reinforcement Learning for Large Language Models
Philipp Becker, Niklas Freymuth, Serge Thilges, Fabian Otto, Gerhard Neumann
International Conference on Learning Representations 2026 · Oral
Overview
The talk introduces TROLL (Trust Region Optimization for Large Language Models), a novel approach to applying reinforcement learning (RL) for the post-training of large language models (LLMs). Presented by Philipp Becker and Niklas Freymuth, this work addresses a critical challenge in fine-tuning LLMs for tasks requiring verifiable rewards, such as mathematical problem-solving and code generation. While Proximal Policy Optimization (PPO)-style clipping has become the de facto standard in this domain, the speakers highlight its known limitations as a crude approximation of true trust region methods. TROLL proposes a more principled and geometrically intuitive approach that leverages trust region projections, demonstrating significant performance gains in these complex tasks.

Key moments
- 0:00 TROLL: Trust regions improve RL for LLMs
- 1:00 Geometric intuition of TROLL's trust region projection
- 2:15 Mathematical solution and sparsification for memory efficiency
- 4:00 TROLL's step-by-step workflow and gradient preservation benefits
- 6:00 TROLL significantly outperforms PPO on math and coding
- 6:50 TROLL's consistent benefits across models and estimators
- 8:00 Q&A: Clarifying sparsification and exploration in TROLL
TROLL: Trust Regions Improve Reinforcement Learning for Large Language Models
Speakers: Philipp Becker, Niklas Freymuth, Serge Thilges, Fabian Otto, Gerhard Neumann
Conference: ICLR 2026
YouTube: https://slideslive.com/39062050
Overview
The talk introduces TROLL (Trust Region Optimization for Large Language Models), a novel approach to applying reinforcement learning (RL) for the post-training of large language models (LLMs). Presented by Philipp Becker and Niklas Freymuth, this work addresses a critical challenge in fine-tuning LLMs for tasks requiring verifiable rewards, such as mathematical problem-solving and code generation. While Proximal Policy Optimization (PPO)-style clipping has become the de facto standard in this domain, the speakers highlight its known limitations as a crude approximation of true trust region methods. TROLL proposes a more principled and geometrically intuitive approach that leverages trust region projections, demonstrating significant performance gains in these complex tasks.
The core motivation behind TROLL stems from the recognition within the broader RL community that PPO's clipping mechanism, while simple and effective in many scenarios, can lead to subtle failure modes and gradient truncation, hindering optimal policy updates. By replacing this heuristic clipping with a rigorous projection method, TROLL aims to achieve more stable and effective learning. This innovation is particularly relevant as LLMs are increasingly deployed in applications where accuracy and verifiability are paramount, making robust and efficient fine-tuning techniques indispensable. The research contributes to advancing the state-of-the-art in RL for LLMs, offering a pathway to unlock higher performance and reliability.
Background
▶ Watch: TROLL: Trust regions improve RL for LLMs (0:00)
Reinforcement Learning (RL) has emerged as a powerful paradigm for fine-tuning Large Language Models (LLMs) after initial pre-training, particularly for tasks that involve complex reasoning, adherence to specific instructions, or generation of verifiable outputs like mathematical proofs or executable code. This post-training phase, often dubbed Reinforcement Learning from Human Feedback (RLHF) or, in this context, Reinforcement Learning from Verifiable Rewards, aims to align the LLM's behavior with desired objectives that are difficult to encode solely through supervised learning. The challenge lies in updating the LLM's vast parameter space effectively without causing catastrophic forgetting or policy collapse, a common pitfall in RL.
Historically, algorithms like Proximal Policy Optimization (PPO) have dominated this space due to their relative simplicity, stability, and good empirical performance. A key component of PPO is its clipping mechanism, which constrains policy updates by limiting the ratio between the new and old policy probabilities. This PPO-style clipping is designed to prevent excessively large policy updates that could destabilize training. However, as the speakers emphasize, this clipping is a heuristic approximation of the more theoretically grounded concept of a trust region. In the broader RL community, it has long been understood that directly enforcing a trust region – a region around the current policy within which the new policy is guaranteed to remain – provides stronger theoretical guarantees and often leads to more stable and efficient learning. Methods like Trust Region Policy Optimization (TRPO) exemplify this principle. The problem, then, is that while PPO's clipping works "rather well in practice," it truncates gradients for advantageous actions that fall outside the clipping bounds, potentially hindering exploration and convergence to optimal policies, and is known to possess "subtle failure modes." This motivates the search for a more principled approach that can scale to the immense complexity and vocabulary sizes of modern LLMs.
Key Findings
▶ Watch: Mathematical solution and sparsification for memory efficiency (2:15)
The central finding of the TROLL research is that by replacing the heuristic PPO-style clipping with a principled trust region projection mechanism, significant improvements can be achieved in the reinforcement learning fine-tuning of Large Language Models. Specifically, TROLL demonstrates large gains on math and coding tasks, where verifiable rewards are crucial. The method consistently outperforms PPO-style clipping across a wide range of experimental conditions, including different model sizes, various advantage estimation methods, and diverse base LLM architectures.
One of the most compelling results is that a 17B model fine-tuned with TROLL can achieve better performance than a 4B model using PPO-style clipping, with all other experimental conditions being equal. This highlights TROLL's ability to extract more performance from models, potentially allowing for the deployment of smaller, more efficient LLMs for specific tasks. Furthermore, TROLL proves to be robust across different advantage estimation methods, often yielding a larger performance differential over clipping than the differences observed between the advantage estimators themselves. Critically, for certain models like Llama-31 and Olmo-2, TROLL enables stable training from base models where PPO-style clipping struggles to establish a meaningful learning signal, indicating a fundamental advantage in stability and convergence. Despite a slight computational overhead of approximately 10% during training for a 4B model, this is more than offset by the substantial performance improvements, making TROLL a practically viable and superior alternative. The technique's novel sparsification scheme is also a key enabler, allowing the memory-intensive trust region projections to scale effectively to LLM-sized vocabularies without prohibitive memory costs.
Technical Deep Dive
▶ Watch: TROLL's step-by-step workflow and gradient preservation benefits (4:00)
The technical foundation of TROLL lies in its innovative approach to enforcing a trust region around the current policy. Unlike PPO's clipping, which truncates gradients, TROLL employs a geometric projection to ensure that policy updates remain within a predefined region of stability. The core idea is to define a trust region around the "old policy" (the policy before the current update), and if a proposed policy update would take the model too far from this old policy, TROLL projects it back onto the boundary of the trust region. This ensures that the updated policy is "by definition within the trust region," eliminating the need for ad-hoc clipping or other external constraints.
Mathematically, this projection is formulated as a constrained optimization problem. The objective is to find a projected policy that is both close to the proposed LLM policy (the one suggested by the gradient update) and simultaneously within the trust region defined relative to the old policy. The distance measure used for both objectives and constraints is the Kullback-Leibler (KL) divergence. Specifically, TROLL seeks to minimize the KL divergence between the LLM policy and the projected policy, subject to a constraint that the KL divergence between the projected policy and the old policy does not exceed a certain threshold (the trust region boundary). This problem, when formulated with KL divergence, remarkably yields a closed-form solution for the primal problem through Lagrange optimization. The solution manifests as a geometric average between the LLM policy and the old policy, controlled by a step-size parameter, eta. While eta itself does not have a closed-form solution and requires a line search, the overall process remains efficient, and crucially, closed-form gradients are maintained throughout the projection process by leveraging a framework called OptNet. This gradient preservation is a significant advantage over PPO's clipping, which discards gradient information for clipped actions.
A major practical hurdle for applying KL-based constraints to LLMs is the immense memory requirement. To compute KL divergences, one would ideally need to store the full token distribution (logits or probabilities) for each token generated, for both the old and new policies. Given that modern LLMs can have vocabularies exceeding 100,000 tokens, storing full distributions for every token across an entire batch would quickly lead to multiple terabytes of memory consumption, rendering the approach infeasible. TROLL addresses this with a novel sparsification scheme. This scheme is based on the insight that for most tokens, the predicted distribution is effectively "one-hot" – meaning only a very small number of tokens account for the vast majority of the probability mass. TROLL's sparsification retains only the k most important (highest probability) tokens for each distribution. This drastically reduces memory usage, making the KL calculations tractable and bounding the memory cost. This overhead is only present during training, is constant with the model size (only dependent on vocabulary size), and diminishes in relative terms as model sizes increase. For a 4B model, the observed overhead was only about 10%, which is well compensated by performance gains.
The overall TROLL workflow involves:
- Rolling out the LLM inference policy to generate sequences and obtain sparse distributions for potential predictions for each token.
- Performing the same for the training policy within each mini-batch.
- Comparing these sparse distributions by computing the KL divergence between them.
- Projecting the policy only if the KL divergence exceeds the predefined threshold (the trust region boundary). In practice, this projection is needed for only about 0.1% of tokens, but these are identified as the "important tokens" where most exploration happens.
- Performing a gradient step on the projected tokens.
- Repeating this process, eventually flushing the training policy into the inference policy for the next PPO iteration.
Compared to other trust region methods, TROLL distinguishes itself by using a hard per-token constraint rather than a soft objective or an expectation over the entire sequence. Its unique sparsification scheme is also critical for enabling scalability to the vast vocabularies of LLMs.
Experimental Setup & Results
▶ Watch: TROLL's consistent benefits across models and estimators (6:50)
The TROLL methodology was rigorously evaluated across a diverse set of experimental conditions to demonstrate its robustness and superiority over PPO-style clipping. The experiments spanned various model architectures, sizes, and advantage estimation methods, focusing primarily on tasks requiring verifiable rewards, specifically math and coding.
Models: The primary model family used for evaluation was Gwen-3, tested at different scales: 1.4B, 4B, and 17B parameters. To ensure broader applicability, TROLL was also tested on non-Gwen models, including Llama-31 and Olmo-2.
Training Algorithms & Advantage Estimators: The primary training algorithm used for comparison was GRPO (Generalized Regularized Policy Optimization), a PPO-style method. However, the talk explicitly states that TROLL's benefits translate across "all these different advantage estimation methods," indicating that its improvements are orthogonal to the specific choice of how advantages are calculated. The core difference in all comparisons was the update mechanism: TROLL's projection versus PPO-style clipping.
Tasks & Metrics: Performance was primarily measured by an evaluation score on math and coding tasks, with higher scores indicating better performance. Wall-clock time was also monitored to assess the computational overhead of TROLL.
Headline Results:
- Performance Gains: TROLL consistently showed vastly better evaluation scores in both math and coding compared to clipping. While specific numerical scores were not presented in the talk, the visual representations of learning curves (full lines for TROLL vs. dotted lines for clipping) clearly depicted substantial and consistent improvements.
- Scalability & Model Efficiency: A striking finding was that a 17B model using TROLL achieved higher performance than a 4B model using clipping, with all other factors being equal. This implies that TROLL can enable smaller models to punch above their weight, or significantly boost the performance of larger models.
- Robustness Across Advantage Estimators: Experiments confirmed that TROLL's performance advantage over clipping was consistent, regardless of the specific advantage estimation method employed. In many cases, the performance difference between TROLL and clipping was greater than the inherent differences between the various advantage estimators themselves, underscoring TROLL's fundamental contribution.
- Enabling Stable Training: For certain base models, notably Llama-31 and Olmo-2, TROLL was observed to enable stable training and achieve meaningful learning signals. In contrast, PPO-style clipping "doesn't really get a signal" and struggles to "come off the ground," indicating a significant quantitative jump and improved training stability provided by TROLL.
- Computational Overhead: TROLL incurs a slight overhead in wall-clock time, reported as approximately 10% for a 4B model. However, the speakers emphasize that this overhead is "more than made up by the performance gains," suggesting a favorable cost-benefit ratio.
In summary, the experimental results strongly support TROLL as a superior and more robust method for RL-based fine-tuning of LLMs, delivering significant performance improvements and enhanced training stability across a broad spectrum of models and tasks.
Practical Implications
▶ Watch: Q&A: Clarifying sparsification and exploration in TROLL (8:00)
The introduction of TROLL carries significant practical implications for anyone involved in the post-training and deployment of Large Language Models, from model builders to infrastructure teams. For practitioners and model builders, TROLL offers a more robust and effective alternative to the widely used PPO-style clipping for fine-tuning LLMs with verifiable rewards, such as in mathematical reasoning, logical deduction, or code generation. The demonstrated ability of TROLL to achieve higher evaluation scores and enable stable training where clipping fails means that developers can potentially build more capable and reliable AI systems. This is particularly valuable in domains where precision and correctness are paramount.
Infrastructure teams might initially be concerned about the computational overhead. While TROLL introduces a roughly 10% increase in wall-clock training time for a 4B model, this overhead is presented as being "more than made up by the performance gains." Furthermore, the memory overhead due to the sparsification scheme is bounded and, critically, diminishes relative to model size, making it increasingly efficient for larger LLMs. This suggests that the additional computational cost is a worthwhile investment for the significant boost in model quality and training stability. The compatibility of TROLL with various existing advantage estimators also means that integration into current RL training pipelines might be relatively straightforward, requiring mainly the replacement of the clipping mechanism with the projection and sparsification components.
Tradeoffs and Limitations: The primary tradeoff is the slight increase in computational resources during training. While beneficial, TROLL still requires a line search for the eta parameter, which adds some complexity to the optimization process compared to the simpler clipping heuristic. The sparsification scheme, while effective, is based on a heuristic (keeping top-k tokens) and, as acknowledged in the Q&A, does not inherently know the future "importance" of a token beyond its current probability mass. However, this is a pragmatic solution to a challenging memory problem. Overall, TROLL presents a compelling case for moving beyond heuristic clipping towards more principled trust region methods, promising higher performing and more stable LLMs for critical applications.
Key Takeaways
- PPO-style clipping is a crude approximation: While widely used, PPO's clipping mechanism for policy updates is a known heuristic that truncates gradients and can lead to subtle failure modes, limiting the effectiveness of RL for LLMs.
- TROLL offers a principled alternative: TROLL employs a geometrically intuitive and mathematically rigorous trust region projection method, providing a more principled way to update policies while ensuring stability.
- Significant performance gains: TROLL consistently and vastly outperforms PPO-style clipping on math and coding tasks, demonstrating its superior ability to fine-tune LLMs for verifiable rewards.
- Enhanced stability and efficiency: TROLL enables stable training for models where clipping fails and allows smaller models (e.g., 17B TROLL) to surpass larger models (e.g., 4B clipping) in performance.
- Scalable with novel sparsification: A crucial sparsification scheme addresses the memory challenge of storing full token distributions for KL-based trust regions, making TROLL practical for LLM-scale vocabularies with manageable overhead.
- Preserves gradient flow: Unlike clipping, TROLL maintains closed-form gradients through its projection process, leading to more informed and effective policy updates for explorative tokens.
About the Speaker(s)
The talk on TROLL was presented by Philipp Becker and Niklas Freymuth, who are also co-authors on the paper alongside Serge Thilges, Fabian Otto, and Gerhard Neumann. While their specific affiliations (e.g., university, research lab, company) were not explicitly stated during the presentation, their work clearly positions them as researchers actively engaged in the field of reinforcement learning and large language models, contributing to advanced techniques for improving LLM performance and stability. Their collective expertise underpins the rigorous mathematical formulation and extensive experimental validation presented in the TROLL work.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026