arXiv cs.AI· Tianyu Huai, Jie Zhou, Bo Mao, Qin Chen, Liang He, Xipeng Qiu·· 3 天前AI 评分41
TextualRL:面向上下文管理的文本强化学习框架
TextualRL: Textual Reinforcement Learning for Context Management
AI 导读
TextualRL 是一个无梯度的强化学习框架,以同一任务同一上下文下的一组 rollout 而非单条轨迹作为策略评判单元,通过 Groupwise Policy Critique 与 Cross-Group Policy Update 生成有界文本补丁,并由留出验证奖励决定是否采纳。
正文 · 原文
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