arXiv(opens in a new tab)cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.17953

Agent-Reflex: Teaching Language Agents to Act Reflectively

Guanting Dong, Xinyu Yang, Jiajie Jin, Yuyang Hu, Xiaoshuai Song, Yifei Chen, Xiaoxi Li, Jiejun Tan, Yutao Zhu, Tat-Seng Chua, Ji-Rong Wen, Zhicheng Dou

Guanting Dong 1^{1}, Xinyu Yang 1^{1}, Jiajie Jin 1^{1}, Yuyang Hu 1^{1}, Xiaoshuai Song 1^{1}, Yifei Chen 1^{1}, Xiaoxi Li 1^{1}, Jiejun Tan 1^{1}, Yutao Zhu 1^{1}, Tat-Seng Chua 2^{2}, Ji-Rong Wen 1^{1}, Zhicheng Dou 1,†^{1,\dagger}

1^{1}Gaoling School of Artificial Intelligence, Renmin University of China, 2^{2}National University of Singapore

†^{\dagger}Corresponding author

Large language models have evolved from single-turn chatbots into interactive agents capable of long-horizon reasoning. In real deployments, MCP tool services can return noisy feedback and users may intervene to correct the agent, but existing methods provide limited supervision for reflection learning and failure recovery. To bridge this gap, we propose AGENT-REFLEX, a general training framework for incentivizing proactive reflection in agents. Specifically, AGENT-REFLEX comprises three stages. First, Environment Reflection Skill Discovery (RSD) injects grounded tool-feedback perturbations into environment scaling, samples a capability-diverse LLM pool, mines matched success-failure pairs, and summarizes reusable reflection meta-skills. Building on this skill library, we then apply Reflective Supervised Fine-Tuning (ReSFT) that converts each skill into supervision for self-reflection, skill recovery, and user-centric correction, strengthening complementary reflective behaviors. Finally, we propose On-Policy Reflective Policy Optimization (ORPO) to combine agentic reinforcement learning under noisy interactions with reflection-guided on-policy distillation to further elicit proactive reflection. Built on Qwen3-8B, AGENT-REFLEX reaches 58.6 overall on five long-horizon tool-use benchmarks and 29.1 on AgentNoiseBench, surpassing strong environment-scaling and reflection baselines. Experiments on six challenging agent benchmark suites demonstrate the effectiveness of AGENT-REFLEX. Further analyses show that AGENT-REFLEX improves agents' robustness to noise while maintaining stable training dynamics, supporting scalable agent training.

Contact: dongguanting@ruc.edu.cn, dou@ruc.edu.cn

Code: https://github.com/RUC-NLPIR/Agent-Reflex

Models & Data: https://huggingface.co/collections/dongguanting/agent-reflex

Gaoing School of Artificial Intelligence

Figure

a Idealized Interaction

Figure

Fixed task, reliable feedback

References (48)