2026-10-08 논문 목록

논문 해설 · 2026-10-08

하네스를 고려한 증류: 소형 언어 모델 에이전트를 위한 접근

Harness-Aware Distillation for Small Language Model Agents

언어 모델 에이전트는 문맥, 도구, 피드백을 관리하는 소프트웨어인 하네스와 함께 쓰입니다. 이 연구는 교사 모델이 하네스 위에 더해 주는 능력에 집중해 학생 모델을 증류하는 HAD를 제안합니다. 초록에 따르면 여러 장기 과제 벤치마크에서 같은 하네스를 쓰는 온폴리시 증류 기준선보다 좋은 성능을 보였습니다.

논문 초록을 바탕으로 정리했습니다. 논문 전체의 실험 조건과 한계까지 검토한 심층 리뷰는 아닙니다.

논문 원문 읽기 ↗

연구 문제

언어 모델 에이전트는 모델 주변에서 문맥, 도구, 피드백을 관리하는 소프트웨어인 하네스와 함께 배포됩니다. 큰 모델을 작은 모델로 증류하더라도 이 하네스는 그대로 남습니다. 그래서 학생 모델에게 꼭 필요한 것은 하네스가 대신해 줄 수 없는 교사 고유의 능력, 예를 들어 하네스가 주는 정보를 보고 올바르게 행동하는 능력입니다.

그런데 기존의 표준 증류는 교사의 출력 전체를 흉내 내게 하고, 하네스는 단순한 입력의 일부로 취급합니다. 이 연구는 이 점을 문제로 봅니다.

제안 방법: HAD

하네스를 고려한 증류(HAD)는 교사가 하네스 위에 더해 주는 부분에 증류의 초점을 맞춥니다. 기본 틀은 온폴리시 증류이고, 여기에 두 가지 요소를 보탭니다.

첫째는 행동 선호입니다. 같은 교사가 하네스 정보가 있을 때와 없을 때 내놓는 행동을 대비시키고, 학생 모델이 스스로 추론한 뒤의 시점에서 점수를 매깁니다. 둘째는 유효성 검사입니다. 선호되는 행동이 하네스 기록과 모순되는 선호 쌍을 걸러 냅니다. 이 방법은 과제 보상, 성공 라벨, 미래 정보를 필요로 하지 않습니다.

저자들은 이 대비가 교사를 모방하는 것만으로는 얻을 수 없는 정보를 학생에게 준다고 보였다고 밝힙니다.

결과

여러 장기 과제 에이전트 벤치마크와 여러 모델에서, 같은 고정 하네스를 쓰는 온폴리시 증류 기준선보다 HAD의 성능이 높았다고 초록은 말합니다. 구체적인 수치나 벤치마크 이름은 초록에 나와 있지 않습니다.

분석 결과 HAD는 기준선보다 비생산적인 반복 루프에 덜 빠지고 오류에서 더 자주 회복했습니다. 또한 배울 수 있는 피드백은 모델 가중치에 담고, 상태 정보는 하네스에서 읽어 오는 식으로 적응적으로 역할을 나누는 것으로 보인다고 저자들은 시사합니다.

근거로 읽은 영문 초록

Language model agents are deployed with a harness, the software around the model that manages its context, tools, and feedback. When such an agent is distilled into a smaller one, the harness stays in place, so the student mainly needs the teacher-specific abilities that the harness cannot provide, such as acting correctly on harness information. Standard distillation, however, imitates the teacher's full outputs and treats the harness as part of the input. We propose Harness-Aware Distillation (HAD), which focuses distillation on what the teacher adds beyond the harness. HAD complements on-policy distillation with two components: an action preference that contrasts the same teacher's actions with and without the harness information, scored after the student's own reasoning, and a validity check that drops preference pairs whose preferred action contradicts the harness records. We show that the contrast gives the student information that imitating the teacher alone cannot provide, and HAD needs no task rewards, success labels, or future information. Across multiple long-horizon agent benchmarks and models, HAD outperforms on-policy distillation baselines with the same fixed harness. Our analysis shows that HAD enters fewer unproductive loops and recovers from errors more often than the baselines, and suggests that it adaptively keeps learnable feedback in its weights while reading state information from the harness.