arXiv AI By Yutong Huang, Vikranth Srivatsa, Alex Asch, Yiying Zhang

BunshinRL: Whole-Workspace Forking for Agentic Reinforcement Learning Rollouts

Read the original on arXiv AI →

BunshinRL is an agentic reinforcement learning rollout system that reduces memory usage and latency by sharing environment state and reusing tool calls. It employs three techniques—memory sharing across environments, tool‑prefix caching, and speculative tool execution—built on BunshinFork, a live whole‑workspace forking mechanism for containers. BunshinFork reconstructs process trees, shares copy‑on‑write memory, and preserves file, communication, and GUI state, allowing cached‑state reuse and rollback after incorrect speculation. The implementation, via Linux kernel module and CRIU modifications, achieves up to 43% peak memory reduction, 51% total memory savings, and 23% lower rollout latency.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.