Evolving Infra: Agent-Adaptive LLM Serving at Scale

Hao Kang, Weili Xu, Ziyang Li, Zheng Du, Hanchen Li, Tian Xia, Song Bian, Tushar Krishna, Huizi Mao, Ion Stoica, Song Han

arXiv:2611.12304 · 2026-11-14 공개 · arXiv · PDF

latency-optimization glm-5-2 llm-serving compute-allocation prefill-decode kimi-k2-6 kv-cache-management agent-adaptive

Abstract

Agentic workloads are a major source of LLM inference demand. Existing prefill--decode (PD) disaggregated serving systems offer limited flexibility for runtime adaptation of compute allocation and KV cache management, and rely on coarse signals that only partly capture the diverse and dynamic agent workload. These limitations lead to load imbalance between prefill and decode nodes and eviction of KV caches that agents will reuse. We present Evolving Infra, an agent-adaptive serving framework that adapts compute allocation to agent workloads and KV cache management to agent context management at runtime. We decouple compute allocation from key--value (KV) cache management, allowing nodes to switch efficiently between prefill and decode. Building on this design, an online planner matches the PD split to workload composition, while an agent-aware distributed KV manager guides cache eviction and transfer with signals from agent context management. Across coding, math, and computer-use tasks with GLM-5.2 and Kimi K2.6 on up to 256 GB300 GPUs, Evolving Infra reduces mean end-to-end request latency and P95 TTFT by up to 4.1x and 14x over Dynamo, NVIDIA's production framework.

한국어 요약

한 줄 요약

Evolving Infra는 대규모 LLM 추론 작업에서 에이전트 중심 워크로드에 적응하는 서빙 프레임워크로, Dynamo 대비 최대 4.1배의 지연 감소를 달성한다.

핵심 기여도

핵심 아이디어

기존 PD 분할 서빙 시스템은 compute allocation과 KV 캐시 관리를 결합하여, 노드의 전환 시 캐시 손실이 발생하고, 워크로드 변화에 대응하지 못한다. Evolving Infra는 이 두 요소를 분리하여, 노드가 prefill과 decode 사이를 효율적으로 전환할 수 있도록 설계했다.

핵심 통찰은 **에이전트 워크로드의 동적 변화와 컨텍스트 관리**를 반영한 실시간 서빙 최적화이다. 이를 위해 **online planner**가 PD 분할을 워크로드 조성에 맞춰 조정하고, **agent-aware distributed KV manager**가 캐시 폐기와 이전을 에이전트 컨텍스트 정보를 기반으로 결정한다. 이는 기존 시스템에서 발생하는 캐시 재계산, 불필요한 노드 재시작, 캐시 폐기 오류를 줄인다.

기술적 접근법

주요 결과

의의 및 한계

Evolving Infra는 에이전트 워크로드의 동적 특성을 반영한 서빙 최적화를 가능하게 하며, 기존 시스템의 캐시 관리와 노드 전환 문제를 해결한다. 특히, **real-time 워크로드 조정**과 **에이전트 컨텍스트 기반 캐시 관리**는 기존 연구에서 다루지 못한 핵심 기술이다.

하지만, **초기 PD 분할 설정**이나 **에이전트 워크로드의 예측 정확도**에 따라 성능이 달라질 수 있으며, **대규모 GPU 클러스터에서의 확장성** 검증은 추가 연구가 필요하다. 또한, **ThunderAgent와 같은 다른 에이전트 플랫폼과의 호환성**도 아직 명시되지 않았다.

실용적 활용

Evolving Infra는 코드 생성, 수학 문제 해결, 컴퓨터 사용 등 다양한 에이전트 기반 LLM 추론 작업에 적용 가능하다. 특히, **동적 워크로드 조정이 필요한 클라우드 서빙 환경**에서 유용하며, **NVIDIA의 Dynamo와 같은 기존 서빙 프레임워크 대체**로도 활용될 수 있다.