Goto

Collaborating Authors

 kl regularization


When Greedy Sampling Explores: KL-Regularized Contextual Bandits without Eluder-Dimension Dependence

arXiv.org Artificial Intelligence

By penalizing deviations from a reference policy, KL regularization prevents the learned policy from moving too far away from the reference policy. Recent work has studied different algorithmic approaches to KL-regularized contextual bandits under different feedback models. For reward feedback (RF), Zhao et al. (2025b) develop a UCB-style algorithm (Auer et al., 2002; Abbasi-Yadkori et al., 2011; Xu and Zeevi, 2024) and achieve a logarithmic regret guarantee. More recently, under preference feedback (PF), Wu et al. (2025a) show that greedy sampling can provide sufficient implicit exploration under KL regularization to achieve provable regret guarantees. Their guarantees, however, still retain explicit dependence on the corresponding eluder dimension (Russo and Van Roy, 2013; Osband and Van Roy, 2014; Zhang, 2023). The eluder dimension measures the complexity of sequential exploration for a given function class and can be large for rich function classes.


A Comedy of Estimators: On KL Regularization in RL Training of LLMs

arXiv.org Artificial Intelligence

The reasoning performance of large language models (LLMs) can be substantially improved by training them with reinforcement learning (RL). The RL objective for LLM training involves a regularization term, which is the reverse Kullback-Leibler (KL) divergence between the trained policy and the reference policy. Since computing the KL divergence exactly is intractable, various estimators are used in practice to estimate it from on-policy samples. Despite its wide adoption, including in several open-source libraries, there is no systematic study analyzing the numerous ways of incorporating KL estimators in the objective and their effect on the downstream performance of RL-trained models. Recent works show that prevailing practices for incorporating KL regularization do not provide correct gradients for stated objectives, creating a discrepancy between the objective and its implementation. In this paper, we further analyze these practices and study the gradients of several estimators configurations, revealing how design choices shape gradient bias. We substantiate these findings with empirical observations by RL fine-tuning \texttt{Qwen2.5-7B}, \texttt{Llama-3.1-8B-Instruct} and \texttt{Qwen3-4B-Instruct-2507} with different configurations and evaluating their performance on both in- and out-of-distribution tasks. Through our analysis, we observe that, in on-policy settings: (1) estimator configurations with biased gradients can result in training instabilities; and (2) using estimator configurations resulting in unbiased gradients leads to better performance on in-domain as well as out-of-domain tasks. We also investigate the performance resulting from different KL configurations in off-policy settings and observe that KL regularization can help stabilize off-policy RL training resulting from asynchronous setups.


Mitigating Reward Over-optimization in Direct Alignment Algorithms with Importance Sampling

Neural Information Processing Systems

Direct Alignment Algorithms (DAAs) such as Direct Preference Optimization (DPO) have emerged as alternatives to the standard Reinforcement Learning from Human Feedback (RLHF) for aligning large language models (LLMs) with human values. However, these methods are more susceptible to over-optimization, in which the model drifts away from the reference policy, leading to degraded performance as training progresses. This paper proposes a novel importance-sampling approach to mitigate the over-optimization problem of offline DAAs. This approach, called (ISDAAs), multiplies the DAA objective with an importance ratio that accounts for the reference policy distribution. IS-DAAs additionally avoid the high variance issue associated with importance sampling by clipping the importance ratio to a maximum value. Our extensive experiments demonstrate that IS-DAAs can effectively mitigate over-optimization, especially under low regularization strength, and achieve better performance than other methods designed to address this problem.


Self-Distilled Policy Gradient

arXiv.org Artificial Intelligence

With the development of Reinforcement Learning with Verifiable Rewards (RLVR), Large Language Models (LLMs) have demonstrated remarkable capabilities in complex reasoning tasks such as mathematics and code generation. Algorithms in this family, such as Group Relative Policy Optimization (GRPO) (Shao et al., 2024), optimize against rule-based outcome rewards and have become the standard recipe for post-training reasoning models, eliminating the cost and bias of human preference annotation. Despite its success, RLVR encounters several limitations, including sparse sequence-level reward across tokens and instability under negative advantages during the early stages of training. Although recent works such as Dr.GRPO (Liu et al., 2025), DAPO (Yu et al., 2025), and GSPO (Zheng et al., 2025) address the latter through asymmetric dual-clip thresholds and sequence-level advantage, the sparsity issue remains unresolved. Recently, on-policy distillation (OPD) approaches have been proposed to yield dense token-level signals (Agarwal et al., 2024; Lu and Lab, 2025; Fu et al., 2026). Such methods maintain two models: a student model to be optimized that rolls out trajectories, and a teacher model that produces token-level guidance via Kullback-Leibler divergence (KL) regularization or related objectives (Gu et al., 2024; Xu et al., 2025; Yang et al., 2025). However, traditional distillation approaches use a much larger and stronger teacher, which imposes a considerable memory burden when optimizing student models. Moreover, heterogeneous teacher signals may hurt the smoothness of the training process.


DPOK: Reinforcement Learning for Fine-tuning Text-to-Image Diffusion Models

Neural Information Processing Systems

Learning from human feedback has been shown to improve text-to-image models. These techniques first learn a reward function that captures what humans care about in the task and then improve the models based on the learned reward function. Even though relatively simple approaches (e.g., rejection sampling based on reward scores) have been investigated, fine-tuning text-to-image models with the reward function remains challenging. In this work, we propose using online reinforcement learning (RL) to fine-tune text-to-image models. We focus on diffusion models, defining the fine-tuning task as an RL problem, and updating the pre-trained text-to-image diffusion models using policy gradient to maximize the feedbacktrained reward. Our approach, coined DPOK, integrates policy optimization with KL regularization. We conduct an analysis of KL regularization for both RL fine-tuning and supervised fine-tuning. In our experiments, we show that DPOK is generally superior to supervised fine-tuning with respect to both image-text alignment and image quality.






GARDO: Reinforcing Diffusion Models without Reward Hacking

arXiv.org Artificial Intelligence

Fine-tuning diffusion models via online reinforcement learning (RL) has shown great potential for enhancing text-to-image alignment. However, since precisely specifying a ground-truth objective for visual tasks remains challenging, the models are often optimized using a proxy reward that only partially captures the true goal. This mismatch often leads to reward hacking, where proxy scores increase while real image quality deteriorates and generation diversity collapses. While common solutions add regularization against the reference policy to prevent reward hacking, they compromise sample efficiency and impede the exploration of novel, high-reward regions, as the reference policy is usually sub-optimal. To address the competing demands of sample efficiency, effective exploration, and mitigation of reward hacking, we propose Gated and Adaptive Regularization with Diversity-aware Optimization (GARDO), a versatile framework compatible with various RL algorithms. Our key insight is that regularization need not be applied universally; instead, it is highly effective to selectively penalize a subset of samples that exhibit high uncertainty. To address the exploration challenge, GARDO introduces an adaptive regularization mechanism wherein the reference model is periodically updated to match the capabilities of the online policy, ensuring a relevant regularization target. To address the mode collapse issue in RL, GARDO amplifies the rewards for high-quality samples that also exhibit high diversity, encouraging mode coverage without destabilizing the optimization process. Extensive experiments across diverse proxy rewards and hold-out unseen metrics consistently show that GARDO mitigates reward hacking and enhances generation diversity without sacrificing sample efficiency or exploration, highlighting its effectiveness and robustness.