arXiv:2610.41905v1 cs.IR

LLM 에이전트의 다중 도구 요청을 위한 검색 구조의 완전성과 비용

Completeness and Cost of Retrieval Structures for Multi-Tool Requests in LLM Agents

Shuyang Zhang

제출 2026-10-30

저자 비고

arXiv Comments

17 pages, 3 figures, 9 tables

한국어 초록

요청을 처리하기 위해 여러 도구를 호출해야 하는 에이전트는 도구 검색기가 그중 하나라도 누락하면 실패하지만, 도구 검색기는 대부분 단일 도구를 필요로 하는 질의에 대해 구축되고 평가된다. 우리는 여섯 가지 검색 구조(평면 어휘 및 밀집 검색, LLM 질의 분해, LLM이 탐색하는 계층 구조, 서버 후 도구 매칭, 의존성 그래프, 학습된 집합 수준 검색기)의 대표 방법들을 두 가지 다중 도구 테스트베드에서 비교한다. 하나는 전문가의 의존성 레이블이 있는 345개의 AppWorld 질의이고, 다른 하나는 257개의 MCP 도구에 걸친 103개의 MCP-Bench 과제이다. 우리는 필요한 도구 집합 전체가 상위 k개 안에 나타나는 질의의 비율인 completeness@k를, 각 구조가 검색 시점에 발생시키는 LLM 호출, 토큰, 지연 시간과 함께 측정한다. 7,961개의 ToolRet 질의 전체에 대한 동기 분석은 집계된 완전성이 두 가지 영역을 섞고 있음을 보여 준다. 즉 k=10에서의 완전성은 단일 대상 질의에서 .58에서 .67, 네 개 이상의 대상을 가진 질의에서 .08에서 .17이며, 단일 대상 질의에서의 검색기 순위는 다중 대상 질의에서 뒤바뀐다. 두 테스트베드 전반에서, 테스트베드에 대해 학습되지 않았고 질의당 LLM 호출이 최대 한 번인 비교 구조 중 어느 것도 k = 16에서 AppWorld 질의의 10% 이상을 완전하게 처리하지 못한다. 더 나은 성능을 보이는 두 구조는 서로 다른 비용을 치른다. 75~90개의 도메인 내 질의로 학습된 집합 수준 검색기는 LLM 호출 없이 AppWorld에서 .33, MCP-Bench에서 .58에 도달하는 반면, LLM이 탐색하는 계층 구조는 각각 .30과 .40에 도달하며 질의당 LLM 호출 중앙값이 31~38회이고 약 5분이 소요된다. 실패 양상도 다르다. 학습된 검색기는 누락된 도구를 대체로 컷오프 바로 아래에 순위 매기는 반면, 계층 구조는 대상 API를 찾고도 그 선행 요건을 수집하기 전에 멈춘다. 공식 AppWorld 에이전트를 사용한 하류 점검에서, 검색된 집합이 완전한 과제는 21건 중 21건 성공했으나 불완전한 과제는 39건 중 2건만 성공했다.

원문 초록

An agent that must call several tools to fulfill a request fails when the tool retriever omits any one of them, yet tool retrievers are mostly built and evaluated on queries requiring a single tool. We compare representatives of six retrieval structures (flat lexical and dense retrieval, LLM query decomposition, LLM-navigated hierarchies, server-then-tool matching, dependency graphs, and trained set-level retrievers) across two multi-tool testbeds: 345 AppWorld queries with expert dependency labels and 103 MCP-Bench tasks over 257 MCP tools. We measure completeness@k, the share of queries whose entire required tool set appears in the top k, alongside the LLM calls, tokens, and latency that each structure incurs at retrieval time. A motivating analysis on all 7,961 ToolRet queries shows that aggregate completeness mixes two regimes: completeness at 10 is .58 to .67 on single-target queries and .08 to .17 on queries with four or more targets, and the ordering of retrievers on single-target queries reverses on multi-target ones. Across the two testbeds, none of the compared structures that is untrained on the testbed and makes at most one LLM call per query completes more than 10% of AppWorld queries at k = 16. The two structures that do better incur different costs: a set-level retriever trained on 75 to 90 in-domain queries reaches .33 on AppWorld and .58 on MCP-Bench with no LLM calls, while an LLM-navigated hierarchy reaches .30 and .40 with a median of 31 to 38 LLM calls and about five minutes per query. Their failure modes also differ: the trained retriever mostly ranks the missing tools just below the cutoff, whereas the hierarchy finds the target API and stops before collecting its prerequisites. In a downstream check with the official AppWorld agent, tasks with a complete retrieved set succeeded 21 of 21 times, whereas incomplete ones succeeded 2 of 39 times.

제출 이력

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

  1. arXiv:2610.41905v1

함께 살펴볼 논문

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

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

토론

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