AgentZip 将智能体沙箱内存压缩至多 8.7 倍

elvis · @omarsar0 · X·2026-09-12 05:57·50分钟前
AI 导读

港科大研究者提出 AgentZip,针对高并发智能体沙箱的内存冗余问题,将沙箱内存占用最多压缩 8.7 倍(Linux 配置下为 2.1 倍)。他们测得 76% 至 96% 的内存页存在模板相对或跨沙箱冗余,AgentZip 据此对模板和同级沙箱进行压缩,并在智能体等待 LLM 时执行压缩、恢复时预取页面。激进压缩本身会拖慢执行 3.1 倍,调度与预取将其降至 1.40 倍。

elvis@omarsar0
42AI 编辑部评分,满分 100

AgentZip 将智能体沙箱内存压缩至多 8.7 倍

2026-09-12 05:57· 50分钟前
AI 导读

港科大研究者提出 AgentZip,针对高并发智能体沙箱的内存冗余问题,将沙箱内存占用最多压缩 8.7 倍(Linux 配置下为 2.1 倍)。他们测得 76% 至 96% 的内存页存在模板相对或跨沙箱冗余,AgentZip 据此对模板和同级沙箱进行压缩,并在智能体等待 LLM 时执行压缩、恢复时预取页面。激进压缩本身会拖慢执行 3.1 倍,调度与预取将其降至 1.40 倍。

Very cool paper on memory compression for agents.

If you run many agent sandboxes in parallel for RL or evals, memory becomes highly redundant. This work suggests that compressing against that redundancy cuts sandbox memory by up to 8.7x.

Memory is becoming the capacity limit for high-fanout agent workloads.

One task can spawn many concurrent sandboxes, and they all start from the same template and run related trajectories.

HKUST researchers measured 76 to 96% of pages with template-relative or cross-sandbox redundancy.

AgentZip compresses pages against the template and against sibling sandboxes, including pages that are similar without being identical.

It runs expensive compression while the agent is waiting on the LLM, and it prefetches pages at restore time to control slowdown.

Results:

Sandbox-owned memory drops by up to 8.7x, against 2.1x for the Linux configuration. Aggressive compression slows execution by 3.1x on its own, and the scheduling and prefetching bring that down to 1.40x.

Paper: https://arxiv.org/abs/2609.11294

Chat with Paper: https://academy.dair.ai/papers/memory-compression-for-high-fanout-agent-sandboxes-2609.11294

来源:elvis· x.com