DeepSeek Unveils DSec for V4.1 Agent Training
DeepSeek's DSec, a sandbox infrastructure for large-scale agent training, is detailed in a new technical report.
Introduction to DeepSeek DSec
DeepSeek has released a technical paper on its DeepSeek Elastic Compute (DSec), a sandbox infrastructure for large-scale agent training. The paper, co-authored with Tsinghua University, is available on arXiv and explains the system's capabilities and architecture.
DSec's Role in Agent Training
DSec supports the training, evaluation, and data preprocessing of DeepSeek-V4 agents. It provides a sandbox environment where agents can repeatedly try and learn in real-world scenarios, changing the environment through operations like reading code, modifying files, and running services.
DSec's Design Considerations
DSec's design is influenced by the specific requirements of agent tasks, such as the need for varying levels of isolation, operating system functionality, and execution overhead. It supports four execution backends: FnCall, Container, MicroVM, and Full VM, each tailored to different task needs.
Efficient Environment Management
DSec addresses the challenge of building and updating large numbers of environments for agent training. It divides the environment into base images, workspaces, and toolkits, each managed separately and combined at runtime. This approach minimizes redundant builds and improves efficiency.
Optimized Storage and Access
DSec uses EROFS for efficient storage of images, workspaces, and toolkits, reducing I/O overhead by storing only the necessary metadata locally and loading data on demand. This approach significantly reduces task completion times and disk write volumes.
“DSec addresses the challenge of building and updating large numbers of environments for agent training.”
— DeepSeek