LoongReflect: Boosting Long-Horizon Reflection in Search Agents via Global Perspective Distillation

📅 2026-08-12
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of sparse and delayed supervision in long-horizon reasoning, which arises when local reflection becomes misaligned with global objectives. To tackle this, the authors propose a memory-controlled reflection modeling framework that incorporates explicit reflection and backtracking actions through an invertible trajectory tree. A novel prospective dual-channel mechanism is introduced to jointly leverage global-view distillation and trajectory-level reinforcement learning (GRPO). Crucially, privileged teacher guidance is strategically focused on reflection and backtracking tokens, effectively aligning local decisions with overall task success. The approach demonstrates significant performance gains over baselines relying solely on outcome-based rewards or self-distillation, particularly in multi-hop retrieval-augmented generation and mathematical reasoning tasks.
📝 Abstract
Large language model agents increasingly rely on long-horizon reasoning to solve complex tasks involving planning, tool use, and memory. A critical capability in such settings is reflection: assessing trajectory progress, identifying missing evidence and unreliable intermediate states, and deciding whether to continue, revise, or abandon the current branch. Learning effective reflection, however, is challenging because reflection is performed locally within the current branch, whereas its utility can only be determined by its contribution to the final trajectory outcome. This local-global mismatch makes outcome-based reinforcement learning provide only local, sparse and delayed supervision for reflective decisions. To solve these, we propose LoongReflect, a training framework that formulates reflection as a memory-control policy. The agent operates over a reversible trajectory tree using explicit reflect and backtrack actions. Reflection consolidates verified facts, missing evidence, and branch-specific risks into working memory, while backtracking removes an unreliable branch from the active context and preserves a concise corrective lesson. To learn this policy, LoongReflect combines two complementary signals through a look-ahead, extragradient-style coordination mechanism. A fast channel distills globally informed reflective behavior from a privileged teacher, with supervision restricted to reflection and backtracking tokens. A slow channel optimizes complete trajectories using outcome-based GRPO, aligning local control decisions with final task success. Experiments on multi-hop retrieval-augmented generation and mathematical reasoning benchmarks demonstrate consistent improvements over outcome-only reinforcement learning and self-distillation baselines.
Problem

Research questions and friction points this paper is trying to address.

long-horizon reasoning
reflection
local-global mismatch
reinforcement learning
trajectory outcome
Innovation

Methods, ideas, or system contributions that make the work stand out.

reflection
global perspective distillation
trajectory tree
memory-control policy
extragradient coordination
Zhixin Zhang
Zhixin Zhang
Ph.D of Robotics, University of Manchester
SLAMVINSLIOSensor FusionRobotics
X
Xinke Jiang
1School of Computer Science, Peking University, Beijing, China; 2National Engineering Research Center for Software Engineering, Peking University, Beijing, China; 3Key Laboratory of High Confidence Software Technologies, Ministry of Education, Beijing, China
Z
Zhibang Yang
1School of Computer Science, Peking University, Beijing, China; 2National Engineering Research Center for Software Engineering, Peking University, Beijing, China
W
Weixuan Xu
1School of Computer Science, Peking University, Beijing, China; 2National Engineering Research Center for Software Engineering, Peking University, Beijing, China; 3Key Laboratory of High Confidence Software Technologies, Ministry of Education, Beijing, China
G
Guohong Qiu
1School of Computer Science, Peking University, Beijing, China; 2National Engineering Research Center for Software Engineering, Peking University, Beijing, China; 3Key Laboratory of High Confidence Software Technologies, Ministry of Education, Beijing, China
Xu Chu
Xu Chu
Peking University
Machine learningData mining
Junfeng Zhao
Junfeng Zhao
Assistant Professor at Arizona State University, Director of BELIV Lab
Connected & Automated VehicleMotion Planning & ControlsElectric VehiclesAI/ML
Y
Yasha Wang
2National Engineering Research Center for Software Engineering, Peking University, Beijing, China; 5Peking University Information Technology Institute (Tianjin Binhai), Tianjin, China