arXiv:2610.39711v2 cs.DC

Sandman: 프로덕션 에이전트 강化학습을 위한 샌드박스 서비스

Sandman: A Sandbox Service for Production Agentic Reinforcement Learning

Yiming Yan, Hongyang Wang, Wenbo Chen, Xuan Wang, Yichuan Li, Jingguo Liu, Xian Li, Leo Fan, Chen Qi, Siwei Li, Qianli Wu, Ruochen Wen, Qian Qu, Zheshen Wang, Benoit Dumoulin

제출 2026-10-30

한국어 초록

에이전트 강화학습(RL)에는 도구 실행과 평가를 위한 상태 유지형 환경이 필요하다. 학습 작업은 한꺼번에 수천 개의 환경을 요청하여 공유 클러스터 서비스에 과부하를 줄 수 있으며, 취소되거나 시간 초과된 요청은 자원이 계속 실행되도록 방치할 수 있다. 본 논문은 공유 Kubernetes 상에서 대규모 에이전트 RL 워크로드를 프로덕션 환경에서 처리하기 위해 Amazon에서 구축하고 운영한 샌드박스 서비스 Sandman을 소개한다. 수정되지 않은 태스크 이미지에 마운트된 소형 데몬이 호출 간에 파일과 프로세스를 보존한다. Sandman은 생성 요청의 속도를 조절하고, 샌드박스 준비 상태를 확인하며, 호출자가 시간 초과되거나 취소한 이후에도 정리 책임을 유지한다. 프로덕션 배포에서는 2주 동안 122건의 코딩 에이전트 학습 실행을 위해 310만 개의 샌드박스를 생성하였다. 프로덕션 최대 동시 실행 수는 샌드박스 11,858개였다. 10,000건의 요청이 다수 클라이언트에서 몰린 한 사례에서 Sandman은 샌드박스의 절반을 116초 만에, 전부를 308초 만에 사용 가능하게 하였다. 전체 제공 시간은 오픈소스 Kubernetes 샌드박스 관리자인 agent-sandbox의 조정된 구성보다 44% 짧았다. Sandman은 클라이언트 종료 시 남은 샌드박스가 없었다. 소프트웨어 엔지니어링 태스크 이미지에서 아무 동작도 하지 않는 명령의 중앙값 지연 시간은 2.0 ms였으며, agent-sandbox는 14.3 ms, OpenSandbox는 203.5 ms였다. 또한 학습 실행 내에서의 프로비저닝 비용과 샌드박스 지연을 측정하고, 프로덕션 사용 경험과 세 가지 오픈소스 시스템과의 비교로부터 얻은 설계상의 상충 관계와 운영 교훈을 보고한다. Sandman의 데몬, 프로바이더 및 풀을 오픈소스로 공개할 예정이다.

원문 초록

Agentic reinforcement learning (RL) needs stateful environments for tool execution and evaluation. Training jobs request thousands of environments in bursts that can overwhelm shared cluster services, while cancelled or timed-out requests can leave resources running. We present Sandman, a sandbox service built and operated at Amazon for large-scale agentic RL workloads in production on shared Kubernetes. A small daemon mounted into unmodified task images preserves files and processes across calls. Sandman paces creation requests, checks sandbox readiness, and retains cleanup responsibility after callers time out or cancel. Production deployments created 3.1 million sandboxes for 122 coding-agent training runs in two weeks. Peak production concurrency was 11,858 sandboxes. In one 10,000-request multi-client burst, Sandman made half the sandboxes usable in 116 seconds and all in 308 seconds. Full delivery took 44% less time than a tuned configuration of agent-sandbox, an open-source sandbox manager for Kubernetes. Sandman left no sandboxes at client exit. On software-engineering task images, median no-op command latency was 2.0 ms, compared with 14.3 ms for agent-sandbox and 203.5 ms for OpenSandbox. We also measure provisioning costs and sandbox delays within training runs, and report design trade-offs and operational lessons from production use and comparisons with three open-source systems. We will open-source Sandman's daemon, provider and pool.

제출 이력

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

  1. arXiv:2610.39711v2제출 시각 미확인
  2. arXiv:2610.39711v1제출 시각 미확인

함께 살펴볼 논문

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

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

토론

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