reinforcement-learning llm-training self-improvement agentic-context-engineering task-local-playbooks action-generator insight-reflector experience-handoff
Abstract
It is common to train Large Language Models (LLMs) for agentic tasks with Reinforcement Learning (RL) from scalar rewards. However, this throws away the fine-grained information about the environment that the agent experienced during the trial (e.g., error logs). To utilize this rich information, recent works wrap the agent in a harness that refines its own inputs through reflection or compaction and hands past experience to future rollouts, but the construction of the handed-off artifacts (e.g., a playbook) is itself not learned. We want the best of both worlds: gradient updates from a scalar reward, while also utilizing environment information to hand off experience. As a concrete testbed, we fix the Agentic Context Engineering () harness and train one model to act, reflect, and curate task-local playbooks. Our method, , evaluates candidate experience-handoff artifacts by their downstream effect on future actor rollouts, and co-optimizes the role-specific behaviors (action generator, insight reflector, and playbook curator) under a fixed scaffold. Across agentic benchmarks, achieves higher held-out performance than baseline methods. The results suggest that agent training should optimize not only the actions in the current rollout, but also the model-written experience that future rollouts inherit.
한국어 요약
한 줄 요약
경험 전달을 강화 학습에 통합하여 에이전트 성능을 향상시킨다.
핵심 기여도
- `Experience-Handoff Reinforcement Learning`이라는 새로운 학습 프레임워크를 제안.
- 에이전트가 직접 생성한 경험 아티팩트(예: playbook)를 미래 롤아웃에 전달하며 학습.
- Agentic Context Engineering 헤arness를 기반으로 action generator, insight reflector, playbook curator 역할을 통합 학습.
- 기존 방법 대비 agentic benchmarks에서 더 높은 out-of-sample 성능 달성.
핵심 아이디어
기존 RL은 스칼라 보상만을 기반으로 에이전트를 학습시키지만, 이 과정에서 환경에서 경험한 세부 정보(예: 오류 로그)는 무시된다. 본 연구는 이러한 정보를 활용하여 미래 롤아웃에 전달하는 방식을 제안한다. 핵심 아이디어는 경험 아티팩트(예: playbook)의 생성 및 전달 과정을 학습에 통합하는 것이다. 에이전트는 단순히 행동을 선택하는 것이 아니라, 그 행동의 결과를 바탕으로 미래에 유용한 정보를 생성하고 이를 관리하는 역할도 수행한다. 이를 통해 에이전트는 단기적 보상뿐만 아니라 장기적 학습 효과를 극대화할 수 있다.
기술적 접근법
- `Agentic Context Engineering` 헤arness를 사용하여 에이전트가 action, reflection, playbook curation을 수행.
- Experience-handoff artifacts는 미래 롤아웃의 성과에 따라 평가되며, 역할별 행동(action generator, insight reflector, playbook curator)을 고정된 프레임워크 내에서 공동 최적화.
- 학습 과정에서 스칼라 보상과 경험 아티팩트의 영향을 모두 고려한 gradient update 수행.
- 하이퍼파라미터나 모델 구조는 명시되지 않음.
주요 결과
- Agentic benchmarks에서 baseline 방법 대비 더 높은 held-out performance 달성.
- 에이전트가 생성한 경험 아티팩트가 미래 성과에 긍정적인 영향을 미친다는 것을 실증적으로 보여줌.
- 정확한 성능 향상 비율은 명시되지 않음.
의의 및 한계
본 연구는 에이전트가 단순히 행동을 선택하는 것을 넘어, 경험을 생성하고 전달하는 역할을 학습하도록 유도함으로써 에이전트의 자기 개선 능력을 강화한다. 이는 RL 기반 에이전트 학습의 새로운 패러다임을 제시한다. 그러나 구체적인 성능 향상 비율이나 모델 구조, 하이퍼파라미터 등은 명시되지 않아 재현성 측면에서 한계가 있을 수 있다.
실용적 활용
본 연구는 복잡한 태스크를 수행하는 에이전트(예: 자동화된 소프트웨어 개발, 고객 서비스)에 적용 가능하다. 특히, 오류 로그나 반성 정보를 활용해 지속적으로 개선하는 시스템 설계에 유용할 수 있다.