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 条
  • [21] A Many-Ported and Shared Memory Architecture for High-Performance ADAS SoCs
    Luan, Hao
    Yao, Yu
    Huang, Chang
    IEEE DESIGN & TEST, 2022, 39 (06) : 5 - 15
  • [22] UAV-GCS Centralized Data-Oriented Communication Architecture for Crowd Surveillance Applications
    Chriki, Amira
    Touati, Haifa
    Snoussi, Hichem
    Kamoun, Farouk
    2019 15TH INTERNATIONAL WIRELESS COMMUNICATIONS & MOBILE COMPUTING CONFERENCE (IWCMC), 2019, : 2064 - 2069
  • [23] Blaze: A High-Performance, Scalable, and Efficient Data Transfer Framework with Configurable and Extensible Features
    Marru, Suresh
    Freitag, Brian
    Wannipurage, Dimuthu
    Bommala, Uday Kumar
    Pradier, Patrick
    Demange, Christophe
    Pantha, Nishan
    Mukherjee, Tathagata
    Rosich, Betlem
    Monjoux, Eric
    Ramachandran, Rahul
    2023 IEEE 16TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, CLOUD, 2023, : 58 - 68
  • [24] Perspectives on High-Performance Computing in a Big Data World
    Fox, Geoffrey C.
    HPDC'19: PROCEEDINGS OF THE 28TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING, 2019, : 145 - 145
  • [25] Design and evaluation of a high-performance dynamically extensible router
    Kuhns, F
    DeHart, J
    Kantawala, A
    Keller, R
    Lockwood, J
    Pappu, P
    Richard, D
    Taylor, D
    Parwatikar, J
    Spitznagel, E
    Turner, J
    Wong, K
    DARPA ACTIVE NETWORKS CONFERENCE AND EXPOSITION, PROCEEDINGS, 2002, : 42 - 64
  • [26] Evolution of a high-performance PC architecture data processing system
    Turri, M
    DASIA 99: DATA SYSTEMS IN AEROSPACE, 1999, 447 : 73 - 78
  • [27] APHID: An architecture for private, high-performance integrated data mining
    Secretan, Jimmy
    Georgiopoulos, Michael
    Koufakou, Anna
    Cardona, Kel
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2010, 26 (07): : 891 - 904
  • [28] FAST: A High-Performance Architecture for Heterogeneous Big Data Forensics
    Pungila, Ciprian
    Negru, Viorel
    INTERNATIONAL JOINT CONFERENCE SOCO'17- CISIS'17-ICEUTE'17 PROCEEDINGS, 2018, 649 : 618 - 627
  • [29] High-performance modelling and simulation for big data applications
    Kolodziej, Joanna
    Gonzalez-Velez, Horacio
    Karatza, Helen D.
    SIMULATION MODELLING PRACTICE AND THEORY, 2017, 76 : 1 - 2
  • [30] K-Feed, A Data-Oriented Approach to Application Performance Management in Cloud
    Zareian, Saeed
    Veleda, Rodrigo
    Litoiu, Marin
    Shtern, Mark
    Ghanbari, Hamoun
    Garg, Manish
    2015 IEEE 8TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, 2015, : 1045 - 1048