---
title: State-Adversarial Markov Games
url: https://www.emergentmind.com/topics/state-adversarial-markov-games-samgs
type: topic
---

# State-Adversarial Markov Games

A State-Adversarial Markov Game (SAMG) is a formal multi-agent reinforcement learning (MARL) framework that explicitly incorporates adversarial perturbations to agents’ state observations, modeling state uncertainty within Markov games. SAMGs generalize standard Markov games by allowing an adversary to select, at each step, which (possibly perturbed) observations the agents receive—potentially inducing severe robustness challenges for both the existence and computation of equilibrium solutions. The framework has yielded novel solution concepts and algorithms, particularly addressing the breakdown of traditional optimality and Nash equilibrium notions under state uncertainty [2212.02705].

## 1. Formal Model and Definitions

An SAMG is specified by the tuple $G = (N, S, \{A^i\}_i, p, \{R^i\}_i, \gamma, \Delta)$:
- $N = \{1, ..., n\}$: agent set.
- $S$: finite global state space.
- For each $i \in N$, $A^i$: local action set; joint action $a = (a^1, ..., a^n)$, with $a \in \prod_i A^i$.
- $p(s'|s,a)$: Markovian state transition dynamics (not manipulated by the adversary).
- $R^i(s,a)$: stage reward for agent $i$, often $r(s,a)$ shared.
- $\gamma \in [0,1)$: discount factor.
- For every $s \in S$, the adversary selects a perturbed observation $\rho = (\rho^1, ..., \rho^n) \in \Delta_s \subseteq S^n$. The collection $\Delta = \{\Delta_s : s \in S\}$ defines admissible observation sets.
- Agent $i$’s policy $\pi^i(\cdot|\rho^i)$ maps local observation to actions; the adversary policy $\chi(\rho|s)$ specifies a distribution over $\Delta_s$.

Each time step, the environment draws the true state $s$, adversary samples $\rho$ from $\chi(\cdot|s)$, agents select $a^i$ based on $\rho^i$, environment transitions via $p$.

This modeling framework captures threat models where the adversary may represent noisy sensors, malicious attackers, or systemic perceptual bias—providing a controlled, game-theoretic context for analyzing MARL robustness to state perturbations [2212.02705][1712.00579].

## 2. Solution Concepts and Value Functions

### 2.1 Robust Value Functions and Min-Max Dynamic Programming

For policy profile $\pi$, the robust value function is
$$
v^\pi(s) \equiv \min_{(\rho_0, \rho_1, ...): \rho_t \in \Delta_{s_t}} \mathbb{E}_\pi \left[ \sum_{t=0}^{\infty} \gamma^t r(s_t, a_t) \mid s_0 = s,\, a_t \sim \pi(\cdot|\rho_t),\, s_{t+1} \sim p(\cdot|s_t, a_t) \right]
$$
This embodies the min-max principle: agents face the worst-case sequence of allowed adversarial perturbations.

This robust value function satisfies a Bellman-type min-max recursion:
$$
v^\pi(s) = \min_{\rho \in \Delta_s} \mathbb{E}_{a \sim \pi(\cdot|\rho)} \left[ r(s, a) + \gamma \sum_{s'} p(s'|s, a) v^\pi(s') \right]
$$

### 2.2 Nonexistence of Standard Optima and Nash Equilibrium

In contrast to standard MARL, SAMGs may lack
- **Global robust optima:** There need not exist a “totally optimal” policy $\pi^*$ achieving $v^{\pi^*}(s) \geq v^\pi(s)$ for all $s$ and all $\pi$ under adversarial perturbations.
- **Robust Nash equilibrium:** Stage-wise Nash equilibria (where each agent best-responds under min-max value) may not be globally consistent: a single policy profile may fail to align all stage-wise equilibria (Theorem 4.7 in [2212.02705]).

### 2.3 Robust Agent Policy: New Solution Concept

The robust agent policy addresses this deficiency by instead maximizing the worst-case *expected start-state value*:
$$
J(\pi) \equiv \mathbb{E}_{s_0 \sim \mu_0}\left[ v^\pi(s_0) \right];\quad \pi^* \in \arg\max_\pi J(\pi)
$$
where $\mu_0$ is a start-state distribution. This yields a solution even when global optima and Nash equilibrium fail to exist.

## 3. Existence Results and Theoretical Properties

Existence theory for robust agent policies in SAMGs proceeds as follows:
- **Stage-wise robust value function:** For any fixed opponents and adversary, contraction mapping (Banach’s fixed-point theorem) guarantees existence and uniqueness (Theorem 4.5).
- **Stage-wise equilibrium:** At each state $s$, the associated $n$-agent vs $n$-adversary normal-form game has at least one max-min equilibrium (Theorem 4.6).
- **Global robust Nash:** In general, no policy profile aligns all per-state stage-wise robust equilibria.
- **Robust agent policy:** For finite $S, A$, the functional $F(\pi) = \min_{\chi} J(\pi, \chi)$—with $J(\pi, \chi)=\mathbb{E}_{s_0}[V_{\pi,\chi}(s_0)]$—is continuous over compact policy spaces. By applying the extreme value theorem, a robust agent policy maximizing $F(\pi)$ always exists (Theorem 4.11 in [2212.02705]).

This result is fundamental: it ensures a well-posed optimization objective for learning robust MARL policies under state adversaries.

## 4. Robust Multi-Agent Adversarial Actor-Critic (RMA3C) Algorithm

The RMA3C algorithm is designed to learn robust policies in SAMGs by solving the min-max problem
$$
\max_\pi \min_\chi \mathbb{E}_{s_0} \left[ V_{\pi, \chi}(s_0) \right]
$$
using alternating gradient descent (on agent policies) and ascent (on adversary policies), with a centralized critic.

### Algorithmic Steps (per agent $i$):
- Initialize centralized critic $Q_\phi(s, a)$, actor $\pi^i_\theta$, adversary $\chi^i_\psi$, and targets.
- **Training episode:**
    - At state $s$, adversary samples $\rho^i \sim \chi^i_\psi(\cdot|s)$; agent samples $a^i \sim \pi^i_\theta(\cdot|\rho^i)$.
    - Execute joint action, observe $r, s'$, store $(s, a, r, s')$ in replay buffer $D$.
- **Update:**
    - Sample minibatch from $D$; update $Q_\phi$ to minimize TD target error:
      $$
      y = r + \gamma Q_{\phi'}(s', a')
      $$
      where $a'^{\,i} = \pi^{i'}(\rho'^{\,i})$, $\rho'^{\,i} \sim \chi^{i'}(\cdot|s')$.
    - Update $(\theta, \psi)$ by $k$ gradient steps on
      $$
      J_\text{batch}(\theta, \psi) = \frac{1}{|B|}\sum_{(s,a,\,\cdot)\in B}Q_\phi(s,a)
      $$
- **Policy gradient update:**
    - $\nabla_\theta^i J \approx \mathbb{E}_{s, \rho \sim \chi_\psi, s \sim D} \left[\nabla_\theta \log \pi^i_\theta(a^i|\rho^i) Q_\phi(s, a)\right]$
    - $\nabla_\psi^i J \approx -\mathbb{E}_{s, a \sim \pi_\theta, s \sim D} [\nabla_\psi \log \chi^i_\psi(\rho^i|s) Q_\phi(s, a)]$

This alternating update structure operationalizes the theoretical robust agent policy solution within a scalable DRL framework [2212.02705].

## 5. Empirical Evaluation and Robustness

RMA3C was evaluated on several MARL environments—Cooperative Navigation, Exchange Target, Keep-Away, and Physical Deception (from [Lowe et al. 2017])—under three classes of state perturbations:
- Truncated normal noise $N(0, \lambda, u, l)$.
- Fixed, well-trained adversarial policy $\chi^*$ (max-episode adversary).
- On-policy adversaries trained jointly with agents.

Baselines considered were MADDPG, M3DDPG (min-max DDPG), and MAPPO. RMA3C achieved significant empirical robustness:
- Up to 58.5% mean reward improvement over baselines under both random and adversarial noise during training.
- Test-time mean reward improvement up to 46.6% (random noise) and up to 54.0% (adversary).
- Robustness sustained in scaling to 4–6 agents in Cooperative Navigation.
A plausible implication is that the robust agent policy min-max criterion, as approximated by RMA3C, can substantially improve resilience in adversarial or noisy MARL settings [2212.02705].

## 6. Relations to General Stochastic Game Learning and Limitations

SAMGs, as presented in [2212.02705], focus on robust MARL under adversarial state perturbation, diverging from *classical* zero-sum stochastic games (SGs) where both the transition kernel and the reward may be adversarial. The UCSG (Upper Confidence for Stochastic Games) approach [1712.00579] targets sample-efficient online learning with regret/safety guarantees in zero-sum SGs, incorporating confidence sets and extended value iteration for efficient exploration and optimization.

Key differences:
- SGs (in [1712.00579]) consider direct adversarial action on system dynamics and reward, and develop algorithms (UCSG) with provable regret/sample complexity bounds relative to the game value, depending on game diameter $D$, state and action set sizes.
- SAMGs’ core novelty lies in adversarial perturbations to the *agents’ perception of state* rather than to transition dynamics or reward, modeling realistic sensor attacks and uncertainty in MARL.

A limitation in current SAMG theory is the high computational complexity of robust learning (e.g., maintaining and optimizing over adversary policy classes, scalability of alternating min-max optimization), as well as the lack of global robust Nash solutions—necessitating the robust agent policy min-max criterion.

## 7. Extensions and Open Directions

Suggested directions for further development include:
- Generalizing beyond Markov games with finite state/action spaces to function approximation settings.
- Exploring more intricate adversarial perturbation models, including those affecting transition or reward (blending with SG literature [1712.00579]).
- Studying learning in settings with partial observability or continuous space.
- Algorithmic improvements, such as variance-aware updates and regularization, to improve scalability and sample efficiency.

The formalization of SAMGs, together with existence theory for robust agent policies and practical algorithms for robust MARL, establishes a rigorous foundation for ongoing research into reliable decision-making under adversarial state uncertainty [2212.02705][1712.00579].

Source: https://www.emergentmind.com/topics/state-adversarial-markov-games-samgs