다중 에이전트 LLM 추론에서의 영속 메모리: 비용과 이점, 그리고 이를 식별할 수 있는 시점
Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can Tell
한국어 초록
협력하는 에이전트(agent) 전반에 걸쳐 긴 문맥 추론(inference)을 분해하면 전체 증거 대신 호출당 활성 KV 캐시가 제한되며, 이는 KV 캐시 메모리가 제약될 때 중요합니다. 이러한 많은 시스템은 추론 궤적을 저장하고 회상하는 영속 계층(persistent tier)을 추가하며, 대개 정확도 향상을 보고하는 절제 연구(ablation)를 통해 검증됩니다. 본 연구에서는 단일 3계층 에이전트 아키텍처에서 이 두 가지를 모두 측정합니다. 분해 기법은 효과가 있어 쿼리당 피크 KV 작업 세트가 단일 패스(single-pass) 및 검색-증강(retrieval-augmented) 베이스라인의 35.5 MiB와 35.3 MiB 대비 14.3 MiB로 나타났습니다. 반면 영속 계층은 그렇지 않았습니다. 조건당 n=100인 8개의 통제된 데이터셋(dataset) 쌍 전체에서 피크 캐시가 +0.368 MiB [+0.167, +0.590] 증가하는 비용이 들었으며 감지 가능한 정확도 변화는 나타나지 않았습니다(+0.015, 95% CI [-0.011, +0.046]). 우리는 이러한 영(null) 효과가 구조적이라고 주장합니다. 즉, 단일 질문 벤치마크는 각 항목에 자체 증거를 제공하고 독립적으로 점수를 매기며, 정확성을 보장하려면 조건 간에 저장된 궤적을 초기화해야 하므로 회상 시 검색할 유용한 정보가 없습니다. 이러한 결론에 도달하기까지 4가지 측정 보정이 필요했는데, 그중 3가지는 겉보기 이득을 부풀리고 있었고 네 번째는 해당 규모의 효과를 식별 가능한 것처럼 보이게 만들었으나 결과 표에는 전혀 드러나지 않았습니다. 본 논문에서는 에이전트 메모리 절제 연구가 충족해야 하는 조건과 구체적인 결함에 대한 지식 없이도 작동하는 탐지 절차를 제시합니다.
원문 초록
Decomposing long-context inference across cooperating agents bounds the active KV cache per call rather than total evidence, which matters when KV-cache memory binds. Many such systems add a persistent tier storing and recalling reasoning traces, usually validated by an ablation reporting an accuracy gain. We measure both on one three-tier agent architecture. Decomposition delivers: peak KV working set of 14.3 MiB per query against 35.5 and 35.3 MiB for single-pass and retrieval-augmented baselines. The persistent tier does not: across eight controlled dataset pairs at n=100 per arm it costs +0.368 MiB [+0.167, +0.590] of peak cache and produces no detectable accuracy change (+0.015, 95% CI [-0.011, +0.046]). We argue the null is structural: single-question benchmarks supply each item with its own evidence and score it independently, and correctness requires resetting stored traces between conditions, so recall has nothing informative to retrieve. Reaching it took four measurement corrections -- three inflating the apparent benefit, the fourth making an effect that size look resolvable -- none visible in the results table. We give the conditions an agent-memory ablation must satisfy and detection procedures that need no knowledge of the specific defect.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
13 pages, 1 figure. Accepted as a poster at the Machine Learning for Systems Workshop, NeurIPS 2026