An Extensible, Data-Oriented Architecture for High-Performance, Many-World Simulation

被引:4
|
作者
Shacklett, Brennan [1 ]
Rosenzweig, Luc Guy [1 ]
Xie, Zhiqiang [1 ]
Sarkar, Bidipta [1 ]
Szot, Andrew
Wijmans, Erik [2 ]
Koltun, Vladlen
Batra, Dhruv [2 ]
Fatahalian, Kayvon [1 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] Georgia Inst Technol, Atlanta, GA 30332 USA
来源
ACM TRANSACTIONS ON GRAPHICS | 2023年 / 42卷 / 04期
关键词
game AI; reinforcement learning;
D O I
10.1145/3592427
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Training AI agents to perform complex tasks in simulated worlds requires millions to billions of steps of experience. To achieve high performance, today's fastest simulators for training AI agents adopt the idea of batch simulation: using a single simulation engine to simultaneously step many environments in parallel. We introduce a framework for productively authoring novel training environments (including custom logic for environment generation, environment time stepping, and generating agent observations and rewards) that execute as high-performance, GPU-accelerated batched simulators. Our key observation is that the entity-component-system (ECS) design pattern, popular for expressing CPU-side game logic today, is also well-suited for providing the structure needed for high-performance batched simulators. We contribute the first fully-GPU accelerated ECS implementation that natively supports batch environment simulation. We demonstrate how ECS abstractions impose structure on a training environment's logic and state that allows the system to efficiently manage state, amortize work, and identify GPU-friendly coherent parallel computations within and across different environments. We implement several learning environments in this framework, and demonstrate GPU speedups of two to three orders of magnitude over open source CPU baselines and 5-33x over strong baselines running on a 32-thread CPU. An implementation of the OpenAI hide and seek 3D environment written in our framework, which performs rigid body physics and ray tracing in each simulator step, achieves over 1.9 million environment steps per second on a single GPU.
引用
收藏
页数:13
相关论文
共 50 条
  • [41] An Extensible Monitoring Framework for Measuring and Evaluating Tool Performance in a Service-Oriented Architecture
    Becker, Christoph
    Kulovits, Hannes
    Kraxner, Michael
    Gottardi, Riccardo
    Rauber, Andreas
    WEB ENGINEERING, PROCEEDINGS, 2009, 5648 : 221 - 235
  • [42] High-performance mixed PRML architecture for optical data storage system
    Lee, J., 1600, Japan Society of Applied Physics (44):
  • [43] Designing a novel high-performance FPGA architecture for data intensive applications
    Kostas Siozios
    Dimitrios Soudris
    Journal of Real-Time Image Processing, 2009, 4 : 155 - 166
  • [44] Designing a novel high-performance FPGA architecture for data intensive applications
    Siozios, Kostas
    Soudris, Dimitrios
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2009, 4 (02) : 155 - 166
  • [45] Synthesizing DSP kernels with a high-performance data-path architecture
    Galanis, MD
    Theodoridis, G
    Tragoudas, S
    Goutis, CE
    MELECON 2004: PROCEEDINGS OF THE 12TH IEEE MEDITERRANEAN ELECTROTECHNICAL CONFERENCE, VOLS 1-3, 2004, : 221 - 225
  • [46] High-performance mixed PRML architecture for optical data storage system
    Lee, J
    Ryu, EJ
    Lee, JW
    Cho, ES
    Konakov, M
    Lee, J
    Lee, J
    Chae, H
    Lee, H
    JAPANESE JOURNAL OF APPLIED PHYSICS PART 1-REGULAR PAPERS BRIEF COMMUNICATIONS & REVIEW PAPERS, 2005, 44 (5B): : 3436 - 3439
  • [47] A HIGH-PERFORMANCE OVERLAY ARCHITECTURE FOR PIPELINED EXECUTION OF DATA FLOW GRAPHS
    Capalija, Davor
    Abdelrahman, Tarek S.
    2013 23RD INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL 2013) PROCEEDINGS, 2013,
  • [48] HyperBSA: A High-Performance Consortium Blockchain Storage Architecture for Massive Data
    Chen, Xiao
    Zhang, Kejie
    Liang, Xiubo
    Qiu, Weiwei
    Zhang, Zhigang
    Tu, Ding
    IEEE ACCESS, 2020, 8 : 178402 - 178413
  • [49] High-Performance Data Analytics Techniques for Power Markets Simulation
    Kardos, Juraj
    Holt, Timothy
    Schenk, Olaf
    Fazio, Vincenzo
    Fabietti, Luca
    Spazzini, Filippo
    2021 INTERNATIONAL CONFERENCE ON SMART ENERGY SYSTEMS AND TECHNOLOGIES (SEST), 2021,
  • [50] High-performance simulation and simulation methodologies
    Mustafee, Navonil
    Taylor, Simon J. E.
    SIMULATION-TRANSACTIONS OF THE SOCIETY FOR MODELING AND SIMULATION INTERNATIONAL, 2013, 89 (11): : 1291 - 1292