{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/2408-01584","title":"GPUDrive: Data-driven, multi-agent driving simulation at 1 million FPS","arxiv_id":"2408.01584","date":"2024-08-02","proceeding":null,"authors":["Saman Kazemkhani","Aarav Pandya","Daphne Cornelisse","Brennan Shacklett","Eugene Vinitsky"],"abstract":"Multi-agent learning algorithms have been successful at generating superhuman planning in various games but have had limited impact on the design of deployed multi-agent planners. A key bottleneck in applying these techniques to multi-agent planning is that they require billions of steps of experience. To enable the study of multi-agent planning at scale, we present GPUDrive. GPUDrive is a GPU-accelerated, multi-agent simulator built on top of the Madrona Game Engine capable of generating over a million simulation steps per second. Observation, reward, and dynamics functions are written directly in C++, allowing users to define complex, heterogeneous agent behaviors that are lowered to high-performance CUDA. Despite these low-level optimizations, GPUDrive is fully accessible through Python, offering a seamless and efficient workflow for multi-agent, closed-loop simulation. Using GPUDrive, we train reinforcement learning agents on the Waymo Open Motion Dataset, achieving efficient goal-reaching in minutes and scaling to thousands of scenarios in hours. We open-source the code and pre-trained agents at https://github.com/Emerge-Lab/gpudrive.","url_abs":"https://arxiv.org/abs/2408.01584v3","url_pdf":"https://arxiv.org/pdf/2408.01584v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"2408-01584","repo_url":"https://github.com/emerge-lab/gpudrive","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":null,"task_name":"GPU"},{"task_slug":"navigate","task_name":"Navigate"}],"methods":[{"method_slug":"base","method_name":"BASE"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2408.01584","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2408.01584"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/Emerge-Lab/gpudrive","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/emerge-lab/gpudrive","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"140d1fb7fc50b991","entry":"entropy","repo":"Emerge-Lab/gpudrive","repo_kind":"official","path":"gpudrive/networks/late_fusion.py","file_url":"https://github.com/Emerge-Lab/gpudrive/blob/HEAD/gpudrive/networks/late_fusion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"140d1fb7fc50b991"}},{"code_sha256_prefix":"54928c52a27bfaa2","entry":"log_prob","repo":"Emerge-Lab/gpudrive","repo_kind":"official","path":"gpudrive/networks/late_fusion.py","file_url":"https://github.com/Emerge-Lab/gpudrive/blob/HEAD/gpudrive/networks/late_fusion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"54928c52a27bfaa2"}},{"code_sha256_prefix":"268080dd30ffe9fe","entry":"merge_actions","repo":"Emerge-Lab/gpudrive","repo_kind":"official","path":"gpudrive/agents/core.py","file_url":"https://github.com/Emerge-Lab/gpudrive/blob/HEAD/gpudrive/agents/core.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"268080dd30ffe9fe"}},{"code_sha256_prefix":"c5743ad5afe917b0","entry":"sample_logits","repo":"Emerge-Lab/gpudrive","repo_kind":"official","path":"gpudrive/networks/late_fusion.py","file_url":"https://github.com/Emerge-Lab/gpudrive/blob/HEAD/gpudrive/networks/late_fusion.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c5743ad5afe917b0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}