arXiv Science⌕ Search

arXiv subjects

Ketan Ramaneti

Publications and source records attributed to Ketan Ramaneti.

3 recordsLinked to original sources

Ratio-Free Policy Optimization: A Bias-Variance View of On-Policy Fine-Tuning

Practical LLM reinforcement learning is never strictly on-policy: each batch of rollouts is reused for many optimizer steps, and rollouts come from a separate inference engine. We show that GRPO degrades under both drifts, and collapses on coding, and explain why. We formalize on-policy fine-tuning (OPFT), updating a model on its own rollouts, as a loop of which GRPO and iterative rejection-sampling SFT are realizations, and propose Ratio-Free Policy Optimization (RFPO), which optimizes the surrogate $J_{\text{RF}}(π_θ) = E_{π_{\text{old}}}[A \log π_θ]$, a reward-weighted maximum-likelihood objective with no importance ratio. Three mechanisms make this surrogate stable: z-score advantages, negative samples, and a per-token trust region; the analysis also explains the collapse of iterative rejection-sampling SFT. A bias-variance analysis, checked by measuring both gradient estimators against a fresh on-policy gradient, shows that the importance-weighted estimator's error grows with drift while the ratio-free one pays a small surrogate bias, so RFPO has the lower MSE once drift is large. On Qwen3-4B trained on POLARIS (math) and DeepCoder (coding), as optimizer steps per batch grow from 1 to 8 to 32, GRPO degrades from 0.879 to 0.861 to 0.824 on MATH-500 and collapses on LiveCodeBench-v6 (0.67 to 0.38 to 0.24), while RFPO stays at 0.873-0.875 and 0.67, matching strict on-policy GRPO. Under rollout-engine drift (8 steps per batch), GRPO collapses (MATH-500 0.861 to 0.718, coding 0.38 to 0.04) while RFPO is nearly unaffected (0.866 / 0.67). Needing no reference model, KL term or importance ratio, RFPO is also 1.4x faster per step than KL-free GRPO at the same mini-batch size on math.

cs.LG↗

Cliff: Learning Process Rewards from the First Mistake

Reinforcement learning with verifiable rewards (RLVR) has emerged as a powerful paradigm for large language model (LLM) post-training, but its reliance on coarse outcome rewards leads to limited guidance on intermediate reasoning processes. Existing approaches such as process reward modeling and on-policy distillation introduce additional constraints, such as reliance on a specialized reward model or assuming identical reasoning patterns between teacher and student. Nevertheless, we observe that once a reasoning process first goes wrong, evaluating the subsequent reasoning provides limited additional information, as it is already conditioned on an invalid prefix. Therefore, we propose Cliff, a reward shaping strategy that utilizes an off-the-shelf LLM as a teacher to identify the first mistake in each rollout. As a result, the rollout is naturally decomposed into two parts: a correct prefix and an incorrect suffix. Cliff then converts this signal into token-level advantages, assigning positive advantages for the correct prefix and negative feedback afterward. Experiments across 12 different scenarios demonstrate that Cliff consistently improves reasoning performance, outperforming on-policy distillation by 15% and standard GRPO by 7%, even with teachers of modest capability. Furthermore, we analyse the role of ``ground truth'' in Cliff and investigate its training dynamics. These results establish Cliff as a simple, general and effective approach for improving RLVR with richer, fine-grained supervision.

cs.LG↗

Agent Data Protocol: Unifying Datasets for Diverse, Effective Fine-tuning of LLM Agents

Public research results on large-scale supervised finetuning of AI agents remain relatively rare, since the collection of agent training data presents unique challenges. In this work, we argue that the bottleneck is not a lack of underlying data sources, but that a large variety of data is fragmented across heterogeneous formats, tools, and interfaces. To this end, we introduce the agent data protocol (ADP), a light-weight representation language that serves as an "interlingua" between agent datasets in diverse formats and unified agent training pipelines downstream. The design of ADP is expressive enough to capture a large variety of tasks, including API/tool use, browsing, coding, software engineering, and general agentic workflows, while remaining simple to parse and train on without engineering at a per-dataset level. In experiments, we unified a broad collection of 13 existing agent training datasets into ADP format, and converted the standardized ADP data into training-ready formats for multiple agent frameworks. We performed SFT on these data, and demonstrated an average performance gain of ~20% over corresponding base models, and delivers state-of-the-art or near-SOTA performance on standard coding, browsing, tool use, and research benchmarks, without domain-specific tuning. All code and data are released publicly, in the hope that ADP could help lower the barrier to standardized, scalable, and reproducible agent training.

cs.CL↗