arXiv:cs.AI· Tianyu Huai, Jie Zhou, Bo Mao, Qin Chen, Liang He, Xipeng Qiu·· 16 小时前
TextualRL:面向上下文管理的文本强化学习框架
TextualRL: Textual Reinforcement Learning for Context Management
AI 导读
TextualRL 是一个无需梯度的强化学习框架,通过 Groupwise Policy Critique 和 Cross-Group Policy Update 将执行奖励转化为可复用的上下文更新。在六个基准、五个目标模型上,TextualRL 使 GPT-5.5 测试准确率平均提升 24.4 个百分点,Qwen3.8-27B 提升 15.3 个百分点。
正文
Abstract:LLM agents can adapt to task feedback by revising the textual context that guides their behavior, without changing their model parameters. However, turning execution rewards into reusable context updates is challenging: individual trajectories offer limited comparative evidence about what to change, while task-specific fixes may overgeneralize when incorporated into a shared context. We introduce TextualRL, a gradient-free reinforcement learning framework that treats a group of rollouts from the same task under the same context, rather than an isolated trajectory, as the unit of policy critique. Groupwise Policy Critique contrasts successful and failed rollouts within a task; when outcomes are uniform, it draws on cross-task evidence to identify behaviors worth preserving or formulate repair hypotheses. Cross-Group Policy Update reviews the resulting proposals against evidence pooled across groups, including observations that yield no proposed edit, to refine their content and applicability. Reviewed proposals form a bounded textual patch, with adoption of the candidate context determined by held-out validation rewards. Together, these components establish a reward-driven policy optimization loop in which multiple attempts jointly inform reusable context updates. We evaluate TextualRL with five target agents on six benchmarks. Averaged over the six benchmarks, TextualRL improves test accuracy over the base model by 24.4 and 15.3 percentage points for GPT-5.5 and Qwen3.8-27B, respectively.
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.18216 [cs.CL] |
| (or arXiv:2610.18216v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.18216 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Tianyu Huai [view email]
[v1]
Tue, 13 Oct 2026 11:47:32 UTC (1,744 KB)
来源:arXiv:cs.AI · arxiv.org