arXiv:2609.06178cs.GTSep 2026

Manuscript Offprint

arXiv:2609.06178

Games Over Observation Spaces in Multi-Agent Capture the Flag

Mae Frost, Michael Amir, Shaunak D. Bopardikar

Mae Frost1^{1}[0009-0008-9945-979X], Michael Amir2^{2}[0000-0002-5519-0206], and Shaunak D. Bopardikar3^{3}[0000-0002-0813-7867]

1^{1} Department of Computer Science and Engineering, Michigan State University, East Lansing MI 48824, USA frostric@msu.edu

2^{2} University of Cambridge, UK ma2151@cst.cam.ac.uk

3^{3} Department of Electrical and Computer Engineering, Michigan State University, East Lansing MI 48824, USA shaunak@msu.edu

Abstract. We consider a multi-agent Capture the Flag (CtF) scenario in a graph-based environment, where a team of attackers seeks to reach designated flag vertices while a defending team attempts to intercept them. In our setting, both teams operate using decentralized heuristic policies. While the attacking team may choose its heuristic from a diverse library of policies, the defense is restricted to playing a single fixed policy. To overcome this limitation, a centralized defense oracle strategically restricts the portion of the graph visible to each of its agents in order to elicit a wider range of emergent behaviors from its fixed policy. We formalize this interaction as a two-player zero-sum game, where the attacker reasons over its library of heuristics and the defense reasons over the combinatorial space of visibility profiles. To solve this intractably large game, we propose a Double Oracle algorithm to find approximate empirical equilibria, and we empirically validate that observation manipulation can improve the defense's performance.

Keywords: Multi-Agent Systems · Reinforcement Learning · Capture the Flag

1 Introduction

Consider an adversarial game of Capture the Flag (CtF) played between two teams of homogeneous agents over a graph. One team, the attackers, tries to reach a set of flag vertices, while the second team, the defenders, tries to prevent flag captures by intercepting the attackers. This leads to a two-team zero-sum game in which the defense minimizes the number of flag captures, while the attackers try to maximize it. In order to accomplish their respective goals, each team uniformly deploys a decentralized policy across its agents, that is, each agent on the same team uses the same policy. In an ideal case, each team would

M. Frost et al.

derive an optimal stochastic policy against its opponent, jointly forming a mixed-strategy Nash equilibrium. However, in practice, it is often infeasible to derive optimal policies for either team, especially when the team or graph size is large.

For this reason, we assume that both teams deploy heuristic policies, which, while suboptimal, are both easier to design and can often be more generalizable across different graphs. With the restriction to decentralized heuristic approaches in place, the question arises of how each team can best shape its behavior to achieve its goal. An intuitive way to do this would be to build a diverse library of heuristics to hopefully allow for a more performant best response to a potential opponent. A second method, however, might be to maintain only a small number of heuristics, and instead shape how each agent perceives the environment by masking portions of the graph. This underlies the central premise of this work, that information restriction can be treated as a strategic resource. While compiling an exhaustive library of heuristics is both labor-intensive and often manual, selectively altering the environment perceived by a fixed policy provides an automated alternative. By selectively withholding specific data, a centralized oracle can effectively restrict each agent's action space to trigger specific heuristic behaviors, such as forcing an agent to hold a choke-point rather than blindly pursuing a target. Under such a profile over the observation and action spaces, each agent on the team potentially plays the game in a different environment, allowing for heterogeneous behaviors despite the homogeneous policy [1]. In physical deployments, these types of observation restrictions have natural analogs in terms of selective sensor filtering, explicit communication constraints, or dynamic mission assignment. We study the interplay between these two methodologies by considering a game over visibility profiles in which the attacking team is allowed access to a library of heuristics, while restricting the defense to only a single policy but allowing it to define an observation mask for each of its agents.

Contribution The primary contribution of this paper is an algorithm that finds approximate empirical equilibrium policies for both teams in the proposed game over visibility profiles. Our algorithm uses the Double Oracle framework to avoid reasoning over the space of all possible observation masks for each defending agent. While the oracle deciding the attacker's choice of policy is exact, the oracle used to create the visibility profile used by the defense is approximated using deep reinforcement learning techniques to optimize a graph neural network. We then validate our algorithm and oracles in both a small gridworld and a larger setting modeled after urban street maps. Serving as an empirical proof of concept for our framework, these trials demonstrate that manipulating the defense's observation space can impact team behavior enough to shift the value of the CtF game's equilibrium in favor of the defense. Specifically, against our defined set of heuristics, our methodology reduces the expected game value from 1 flag capture to 0 flag captures in the gridworld setting, and from 2 flag captures to 0 flag captures in a 200-vertex urban environment, both representing maximal improvements for the defense. These results provide empirical evidence that observation manipulation can introduce useful heterogeneity to enforce favorable equilibria without engineering new defense policies.

Related Work. While multi-agent competitive games have been studied in a variety of contexts, our CtF game is most similar to pursuit-evasion [13] and perimeter defense games [11, 20], which both feature teams with diametrically opposing goals. However, while the defense must both pursue attackers and protect the flag vertices in CtF, the balance between these goals, particularly across a team, makes defense in CtF an altogether distinct task, a dynamic that equally complicates the attacker's objective. Similar capture the flag settings have also been studied in the context of differential games [5, 23]. However, these formulations differ from our own by incorporating a "safe zone" to which the attacker must return. Regardless of the formulation, the large state-space associated with multiple interacting agents has necessitated the creation of algorithmic techniques for solving large games. This led to the creation of the Double Oracle framework [15], which allows for matrix game solutions to be computed without enumerating either player's action space, as long as a best response oracle is available for both players. The Double Oracle technique has since been extended to a variety of contexts, including extensive form games [14] and machine learning-derived oracles [10]. A final related topic is agent-environment co-design, which considers how to optimize not only an agent's behavior for a task, but also the environment around the agent [4, 12, 19, 9]. This idea, that environment design inherently shapes agent behavior, mirrors how our game tries to design optimal CtF graphs for the defending agents. Of particular relevance to our setting are [4, 12], which utilize a coordinated learning approach to optimize both robot navigation and obstacle placement.

References (23)