arXiv:2608.24087v1 cs.LG

도움을 요청할 때를 아는 법: 계층적 LLM 에이전트의 베이지안 자기 에스컬레이션

Knowing When to Ask for Help: Bayesian Self-Escalation in Hierarchical LLM Agents

Nadeem Shaikh

제출 2026-08-25

한국어 초록

현재의 LLM 에이전트 시스템은 추론이 시작되기 전에(라우터가 모델을 선택하는 방식) 또는 응답이 완료된 후에(검증기가 응답을 채점하고 재시도할 수 있는 방식) 위임 여부를 결정한다. 본 연구는 세 번째 방식, 즉 에이전트가 자신의 추론 도중에 성공 가능성이 낮다는 것을 인식하고 더 강력한 모델에 제어권을 넘기는 방식을 연구한다. 우리는 생성 중 위임(intra-generation delegation)을 학습된 역량 사후분포(competence posterior) 위의 베이지안 최적 정지(optimal-stopping) 문제로 정식화한다. 이 사후분포는 에이전트의 최종 과제 성공 여부에 대한 온라인 추정치로, 충분통계량은 원시 엔트로피를 그대로 읽어 내는 것이 아니라 레이블이 지정된 궤적으로부터 학습된다. 우리는 근시안적(myopic) 에스컬레이션 임계값을 닫힌 형태로 유도하고, 동적 계획법을 통해 최적 정책을 규명하며, 원시 신호의 형태에 대한 어떠한 가정 없이도 최적 정책이 시간에 따라 변하는 임계값 정책임을 증명한다. 또한 신호의 Chernoff 정보율(Chernoff-information rate)로 오라클 신념(oracle belief)이 지수적으로 분리됨을 증명하고, 사후분포의 보정(calibration)에 의해 결정되는 후회(regret) 상한을 증명하며, 유한 표본 보장을 제시한다. 즉, 레이블이 지정된 n개의 보정 궤적이 있을 때 실제 배포되는 플러그인 정책의 후회는 1/sqrt(n)로 감소한다. 통제된 시뮬레이션 연구는 1/sqrt(n) 감소율을 포함하여 이론의 각 예측을 확인해 준다. 추가로 Qwen2.5-Coder 1.5B→7B 코드 캐스케이드(MBPP, 257개 과제)에서 실제 모델 검증을 보고하며, 사전 등록된 세 가지 예측 중 두 가지를 확인한다. 즉, 에스컬레이션 프런티어는 동일 비용에서 사후(post-hoc) 라우팅보다 우수하며, 누적 역량 신념(cumulative competence belief)의 판별력은 생성이 진행됨에 따라 상승한다.

원문 초록

Current LLM agent systems decide delegation before reasoning begins (a router picks a model) or after a response is complete (a verifier scores it and may retry). We study a third regime: an agent that recognises, during its own reasoning, that it is unlikely to succeed and transfers control to a stronger model. We formulate intra-generation delegation as a Bayesian optimal-stopping problem over a learned competence posterior -- an online estimate of the agent's eventual task success whose sufficient statistics are learned from labelled trajectories, not read off raw entropy. We derive the myopic escalation threshold in closed form, characterise the optimal policy via dynamic programming, and prove that the optimal policy is a time-varying threshold with no shape assumption on the raw signal. We further prove exponential separation of the oracle belief at the Chernoff-information rate of the signal, a regret bound governed by the calibration of the posterior, and a finite-sample guarantee: with n labelled calibration trajectories the deployed plug-in policy's regret decays as 1/sqrt(n). A controlled simulation study confirms each prediction of the theory, including the predicted 1/sqrt(n) rate. We additionally report a real-model validation on a Qwen2.5-Coder 1.5B->7B code cascade (MBPP, 257 tasks), confirming two of three pre-registered predictions: the escalation frontier dominates post-hoc routing at equal cost, and the cumulative competence belief's discrimination rises over generation.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.24087v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.