DeepSeek DSec: A Groundbreaking Sandbox for Agent Training
DeepSeek's DSec infrastructure revolutionizes large-scale agent training with innovative sandbox solutions
Introduction to DeepSeek DSec
DeepSeek has released a comprehensive technical article on Zhihu, detailing its DeepSeek Elastic Compute (DSec) for the first time. DSec is a sandbox infrastructure designed to support the training, evaluation, and data preprocessing of DeepSeek-V4 agents.
DSec's Unique Design
DSec addresses the challenges of training reliable agent models by allowing them to interact with real-world environments. This involves repeated attempts, including reading code, modifying files, installing dependencies, executing tests, and running services. DSec's design is tailored to handle the unique demands of these operations.
Adaptive Execution Backends
DSec supports four execution backends: FnCall, Container, MicroVM, and Full VM. These are chosen based on the task type and requirements, offering flexibility and efficiency in managing different agent tasks.
Efficient Environment Management
DSec optimizes environment management by dividing the sandbox environment into three parts: base images, workspaces, and toolkits. This allows for independent updates and reduces the need for rebuilding large numbers of images.
Storage and Performance Optimization
DSec uses EROFS for storage, which supports metadata and data separation and deduplication across images. This approach significantly reduces I/O overhead and speeds up task completion times.
“DSec addresses the challenges of training reliable agent models by allowing them to interact with real-world environments.”
— DeepSeek