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 条
  • [31] POERS: A performance-oriented energy reduction scheduling technique for a high-performance MPSoC architecture
    Chu, SL
    11TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS WORKSHOPS, VOL II, PROCEEDINGS,, 2005, : 699 - 703
  • [32] INCORPORATING PERFORMANCE PORTABILITY AND DATA-ORIENTED DESIGN IN PHASE-FIELD MODELING
    Yenusah, Caleb
    Stone, Tonya W.
    Morgan, Nathaniel R.
    Robey, Robert W.
    Liu, Yucheng
    Chen, Lei
    PROCEEDINGS OF ASME 2022 INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE, IDETC-CIE2022, VOL 2, 2022,
  • [33] Simulation experiments of a high-performance RapidIO-based processing architecture
    Adams, J
    Katsinis, C
    Rosen, W
    Hecht, D
    Adams, V
    Narravula, HV
    Sukhtankar, S
    Lachenmaier, R
    IEEE INTERNATIONAL SYMPOSIUM ON NETWORK COMPUTING AND APPLICATIONS, PROCEEDINGS, 2001, : 336 - 339
  • [34] Exploring the Influence of Government Data Performance on Knowledge Capabilities: Towards a Data-Oriented Political Economy
    Mukhametov, Daniyar
    SOCIAL SCIENCES-BASEL, 2022, 11 (09):
  • [35] High-performance protocol architecture
    Dabbous, WS
    COMPUTER NETWORKS AND ISDN SYSTEMS, 1997, 29 (07): : 735 - 744
  • [36] HIGH-PERFORMANCE ARCHITECTURE ISSUES
    NICOLE, DA
    DECENTRALIZED AND DISTRIBUTED SYSTEMS, 1993, 39 : 23 - 30
  • [37] HIGH-PERFORMANCE COMPUTER ARCHITECTURE
    BHUYAN, LN
    FUTURE GENERATION COMPUTER SYSTEMS, 1995, 11 (06) : 501 - 502
  • [38] Evaluating the performance of object-oriented and data-oriented design with multi-threading in game development
    Wingqvist, David
    Wickstrom, Filip
    Memeti, Suejb
    2022 IEEE GAMES, ENTERTAINMENT, MEDIA CONFERENCE (GEM), 2022,
  • [39] EXTENSIBLE FILE-SYSTEMS (ELFS) - AN OBJECT-ORIENTED APPROACH TO HIGH-PERFORMANCE FILE I/O
    KARPOVICH, JF
    GRIMSHAW, AS
    FRENCH, JC
    SIGPLAN NOTICES, 1994, 29 (10): : 191 - 204
  • [40] A High-performance Retrieval Method of Mass Data Oriented to Cloud Computing
    Tao, Jin
    2016 INTERNATIONAL CONFERENCE ON ROBOTS & INTELLIGENT SYSTEM (ICRIS), 2016, : 16 - 21