arXiv:2611.07996cs.DCNov 2026

Manuscript Offprint

arXiv:2611.07996

SEER: A Scalable Event-Driven Runtime for Parallel Execution of Multi-Agent Reinforcement Learning Environments

Jiming Su, Feng Zhu, Yuhao Xiao, Miao Zhang

SEER: A Scalable Event-Driven Runtime for Multi-Agent Reinforcement Learning Environment Execution

Jiming Su, Feng Zhu, Yuhao Xiao, Miao Zhang

NUDT

jimings@nudt.edu.cn,

Abstract

Multi-agent reinforcement learning (MARL) is increasingly used in systems where many entities interact in a shared environment. In these workloads, policy inference can be batched on GPUs, but the CPU-side environment path still updates entity states, resolves local interactions, and builds observations inside each env.step. This path can dominate latency in interaction-intensive workloads after policy batching. Existing vectorized environment interfaces and general event-driven runtimes do not directly address the fine-grained cross-entity work inside one bounded MARL step while preserving the step-level semantics expected by learning systems. We present SEER (Scalable Event-Driven Environment Runtime), a runtime for MARL environment execution under an explicit event-locality contract. SEER models each environment step as a bounded stream of timestamped events. If direct state updates are entity-local and cross-entity effects are represented as ordered future events, SEER can run independent events in parallel while preserving serial-equivalent boundary outputs. To make this contract practical, SEER uses a CAS-based dual-layer event queue: local event queues preserve per-entity causal order, while a parallel executive list exposes ready work to global worker threads. SEER further uses STPA, a preflight-guided thread-pool selection mechanism that combines short runtime traces with static workload and hardware features. We evaluate SEER on two parameterized MARL workloads: compute-intensive UAV swarm control (Aircraft) and communication-intensive wireless management (PCS). On Aircraft, SEER reduces inference latency by 16.2% over the baseline. On PCS, SEER reduces environment-execution latency by 46.9%, 19.5%, and 64.9% over ROSS-T, NBSE, and ROOT-Sim, respectively. These results suggest that fine-grained event scheduling and workload-aware thread selection can reduce MARL environment-execution overhead in the evaluated interaction-intensive workloads.

Multi-agent reinforcement learning (MARL) increasingly supports large shared environments, including robot swarms, wireless networks, transportation systems, and digital twins (Vinyals et al. 2019; Jaderberg et al. 2019; Luong et al. 2019; Orr and Dutta 2023). After GPU policy batching, CPU-side state updates, interaction processing, and observation construction can become the dominant remaining cost (Weng et al. 2022). We study how to parallelize this intra-environment execution within one shared MARL step.

Figure

Figure 1: MARL environment-execution workflow.

Vectorized environments parallelize independent instances but do not expose irregular interaction work inside one shared env.step(AtA_t) (Terry et al. 2021; Weng et al. 2022). Such work includes entity updates, collision or contention handling, message processing, and observation construction. The key problem is therefore to expose intra-step parallelism while preserving the learning-loop outputs for environments that satisfy an explicit event-locality contract.

Fig. 1 shows the execution pattern. After agents produce actions, the CPU updates entity states, processes interactions, and constructs rewards and observations. Conventional traversal preserves determinism but serializes many entity-local operations that could execute concurrently.

Generic parallel discrete-event simulation does not directly satisfy the learning-facing boundary of a MARL step: the next rewards, termination flags, and observations must preserve the original environment semantics. SEER therefore adopts an event-locality contract in which direct writes are entity-local, cross-entity effects are represented as ordered events, and outputs are emitted only after the in-step event window completes.

SEER separates semantic order, work sharing, and resource selection. Entity-local queues preserve causal order, a global ready-event list exposes executable work, and preflight-guided thread selection chooses a suitable degree of parallelism. Unlike environment-level vectorization or open-ended PDES, SEER targets bounded execution inside one shared MARL step.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

This paper makes the following contributions:

  • We identify intra-environment execution as a major post-batching bottleneck and define an event-locality contract for entity-causal parallel execution.

  • We design a CAS-based dual-layer queue and dynamic scheduler that separate local causal order from global ready-work sharing.

  • We use preflight traces and static workload features to predict a suitable thread-pool size for short MARL executions.

  • We evaluate throughput, latency, load balance, thread prediction, and component contributions on Aircraft and PCS against ROSS-T, NBSE, and ROOT-Sim.

References (41)