SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.11751 · 2020

Sample Factory: Egocentric 3D Control from Pixels at 100000 FPS with Asynchronous Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
alex-petrenko/sample-factory canonical 5 of 5
FunctionStatusWhere it lives
fc_layer Ran alex-petrenko/sample-factory/sample_factory/model/model_utils.py
code served (permissive licence) · get_code("7fb8a5bac84c8654")
generate_args Ran alex-petrenko/sample-factory/sample_factory/export_onnx.py
code served (permissive licence) · get_code("fdc600b61ce97ca2")
get_rnn_size Ran alex-petrenko/sample-factory/sample_factory/model/model_utils.py
code served (permissive licence) · get_code("03ab87432391e2ee")
he_normal_init Ran alex-petrenko/sample-factory/sample_factory/model/utils.py
code served (permissive licence) · get_code("d24d8d4729dd54c7")
orthogonal_init Ran alex-petrenko/sample-factory/sample_factory/model/utils.py
code served (permissive licence) · get_code("ec56f732ad5319e0")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Increasing the scale of reinforcement learning experiments has allowed researchers to achieve unprecedented results in both training sophisticated agents for video games, and in sim-to-real transfer for robotics. Typically such experiments rely on large distributed systems and require expensive hardware setups, limiting wider access to this exciting area of research. In this work we aim to solve this problem by optimizing the efficiency and resource utilization of reinforcement learning algorithms instead of relying on distributed computation. We present the "Sample Factory", a high-throughput training system optimized for a single-machine setting. Our architecture combines a highly efficient, asynchronous, GPU-based sampler with off-policy correction techniques, allowing us to achieve throughput higher than $10^5$ environment frames/second on non-trivial control problems in 3D without sacrificing sample efficiency. We extend Sample Factory to support self-play and population-based training and apply these techniques to train highly capable agents for a multiplayer first-person shooter game. The source code is available at https://github.com/alex-petrenko/sample-factory

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2006.11751")
get_code_for_paper("2006.11751")
have("2006.11751")

Connect an agent — have() is free.