mlsanityData to 14 Oct 2026

TextualRL: Textual Reinforcement Learning for Context Management

arXiv 2610.18216 ↗First posted 13 Oct 2026cs.CL cs.AIcited by 0

On the map: LLM agents and tool use → Reinforcement learning for LLM agents

also in 1 more
Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 27 references that are in the map. First posted on arXiv 13 Oct 2026.

Builds on

23 of 27 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Voyager: An Open-Ended Embodied Agent with Large Language Models25 May
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learning20 Mar

Other references · 21

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  4. 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,317
  5. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
  6. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  7. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  8. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  9. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
  10. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  11. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
  12. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
9 more
  1. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 284
  2. 2017SearchQA: A New Q&A Dataset Augmented with Context from a Search Enginecited by 225
  3. 2026Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skillscited by 187
  4. 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 163
  5. 2026SkillOpt: Executive Strategy for Self-Evolving Agent Skillscited by 148
  6. 2024SpreadsheetBench: Towards Challenging Real World Spreadsheet Manipulationcited by 111
  7. 2026EvoSkill: Automated Skill Discovery for Multi-Agent Systemscited by 107
  8. 2026OfficeQA Pro: An Enterprise Benchmark for End-to-End Grounded Reasoningcited by 39
  9. 2026LiveMathematicianBench: A Live Benchmark for Research-Level Mathematical Reasoning with Proof Sketchescited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Text2Grad: Reinforcement Learning from Natural Language Feedback
  2. 2026TR-ICRL: Test-Time Rethinking for In-Context Reinforcement Learning
  3. 2026Expanding the Capabilities of Reinforcement Learning via Text Feedback
  4. 2026Matched-Context Group Policy Optimization for LLM Agent Training
  5. 2025TTRL: Test-Time Reinforcement Learning
  6. 2025Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs
  7. 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning
  8. 2026Do LLMs Learn from Rewards in Context? : Rethinking the role of reward in In-Context Reinforcement Learning