Harness-S: Learning from Sibling Harnesses for Generalizable Agent Training

Kangning Zhang, Wenxiang Jiao, Bowen Fang, Shuai Shao, Jiachen Zhu, Rong Shan, Shijian Wang, Hao Wang, Yuan Lu, Weiwen Liu, Weinan Zhang

arXiv:2611.04277 · 2026-11-06 공개 · arXiv · PDF

reinforcement-learning policy-training appworld harness-evolution swe-gym sibling-harnesses adaptive-router dbbench

Abstract

Harness evolution from a common base exhibits Locality, Complementarity, and Nonstationarity: variants repair different failures, and their utility changes as the policy learns. Rather than seeking a universally superior harness, we introduce Harness-S to selectively rescue failures of a base execution system through sibling harnesses and transfer the resulting capabilities into a single policy that remains effective under the original harness. Directional Harness Evolution develops specialized sibling harnesses along distinct repair directions, forming a reusable Sibling Harness Pool that remains fixed during policy training. Complementary Harness Rescue Training invokes this pool only when all initial attempts under the base harness fail. The same policy generates fresh rollouts under selected auxiliary harnesses, and these trajectories replace the failed group for reinforcement learning. An Adaptive Harness Router selects the Top-k variants using Harness Behavior Profiles and voting across multiple LLMs. Policy-aware profile re-anchoring refreshes this evidence as the policy learns. Across AppWorld, SWE-Gym, and DBBench, the trained policy substantially outperforms policy-only training when returned to the original base harness. Behavioral analyses and held-out cases support the transfer of harness-elicited behaviors into the policy itself. Reusing the router for Rank-1 inference provides additional gains at the same executor rollout count.

한국어 요약

한 줄 요약

Harness-S는 다양한 sibling harness를 활용해 정책을 훈련시켜 기존 harness에서도 성능을 유지하는 새로운 에이전트 학습 프레임워크이다.

핵심 기여도

핵심 아이디어

기존 연구는 단일 harness를 최적화하는 데 집중했으나, 이는 **Locality**(한정된 실패 복구), **Complementarity**(다양한 harness 간 상호 보완), **Nonstationarity**(정책 학습에 따른 harness 효율 변화) 등의 문제를 초래한다. Harness-S는 이러한 문제를 해결하기 위해 **Directional Harness Evolution**을 통해 다양한 repair direction으로 sibling harness를 생성하고, 이를 **Sibling Harness Pool**에 저장하여 재사용한다. 이후 **Complementary Harness Rescue Training**을 통해 base harness 실패 시, 적절한 sibling harness를 선택해 학습 신호를 복구하고, **Adaptive Harness Router**가 **Harness Behavior Profiles**와 다중 LLM 투표를 통해 Top-k harness를 선택한다. 이는 정책이 기존 base harness에서도 성능을 유지하도록 돕는다.

기술적 접근법

주요 결과

의의 및 한계

Harness-S는 sibling harness를 활용한 **정책 학습의 새로운 패러다임**을 제시하며, 기존 base harness에서도 성능을 유지할 수 있는 **정책 전이 기법**을 구현했다. 특히, 다양한 repair direction과 complementary training을 통해 **복잡한 작업 환경에서의 정책 안정성**을 향상시킨다. 그러나 **Sibling Harness Pool의 생성 비용**과 **LLM 기반 라우터의 계산 부담**은 여전히 한계로 남는다. 또한, **정책이 모든 sibling harness의 장점을 완전히 흡수하지 못하는 경우**도 존재한다.

실용적 활용

Harness-S는 **복잡한 작업 자동화**(예: 코드 작성, 데이터베이스 관리), **다양한 환경에서의 에이전트 학습**, **LLM 기반 시스템의 정책 최적화**에 적용 가능하다. 특히, **정책이 다양한 execution support를 학습하고 일반화하는 연구**에 기여할 수 있다.