Demystifying the Autoresearch Harness: How Context and Skills Shape Self-Evolving Agents

Kelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng, Yunxiang Mo, Weihan Li, Zhongwei Xie, Chiu Yeung Tang, Jui-Yu Ho, Yangqiu Song, Ginny Y. Wong, Simon See

arXiv:2611.28244 · 2026-11-28 공개 · arXiv · PDF

long-horizon agent-framework self-evolving mle-bench kernelbench reusable-lessons autoresearch-agents context-folding

Abstract

Autoresearch agents, which autonomously design, run, and refine experiments, are accelerating scientific progress, particularly in AI research. However, existing agents rely on harnesses that combine multiple mechanisms, making it difficult to determine how individual components contribute to performance. We systematically study harness design for long-horizon, self-evolving autoresearch agents along two dimensions: context management, which determines what an agent retains from its past attempts, and skill management, which governs how it stores and reuses lessons from those attempts. Across MLE-Bench and KernelBench with gpt-oss-120b, gpt-6-luna, and gpt-6-sol, we isolate the effects of individual harness design choices by evaluating each against a recency-truncation baseline within a shared agent framework. For context management, we find that preserving individually accessible records of past attempts is more effective than maintaining a rolling summary, with context folding performing best across all six settings and improving upon the baseline by up to 19.2%. For skill management, selectively discarding persistently unused lessons is more effective on average than consolidating them or promoting them to standing rules. Building on these findings, we combine context folding and skill deletion in MLEvolver, which achieves a 72.7% medal rate on MLE-Bench Lite and a 94% fast_1 score on KernelBench Level 3, substantially outperforming AIDE and OpenEvolve under the same inference budget. Overall, our study distills design principles for preserving experimental history and curating reusable lessons in autoresearch harnesses, paving the way for agents that turn accumulated experience into sustained progress.

한국어 요약

한 줄 요약

자체적으로 실험을 설계하고 개선하는 자동 연구 에이전트에서, 기억 관리 방식이 성능에 미치는 영향을 체계적으로 분석하고, 이를 기반으로 MLEvolver라는 최적화된 시스템을 제안한다.

핵심 기여도

핵심 아이디어

기존 자동 연구 에이전트는 복합적인 메커니즘을 결합한 harness를 사용하여 실험 기록과 학습 내용을 관리하지만, 개별 요소의 기여도를 분석하기 어려웠다. 본 연구는 **context management**와 **skill management**라는 두 차원을 중심으로, **context folding**, **compaction**, **deletion**, **merging**, **promotion**이라는 5가지 메커니즘을 **recency-truncation baseline**과 비교하며 평가한다. 특히, **context folding**은 각 실험을 개별적으로 요약하여 저장함으로써, 전체 기록을 더 효과적으로 활용할 수 있도록 한다. **skill deletion**은 사용되지 않는 학습 내용을 제거함으로써, 불필요한 노이즈를 줄이고 핵심 정보만 유지하는 전략이다. 이는 기존의 합치기나 고정 규칙으로의 전환보다 평균적으로 더 높은 성능을 보였다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 자동 연구 에이전트의 핵심 구성 요소인 **기억 관리 방식**을 체계적으로 분석하여, **context folding**과 **skill deletion**이 성능 향상에 가장 효과적임을 실증적으로 밝혔다. 이는 AI4AI 분야에서 에이전트가 **누적된 경험을 지속적인 진전으로 전환**하는 데 기초가 될 수 있다. 그러나 본 연구는 **모델 백본 간의 차이**를 설명하는 데에는 제한이 있으며, **더 다양한 모델과 설정**에서의 일반화 가능성은 추가 연구가 필요하다. 또한, **context folding**과 **skill deletion**의 조합이 항상 최적이라는 보장은 없으며, 특정 작업에서는 다른 메커니즘이 더 효과적일 수 있다.

실용적 활용

본 연구는 **AI 연구 자동화**, 특히 **머신러닝 파이프라인 최적화** 및 **CUDA 커널 개선**과 같은 분야에서 활용 가능하다. MLEvolver는 제한된 추론 예산 내에서 높은 성능을 유지하는 자동 연구 시스템으로, **AI 개선을 위한 AI**(AI4AI) 프로젝트에 적합하다. 특히, **gpt-oss-120b**와 같은 오픈 모델에서 더 높은 성능 향상을 기대할 수 있어, **비상업적 연구 및 개발 환경**에서 유용하게 사용될 수 있다.