Introduction
In real-world decision making, many choices are strategic: a party’s outcome depends not only on its own decisions, but also on those of adversaries with competing objectives. Game theory provides a framework for modeling these interactions. In many applications, however, strategic decisions are not naturally enumerable and instead lie in continuous action spaces [55 , 14 , 29 ] . In spatial security games, for example, a defender allocates resources while an adversary chooses where to attack [19 , 13 , 3 ] ; these decisions are naturally represented by locations or trajectories rather than discrete actions. Continuous decisions also arise in economic competition, where firms choose production quantities [50 ] , and in resource-allocation games, where players divide continuous budgets across competing objectives [48 ] . Such settings are difficult to capture with finite strategy spaces and require reasoning over distributions on large continuous action spaces.
A Nash equilibrium is a strategy profile in which neither player can improve its outcome by unilaterally changing its strategy. A mixed strategy is a probability distribution over a player’s possible actions; in continuous games, this distribution may be defined over an infinite action space [15 ] . As the dimensionality and complexity of the action space grow, representing the mixed strategy itself becomes challenging, since equilibrium play may require complex, multimodal distributions over high-dimensional continuous actions [43 ] .
Continuous-action games, even in the more well-understood two player zero-sum (2p0s) setting, present unique computation challenges. While efficient algorithms [12 ] and practical solvers [17 , 9 ] exists for 2p0s games with finite action set, they cannot directly handle infinitely many actions in continuous-action games. Therefore, prior works [20 , 38 ] parameterize player strategies with neural networks and optimizes them through iterative algorithms such as Fictitious Play (FP) or Online Mirror Descent (OMD) to approximate Nash equilibria. However, these neural policies can suffer from mode collapse in high-dimensional action spaces, failing to capture the multimodal distributions that naturally arise in continuous-action games. Since diffusion model is capable of modeling multimodality in continuous vectors [16 , 59 , 34 ] , we ask
Can we parameterize player strategy with diffusion policies in iterative game-solving algorithms?
In this work we propose DiffNash , a method for introducing diffusion models into equilibrium computation for games with continuous action. We parameterize each player’s mixed strategy with a diffusion model and use Online Mirror Descent (OMD) Blair [ [7 ] to iteratively update these strategies towards equilibrium. At each iteration, we sample candidate actions from the player’s current diffusion policy and evaluate how useful those actions would be against the opponent’s current policy. Standard diffusion training assumes access to samples from the target distribution, while the OMD update defines this distribution only implicitly. Hence, we adapt the reweighting technique of Ma et al. [ [37 ] to modify the diffusion training loss, probably recovering the correct target update. To reduce the cost of repeatedly sampling news actions from diffusion and stabilize training along OMD iterations, we reuse samples from past policies through a replay buffer. We correct the resulting distribution shift with importance weighting and approximate the importance weights using Evidence Lower Bounds (ELBOs).
Our main contributions are: (1) We develop a diffusion-policy framework for equilibrium computation in continuous action games using utility-weighted score matching to represent complex, potentially multimodal mixed strategies (§ 3.1 ) (2) We incorporate a diffusion update into OMD, with an empirical comparison showing substantially faster convergence than a corresponding diffusion-FP approach (§ 3.2 ) (3) We construct an ELBO-difference based importance weighting that allows past actions to be reused for opponent evaluation (§ 3.3 ) and stabilizing training (§ 3.4 ) (4) We evaluate our approach on two continuous-action games, reducing the Nash gap over the strongest baseline by 35.6% and 24.7% , respectively, with minimal hyperparameter tuning (§ 5 ).
Background
Problem Formulation
We consider a two-player normal-form game G = ( A 1 , A 2 , u 1 , u 2 ) \mathcal{G} = (\mathcal{A}^{1}, \mathcal{A}^{2}, u^{1}, u^{2}) G = ( A 1 , A 2 , u 1 , u 2 ) , where A i ⊆ R d i \mathcal{A}^{i} \subseteq\mathbb{R}^{d^{i}} A i ⊆ R d i is a non-empty compact action space of player i i i and u i : A 1 × A 2 → R u^{i}: \mathcal{A}^{1} \times\mathcal{A}^{2} \to\mathbb{R} u i : A 1 × A 2 → R be its bounded and measurable utility function2 . We consider high-dimensional continuous action set, which may also subject to global feasibility constraints, such as a fixed resource budget or a bounded spatial domain. A mixed strategy π i ∈ Δ ( A i ) \pi^{i} \in\Delta(\mathcal{A}^{i}) π i ∈ Δ ( A i ) is a probability distribution over A i \mathcal{A}^{i} A i . Given a strategy profile π = ( π 1 , π 2 ) \pi= (\pi^{1}, \pi^{2}) π = ( π 1 , π 2 ) , the expected payoff to player 1 is U i ( π 1 , π 2 ) = E a 1 ∼ π 1 a 2 ∼ π 2 [ u i ( a 1 , a 2 ) ] U^{i}(\pi^{1}, \pi^{2}) = \mathbb{E}_{a_{1}\sim\pi_{1}}^{a_{2}\sim\pi_{2}}[u^{i}(a^{1}, a^{2})] U i ( π 1 , π 2 ) = E a 1 ∼ π 1 a 2 ∼ π 2 [ u i ( a 1 , a 2 )] . Our goal is to find the Nash equilibrium of the game, where neither player has the incentive to deviate from their chosen strategy. Formally,
Definition 1 (Nash Equilibrium). π ⋆ = ( π 1 , ⋆ , π 2 , ⋆ ) \pi^{\star} = (\pi^{1,\star}, \pi^{2,\star}) π ⋆ = ( π 1 , ⋆ , π 2 , ⋆ ) is a Nash equilibrium if, for i ∈ { 1 , 2 } i \in\{1, 2\} i ∈ { 1 , 2 } , U i ( π i , ⋆ , π − i , ⋆ ) ≥ U i ( π i , π − i , ⋆ ) U^{i}(\pi^{i,\star}, \pi^{-i,\star}) \ge U^{i}(\pi^{i}, \pi^{-i,\star}) U i ( π i , ⋆ , π − i , ⋆ ) ≥ U i ( π i , π − i , ⋆ ) for all π i ∈ Δ ( A i ) \pi^{i} \in\Delta(\mathcal{A}^{i}) π i ∈ Δ ( A i ) .
We focus primarily on two-player zero-sum (2p0s) games, where u 1 ( a 1 , a 2 ) = − u 2 ( a 1 , a 2 ) u^{1}(a^{1}, a^{2}) = -u^{2}(a^{1}, a^{2}) u 1 ( a 1 , a 2 ) = − u 2 ( a 1 , a 2 ) . 2p0s games with finite action can be solved by linear programming [12 ] . For games with large combinatorial action spaces, such as network security games, practical methods exploit problem structure and propose practical solvers [17 , 9 ] . Continuous-action games require representing and optimizing distributions over an infinite action space. Recent approaches therefore use neural parameterizations of mixed strategies within iterative game-solving algorithms [20 , 38 ] . Our work follows this latter setting, using diffusion models as expressive representations of continuous mixed strategies.
We primarily study the 2p0s setting, where equilibrium objective and associated learning dynamics are well understood. Methods with strong convergence guarantees in 2p0s games are also commonly studied and applied in general-sum settings, although convergence to Nash equilibrium is no longer guaranteed [4 ] . We also include general-sum games, where player’s objectives are not necessarily opposed and equilibrium computation is generally more challenging. We measure solution quality using the Nash gap , defined as the total improvement available to players through unilateral best responses [31 ] . It is non-negative and equals zero at Nash equilibrium, measuring how exploitable the strategy profile is.
Definition 2 (Nash Gap). Gap ( π 1 , π 2 ) = max π 1 ′ ∈ Δ ( A 1 ) U ( π 1 ′ , π 2 ) − min π 2 ′ ∈ Δ ( A 2 ) U ( π 1 , π 2 ′ ) \operatorname{Gap}(\pi_{1}, \pi_{2}) = \max_{\pi'_{1}\in\Delta(\mathcal{A}_{1})} U(\pi'_{1}, \pi_{2}) - \min_{\pi'_{2}\in\Delta(\mathcal{A}_{2})} U(\pi_{1}, \pi'_{2}) Gap ( π 1 , π 2 ) = max π 1 ′ ∈ Δ ( A 1 ) U ( π 1 ′ , π 2 ) − min π 2 ′ ∈ Δ ( A 2 ) U ( π 1 , π 2 ′ ) .
A low Nash gap limits gains from opponent’s unilateral deviations. We seek such strategies in high-dimensional action spaces, where conventional neural policies struggle [20 ] .
Diffusion Models
Denoising diffusion probabilistic models (DDPMs) [51 , 16 ] is a generative model consisting of two stochastic processes: one forward process which progressively adds noise to the data, and a reverse (denoising) process which learns to gradually remove noise. Formally, given a clean data from the target distribution z 0 ∼ p 0 z_{0} \sim p_{0} z 0 ∼ p 0 , the forward process gradually perturbs the data by q ( z t ∣ z t − 1 ) = N ( z t ∣ 1 − β t z t − 1 , β t I ) q(z_{t} \mid z_{t-1}) = \mathcal{N}(z_{t} \mid\sqrt{1-\beta_{t}}z_{t-1}, \beta_{t}I) q ( z t ∣ z t − 1 ) = N ( z t ∣ 1 − β t z t − 1 , β t I ) , where z t z_{t} z t is the perturbed data at time t t t and β t \beta_{t} β t is the noise variance at time step t = 1 , … , T t = 1, \ldots, T t = 1 , … , T . The corresponding joint distribution of forward trajectory is q 0 : T ( z 0 : T ) = p 0 ( z 0 ) ∏ t = 1 T q t ∣ t − 1 ( z t ∣ z t − 1 ) q_{0:T}(z_{0:T}) = p_{0}(z_{0}) \prod_{t=1}^{T}q_{t\mid t-1}(z_{t}\mid z_{t-1}) q 0 : T ( z 0 : T ) = p 0 ( z 0 ) ∏ t = 1 T q t ∣ t − 1 ( z t ∣ z t − 1 ) . Since each step adds independent Gaussian noise, we can sample z t z_t z t by z t ∼ p t ( z t ) = ∫ p 0 ( z 0 ) q t ∣ 0 ( z t ∣ z 0 ) d z 0 z_t \sim p_t(z_t) = \int p_0(z_0)\,q_{t|0}(z_t \mid z_0)\,\mathrm{d}z_0 z t ∼ p t ( z t ) = ∫ p 0 ( z 0 ) q t ∣0 ( z t ∣ z 0 ) d z 0 , where q t ∣ 0 ( z t ∣ z 0 ) : = N ( z t ; α ˉ t z 0 , ( 1 − α ˉ t ) I ) q_{t|0}(z_t \mid z_0) := \mathcal{N}(z_t; \sqrt{\bar{\alpha}_t}z_0, (1-\bar{\alpha}_t)I) q t ∣0 ( z t ∣ z 0 ) := N ( z t ; α ˉ t z 0 , ( 1 − α ˉ t ) I ) , α ˉ t : = ∏ ℓ = 1 t α ℓ \bar{\alpha}_t := \prod_{\ell=1}^{t}\alpha_\ell α ˉ t := ∏ ℓ = 1 t α ℓ , α t : = 1 − β t \alpha_t := 1-\beta_t α t := 1 − β t .3
The backward process recovers the data distribution from a noise distribution p T p_T p T with a iterative process. When β t \beta_t β t is small, one can approximate the denoising process by the score function s ( z t ) : = ∇ z t log p ( z t ) s(z_t) := \nabla_{z_t}\log p(z_t) s ( z t ) := ∇ z t log p ( z t ) . Specifically, q ( z t − 1 ∣ z t ) ≈ N ( z t − 1 ; 1 α t ( z t + β t s ( z t ) ) , σ t 2 I ) q(z_{t-1}\mid z_t) \approx\mathcal{N}(z_{t-1}; \frac{1}{\alpha_t}(z_t+\beta_t s(z_t)), \sigma_t^2 I) q ( z t − 1 ∣ z t ) ≈ N ( z t − 1 ; α t 1 ( z t + β t s ( z t )) , σ t 2 I ) , where σ t = 1 − α ˉ t − 1 1 − α ˉ t β t \sigma_t = \frac{1-\bar{\alpha}_{t-1}}{1-\bar{\alpha}_t}\beta_t σ t = 1 − α ˉ t 1 − α ˉ t − 1 β t . Therefore, one can follow the following iterative procedure to draw samples from p 0 p_0 p 0 :
z t − 1 = 1 α t ( z t + β t s ( z t ) ) + 1 − α ˉ t − 1 1 − α ˉ t β t ϵ t (1) z_{t-1} = \frac{1}{\alpha_t}(z_t+\beta_t s(z_t))+\sqrt{\frac{1-\bar{\alpha}_{t-1}}{1-\bar{\alpha}_t}}\beta_t\epsilon_t \tag*{(1)} z t − 1 = α t 1 ( z t + β t s ( z t )) + 1 − α ˉ t 1 − α ˉ t − 1 β t ϵ t (1)
for t t t from T T T to 1 and ϵ t ∼ N ( 0 , 1 ) \epsilon_t \sim\mathcal{N}(0,1) ϵ t ∼ N ( 0 , 1 ) . However, we do not know s ( z t ) s(z_t) s ( z t ) in closed form, so we train a score network s θ ( z t , t ) s_\theta(z_t,t) s θ ( z t , t ) to approximate it, with the following tractable loss function [16 ] :
L ( θ ) = E t ∈ [ T ] ( 1 − α ˉ t ) E z 0 ∼ p 0 , z t ∼ q t ∣ 0 [ ∥ s θ ( z t ; t ) − ∇ z t log q t ∣ 0 ( z t ∣ z 0 ) ∥ 2 ] (2) L(\theta)=\mathbb{E}_{t\in[T]}(1-\bar{\alpha}_t)\mathbb{E}_{z_0\sim p_0,z_t\sim q_{t|0}}\left[\left\|s_\theta(z_t;t)-\nabla_{z_t}\log q_{t|0}(z_t|z_0)\right\|^2\right] \tag*{(2)} L ( θ ) = E t ∈ [ T ] ( 1 − α ˉ t ) E z 0 ∼ p 0 , z t ∼ q t ∣0 [ s θ ( z t ; t ) − ∇ z t log q t ∣0 ( z t ∣ z 0 ) 2 ] (2)
Ma et al. [ [37 ] shows that fix a time t t t , Equation (3) has the same global minimizer as Equation (2) :
L ( θ ; t ) = E z t ∼ p t [ ∥ s θ ( z t ; t ) − ∇ z t log p t ( z t ) ∥ ] (3) L(\theta;t)=\mathbb{E}_{z_t\sim p_t}\left[\left\|s_\theta(z_t;t)-\nabla_{z_t}\log p_t(z_t)\right\|\right] \tag*{(3)} L ( θ ; t ) = E z t ∼ p t [ ∥ s θ ( z t ; t ) − ∇ z t log p t ( z t ) ∥ ] (3)
Though Equation (3) is intractable because we do not know ∇ z t log p t ( z t ) \nabla_{z_t}\log p_t(z_t) ∇ z t log p t ( z t ) , it’s important for the reweighting technique used in § 3.1 .
Equilibrium Solvers: Online Mirror Descent and Fictitious Play
Let u i ( a i ; π − i ) : = E a − i ∼ π − i [ u i ( a i , a − i ) ] u^i(\mathbf{a}^i;\pi^{-i}) := \mathbb{E}_{a^{-i}\sim\pi^{-i}}[u^i(a^i,a^{-i})] u i ( a i ; π − i ) := E a − i ∼ π − i [ u i ( a i , a − i )] denote player i i i ’s expected utility for action a i \mathbf{a}^i a i against opponent strategy π − i \pi^{-i} π − i . We introduce two major iterative algorithms used to compute Nash equilibrium for continuous action in ML literature: Online Mirror Descent (OMD) and Fictitious Play (FP).
Online mirror descent. In OMD [23 , 6 ] , each player computes a KL-regularized best response to the opponent’s strategy from the previous iteration. At iteration k k k , player i i i computes
π i , k + 1 ( a i ) = π i , k ( a i ) exp ( 1 η u i ( a i ; π − i , k ) ) / Z O M D i , k , (4) \pi^{i,k+1}(a^i)=\pi^{i,k}(a^i)\exp\left(\frac{1}{\eta}u^i(a^i;\pi^{-i,k})\right)/Z_{\mathrm{OMD}}^{i,k}, \tag*{(4)} π i , k + 1 ( a i ) = π i , k ( a i ) exp ( η 1 u i ( a i ; π − i , k ) ) / Z OMD i , k , (4)
where 1 η \frac{1}{\eta} η 1 is called temperature and Z O M D i , k = ∫ A i π i , k ( a i ) exp ( 1 η u i ( a i ; π − i , k ) ) d a i Z_{\mathrm{OMD}}^{i,k}=\int_{\mathcal{A}_i}\pi^{i,k}(a^i)\exp\left(\frac{1}{\eta}u^i(a^i;\pi^{-i,k})\right)\,\mathrm{d}a^i Z OMD i , k = ∫ A i π i , k ( a i ) exp ( η 1 u i ( a i ; π − i , k ) ) d a i is an intractable unknown constant. We define empirical average of OMD responses as Π i , k = 1 k ∑ h = 1 k π O M D i , h \Pi^{i,k}=\frac{1}{k}\sum_{h=1}^{k}\pi_{\mathrm{OMD}}^{i,h} Π i , k = k 1 ∑ h = 1 k π OMD i , h . Under standard regularity conditions and an appropriate learning rate schedule, OMD is a no-regret algorithm on continuous action space [28 ] . When both players play such algorithms, their empirical strategies converge asymptotically to the Nash equilibrium set [5 ] .
Fictitious play. While in OMD player computes a KL-regularized best response to the opponent’s current strategy, in FP [8 ] player best responds to the empirical distribution of the opponent’s past play [8 ] . FP is known to converge to Nash equilibrium with continuous action space and continuous utility function [11 ] . We consider a special variant called Generalised Weakened Fictitious Play (GWFP) [33 ] . Let π G W F P i , k \pi_{\mathrm{GWFP}}^{i,k} π GWFP i , k denote player i i i ’s best response at iteration k k k , and let Π i , k : = 1 k ∑ h = 1 k π G W F P i , h \Pi^{i,k}:=\frac{1}{k}\sum_{h=1}^{k}\pi_{\mathrm{GWFP}}^{i,h} Π i , k := k 1 ∑ h = 1 k π GWFP i , h denote the empirical average of its past responses. Under GWFP, player i i i computes
π G W F P i , k + 1 = exp ( 1 η k u i ( a i , Π − i , k ) ) / Z i , k , (5) \pi_{\mathrm{GWFP}}^{i,k+1}=\exp\left(\frac{1}{\eta^k}u^i(a^i,\Pi^{-i,k})\right)/Z^{i,k}, \tag*{(5)} π GWFP i , k + 1 = exp ( η k 1 u i ( a i , Π − i , k ) ) / Z i , k , (5)
Figure 1. Overview of DiffNash. Each player samples actions from a diffusion policy into a replay buffer. Both lanes pass through a shared replay weight, obtained from a single-call ELBO difference (Proposition 2), and scored against the opponent’s buffered actions by importance sampling. The OMD weight then reweights the denoising loss. Player − i -i − i is updated symmetrically.
where η k \eta^k η k is called temperature and Z i , k = ∫ A i exp ( u i ( a i , Π − i , k ) η k ) d a i Z^{i,k} = \int_{\mathcal{A}^i} \exp\left(\frac{u^i(a^i,\Pi^{-i,k})}{\eta^k}\right)\mathrm{d}a^i Z i , k = ∫ A i exp ( η k u i ( a i , Π − i , k ) ) d a i is an intractable normalization constant. Under vanishing temperature condition, ( Π 1 , k , Π 2 , k ) (\Pi^{1,k}, \Pi^{2,k}) ( Π 1 , k , Π 2 , k ) converges to the set of Nash equilibria asymptotically under GWFP [33 ] .
To represent multimodal mixed strategies, we represent player i i i ’s latent action with a diffusion model p θ i p_{\theta_i} p θ i . A game-specific map f G f^G f G will convert the latent sample to a feasible player action, i.e., a i = f G ( z ) a^i = f^G(z) a i = f G ( z ) , z ∼ p θ i z \sim p_{\theta_i} z ∼ p θ i . The resulting mixed strategy is then π θ i = f # G p θ i \pi_{\theta_i} = f^G_{\#}p_{\theta_i} π θ i = f # G p θ i . We call π θ i \pi_{\theta_i} π θ i player i i i ’s diffusion policy following Ma et al. [ [37 ] ’s notation, abstracting away latent space details.
Understanding Convergence Dynamics. Computing the Nash gap requires solving an intractable best response problem, and approximating it at every iteration is prohibitively expensive. To study convergence dynamics, we use a multi-market Cournot game [20 ] whose unique Nash equilibrium is an analytically derivable singleton, which we denote as ( a 1 , ∗ , a 2 , ∗ ) (a^{1,*}, a^{2,*}) ( a 1 , ∗ , a 2 , ∗ ) . In Cournot game, two firms compete by choosing production level across d d d independent markets to maximizes total profits. We defer Cournot game’s details to Appendix § 13 .§ 2 . We define the distance of a strategy profile Π \Pi Π to the equilibrium by 1 2 ∑ i = 1 2 E a i ∼ π i ∥ a i − a i , ∗ ∥ 2 \frac{1}{2}\sum_{i=1}^{2}\mathbb{E}_{a^i\sim\pi_i}\lVert a^i-a^{i,*}\rVert_2 2 1 ∑ i = 1 2 E a i ∼ π i ∥ a i − a i , ∗ ∥ 2 . Because this distance is easy to calculate, we compute it at each iteration in the Cournot game to study convergence dynamics.
Proposed Method
Enabling Diffusion-based GWFP and OMD via Reweighted Score Matching
The game-solving updates in GWFP Equation (5) and OMD Equation (4) both involve unknown normalization constants. Such unnormalized distributions can be viewed as energy-based models, which are generally difficult to train and sample from [Song and Kingma, 2021]. Moreover, standard diffusion training requires samples from the target distribution, which are not directly available for the GWFP and OMD updates. Ma et al. [ [37 ] show that, instead of integrating the squared score loss in Equation (3) with respect to p t p_t p t , the objective can be reweighted by any strictly positive function g ( a t ) g(a_t) g ( a t ) without changing its global minimizer:
L ( θ ; t ) = ∫ g ( a t ) ∥ s θ ( a t ; t ) − ∇ a t log p t ( a t ) ∥ 2 d a t (6) L(\theta;t) = \int g(a_t)\left\lVert s_\theta(a_t;t) - \nabla_{a_t}\log p_t(a_t)\right\rVert^2\mathrm{d}a_t \tag*{(6)} L ( θ ; t ) = ∫ g ( a t ) ∥ s θ ( a t ; t ) − ∇ a t log p t ( a t ) ∥ 2 d a t (6)
By choosing appropriate g ( a t ) g(\mathbf{a}_t) g ( a t ) , they derive tractable loss to learn the score function of diffusion policy in online RL. We use π t , s o l v e r i , k + 1 ( a t ) \pi^{i,k+1}_{t,\mathrm{solver}}(\mathbf{a}_t) π t , solver i , k + 1 ( a t ) to denote noise-corrupted target update at time t t t , i.e., π t , s o l v e r i , k + 1 ( a t ) : = ∫ π s o l v e r i , k + 1 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) d a 0 \pi^{i,k+1}_{t,\mathrm{solver}}(\mathbf{a}_t) := \int\pi^{i,k+1}_{\mathrm{solver}}(\mathbf{a}_0)q_{t|0}(\mathbf{a}_t \mid\mathbf{a}_0)\,\mathrm{d}\mathbf{a}_0 π t , solver i , k + 1 ( a t ) := ∫ π solver i , k + 1 ( a 0 ) q t ∣0 ( a t ∣ a 0 ) d a 0 , where s o l v e r ∈ { G W F P , O M D } \mathrm{solver} \in\{\mathrm{GWFP}, \mathrm{OMD}\} solver ∈ { GWFP , OMD } . We adapt the reweighting technique to our setting by setting p t = π t , s o l v e r i , k + 1 p_t = \pi^{i,k+1}_{t,\mathrm{solver}} p t = π t , solver i , k + 1 and choosing proper g ( a t ) g(\mathbf{a}_t) g ( a t ) , so that the resulting objectives can recover score functions of noise-corrupted updated in OMD and GWFP.
Proposition 1 (OMD and GWFP Loss). By choosing an appropriate g O M D ( a t ) g_{\mathrm{OMD}}(\mathbf{a}_t) g OMD ( a t ) and substitute it into Equation (6) , we can equivalently write their loss functions as
L O M D ( θ ; t ) = E a 0 ∼ π i , k [ E a t ∼ q t ∣ 0 ( ⋅ ∣ a 0 ) [ exp ( 1 η u i ( a 0 ; π − i , k ) ) ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 ] ] . (7) \mathcal{L}_{\mathrm{OMD}}(\theta;t) = \mathbb{E}_{\mathbf{a}_0 \sim\pi^{i,k}}\left[\mathbb{E}_{\mathbf{a}_t \sim q_{t|0}(\cdot\mid\mathbf{a}_0)}\left[\exp\left(\frac{1}{\eta}u^i(\mathbf{a}_0;\pi^{-i,k})\right)\left\|s_\theta(\mathbf{a}_t,t)-\nabla_{\mathbf{a}_t}\log q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\right\|_2^2\right]\right]. \tag*{(7)} L OMD ( θ ; t ) = E a 0 ∼ π i , k [ E a t ∼ q t ∣0 ( ⋅ ∣ a 0 ) [ exp ( η 1 u i ( a 0 ; π − i , k ) ) s θ ( a t , t ) − ∇ a t log q t ∣0 ( a t ∣ a 0 ) 2 2 ] ] . (7) For every t ∈ ( 0 , T ] t \in(0,T] t ∈ ( 0 , T ] , the minimizer of Equation (7) over s s s is the score function of π t , O M D i , k + 1 ( a t ) \pi^{i,k+1}_{t,\mathrm{OMD}}(\mathbf{a}_t) π t , OMD i , k + 1 ( a t ) . In Appendix § 14 .§ 1 , we show with a proper g G W F P ( a t ) g_{\mathrm{GWFP}}(\mathbf{a}_t) g GWFP ( a t ) , we can recover the score function of π t , G W F P i , k + 1 ( a t ) \pi^{i,k+1}_{t,\mathrm{GWFP}}(\mathbf{a}_t) π t , GWFP i , k + 1 ( a t ) .
We defer Proposition 1’s proof to Appendix § 14 .§ 1 . The intuition of choosing g ( a t ) g(\mathbf{a}_t) g ( a t ) is to ensure we can sample from all distributions appear in the resulting loss. For example, at iteration k + 1 k+1 k + 1 , we have sampling access to π i , k \pi^{i,k} π i , k and q t ∣ 0 q_{t|0} q t ∣0 , while u ^ i ( a 0 ; π − i , k ) \hat{u}^i(\mathbf{a}_0;\pi^{-i,k}) u ^ i ( a 0 ; π − i , k ) can be unbiasedly estimated with samples from opponent’s current strategy π − i , k \pi^{-i,k} π − i , k . Thus, the objectives in Proposition 1 are tractable, and optimizing them recover the corresponding score function ∇ a t log π t , s o l v e r i , k + 1 ( a t ) \nabla_{\mathbf{a}_t}\log\pi^{i,k+1}_{t,\mathrm{solver}}(\mathbf{a}_t) ∇ a t log π t , solver i , k + 1 ( a t ) . Recall we only need the score function to perform the iterative diffusion sampling process specified in Equation (1) . Hence, these objectives suffice to implement diffusion-based OMD and GWFP updates.
Comparison Between FP and OMD
In this section, we examine the complementary strengths of FP and OMD to guide the design of an algorithm that combines their advantages. Perolat et al., [44 ] ; Lauriere et al. [32 ] report faster convergence for OMD, partly because best responding to stale historical strategies can slow FP’s convergence. We confirm this finding in Figure 2 : we run diffusion-based GWFP and OMD for 600 iterations on the Cournot game. OMD converges substantially faster in both dimensionalities. With action dimension d = 30 d=30 d = 30 , GWFP’s distance to equilibrium decreases only marginally, highlighting the difficulty of convergence in high-dimensional action spaces. While prior works are often based on FP Kamra et al. [ [20 ] , Karthikeyan and Pant [ [21 ] , this result motivates using OMD as our equilibrium solver’s backbone.
Figure 2. We run diffusion-based GWFP and OMD on the Cournot game for 600 iterations across three random seeds and report their mean distances to the Nash equilibrium.
Evaluating L O M D ( θ ; t ) \mathcal{L}_{\mathrm{OMD}}(\theta;t) L OMD ( θ ; t ) in Equation (7) requires estimating the expected utility against the current opponent policy. Using L L L freshly generated opponent actions, this expectation can be estimated as u ^ i ( a 0 ; π − i , k ) = 1 L ∑ ℓ = 1 L u i ( a 0 , a ( ℓ ) − i , k ) \hat{u}^i(\mathbf{a}_0;\pi^{-i,k}) = \frac{1}{L}\sum_{\ell=1}^{L}u^i(\mathbf{a}_0,\mathbf{a}^{-i,k}_{(\ell)}) u ^ i ( a 0 ; π − i , k ) = L 1 ∑ ℓ = 1 L u i ( a 0 , a ( ℓ ) − i , k ) , a ( ℓ ) − i , k ∼ π − i , k \mathbf{a}^{-i,k}_{(\ell)} \sim\pi^{-i,k} a ( ℓ ) − i , k ∼ π − i , k . However, since diffusion generation involves an iterative denoising process, repeatedly sampling fresh actions from the current opponent policy can be computationally expensive. FP largely avoids this cost because each player best-responds to the opponent’s historical mixture Π − i , k \Pi^{-i,k} Π − i , k . Following Kamra et al. [ [20 ] , samples from this mixture can be maintained in a replay buffer, making them cheap to reuse. To improve the sample efficiency of our OMD solver, we similarly maintain a replay buffer for each player and use importance sampling (IS) to correct the distribution shift between the policy that generates a sample and π − i , k \pi^{-i,k} π − i , k . Formally, let k ( ℓ ) k^{(\ell)} k ( ℓ ) denote the iteration at which the ℓ \ell ℓ -th sampled action was generated, so that a ( ℓ ) − i , k ( ℓ ) ∼ π − i , k ( ℓ ) \mathbf{a}^{-i,k^{(\ell)}}_{(\ell)} \sim\pi^{-i,k^{(\ell)}} a ( ℓ ) − i , k ( ℓ ) ∼ π − i , k ( ℓ ) . We then have
u ^ i ( a 0 ; π − i , k ) = 1 L ∑ ℓ = 1 L r − i , k , k ( ℓ ) u i ( a 0 , a ( ℓ ) − i , k ( ℓ ) ) , where r − i , k , k ( ℓ ) = π θ − i , k ( a ( ℓ ) − i , k ( ℓ ) ) π θ − i , k ( ℓ ) ( a ( ℓ ) − i , k ( ℓ ) ) , (8) \hat{u}^{i}(\mathbf{a}_{0};\pi^{-i,k})=\frac{1}{L}\sum_{\ell=1}^{L}r^{-i,k,k^{(\ell)}}u^{i}\left(\mathbf{a}_{0},\mathbf{a}^{-i,k^{(\ell)}}_{(\ell)}\right),\quad\text{where}\quad r^{-i,k,k^{(\ell)}}=\frac{\pi_{\theta^{-i,k}}\left(\mathbf{a}^{-i,k^{(\ell)}}_{(\ell)}\right)}{\pi_{\theta^{-i,k^{(\ell)}}}\left(\mathbf{a}^{-i,k^{(\ell)}}_{(\ell)}\right)}, \tag*{(8)} u ^ i ( a 0 ; π − i , k ) = L 1 ℓ = 1 ∑ L r − i , k , k ( ℓ ) u i ( a 0 , a ( ℓ ) − i , k ( ℓ ) ) , where r − i , k , k ( ℓ ) = π θ − i , k ( ℓ ) ( a ( ℓ ) − i , k ( ℓ ) ) π θ − i , k ( a ( ℓ ) − i , k ( ℓ ) ) , (8)
r − i , k , k ( ℓ ) r^{-i,k,k^{(\ell)}} r − i , k , k ( ℓ ) is sample ℓ \ell ℓ ’s importance weight4 . However, computing π θ ( ⋅ ) \pi_{\theta}(\cdot) π θ ( ⋅ ) in r − i , k , k ( ℓ ) r^{-i,k,k^{(\ell)}} r − i , k , k ( ℓ ) exactly remains expensive for diffusion models [53 ] , motivating us to develop a principled proxy.
Enable Importance Sampling
In this section, we fix a player and suppress the player index. Consider a diffusion sample a 0 \mathbf{a}_{0} a 0 .
Lemma 1. r k , k ( ℓ ) = exp ( log π θ k ( a 0 ) − log π θ k ( ℓ ) ( a 0 ) ) r^{k,k^{(\ell)}}=\exp\left(\log\pi_{\theta_k}(\mathbf{a}_{0})-\log\pi_{\theta_{k^{(\ell)}}}(\mathbf{a}_{0})\right) r k , k ( ℓ ) = exp ( log π θ k ( a 0 ) − log π θ k ( ℓ ) ( a 0 ) ) .
Lemma 1 is proved by direct calculation. By Lemma 1, we only need to approximate log π θ ( a 0 ) \log\pi_{\theta}(\mathbf{a}_{0}) log π θ ( a 0 ) to enable efficient importance sampling. We achieve this by using evidence lower bounds (ELBO).
Definition 3. The ELBO of a sample a 0 \mathbf{a}_{0} a 0 is ELBO θ ( a 0 ) : = E q ( a 1 : T ∣ a 0 ) [ log p θ ( a 0 : T ) q ( a 1 : T ∣ a 0 ) ] \operatorname{ELBO}_{\theta}(\mathbf{a}_{0}):=\mathbb{E}_{q(\mathbf{a}_{1:T}\mid\mathbf{a}_{0})}\left[\log\frac{p_{\theta}(\mathbf{a}_{0:T})}{q(\mathbf{a}_{1:T}\mid\mathbf{a}_{0})}\right] ELBO θ ( a 0 ) := E q ( a 1 : T ∣ a 0 ) [ log q ( a 1 : T ∣ a 0 ) p θ ( a 0 : T ) ] .
ELBO lower bounds the log-likelihood, i.e., ELBO θ ( a 0 ) ≤ log π θ ( a 0 ) \operatorname{ELBO}_{\theta}(\mathbf{a}_{0})\leq\log\pi_{\theta}(\mathbf{a}_{0}) ELBO θ ( a 0 ) ≤ log π θ ( a 0 ) [16 ] . Since log π θ ( a 0 ) \log\pi_{\theta}(\mathbf{a}_{0}) log π θ ( a 0 ) is intractable for diffusion, the ELBO is commonly used as a tractable surrogate for training diffusion models. McAllister et al. [ [40 ] also uses ELBO to approximate IS weight, though their method is for flow matching policy. We develop new method for diffusion policy. Substituting log likelihood with ELBO in Lemma 1, it remains to compute ELBO θ k ( a 0 ) − ELBO θ k ( ℓ ) ( a 0 ) \operatorname{ELBO}_{\theta_k}(\mathbf{a}_{0})-\operatorname{ELBO}_{\theta_{k^{(\ell)}}}(\mathbf{a}_{0}) ELBO θ k ( a 0 ) − ELBO θ k ( ℓ ) ( a 0 ) to obtain IS weights. Although evaluating each ELBO is still expensive [16 ] , Proposition 2 shows that their difference admits an unbiased estimator requiring only one score network evaluation.
Proposition 2. Suppose π k ( ℓ ) \pi^{k^{(\ell)}} π k ( ℓ ) and π k \pi^{k} π k share the same forward-noising schedule { β t } t = 1 T \{\beta_t\}_{t=1}^{T} { β t } t = 1 T . Denote D ( θ ; a 0 , t , ϵ ) = C t ∥ s θ ( a t , t ) + ϵ 1 − α ˉ t ∥ 2 2 D(\theta;\mathbf{a}_{0},t,\epsilon)=C_t\left\lVert s_{\theta}(\mathbf{a}_t,t)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right\rVert_2^2 D ( θ ; a 0 , t , ϵ ) = C t s θ ( a t , t ) + 1 − α ˉ t ϵ 2 2 , where C t C_t C t a constant and a t = α ˉ t a 0 + 1 − α ˉ t ϵ \mathbf{a}_t=\sqrt{\bar{\alpha}_t}\mathbf{a}_0+\sqrt{1-\bar{\alpha}_t}\epsilon a t = α ˉ t a 0 + 1 − α ˉ t ϵ . If t ∼ Unif { 1 , … , T } t\sim\operatorname{Unif}\{1,\ldots,T\} t ∼ Unif { 1 , … , T } and ϵ ∼ N ( 0 , I ) \epsilon\sim\mathcal{N}(0,I) ϵ ∼ N ( 0 , I ) , then Δ ^ k , k ( ℓ ) : = T ( D ( θ k ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ) \widehat{\Delta}^{k,k^{(\ell)}}:=T\left(D(\theta_{k^{(\ell)}};\mathbf{a}_0,t,\epsilon)-D(\theta_k;\mathbf{a}_0,t,\epsilon)\right) Δ k , k ( ℓ ) := T ( D ( θ k ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ) is ELBO difference’s unbiased estimator: E t , ϵ [ Δ ^ k , k ( ℓ ) ] = ELBO k ( a 0 ) − ELBO k ( ℓ ) ( a 0 ) \mathbb{E}_{t,\epsilon}\left[\widehat{\Delta}^{k,k^{(\ell)}}\right]=\operatorname{ELBO}^{k}(\mathbf{a}_0)-\operatorname{ELBO}^{k^{(\ell)}}(\mathbf{a}_0) E t , ϵ [ Δ k , k ( ℓ ) ] = ELBO k ( a 0 ) − ELBO k ( ℓ ) ( a 0 ) .
The proof is deferred to Section E.2. In iteration k ( ℓ ) k^{(\ell)} k ( ℓ ) , when we sample a 0 ∼ π k ( ℓ ) \mathbf{a}_0\sim\pi^{k^{(\ell)}} a 0 ∼ π k ( ℓ ) , we record [ a 0 , t , ϵ , D ( θ k ( ℓ ) ; a 0 , t , ϵ ) ] \left[\mathbf{a}_0,t,\epsilon,D(\theta_{k^{(\ell)}};\mathbf{a}_0,t,\epsilon)\right] [ a 0 , t , ϵ , D ( θ k ( ℓ ) ; a 0 , t , ϵ ) ] in a buffer, so that we only need to compute D ( θ k ; a 0 , t , ϵ ) D(\theta_k;\mathbf{a}_0,t,\epsilon) D ( θ k ; a 0 , t , ϵ ) in future iteration k k k to construct Δ ^ k , k ( ℓ ) \widehat{\Delta}^{k,k^{(\ell)}} Δ k , k ( ℓ ) . Drawing sample from π θ k \pi_{\theta_k} π θ k requires T T T iterative score network calls by Equation (1) , while computing D ( θ k ; a 0 , t , ϵ ) D(\theta_k;\mathbf{a}_0,t,\epsilon) D ( θ k ; a 0 , t , ϵ ) only requires one. Hence, our method reduces much sampling cost. We plug exp ( Δ ^ k , k ( ℓ ) ) \exp\left(\widehat{\Delta}^{k,k^{(\ell)}}\right) exp ( Δ k , k ( ℓ ) ) back to Equation (8) to enable reusing opponent buffers Π − i , k \Pi^{-i,k} Π − i , k .4 : In practice, we use min { r − i , k , k ( ℓ ) , C } \min\left\{r^{-i,k,k^{(\ell)}},C\right\} min { r − i , k , k ( ℓ ) , C } as the weight in Equation (8) , where C C C caps the weight to prevent excessively large values [49 ] .
Self-Action Importance Sampling Stabilizes Training
Recall evaluating the OMD loss Equation (7) requires samples from a player’s self action π i , k \pi^{i,k} π i , k . Since we are maintaining replay buffers for both players, we can also use replay samples for a player’s own action, not just opponent action. Denote a player’s self action batch B s e l f B_{\mathrm{self}} B self . Instead of always getting fresh samples from π i , k \pi^{i,k} π i , k , we use ⌈ ζ ∣ B s e l f ∣ ⌉ \lceil\zeta|B_{\mathrm{self}}| \rceil ⌈ ζ ∣ B self ∣ ⌉ IS samples with the rest from π i , k \pi^{i,k} π i , k . Similar to opponent buffer reuse, we use the IS weight to correct distribution shift induced by replay samples. We defer the full algorithm details to Appendix § 12 .
We find that adding importance-weighted replay stabilizes training and prevents premature plateaus. The policy starts concentrate on a narrow set of high-utility actions as it approaches equilibrium, limiting the coverage of fresh samples. Replaying diverse past actions broadens the training distribution and prevents the policy from overfitting to a narrow region. We visualize the impact of replay mechanism in Figure 3 , where self action IS significantly improves coverage. We introduce an additional hyperparameter called trigger κ \kappa κ , and we initialize the self-action IS once standard deviation of B s e l f B_{\mathrm{self}} B self falls below a fraction κ \kappa κ of its initial value. We analyze the impact of the self action IS mechanism in § 5.3 .
Figure 3. We use PCA to visualize the self-action buffer at iteration 101 for Cournot d = 30 d = 30 d = 30 .
Related Work
Equilibrium Computation. We provide a comprehensive review in Section B and focus here on learning-based approaches for continuous action spaces. Prior work learns generative approximate best responses [20 ] , trains randomized policy networks with zeroth-order equilibrium dynamics [38 ] , or minimizes exploitability using learned best responses [39 ] . In contrast, we parameterize each player’s evolving mixed strategy with a diffusion model to capture more expressive distributions.
Diffusion Models And Its Application in Online RL Diffusion models learn complex, multimodal distributions through iterative denoising and score matching [16 , 54 ] . Their ability to model complex distributions motivated their use as policy parameterizations in RL [58 , 45 , 47 ] . Most closely related to ours, Ma et al. [ [37 ] show that exponential reweighting of samples from the current diffusion policy is sufficient to implement a KL-regularized policy-improvement step. We adapt the reweighting technique and address it in the equilibrium computation setting. We give a comprehensive review of the field in Section B.
Diffusion Applications in Strategic Environment To our knowledge, the only direct application of diffusion to our setting is Karthikeyan and Pant [ [21 ] , which we include as a baseline and discuss in § 5 . We discuss diffusion model applications in other related strategic settings in Section B.
Experiments
Beyond the Cournot game, we evaluate DiffNash on a forest security game and a continuous variant of Colonel Blotto, two widely studied games that also admit intuitive visualizations.
Metrics and Baselines: We use Nash Gap (Definition 2) as our main evaluation metric. The best response optimization required in Nash Gap cannot be computed exactly. Following Kamra et al. [2019], we use an evolutionary search that repeatedly retains high-utility candidates and perturbs them with Gaussian noise to approximate the Nash Gap. We defer computation details to Section D.1.
We compare against three baselines. DeepFP [20 ] represents each player’s strategy in FP with a neural generator T θ ( z ) T_{\theta}(z) T θ ( z ) , where z ∼ N ( 0 , I ) z \sim\mathcal{N}(0, I) z ∼ N ( 0 , I ) . Neural OMD adapts the mirror descent policy optimization framework of Tomar et al. [ [56 ] to equilibrium computation, using a Gaussian neural policy for each player. DiffFP [21 ] parameterizes player strategies with diffusion models within FP. Since FP updates do not directly provide samples from the target strategy, DiffFP instead refines sampled actions a i a^{i} a i toward higher-utility regions using ∇ a i u i ( a i ; Π − i , k ) \nabla_{a^{i}}u^{i}(a^{i}; \Pi^{-i,k}) ∇ a i u i ( a i ; Π − i , k ) and trains the diffusion policy on the refined actions. These baselines help isolate the benefits of diffusion policy and principled policy updates. For fair comparison, we train each player’s policy for 40 K 40K 40 K gradient updates across experiments. We use default hyperparameters for baselines.
Forest Security Game
Forest security game [18 ] originated from forest economics [2 ] . We consider the continuous version studied by Kamra et al. [ [19 ] and DeepFP [20 ] . A defender selects M M M locations to patrol, while an attacker selects N N N locations to target in an endangered circular forest. Each location is parameterized by its radial distance and radian angle. Hence, defender and attacker’s action dimensionality are 2 M 2M 2 M and 2 N 2N 2 N , respectively. As M M M and N N N increase, the resulting strategy space becomes high-dimensional, a setting where Kamra et al. [ [20 ] reports degraded performance. An attacker can collect trees within R A R_A R A of its location, and a defender can stop any attacker within R D R_D R D of them. The attacker’s utility is the value of the harvested trees but receives no value and incurs a penalty if caught by any defender. The defender’s utility is the negative of the attacker’s utility. Across experiments, we keep the interaction and payoff structure fixed and vary only the spatial distribution of trees along with the number of defenders and attackers. Changing the geometry creates qualitatively different optimal strategies by altering which attack locations are valuable, which regions can be protected together, and how many spatially separated patches the strategy must cover. In this game, we aim to find a robust patrol strategy for defender, so besides Nash gap, we also compute Exploit D \operatorname{Exploit}_{D} Exploit D , measured as the attacker’s best-response reward against the learned average defender. We seek strategies profiles with low ExploitD and Low Nash Gap GAP.
Experimental results. Table 1 shows that DiffNash achieves the best mean performance across all six forests, reducing Nash gap by an average of 35.6% relative to the strongest baseline. The gap is most pronounced in heterogeneous, multi-resource settings, where equilibrium strategies must distribute probability mass across several strategically distinct regions. DiffNash also achieves broader effective coverage. In F3 of Figure 4 , for example, DiffNash’s guards (blue) concentrate around all four tree clusters (green), whereas DeepFP and DiffFP learn more diffuse patrol strategies and Neural OMD places substantial mass in low-tree-density regions. Importantly, diffuse coverage is not necessarily effective coverage: allocating guard probability to regions with few or no trees provides little protection value. We analyze the failure modes of all baselines:
Table 1. Forest security game results. We report the attacker best-response reward ExploitD _D D against the learned average defender and the two-sided Nash gap G G G as mean ± \pm ± 95% Student-t t t confidence intervals over 5 random seeds; lower is better for both. F1 and F2 are taken from Kamra et al. [ [20 ] .
Figure 4. Empirical strategies in the forest security game Top: F2 (m = n = 3 m = n = 3 m = n = 3 ). Bottom: F3 (m = n = 5 m = n = 5 m = n = 5 ). Green points denote trees. Each blue/red points denote a sample from defender/attacker policy, respectively. For each method and environment, the displayed strategy is taken from 5 random seeds whose Nash gap is the median. Quantitative results are in Table 1 .
DeepFP/Neural OMD: Both exhibit mode collapse. In F2 of Figure 4 , Neural OMD concentrates on a single forest patch. For DeepFP , Figure 4 and additional Appendix § 15 .§ 1 visualizations show both players’ strategies forming narrow circular bands. Since actions are represented in polar coordinates, this pattern indicates collapse along the radial dimension.
attackers are captured. Consequently, the defender utility gradient, i.e., ∇ a i u i ( a i ; Π − i , k ) \nabla_{a_i}u^i(a^i; \Pi^{-i,k}) ∇ a i u i ( a i ; Π − i , k ) , is nearly zero for most locations, causing DiffFP ’s defender strategy to get stuck, as shown by Figure 4 ’s F2. In contrast, DiffNash does not rely on local utility gradients. We update the entire defender policy in a principled way, yielding substantially better performance.
Continuous Colonel Blotto
We evaluate DiffNash on the continuous Colonel Blotto game [1 ] where two players simultaneously allocate a fixed budget across n n n weighted battlefields. Player’s utility depends on how much they and opponent invest in each battlefield. Because allocations are coupled by the budget constraint, equilibrium play generally requires nontrivial randomization over a continuous action space. We consider games with n = 6 n = 6 n = 6 and n = 10 n = 10 n = 10 . Adam et al. [ [1 ] provides a discrete algorithm which approximates the target equilibrium well $5 $, visualized in the first column of Figure 5 . We vary player utility function to get distinct target equilibrium, one with symmetric and another with radial shape. Full game details are provided in Appendix § 13 .§ 4 .
Figure 5. Continuous Colonel Blotto (radial-band variant, n = 6 n = 6 n = 6 ). Green denotes samples from the target equilibrium, while purple denotes samples from the learned strategy. Each point represents an allocation, where proximity to [ a ] j [a]_j [ a ] j indicates a larger allocation to the j j j -th battlefield. The point cloud visualizes the distribution of allocations induced by each strategy.
Experimental results. Overall DiffNash reduces the Nash Gap by 24.7% relative to the strongest baseline. In the symmetric setting of Table 2 , diffusion-based policies achieve substantially lower Nash gaps than the neural baselines, highlighting their ability to represent multimodal strategies. In the radial-band setting, DiffNash consistently outperforms DiffFP. As in the forest game, when high-utility actions lie within a narrow region (the radial band), DiffFP can receive little local gradient signal from low-utility initializations. In Figure 5 , this causes its policy to remain concentrated near the center, outside the support of the target equilibrium, whereas DiffNash recovers the correct equilibrium geometry. We visualize all settings in Appendix Figure 8.
Table 2. Continuous Colonel Blotto results. Nash gap G G G on symmetric and radial-band Blotto with n ∈ { 6 , 10 } n \in\{6, 10\} n ∈ { 6 , 10 } . Values are mean ± 95% Student-t t t confidence intervals over five seeds; lower is better.
Robustness Across experiments in § 5.1 and § 5.2 we perform minimal hyperparameter tuning: we fix self action ratio ζ = 1 % \zeta= 1\% ζ = 1% and only choose IS trigger κ = { 0 , 10 % } \kappa= \{0, 10\%\} κ = { 0 , 10% } . DiffNash shows strong robustness to hyperparameters.
Ablation and Hyperparameter Study
Ablation We ablate the two importance-sampling components of DiffNash on Cournot (d = 30 d = 30 d = 30 ). In Figure 6 , the green and blue curves almost overlap, indicating that opponent IS has little effect on convergence. Its primary benefit is computational: in this experiment, opponent IS reduces the number of score-network calls to roughly 66% of that required without opponent IS. Moreover, DiffNash (orange) achieves the lowest Nash Gap, showing that self action IS prevents the early plateau observed without self action IS and reduces variance across runs. We observe a similar pattern in the forest ablation in Appendix § 15 .§ 4 . These results support using IS for both
Figure 6. Performance under different IS configurations. Solid lines denote mean, and shades denote the min to max range across runs.
opponent and self-action replay. We additionally show our method’s performance in a general sum version of the Forest game in Section F.3.
Hyperparameter Study. We provide hyperparameter study for self action IS ratio ζ \zeta ζ , trigger κ \kappa κ , self action buffer size and opponent action buffer size in Appendix § 15 .§ 5 .
Conclusion
We develop DiffNash , a framework that parameterizes player strategies with diffusion models within OMD to compute Nash equilibria in high-dimensional continuous action spaces. We derive a reweighted score-matching objective that trains the diffusion model to realize OMD updates. To improve sample efficiency and training stability, we reuse past actions through a replay buffer and correct the resulting distribution shift with an ELBO-based importance-sampling strategy. On forest security and continuous Colonel Blotto games, DiffNash better recovers equilibrium distributions and reduces Nash gap by 35.6% and 24.7% compared to strongest baselines, respectively.
AI Usage Disclosure
In this work, we used generative AI tools (GPT-5.6 Sol, GPT-6 Sol, and Claude Opus 5) for polishing and drafting sections of the manuscript, flowcharts, and assists with coding and proofs. Generating synthetic data is not applicable to this work. Additionally, we used generative AI tools for brainstorming research ideas and searching related work. At least one coauthor has reviewed AI-assisted work. We manually check the generated code and proof. The main technical contributions, including reweighted score matching objective and importance sampling strategy, are the authors’ original ideas. We take responsibility for the final content of this work, including text, claims, and artifacts produced with the aid of generative AI.
Ethics Statement
This work studies algorithms for computing Nash equilibria in simulated continuous-action games and does not involve human subjects, personal or sensitive data, or real-world interventions. While equilibrium-computation methods may be applicable to domains such as security and resource allocation, all experiments in this work use synthetic benchmark environments and do not involve deployed decision-making systems. We are not aware of additional ethical concerns arising from this work.
Reproducibility Statement
We provide complete pseudocode for DiffNash and describe the training procedure, replay mechanism, game definitions, environment parameters, reference solutions, hyperparameters, best-response and Nash-gap evaluation procedures, ablations, and computing infrastructure in the appendix. These details are intended to make our method and reported experiments reproducible from the paper. Some baseline components and environment code, including the original Forest Security Game and DeepFP implementations, were not publicly available and were obtained directly from the original authors. Reported results are averaged over multiple random seeds with confidence intervals, and proofs of all theoretical results are included.
Limitations
We focus on two-player normal-form games. Extending DiffNash to multiplayer or sequential settings, is a natural direction for future work.
Additional Related Work
Equilibrium Computation Finite two-player zero-sum games admit linear-programming formulations [12 ] , while equilibrium computation in finite general-sum games is PPAD-complete [10 ] . Continuous action games remain challenging because mixed strategies are distributions over infinite action spaces and best-response computation may require difficult continuous optimization. Prior work establishes continuous-action variants of fictitious-play [42 ] and develops strategy-generation methods for zero-sum and general-sum continuous games [1 , 30 ] . Learning-based approaches include DeepFP, which learns generative approximate best responses [20 ] , randomized policy networks trained with zeroth-order equilibrium dynamics [38 ] , and exploitability minimization with learned best responses [39 ] . Our approach instead parameterizes each player’s evolving mixed strategy with a diffusion model and trains it using FP and OMD based equilibrium updates [46 ] .
Diffusion and Flow-Based Models for Online RL Diffusion and flow-based policies have been widely studied for RL [58 , 45 , 37 , 47 ] . Most closely related to our policy update, Ma et al. [ [37 ] show that exponential reweighting of samples from the current diffusion policy implements a KL-regularized policy-improvement step, yielding Diffusion Policy Mirror Descent. Related work also applies expressive diffusion policies in cooperative multi-agent RL [35 ] , while flow-matching policies have been developed for online continuous and combinatorial control [41 , 60 , 40 , 25 ] . These methods optimize return or coordination rather than equilibrium against strategic opponents. In our setting, policy-improvement weights depend on utility against an evolving opponent. We additionally use ELBO differences as approximate density ratios to reuse samples across strategic iterates.
Diffusion Applications in Strategic Environment Diffusion models and their variants, such as flow matching [36 ] , have been applied to strategic settings adjacent to equilibrium computation. For auction theory, Wang et al. [ [57 ] uses flow matching to represent bundle distributions in combinatorial auctions, achieving higher revenue while scaling to larger numbers of items. For green security game, when opponent data is available, diffusion and flow-based models can also be used to learn opponent behavior. Kong et al. [ [24 ] uses diffusion models to learn poacher behavior in green security games and design robust patrol strategies. Kong et al. [ [26 ] uses flow matching to model poacher behavior from real-world data, and Kong et al. [ [27 ] subsequently uses reinforcement learning to plan patrol policies against the learned poacher behavioral model. Unlike these works, we assume no prior knowledge of opponent behavior and instead seek a Nash strategy, which provides a worst-case guarantee in 2p0s games.
Training Algorithm
We provide the full pseudocode for DiffNash in Algorithm 3. Algorithm 1 constructs replay entries, Algorithm 2 computes their ELBO-based importance weights, and Algorithm 3 gives the complete OMD training procedure. Self-action replay is activated only if the specified trigger fires; otherwise, training continues using fresh self-actions.
Algorithm 1 PrepareSample
Input: Action a 0 \mathbf{a}_0 a 0 , behavior parameters θ k ( ℓ ) \theta^{k(\ell)} θ k ( ℓ ) , and diffusion schedule { α t , α ˉ t , β t , σ t 2 } t = 1 T \{\alpha_t,\bar{\alpha}_t,\beta_t,\sigma_t^2\}_{t=1}^{T} { α t , α ˉ t , β t , σ t 2 } t = 1 T .
Output: Replay entry z = ( a 0 , t , ϵ , D k ( ℓ ) ) z=(\mathbf{a}_0,t,\epsilon,D^{k(\ell)}) z = ( a 0 , t , ϵ , D k ( ℓ ) ) .
1: Sample
t ∼ Unif { 1 , … , T } , ϵ ∼ N ( 0 , I ) . t \sim\operatorname{Unif}\{1,\ldots,T\},\qquad\epsilon\sim\mathcal{N}(0,I). t ∼ Unif { 1 , … , T } , ϵ ∼ N ( 0 , I ) .
2: Construct
a t ← α ˉ t a 0 + 1 − α ˉ t ϵ . \mathbf{a}_t \leftarrow\sqrt{\bar{\alpha}_t}\mathbf{a}_0+\sqrt{1-\bar{\alpha}_t}\epsilon. a t ← α ˉ t a 0 + 1 − α ˉ t ϵ .
3: Compute
D k ( ℓ ) ← β t 2 2 σ t 2 α t ∥ s θ k ( ℓ ) ( a t , t ) + ϵ 1 − α ˉ t ∥ 2 2 . D^{k(\ell)} \leftarrow\frac{\beta_t^2}{2\sigma_t^2\alpha_t}\left\|s_{\theta^{k(\ell)}}(\mathbf{a}_t,t)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right\|_2^2. D k ( ℓ ) ← 2 σ t 2 α t β t 2 s θ k ( ℓ ) ( a t , t ) + 1 − α ˉ t ϵ 2 2 .
4: return z ← ( a 0 , t , ϵ , D k ( ℓ ) ) z\leftarrow(\mathbf{a}_0,t,\epsilon,D^{k(\ell)}) z ← ( a 0 , t , ϵ , D k ( ℓ ) ) .
Algorithm 2 ComputeWeight
Input: Current parameters θ k \theta^k θ k , replay entry z = ( a 0 , t , ϵ , D k , ( ℓ ) ) z = (\mathbf{a}_0, t, \epsilon, D^{k,(\ell)}) z = ( a 0 , t , ϵ , D k , ( ℓ ) ) generated at iteration k ( ℓ ) k^{(\ell)} k ( ℓ ) , diffusion schedule, and maximum log-weight C > 0 C > 0 C > 0 .
Output: Clipped importance weight r k , k ( ℓ ) ≤ e C r^{k,k^{(\ell)}} \le e^C r k , k ( ℓ ) ≤ e C .
Reconstruct
a t ← α ˉ t a 0 + 1 − α ˉ t ϵ . \mathbf{a}_t \leftarrow\sqrt{\bar{\alpha}_t}\mathbf{a}_0 + \sqrt{1-\bar{\alpha}_t}\epsilon. a t ← α ˉ t a 0 + 1 − α ˉ t ϵ .
Compute
D k ← β t 2 2 σ t 2 α t ∥ s θ k ( a t , t ) + ϵ 1 − α ˉ t ∥ 2 2 . D^k \leftarrow\frac{\beta_t^2}{2\sigma_t^2\alpha_t}\left\lVert s_{\theta_k}(\mathbf{a}_t,t) + \frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right\rVert_2^2. D k ← 2 σ t 2 α t β t 2 s θ k ( a t , t ) + 1 − α ˉ t ϵ 2 2 .
Compute
Δ ^ k , k ( ℓ ) ← T ( D k ( ℓ ) − D k ) . \widehat{\Delta}^{k,k^{(\ell)}} \leftarrow T(D^{k^{(\ell)}} - D^k). Δ k , k ( ℓ ) ← T ( D k ( ℓ ) − D k ) .
return
r k , k ( ℓ ) ← exp ( min { Δ ^ k , k ( ℓ ) , C } ) . r^{k,k^{(\ell)}} \leftarrow\exp\left(\min\{\widehat{\Delta}^{k,k^{(\ell)}}, C\}\right). r k , k ( ℓ ) ← exp ( min { Δ k , k ( ℓ ) , C } ) .
Details about Experiment Setup
Nash Gap Computation
For a learned strategy profile π = ( π 1 , π 2 ) \pi= (\pi^1,\pi^2) π = ( π 1 , π 2 ) , we measure the total gain available from unilateral deviations. For player i i i , define
ϵ i ( π ) = max a i ∈ A i U i ( a i ; π − i ) − U i ( π i , π − i ) , (9) \epsilon^i(\pi) = \max_{a^i \in\mathcal{A}^i} U^i(a^i;\pi^{-i}) - U^i(\pi^i,\pi^{-i}), \tag*{(9)} ϵ i ( π ) = a i ∈ A i max U i ( a i ; π − i ) − U i ( π i , π − i ) , (9)
and compute the Nash gap as
G ( π 1 , π 2 ) = ϵ 1 ( π ) + ϵ 2 ( π ) . (10) G(\pi^1,\pi^2) = \epsilon^1(\pi) + \epsilon^2(\pi). \tag*{(10)} G ( π 1 , π 2 ) = ϵ 1 ( π ) + ϵ 2 ( π ) . (10)
Because expected utility is linear in the deviating strategy, it is sufficient to optimize over pure best responses. In the two-player zero-sum setting, writing U U U for player 1’s payoff, this simplifies to
G ( π 1 , π 2 ) = max a 1 ∈ A 1 U ( a 1 , π 2 ) − min a 2 ∈ A 2 U ( π 1 , a 2 ) . (11) G(\pi^1,\pi^2) = \max_{a^1 \in\mathcal{A}^1} U(a^1,\pi^2) - \min_{a^2 \in\mathcal{A}^2} U(\pi^1,a^2). \tag*{(11)} G ( π 1 , π 2 ) = a 1 ∈ A 1 max U ( a 1 , π 2 ) − a 2 ∈ A 2 min U ( π 1 , a 2 ) . (11)
For continuous action spaces, the best-response optimization is computed with a game-specific evaluation oracle. For the forest game, following Kamra et al. [ [20 ] , we use evolutionary search with a population of 50 candidates for 20 iterations. At each iteration, the top 10 candidates are retained and four Gaussian-perturbed mutations are generated from each survivor. Candidate utilities are estimated against 100 opponent samples during the search, and the resulting best response is reevaluated against 1,000 samples. When estimating the individual unilateral gains in (10) , the utility of the learned profile is estimated from 2,000 sampled action pairs.
For symmetric Colonel Blotto, we follow the discretized best-response procedure of Adam et al. [ [1 ] . Final Nash gaps use a simplex grid with spacing 1/1024 and an exact knapsack dynamic program, with 20,000 samples from each learned policy. For the radial-band variant, we approximate each best response from a pool of approximately 11,400 candidates, refine the best 64 candidates for 400 gradient steps, and estimate final payoffs using 8,000 policy samples per player. The same evaluation procedure is used for all methods within each game.
Experimental Details of Cournot Game
We consider a two-player multi-market Cournot competition game with d d d independent markets, where A > 0 A > 0 A > 0 is the demand intercept and b > 0 b > 0 b > 0 controls the slope of inverse demand. Player i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } chooses production quantities across d d d markets: a i = ( [ a i ] 1 , … , [ a i ] d ) ∈ [ 0 , q max ] d \mathbf{a}^{i} = ([a^{i}]_{1}, \ldots, [a^{i}]_{d}) \in[0,q_{\max}]^{d} a i = ([ a i ] 1 , … , [ a i ] d ) ∈ [ 0 , q m a x ] d .
In each market j j j , the inverse demand function is
p j ( a j 1 , a j 2 ) = A − b ( a j 1 + a j 2 ) , p_{j}(a^{1}_{j},a^{2}_{j}) = A - b(a^{1}_{j} + a^{2}_{j}), p j ( a j 1 , a j 2 ) = A − b ( a j 1 + a j 2 ) ,
and both firms have constant marginal cost c c c . Player i i i ’s total utility is
u i ( a i , a − i ) = ∑ j = 1 d ( A − b ( a j i + a j − i ) − c ) a j i . (12) u^{i}(\mathbf{a}^{i},\mathbf{a}^{-i}) = \sum_{j=1}^{d}\left(A - b(a^{i}_{j} + a^{-i}_{j}) - c\right)a^{i}_{j}. \tag*{(12)} u i ( a i , a − i ) = j = 1 ∑ d ( A − b ( a j i + a j − i ) − c ) a j i . (12)
We use A = 10 A = 10 A = 10 , b = 1 b = 1 b = 1 , c = 1 c = 1 c = 1 , and q max = ( A − c ) / b = 9 q_{\max} = (A-c)/b = 9 q m a x = ( A − c ) / b = 9 , with d ∈ { 1 , 30 } d \in\{1,30\} d ∈ { 1 , 30 } in the experiments. In the implementation, the policy produces a normalized action z i ∈ [ − 1 , 1 ] d \mathbf{z}^{i} \in[-1,1]^{d} z i ∈ [ − 1 , 1 ] d , which is mapped to the feasible Cournot action by
a i = z i + 1 2 q max . \mathbf{a}^{i} = \frac{\mathbf{z}^{i} + 1}{2}q_{\max}. a i = 2 z i + 1 q m a x .
During optimization, we use the scaled utility u i / d u^{i}/d u i / d so that its magnitude does not grow with the number of markets.
Analytical equilibrium. The separability and quadratic structure of the Cournot game allow its Nash equilibrium to be characterized exactly.
Proposition 3. The Cournot game in (12) has a unique Nash equilibrium ( a 1 , ∗ , a 2 , ∗ ) (\mathbf{a}^{1,*},\mathbf{a}^{2,*}) ( a 1 , ∗ , a 2 , ∗ ) , and for every market j = 1 , … , d j = 1,\ldots,d j = 1 , … , d ,
[ a 1 , ∗ ] j = [ a 2 , ∗ ] j = A − c 3 b . [a^{1,*}]_{j} = [a^{2,*}]_{j} = \frac{A-c}{3b}. [ a 1 , ∗ ] j = [ a 2 , ∗ ] j = 3 b A − c . Under our parameters, [ a 1 , ∗ ] j = [ a 2 , ∗ ] j = 3 [a^{1,*}]_{j} = [a^{2,*}]_{j} = 3 [ a 1 , ∗ ] j = [ a 2 , ∗ ] j = 3 for every market.
Proof. Consider an arbitrary mixed strategy π − i \pi^{-i} π − i of player − i -i − i , and let
μ j − i = E a − i ∼ π − i [ [ a − i ] j ] \mu^{-i}_{j} = \mathbb{E}_{\mathbf{a}^{-i}\sim\pi^{-i}}[[a^{-i}]_{j}] μ j − i = E a − i ∼ π − i [[ a − i ] j ]
denote its mean production in market j j j . Since the payoff is separable across markets and linear in the opponent’s production, the expected utility from an action a i \mathbf{a}^{i} a i is
E a − i ∼ π − i [ u i ( a i , a − i ) ] = ∑ j = 1 d [ ( A − c − b μ j − i ) a j i − b ( a j i ) 2 ] . \mathbb{E}_{\mathbf{a}^{-i}\sim\pi^{-i}}\left[u^{i}(\mathbf{a}^{i},\mathbf{a}^{-i})\right] = \sum_{j=1}^{d}\left[(A-c-b\mu^{-i}_{j})a^{i}_{j}-b(a^{i}_{j})^{2}\right]. E a − i ∼ π − i [ u i ( a i , a − i ) ] = j = 1 ∑ d [ ( A − c − b μ j − i ) a j i − b ( a j i ) 2 ] .
For b > 0 b > 0 b > 0 , this expression is strictly concave in a i \mathbf{a}^{i} a i , so player i i i has a unique best response against any mixed opponent strategy. In each market,
BR j i ( π − i ) = A − c − b μ j − i 2 b . \operatorname{BR}^{i}_{j}(\pi^{-i}) = \frac{A-c-b\mu^{-i}_{j}}{2b}. BR j i ( π − i ) = 2 b A − c − b μ j − i .
Since
0 ≤ μ j − i ≤ q max = A − c b , 0 \leq\mu^{-i}_{j} \leq q_{\max} = \frac{A-c}{b}, 0 ≤ μ j − i ≤ q m a x = b A − c ,
this quantity lies in [ 0 , q max ] [0,q_{\max}] [ 0 , q m a x ] , so the action constraints do not alter the best response. A player can randomize at a Nash equilibrium only over best responses. Since the best response is unique, every Nash equilibrium must therefore be pure (all probability mass on a single action). For each market j j j , the equilibrium quantities satisfy
2 b [ a 1 , ⋆ ] j + b [ a 2 , ⋆ ] j = A − c , b [ a 1 , ⋆ ] j + 2 b [ a 2 , ⋆ ] j = A − c . 2b[\mathbf{a}^{1,\star}]_j+b[\mathbf{a}^{2,\star}]_j=A-c,\qquad b[\mathbf{a}^{1,\star}]_j+2b[\mathbf{a}^{2,\star}]_j=A-c. 2 b [ a 1 , ⋆ ] j + b [ a 2 , ⋆ ] j = A − c , b [ a 1 , ⋆ ] j + 2 b [ a 2 , ⋆ ] j = A − c .
Subtracting the two equations gives [ a 1 , ⋆ ] j = [ a 2 , ⋆ ] j [\mathbf{a}^{1,\star}]_j=[\mathbf{a}^{2,\star}]_j [ a 1 , ⋆ ] j = [ a 2 , ⋆ ] j , and substitution yields
[ a 1 , ⋆ ] j = [ a 2 , ⋆ ] j = A − c 3 b . [\mathbf{a}^{1,\star}]_j=[\mathbf{a}^{2,\star}]_j=\frac{A-c}{3b}. [ a 1 , ⋆ ] j = [ a 2 , ⋆ ] j = 3 b A − c .
Because the markets are independent, this holds for every j = 1 , … , d j=1,\ldots,d j = 1 , … , d . With A = 10 A=10 A = 10 , b = 1 b=1 b = 1 , and c = 1 c=1 c = 1 , the equilibrium quantity is 3 in every market.
Experimental Details of Forest Protection Game
Environment Details
We use the continuous forest security game introduced by Kamra et al. [ [19 ] and subsequently adopted as the forest protection benchmark in DeepFP [20 ] . Our environment and parameter settings follow the latter. The game is played between a defender D D D and an adversary A A A in a circular forest containing a fixed set of tree locations T ⊂ R 2 \mathcal{T}\subset\mathbb{R}^{2} T ⊂ R 2 . The adversary controls N N N adversaries, while the defender controls M M M stationary guards.
Each adversary enters at the boundary of the forest, travels along a radial path toward the center, stops at a chosen location, and exits along the same path. Its stopping location therefore determines both its trajectory and its harvesting region. The adversary’s action is
a A = ( [ a A ] 1 , … , [ a A ] N ) ∈ F N , \mathbf{a}_{A}=([\mathbf{a}_{A}]_{1},\ldots,[\mathbf{a}_{A}]_{N})\in\mathcal{F}^{N}, a A = ([ a A ] 1 , … , [ a A ] N ) ∈ F N ,
where F \mathcal{F} F is the unit disk and [ a A ] k [\mathbf{a}_{A}]_{k} [ a A ] k is the stopping location of the k k k -th adversary. The defender selects the guard locations
a D = ( [ a D ] 1 , … , [ a D ] M ) ∈ F M . \mathbf{a}_{D}=([\mathbf{a}_{D}]_{1},\ldots,[\mathbf{a}_{D}]_{M})\in\mathcal{F}^{M}. a D = ([ a D ] 1 , … , [ a D ] M ) ∈ F M .
where [ a D ] j [\mathbf{a}_{D}]_{j} [ a D ] j is the location of guard j j j . Locations are represented using normalized polar coordinates ( r , θ ) (r,\theta) ( r , θ ) , so the adversary and defender action dimensions are 2 N 2N 2 N and 2 M 2M 2 M , respectively.
An adversary is captured when its path passes within guard radius R g R_g R g of at least one defender resource. Let P k ( [ a A ] k ) P_k([\mathbf{a}_{A}]_k) P k ([ a A ] k ) denote the radial path followed by the adversary k k k . Its capture indicator is
C k ( a D , a A ) = I [ min j ∈ { 1 , … , M } min p ∈ P k ( [ a A ] k ) ∥ p − [ a D ] j ∥ 2 ≤ R D ] . C_k(\mathbf{a}_{D},\mathbf{a}_{A})=\mathbb{I}\left[\min_{j\in\{1,\ldots,M\}}\min_{p\in P_k([\mathbf{a}_{A}]_k)}\left\|p-[\mathbf{a}_{D}]_j\right\|_2\le R_D\right]. C k ( a D , a A ) = I [ j ∈ { 1 , … , M } min p ∈ P k ([ a A ] k ) min ∥ p − [ a D ] j ∥ 2 ≤ R D ] .
An uncaptured adversary harvests trees lying within chopping radius R A R_A R A of its stopping location. Define
H k ( [ a A ] k ) = { t ∈ T : ∥ t − [ a A ] k ∥ 2 ≤ R A } . H_k([\mathbf{a}_{A}]_k)=\left\{t\in\mathcal{T}:\left\|t-[\mathbf{a}_{A}]_k\right\|_2\le R_A\right\}. H k ([ a A ] k ) = { t ∈ T : ∥ t − [ a A ] k ∥ 2 ≤ R A } .
Let N s t o l e n ( a D , a A ) N_{\mathrm{stolen}}(\mathbf{a}_{D},\mathbf{a}_{A}) N stolen ( a D , a A ) denote the number of trees successfully removed by the uncaptured adversaries, with overlapping harvest regions combined according to the game simulator. A captured adversary loses its harvest and incurs a penalty r p e n > 0 r_{\mathrm{pen}}>0 r pen > 0 . The adversary’s reward is
u A ( a D , a A ) = N s t o l e n ( a D , a A ) − r p e n ∑ k = 1 N C k ( a D , a A ) . u_A(\mathbf{a}_{D},\mathbf{a}_{A})=N_{\mathrm{stolen}}(\mathbf{a}_{D},\mathbf{a}_{A})-r_{\mathrm{pen}}\sum_{k=1}^{N}C_k(\mathbf{a}_{D},\mathbf{a}_{A}). u A ( a D , a A ) = N stolen ( a D , a A ) − r pen k = 1 ∑ N C k ( a D , a A ) .
and the defender receives the negative reward, u D ( a D , a A ) = − u A ( a D , a A ) u_D(a_D, a_A) = -u_A(a_D, a_A) u D ( a D , a A ) = − u A ( a D , a A ) . Following the DeepFP experimental setup [20 ] , we use
R D = 0.1 , R A = 0.04 , r p e n = 4.0. R_D = 0.1,\qquad R_A = 0.04,\qquad r_{\mathrm{pen}} = 4.0. R D = 0.1 , R A = 0.04 , r pen = 4.0.
The reward landscape is highly nonconvex and contains large flat regions. In particular, moving a guard without changing which trajectories it intercepts does not change the defender’s reward. Heterogeneous tree densities also create spatially separated high-value regions, so effective mixed strategies may place probability mass on several distinct guard or adversary configurations. The game therefore tests both the expressiveness of the learned strategy distribution and its ability to improve when informative utility gradients are sparse.
Forest instances. We use four forest layouts, denoted F1–F4 throughout the paper. F1 and F2 contain 4,000 and 6,000 trees, respectively, and are evaluated with M = N ∈ { 1 , 3 } M = N \in\{1, 3\} M = N ∈ { 1 , 3 } . F3 and F4 are denser layouts containing 6,200 and 7,100 trees and are evaluated with M = N = 5 M = N = 5 M = N = 5 . Thus, the six configurations reported in the main experiments are
( F 1 , 1 ) , ( F 1 , 3 ) , ( F 2 , 1 ) , ( F 2 , 3 ) , ( F 3 , 5 ) , ( F 4 , 5 ) . (\mathrm{F1}, 1),\ (\mathrm{F1}, 3),\ (\mathrm{F2}, 1),\ (\mathrm{F2}, 3),\ (\mathrm{F3}, 5),\ (\mathrm{F4}, 5). ( F1 , 1 ) , ( F1 , 3 ) , ( F2 , 1 ) , ( F2 , 3 ) , ( F3 , 5 ) , ( F4 , 5 ) .
The interaction and payoff structure is held fixed across instances; only the spatial tree layout and number of resources change. This changes which attack locations are valuable and how many spatially separated regions must be represented by the equilibrium strategy.
Scaling the action space. Each guard and adversary is represented by a polar coordinate ( r , θ ) (r, \theta) ( r , θ ) , so the defender and attacker action spaces have dimensions 2 M 2M 2 M and 2 N 2N 2 N , respectively. Latent actions in [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] are mapped to r ∈ [ 0 , 1 ] r \in[0, 1] r ∈ [ 0 , 1 ] and θ ∈ [ 0 , 2 π ] \theta\in[0, 2\pi] θ ∈ [ 0 , 2 π ] . Consequently, the headline experiments increase each player’s action dimension from 2 at M = N = 1 M = N = 1 M = N = 1 , to 6 at M = N = 3 M = N = 3 M = N = 3 , and 10 at M = N = 5 M = N = 5 M = N = 5 . Although resources of the same type are interchangeable in the payoff, we use the direct ordered representation and do not explicitly enforce permutation symmetry.
Implementation Details
Compared methods. We compare DiffNash with DeepFP [20 ] , DiffFP [21 ] , and Neural OMD. DeepFP uses neural fictitious play with a learned attacker and geometric defender best response. DiffFP replaces the neural policy with a diffusion best response while retaining fictitious-play updates. Neural OMD uses the same OMD training loop as DiffNash but represents the policy with a squashed diagonal Gaussian, isolating the contribution of the diffusion policy. DiffNash combines a diffusion policy with OMD, opponent replay, and self-action importance sampling.
Training details. All headline methods are trained for 40,000 gradient updates per player. DiffNash and Neural OMD use 2,000 outer OMD iterations with 20 inner updates per iteration. DiffFP uses 100 fictitious-play iterations with 400 best-response updates per iteration. Unless otherwise noted, we run five seeds. OMD methods use batches of 256 player actions and 128 opponent replay samples. DiffNash maintains a FIFO opponent replay buffer of size 1,024 and draws 1% of each player batch from its full self-action history.
DiffNash and Neural OMD use Adam Kingma and Ba [22 ] with learning rate 3 × 10 − 4 3 \times10^{-4} 3 × 1 0 − 4 , decayed to 3 × 10 − 5 3 \times10^{-5} 3 × 1 0 − 5 during training. The diffusion policies use T = 20 T = 20 T = 20 denoising steps. All experiments are run on CPU using 8 cores and 16 GB of memory.
Evaluation. We report defender exploitability, defined as the best attacker reward against the learned time-averaged defender, together with the two sided Nash gap. Best responses are approximated using evolutionary search on the reference simulator. The search uses a population of 50 candidates for 20 iterations, retaining the top 10 and generating four mutations per survivor. Each candidate is evaluated against 100 sampled opponent actions, followed by a final evaluation against 1,000 samples. Self-play utility for the Nash gap is estimated from 2,000 sampled action pairs.
We evaluate only the final checkpoint and use the complete time-averaged strategy accumulated during training. Reported uncertainty is the 95% Student-t t t confidence interval across seeds.
Hyperparameters. DiffNash uses a DACER-style denoiser with three 256-unit hidden layers and Mish activations. The diffusion-time embedding is a 16-dimensional sinusoidal encoding followed by a two-layer MLP. We use OMD step size η = 1 \eta= 1 η = 1 , normalize utility-derived energies within each batch, clip their logits to [ − 3 , 3 ] [-3, 3] [ − 3 , 3 ] , and renormalize the resulting weights to mean one. Opponent importance ratios are upper-clipped at 10. Self-action replay constitutes 1% of the training batch and is activated once the standard deviation of the current action samples falls below 10% of its initial value.
Experimental Details of Continuous Colonel Blotto
Environment Details
We follow the continuous Colonel Blotto formulation of Adam et al. [ [1 ] . Two players simultaneously allocate a unit budget across N N N battlefields. Both players have the action space
A 1 = A 2 = A = { a = ( [ a ] 1 , … , [ a ] N ) ∈ R + n : ∑ j = 1 N [ a ] j = 1 } . \mathcal{A}^{1} = \mathcal{A}^{2} = \mathcal{A} = \left\{ \mathbf{a} = ([\mathbf{a}]_{1}, \ldots, [\mathbf{a}]_{N}) \in\mathbb{R}_{+}^{n} : \sum_{j=1}^{N} [\mathbf{a}]_{j} = 1 \right\}. A 1 = A 2 = A = { a = ([ a ] 1 , … , [ a ] N ) ∈ R + n : j = 1 ∑ N [ a ] j = 1 } .
Let a 1 , a 2 ∈ A \mathbf{a}^{1}, \mathbf{a}^{2} \in\mathcal{A} a 1 , a 2 ∈ A denote the allocations selected by players 1 and 2, respectively. The symmetric case and radial band case of Table 2 differ in the utility function of the agent, which we detail below.
Symmetric To construct the symmetric case of Table 2 , we define the following battlefield contest function:
ℓ c ( z ) = { − 1 , z ≤ − c , z / c , − c < z < c , 1 , z ≥ c , \ell_{c}(z) =
\begin{cases}
-1, & z \le-c, \\
z/c, & -c < z < c, \\
1, & z \ge c,
\end{cases} ℓ c ( z ) = ⎩ ⎨ ⎧ − 1 , z / c , 1 , z ≤ − c , − c < z < c , z ≥ c ,
where ω j \omega_j ω j is battlefield j j j ’s positive weight and c > 0 c > 0 c > 0 controls the allocation advantage required to obtain the full value of a battlefield. Player 1’s utility is
u 1 ( a 1 , a 2 ) = ∑ j = 1 n ω j ℓ c ( a j 1 − a j 2 ) , u^{1}(\mathbf{a}^{1}, \mathbf{a}^{2}) = \sum_{j=1}^{n} \omega_j \ell_c(a_j^{1} - a_j^{2}), u 1 ( a 1 , a 2 ) = j = 1 ∑ n ω j ℓ c ( a j 1 − a j 2 ) ,
and player 2 receives
u 2 ( a 1 , a 2 ) = − u 1 ( a 1 , a 2 ) . u^{2}(\mathbf{a}^{1}, \mathbf{a}^{2}) = -u^{1}(\mathbf{a}^{1}, \mathbf{a}^{2}). u 2 ( a 1 , a 2 ) = − u 1 ( a 1 , a 2 ) .
Thus, player 1 receives ω j \omega_j ω j when it allocates at least c c c more than player 2 to battlefield j j j , receives − ω j -\omega_j − ω j when it allocates at least c c c less, and receives a payoff that varies linearly with the allocation difference inside this margin. Our symmetric Blotto experiment uses the symmetric N N N -battlefield setting
ω j = 1 for all j , c = 1 16 . \omega_j = 1 \text{ for all } j,\qquad c = \frac{1}{16}. ω j = 1 for all j , c = 16 1 .
for N = { 6 , 10 } N = \{6,10\} N = { 6 , 10 } . As c → 0 c \to0 c → 0 , ℓ c \ell_c ℓ c approaches the sign function used in the classical continuous Colonel Blotto game.
The game is symmetric and zero-sum, so its equilibrium value is zero. Because the budget constraint couples all six coordinates, increasing the allocation to one battlefield reduces the allocation available to the others. Equilibrium play therefore requires coordinated allocations rather than independent decisions at individual battlefields. This makes the game a useful test of whether a policy class can represent a broad mixed strategy.
Radial-band instances. To construct the radial band case of Table 2 , we first specify precisely what the radial band is. Define the uniform allocation a ˉ \bar{\mathbf{a}} a ˉ which allocates 1 N \frac{1}{N} N 1 budget to each battlefield, and define e 1 \mathbf{e}_1 e 1 be the allocation which allocates all battles to the first battlefield. Now define: v r a d = e 1 − a ˉ \mathbf{v}_{\mathrm{rad}} = \mathbf{e}_1 - \bar{\mathbf{a}} v rad = e 1 − a ˉ , center line γ r a d ( τ ) = a ˉ + τ v r a d \boldsymbol{\gamma}_{\mathrm{rad}}(\tau) = \bar{\mathbf{a}} + \tau\mathbf{v}_{\mathrm{rad}} γ rad ( τ ) = a ˉ + τ v rad , and width ω r a d ( τ ) = min { 0.06 , 0.20 ( 1 − τ ) } \omega_{\mathrm{rad}}(\tau) = \min\{0.06, 0.20(1-\tau)\} ω rad ( τ ) = min { 0.06 , 0.20 ( 1 − τ )} . The radial interval is [ τ min , τ max ] [\tau_{\min},\tau_{\max}] [ τ m i n , τ m a x ] , with
τ min = { 0.12 , n = 6 , 0.15 , n = 10 , \tau_{\min} =
\begin{cases}
0.12, & n = 6,\\
0.15, & n = 10,
\end{cases} τ m i n = { 0.12 , 0.15 , n = 6 , n = 10 ,
and τ max = 0.995 \tau_{\max} = 0.995 τ m a x = 0.995 . γ r a d ( τ ) \boldsymbol{\gamma}_{\mathrm{rad}}(\tau) γ rad ( τ ) and ω r a d ( τ ) \omega_{\mathrm{rad}}(\tau) ω rad ( τ ) together define the shape of the radial band.
The next step we define how probability is distributed within the band. We put 60% of the probability along the interior portion and 40% closer to the vertex. To achieve that we first sample
First sample
τ ∼ { Unif [ τ min , 0.80 ) , with probability 0.6 , Unif [ 0.80 , τ max ] , with probability 0.4. \tau\sim
\begin{cases}
\operatorname{Unif}[\tau_{\min},0.80), & \text{with probability } 0.6,\\
\operatorname{Unif}[0.80,\tau_{\max}], & \text{with probability } 0.4.
\end{cases} τ ∼ { Unif [ τ m i n , 0.80 ) , Unif [ 0.80 , τ m a x ] , with probability 0.6 , with probability 0.4.
We also add some perpendicular displacement to make the distribution has width. Formally, given τ \tau τ , draw the displacement ξ \boldsymbol{\xi} ξ uniformly from
{ ξ ∈ R n : 1 T ξ = 0 , v r a d T ξ = 0 , ∥ ξ ∥ 2 ≤ w r a d ( τ ) , γ r a d ( τ ) + ξ ∈ Δ N − 1 } . \left\{\boldsymbol{\xi} \in\mathbb{R}^{n}: \mathbf{1}^{\mathsf{T}}\boldsymbol{\xi}=0,\quad\mathbf{v}_{\mathrm{rad}}^{\mathsf{T}}\boldsymbol{\xi}=0,\quad\lVert\boldsymbol{\xi}\rVert_2 \leq w_{\mathrm{rad}}(\tau),\quad\boldsymbol{\gamma}_{\mathrm{rad}}(\tau)+\boldsymbol{\xi}\in\Delta^{N-1}\right\}. { ξ ∈ R n : 1 T ξ = 0 , v rad T ξ = 0 , ∥ ξ ∥ 2 ≤ w rad ( τ ) , γ rad ( τ ) + ξ ∈ Δ N − 1 } .
The first constraint make sure the resulting allocation does not exceed the budget, and the second make sure the displacement is orthogonal to the radial band. Define the target distribution μ r a d \mu_{\mathrm{rad}} μ rad as the law of γ r a d + ξ \boldsymbol{\gamma}_{\mathrm{rad}}+\boldsymbol{\xi} γ rad + ξ .
Before we specify the payoff which makes μ r a d \mu_{\mathrm{rad}} μ rad the equilibrium strategy, we first define the following notations. For any allocation, we first locate its clipped projection onto the centerline, measure its perpendicular distance, and finally penalize the portion that exceeds the allowed width. Define the projected radial coordinate τ ^ ( a ) \widehat{\tau}(\mathbf{a}) τ ( a ) and penalty V r a d ( a ) V_{\mathrm{rad}}(\mathbf{a}) V rad ( a ) by
τ ^ ( a ) = min { τ max , max { τ min , ⟨ a − a ˉ , v r a d ⟩ ∥ v r a d ∥ 2 2 } } , \widehat{\tau}(\mathbf{a}) = \min\left\{\tau_{\max},\max\left\{\tau_{\min},\frac{\langle\mathbf{a}-\bar{\mathbf{a}},\mathbf{v}_{\mathrm{rad}}\rangle}{\lVert\mathbf{v}_{\mathrm{rad}}\rVert_2^2}\right\}\right\}, τ ( a ) = min { τ m a x , max { τ m i n , ∥ v rad ∥ 2 2 ⟨ a − a ˉ , v rad ⟩ } } ,
V r a d ( a ) = − 15 [ ∥ a − γ r a d ( τ ^ ( a ) ) ∥ 2 − w r a d ( τ ^ ( a ) ) ] + . V_{\mathrm{rad}}(\mathbf{a}) = -15\left[\lVert\mathbf{a}-\boldsymbol{\gamma}_{\mathrm{rad}}(\widehat{\tau}(\mathbf{a}))\rVert_2-w_{\mathrm{rad}}(\widehat{\tau}(\mathbf{a}))\right]_+. V rad ( a ) = − 15 [ ∥ a − γ rad ( τ ( a )) ∥ 2 − w rad ( τ ( a )) ] + .
Here V r a d ≤ 0 V_{\mathrm{rad}}\leq0 V rad ≤ 0 , and every target sample does not receive penalty. We also define the following Gaussian kernel K ( ⋅ , ⋅ ) K(\cdot,\cdot) K ( ⋅ , ⋅ ) which measure the similarity between allocations:
K ( a 1 , a 2 ) = exp ( − ∥ a 1 − a 2 ∥ 2 2 2 σ K 2 ) . K(\mathbf{a}^1,\mathbf{a}^2)=\exp\left(-\frac{\lVert\mathbf{a}^1-\mathbf{a}^2\rVert_2^2}{2\sigma_K^2}\right). K ( a 1 , a 2 ) = exp ( − 2 σ K 2 ∥ a 1 − a 2 ∥ 2 2 ) .
, with bandwidth σ K = 0.08 \sigma_K = 0.08 σ K = 0.08 . We define a centered version of the Gaussian kernel where we subtract each allocation’s average similarity to the target radial shape μ r a d \mu_{\mathrm{rad}} μ rad , then add back the target’s average similarity to itself. Formally, for independent samples b , b ′ ∼ μ r a d \mathbf{b},\mathbf{b}' \sim\mu_{\mathrm{rad}} b , b ′ ∼ μ rad , define
K ˉ ( a 1 , a 2 ) = K ( a 1 , a 2 ) − E b K ( a 1 , b ) − E b K ( b , a 2 ) + E b , b ′ K ( b , b ′ ) . \bar{K}(\mathbf{a}^{1},\mathbf{a}^{2}) = K(\mathbf{a}^{1},\mathbf{a}^{2}) - \mathbb{E}_{\mathbf{b}}K(\mathbf{a}^{1},\mathbf{b}) - \mathbb{E}_{\mathbf{b}}K(\mathbf{b},\mathbf{a}^{2}) + \mathbb{E}_{\mathbf{b},\mathbf{b}'}K(\mathbf{b},\mathbf{b}'). K ˉ ( a 1 , a 2 ) = K ( a 1 , a 2 ) − E b K ( a 1 , b ) − E b K ( b , a 2 ) + E b , b ′ K ( b , b ′ ) .
Set player 1’s utilities to u 1 ( a 1 , a 2 ) = K ˉ r a d ( a 1 , a 2 ) + V r a d ( a 1 ) − V r a d ( a 2 ) u^{1}(\mathbf{a}^{1},\mathbf{a}^{2}) = \bar{K}_{\mathrm{rad}}(\mathbf{a}^{1},\mathbf{a}^{2}) + V_{\mathrm{rad}}(\mathbf{a}^{1}) - V_{\mathrm{rad}}(\mathbf{a}^{2}) u 1 ( a 1 , a 2 ) = K ˉ rad ( a 1 , a 2 ) + V rad ( a 1 ) − V rad ( a 2 ) and set u 2 ( a 1 , a 2 ) = − u 1 ( a 1 , a 2 ) u^{2}(\mathbf{a}^{1},\mathbf{a}^{2}) = -u^{1}(\mathbf{a}^{1},\mathbf{a}^{2}) u 2 ( a 1 , a 2 ) = − u 1 ( a 1 , a 2 ) .
Proposition 4 (Radial Band is a Nash equilibrium). ( μ r a d , μ r a d ) (\mu_{\mathrm{rad}},\mu_{\mathrm{rad}}) ( μ rad , μ rad ) is the Nash equilibrium of the game we described above.
Proof. Observe that for every a 1 , a 2 ∈ Δ N − 1 \mathbf{a}^{1},\mathbf{a}^{2} \in\Delta^{N-1} a 1 , a 2 ∈ Δ N − 1 ,
E b ∼ μ r a d [ K ˉ ( a 1 , b ) ] = 0 , E b ∼ μ r a d [ K ˉ ( b , a 2 ) ] = 0 , \mathbb{E}_{\mathbf{b}\sim\mu_{\mathrm{rad}}\!}\left[\bar{K}(\mathbf{a}^{1},\mathbf{b})\right] = 0,\qquad\mathbb{E}_{\mathbf{b}\sim\mu_{\mathrm{rad}}\!}\left[\bar{K}(\mathbf{b},\mathbf{a}^{2})\right] = 0, E b ∼ μ rad [ K ˉ ( a 1 , b ) ] = 0 , E b ∼ μ rad [ K ˉ ( b , a 2 ) ] = 0 ,
by the definition of the centered kernel. Since μ r a d \mu_{\mathrm{rad}} μ rad is supported inside the corridor, V r a d ( b ) = 0 V_{\mathrm{rad}}(\mathbf{b}) = 0 V rad ( b ) = 0 almost surely for b ∼ μ r a d \mathbf{b} \sim\mu_{\mathrm{rad}} b ∼ μ rad , while V r a d ( a ) ≤ 0 V_{\mathrm{rad}}(\mathbf{a}) \le0 V rad ( a ) ≤ 0 for every feasible action.
Let U 1 U^{1} U 1 denote the expected utility induced by u 1 u^{1} u 1 . For any pure deviations a 1 \mathbf{a}^{1} a 1 and a 2 \mathbf{a}^{2} a 2 , we therefore have
U 1 ( a 1 , μ r a d ) = V r a d ( a 1 ) ≤ 0 , U 1 ( μ r a d , a 2 ) = − V r a d ( a 2 ) ≥ 0. U^{1}(\mathbf{a}^{1},\mu_{\mathrm{rad}}) = V_{\mathrm{rad}}(\mathbf{a}^{1}) \le0,\qquad U^{1}(\mu_{\mathrm{rad}},\mathbf{a}^{2}) = -V_{\mathrm{rad}}(\mathbf{a}^{2}) \ge0. U 1 ( a 1 , μ rad ) = V rad ( a 1 ) ≤ 0 , U 1 ( μ rad , a 2 ) = − V rad ( a 2 ) ≥ 0.
Moreover,
U 1 ( μ r a d , μ r a d ) = 0. U^{1}(\mu_{\mathrm{rad}},\mu_{\mathrm{rad}}) = 0. U 1 ( μ rad , μ rad ) = 0.
Thus,
U 1 ( a 1 , μ r a d ) ≤ U 1 ( μ r a d , μ r a d ) ≤ U 1 ( μ r a d , a 2 ) U^{1}(\mathbf{a}^{1},\mu_{\mathrm{rad}}) \le U^{1}(\mu_{\mathrm{rad}},\mu_{\mathrm{rad}}) \le U^{1}(\mu_{\mathrm{rad}},\mathbf{a}^{2}) U 1 ( a 1 , μ rad ) ≤ U 1 ( μ rad , μ rad ) ≤ U 1 ( μ rad , a 2 )
for all a 1 , a 2 ∈ Δ n − 1 \mathbf{a}^{1},\mathbf{a}^{2} \in\Delta^{n-1} a 1 , a 2 ∈ Δ n − 1 . These inequalities extend to mixed deviations by linearity of expected utility. Hence ( μ r a d , μ r a d ) (\mu_{\mathrm{rad}},\mu_{\mathrm{rad}}) ( μ rad , μ rad ) is an exact Nash equilibrium with value zero for both N = 6 N = 6 N = 6 and N = 10 N = 10 N = 10 . □
In implementation, we replace μ r a d ⋆ \mu_{\mathrm{rad}}^{\star} μ rad ⋆ by a fixed empirical distribution and compute all kernel-centering terms from the same bank. The same argument then applies exactly to the resulting finite game.
Visualization. For visualization, six-dimensional allocations are projected onto a regular hexagon using barycentric coordinates. Let [ a ] 1 , … , [ a ] N ∈ R N [\mathbf{a}]_{1},\ldots,[\mathbf{a}]_{N} \in\mathbb{R}^{N} [ a ] 1 , … , [ a ] N ∈ R N denote the hexagon vertices. An allocation a \mathbf{a} a is plotted at
p ( a ) = ∑ j = 1 N [ a ] j e j . (13) p(\mathbf{a}) = \sum_{j=1}^{N}[\mathbf{a}]_{j}\mathbf{e}_{j}. \tag*{(13)} p ( a ) = j = 1 ∑ N [ a ] j e j . (13)
Under this projection, the uniform allocation appears at the hexagon center. Allocating the entire budget to battlefield j j j would map directly to vertex e j \mathbf{e}_{j} e j . The same projection is used for both the standard Blotto and radial-band games, which allows their learned strategy distributions to be compared directly.
Implementation Details
Reference solutions. For the symmetric Colonel Blotto instances, we compute reference equilibria with the grid-based double-oracle (DO) solver proposed in Adam et al. [ [1 ] . For both N = 6 N = 6 N = 6 and N = 10 N = 10 N = 10 , we discretize allocations with grid spacing 1 / 256 1/256 1/256 and run DO to tolerance 10 − 6 10^{-6} 1 0 − 6 , using an exact knapsack dynamic program to compute best responses over the discretized action space. For N = 6 N = 6 N = 6 , DO terminates after 21 iterations with a 42-action support and Nash gap 4.31 × 10 − 14 4.31 \times10^{-14} 4.31 × 1 0 − 14 ; for N = 10 N = 10 N = 10 , it terminates after 12 iterations with a 50-action support and gap 1.33 × 10 − 14 1.33 \times10^{-14} 1.33 × 1 0 − 14 . Both instances use c = 1 / 16 c = 1/16 c = 1/16 . This solver relies on a game-specific best-response oracle: discretization makes exact best responses tractable for these Blotto instances, but such an oracle is generally unavailable in high-dimensional continuous-action games, where best-response optimization may itself be difficult and uniform discretization scales poorly with dimension. We therefore use DO only to construct reference equilibria for these structured symmetric instances, rather than as a general-purpose baseline.
For the radial-band instances, the reference equilibrium is known by construction. We instantiate it using a fixed empirical distribution μ ^ n ∗ \hat{\mu}_n^* μ ^ n ∗ with K = 1200 K = 1200 K = 1200 anchors, consisting of 720 samples from the interior portion of the corridor and 480 from the near-extreme portion. The anchor bank is sampled once for each game instance and then frozen, and all kernel-centering terms are computed from the same bank. Thus, μ ^ n ∗ \hat{\mu}_n^* μ ^ n ∗ is an exact equilibrium of the implemented finite-anchor game. We use r min = 0.12 r_{\min} = 0.12 r m i n = 0.12 for N = 6 N = 6 N = 6 and r min = 0.15 r_{\min} = 0.15 r m i n = 0.15 for N = 10 N = 10 N = 10 , with r s p l i t = 0.80 r_{\mathrm{split}} = 0.80 r split = 0.80 and r max = 0.995 r_{\max} = 0.995 r m a x = 0.995 . The corresponding reference Nash gap is exactly zero. We additionally report the finite-sample evaluation floors, 0.014213 for N = 6 N = 6 N = 6 and 0.024741 for N = 10 N = 10 N = 10 .
Compared Methods. We compare DiffNash against DeepFP , DiffFP , and Neural OMD . For DeepFP, we use the original implementation provided by the authors; their codebase is not publicly released. For DiffFP, no implementation is available, so we reimplement the method from the paper, using diffusion policies within the fictitious-play update and its Q Q Q -guided action refinement procedure.
We additionally introduce Neural OMD as a controlled baseline to separate the effect of the OMD update from the expressive diffusion used by DiffNash. Neural OMD uses the same OMD training structure and optimization budget as DiffNash, but replaces the diffusion policy with a squashed diagonal-Gaussian policy parameterized by a two-layer MLP with hidden dimensions (256, 256) and tanh \tanh tanh activations. Because this policy admits a tractable density, the mirror-descent regularizer is implemented using the analytic KL divergence between consecutive policies, with coefficient 1.0. Neural OMD is trained on-policy using fresh samples at each outer iteration and does not use a replay buffer for importance weighting.
For a given seed, all methods are evaluated on the same game instance and frozen anchor bank. The target distribution, kernel centering terms, and payoff parameters are therefore identical across methods.
Training details. All four experiments use five random seeds 0-4.
DiffNash and Neural OMD each use 2000 outer iterations with 20 gradient updates per iteration, for a total of 40,000 updates per player. Both use Adam with a learning rate annealed from 3 × 10 − 4 3 \times10^{-4} 3 × 1 0 − 4 to 3 × 10 − 5 3 \times10^{-5} 3 × 1 0 − 5 , a policy batch size of 256, and 128 opponent samples. DiffNash parameterizes each policy with a 20-step diffusion model with three hidden layers of width 256 and a linear noise schedule scaled by 0.8. Its replay buffer is FIFO with capacity 1024, with 32 new samples added per outer iteration. Opponent samples are corrected using importance weights capped at 10. own-policy correction, 3 of the 256 samples in each batch are importance weighted, corresponding to approximately 1.17% of the batch.
DiffFP uses a 20-step diffusion model with hidden dimensions (256, 256) and a 32-dimensional time embedding. We train it for 100 fictitious-play iterations, with 400 best-response updates per iteration, again giving 40,000 gradient updates. It uses Adam [22 ] with learning rate 3 × 10 − 4 3 \times10^{-4} 3 × 1 0 − 4 , gradient-norm clipping at 2.0, training batches of 256, and rollout batches of 32. Its replay buffer has capacity 200,000, with a pool of 100 historical policies, and the best-response policy is reinitialized at each fictitious-play iteration. DiffFP does not use importance sampling.
DeepFP uses the authors’ TensorFlow 1 implementation, with a two-layer (128, 128) policy network followed by a softmax output. We use Adam with learning rate 10 − 3 10^{-3} 1 0 − 3 and train for 400,000 games, applying a policy update every 10 games.
Evaluation We measure convergence using the two-player zero-sum Nash gap
G ( p , q ) = max x U ( x , q ) − min y U ( p , y ) , G(p,q) = \max_{x} U(x,q) - \min_{y} U(p,y), G ( p , q ) = x max U ( x , q ) − y min U ( p , y ) ,
which is the sum of the two players’ unilateral improvement incentives and is zero at equilibrium.
For symmetric Blotto, we follow the double-oracle evaluation of Adam et al. [ [1 ] , computing best responses exactly on a discretized simplex with a knapsack dynamic program. Reference solutions use grid spacing 1 / 256 1/256 1/256 , while final Nash gaps use a finer 1 / 1024 1/1024 1/1024 grid and 20,000 policy samples per player. For the radial-band games, we approximate each best response using a pool of approximately 11,400 candidates followed by 400 gradient-refinement steps on the best 64, and estimate payoffs using 8,000 samples per player. We additionally report recovery of the known radial equilibrium, including near-extreme mass (0.40 at equilibrium) and active versus inactive radial mass. All metrics are aggregated over five seeds using the same evaluator for every method within each game.
Algorithm 3 Replay-Buffer Diffusion Online Mirror Descent (DiffNash)
Input: Outer iterations K K K , inner steps H H H , self-action batch size B s e l f B_{\mathrm{self}} B self , opponent batch size M M M , initial buffer size N 0 N_0 N 0 , opponent-buffer capacity N b u f N_{\mathrm{buf}} N buf , refresh size R R R , OMD parameter η \eta η , self-action replay fraction ζ \zeta ζ , trigger threshold κ \kappa κ , and maximum log-weight C C C .
Initialize π θ i , 1 = Unif ( A i ) \pi_{\theta_{i,1}} = \operatorname{Unif}(\mathcal{A}^i) π θ i , 1 = Unif ( A i ) , i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } ; initialize each player’s opponent replay buffer and self-action history with N 0 N_0 N 0 samples using PrepareSample with behavior parameters θ i , 1 \theta^{i,1} θ i , 1 , and record the initial self-action spread.
for k = 1 , … , K k = 1,\ldots,K k = 1 , … , K do
for i ∈ { 1 , 2 } i \in\{1,2\} i ∈ { 1 , 2 } do
Sample opponent entries z ~ − i , ( 1 : L ) \widetilde{z}^{-i,(1:L)} z − i , ( 1 : L ) with behavior iterations k ( 1 ) , … , k ( L ) k^{(1)},\ldots,k^{(L)} k ( 1 ) , … , k ( L ) ; let a ~ 0 − i , ( ℓ ) \widetilde{a}^{-i,(\ell)}_0 a 0 − i , ( ℓ ) denote the clean action in z ~ − i , ( ℓ ) \widetilde{z}^{-i,(\ell)} z − i , ( ℓ ) , and compute
r ~ − i , k , k ( ℓ ) ← ComputeWeight ( θ − i , k , z ~ − i , k ( ℓ ) , C ) , w ~ ( ℓ ) − i ← L r ~ − i , k , k ( ℓ ) ∑ l = 1 L r ~ − i , k , k ( ℓ ) , ℓ ∈ [ L ] . \widetilde{r}^{-i,k,k^{(\ell)}} \leftarrow\operatorname{ComputeWeight}(\theta^{-i,k},\widetilde{z}^{-i,k^{(\ell)}},C), \qquad\widetilde{w}^{-i}_{(\ell)} \leftarrow\frac{L\widetilde{r}^{-i,k,k^{(\ell)}}}{\sum_{l=1}^{L}\widetilde{r}^{-i,k,k^{(\ell)}}},\quad\ell\in[L]. r − i , k , k ( ℓ ) ← ComputeWeight ( θ − i , k , z − i , k ( ℓ ) , C ) , w ( ℓ ) − i ← ∑ l = 1 L r − i , k , k ( ℓ ) L r − i , k , k ( ℓ ) , ℓ ∈ [ L ] . Set b I S ← ⌈ ζ B s e l f ⌉ b_{\mathrm{IS}}\leftarrow\lceil\zeta B_{\mathrm{self}}\rceil b IS ← ⌈ ζ B self ⌉ if the current self-action spread is below κ \kappa κ times its initial value, and b I S ← 0 b_{\mathrm{IS}}\leftarrow0 b IS ← 0 otherwise; set θ i , k , 0 ← θ i , k \theta^{i,k,0}\leftarrow\theta^{i,k} θ i , k , 0 ← θ i , k .
for h = 1 , … , H h=1,\ldots,H h = 1 , … , H do
Sample
a 0 i , ( b I S + 1 : B s e l f ) ∼ i . i . d . π θ i , k , z i , ( 1 : b I S ) ∼ self-action history . a^{i,(b_{\mathrm{IS}}+1:B_{\mathrm{self}})}_0 \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} \pi_{\theta^{i,k}},\qquad z^{i,(1:b_{\mathrm{IS}})}\sim\text{self-action history}. a 0 i , ( b IS + 1 : B self ) ∼ i.i.d. π θ i , k , z i , ( 1 : b IS ) ∼ self-action history . For m ∈ [ b I S ] m\in[b_{\mathrm{IS}}] m ∈ [ b IS ] , let a 0 i , k ( m ) a^{i,k^{(m)}}_0 a 0 i , k ( m ) be the clean action in z i , k ( m ) z^{i,k^{(m)}} z i , k ( m ) , with behavior iteration k ( m ) k^{(m)} k ( m ) , and compute
r i , k , k ( m ) ← ComputeWeight ( θ i , k , z i , k ( m ) , C ) , w ( m ) i ← b I S r i , k , k ( m ) ∑ j = 1 b I S r i , k , k ( m ) . r^{i,k,k^{(m)}}\leftarrow\operatorname{ComputeWeight}(\theta^{i,k},z^{i,k^{(m)}},C),\qquad w^i_{(m)}\leftarrow\frac{b_{\mathrm{IS}}r^{i,k,k^{(m)}}}{\sum_{j=1}^{b_{\mathrm{IS}}}r^{i,k,k^{(m)}}}. r i , k , k ( m ) ← ComputeWeight ( θ i , k , z i , k ( m ) , C ) , w ( m ) i ← ∑ j = 1 b IS r i , k , k ( m ) b IS r i , k , k ( m ) . For m ∈ [ B s e l f ] m\in[B_{\mathrm{self}}] m ∈ [ B self ] , estimate
u ^ i ( a ( m ) i ; π θ − i , k ) ← 1 L ∑ ℓ = 1 L w ~ ( ℓ ) − i u i ( a ( m ) i , a ~ ( ℓ ) − i , k ( ℓ ) ) . \widehat{u}^{i}\left(a^i_{(m)};\pi_{\theta^{-i,k}}\right)\leftarrow\frac{1}{L}\sum_{\ell=1}^{L}\widetilde{w}^{-i}_{(\ell)}u^i\left(a^i_{(m)},\widetilde{a}^{-i,k^{(\ell)}}_{(\ell)}\right). u i ( a ( m ) i ; π θ − i , k ) ← L 1 ℓ = 1 ∑ L w ( ℓ ) − i u i ( a ( m ) i , a ( ℓ ) − i , k ( ℓ ) ) . For m ∈ [ B s e l f ] m\in[B_{\mathrm{self}}] m ∈ [ B self ] , sample t ∼ Unif { 1 , … , T } t\sim\operatorname{Unif}\{1,\ldots,T\} t ∼ Unif { 1 , … , T } and ϵ ∼ N ( 0 , I ) \epsilon\sim\mathcal{N}(0,I) ϵ ∼ N ( 0 , I ) , and set
a t , ( m ) i ← α ‾ t a ( m ) i + 1 − α ‾ t ϵ . a^i_{t,(m)}\leftarrow\sqrt{\overline{\alpha}_t}a^i_{(m)}+\sqrt{1-\overline{\alpha}_t}\epsilon. a t , ( m ) i ← α t a ( m ) i + 1 − α t ϵ . Take one optimizer step from θ i , k , h − 1 \theta^{i,k,h-1} θ i , k , h − 1 on
L i , k , h ( θ ) = 1 B s e l f [ ∑ m = 1 b I S w ( m ) i exp ( u ^ i ( a t , ( m ) i , k ; π θ − i , k ) η ) ( 1 − α ‾ t ) ∥ s θ ( a t , ( m ) i , t ) + ϵ 1 − α ‾ t ∥ 2 2 + ∑ m = b I S + 1 B s e l f exp ( u ^ i ( a ( m ) i , k ; π θ − i , k ) η ) ( 1 − α ‾ t ) ∥ s θ ( a t , ( m ) i , t ) + ϵ 1 − α ‾ t ∥ 2 2 ] , \mathcal{L}^{i,k,h}(\theta)=\frac{1}{B_{\mathrm{self}}}\left[\sum_{m=1}^{b_{\mathrm{IS}}}w^i_{(m)}\exp\left(\frac{\widehat{u}^{i}(a^{i,k}_{t,(m)};\pi_{\theta^{-i,k}})}{\eta}\right)(1-\overline{\alpha}_t)\left\|s_\theta(a^i_{t,(m)},t)+\frac{\epsilon}{\sqrt{1-\overline{\alpha}_t}}\right\|_2^2+\sum_{m=b_{\mathrm{IS}}+1}^{B_{\mathrm{self}}}\exp\left(\frac{\widehat{u}^{i}(a^{i,k}_{(m)};\pi_{\theta^{-i,k}})}{\eta}\right)(1-\overline{\alpha}_t)\left\|s_\theta(a^i_{t,(m)},t)+\frac{\epsilon}{\sqrt{1-\overline{\alpha}_t}}\right\|_2^2\right], L i , k , h ( θ ) = B self 1 [ m = 1 ∑ b IS w ( m ) i exp ( η u i ( a t , ( m ) i , k ; π θ − i , k ) ) ( 1 − α t ) s θ ( a t , ( m ) i , t ) + 1 − α t ϵ 2 2 + m = b IS + 1 ∑ B self exp ( η u i ( a ( m ) i , k ; π θ − i , k ) ) ( 1 − α t ) s θ ( a t , ( m ) i , t ) + 1 − α t ϵ 2 2 ] , obtaining θ i , k , h \theta^{i,k,h} θ i , k , h .
end for
Set θ i , k + 1 ← θ i , k , H \theta^{i,k+1}\leftarrow\theta^{i,k,H} θ i , k + 1 ← θ i , k , H .
Draw R R R actions from π θ i , k + 1 \pi_{\theta^{i,k+1}} π θ i , k + 1 and apply PrepareSample with behavior parameters θ i , k + 1 \theta^{i,k+1} θ i , k + 1 ; append the resulting entries to both buffers and retain the most recent N b u f N_{\mathrm{buf}} N buf opponent entries.
end for
end for
return Π i , K = 1 K ∑ k = 1 K π θ i , k \Pi^{i,K}=\frac{1}{K}\sum_{k=1}^{K}\pi_{\theta^{i,k}} Π i , K = K 1 ∑ k = 1 K π θ i , k , i ∈ { 1 , 2 } i\in\{1,2\} i ∈ { 1 , 2 } .
Missing Proofs
Proof of Proposition 1
Proposition 1 (GWFP and OMD Loss). By choosing appropriate g O M D ( a t ) g_{\mathrm{OMD}}(\mathbf{a}_t) g OMD ( a t ) and g G W F P ( a t ) g_{\mathrm{GWFP}}(\mathbf{a}_t) g GWFP ( a t ) and substituting them into Equation (6) , we can equivalently write their loss functions as
L O M D ( θ ; t ) = E a 0 ∼ π i , k [ E a t ∼ q t ∣ 0 ( ⋅ ∣ a 0 ) [ exp ( 1 η u i ( a 0 ; π − i , k ) ) ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 ] ] . (14) \mathcal{L}_{\mathrm{OMD}}(\theta;t)=\mathbb{E}_{\mathbf{a}_0\sim\pi^{i,k}}\left[\mathbb{E}_{\mathbf{a}_t\sim q_{t|0}(\cdot|\mathbf{a}_0)}\left[\exp\left(\frac{1}{\eta}u^i(\mathbf{a}_0;\pi^{-i,k})\right)\left\|s_\theta(\mathbf{a}_t,t)-\nabla_{\mathbf{a}_t}\log q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\right\|_2^2\right]\right]. \tag*{(14)} L OMD ( θ ; t ) = E a 0 ∼ π i , k [ E a t ∼ q t ∣0 ( ⋅ ∣ a 0 ) [ exp ( η 1 u i ( a 0 ; π − i , k ) ) s θ ( a t , t ) − ∇ a t log q t ∣0 ( a t ∣ a 0 ) 2 2 ] ] . (14) and L G W F P ( θ ; t ) = E a t ∼ h t , a ~ 0 ∼ φ 0 ∣ t [ exp ( 1 η u i ( a ~ 0 ; Π − i , k ) ) ∥ s θ ( a t , t ) − ∇ a t log φ 0 ∣ t ( a ~ 0 ∣ a t ) ∥ 2 2 ] , (15) \text{and}\quad\mathcal{L}_{\mathrm{GWFP}}(\theta;t)=\mathbb{E}_{\mathbf{a}_t\sim h_t,\widetilde{\mathbf{a}}_0\sim\varphi_{0|t}}\left[\exp\left(\frac{1}{\eta}u^i(\widetilde{\mathbf{a}}_0;\Pi^{-i,k})\right)\left\|s_\theta(\mathbf{a}_t,t)-\nabla_{\mathbf{a}_t}\log\varphi_{0|t}(\widetilde{\mathbf{a}}_0\mid\mathbf{a}_t)\right\|_2^2\right], \tag*{(15)} and L GWFP ( θ ; t ) = E a t ∼ h t , a 0 ∼ φ 0∣ t [ exp ( η 1 u i ( a 0 ; Π − i , k ) ) s θ ( a t , t ) − ∇ a t log φ 0∣ t ( a 0 ∣ a t ) 2 2 ] , (15) where h t h_t h t is a density which is positive almost anywhere and φ 0 ∣ t ( a ~ 0 ∣ a t ) : = N ( a ~ 0 ; a t α ‾ t , 1 − α ‾ t α ‾ t I ) \varphi_{0|t}(\widetilde{\mathbf{a}}_0\mid\mathbf{a}_t):=\mathcal{N}\left(\widetilde{\mathbf{a}}_0;\frac{\mathbf{a}_t}{\sqrt{\overline{\alpha}_t}},\frac{1-\overline{\alpha}_t}{\overline{\alpha}_t}I\right) φ 0∣ t ( a 0 ∣ a t ) := N ( a 0 ; α t a t , α t 1 − α t I ) . For every t ∈ ( 0 , T ] t\in(0,T] t ∈ ( 0 , T ] , the minimizers of Equations (14) and (15) over s s s are the score functions of π t , O M D i , k + 1 ( a t ) \pi_{t,\mathrm{OMD}}^{i,k+1}(\mathbf{a}_t) π t , OMD i , k + 1 ( a t ) and π t , G W F P i , k + 1 ( a t ) \pi_{t,\mathrm{GWFP}}^{i,k+1}(\mathbf{a}_t) π t , GWFP i , k + 1 ( a t ) , respectively.
Proof. Fix player i i i , equilibrium-solving iteration k k k , and diffusion time t ∈ ( 0 , T ] t\in(0,T] t ∈ ( 0 , T ] . Recall that
q t ∣ 0 ( a t ∣ a 0 ) = N ( a t ; α ‾ t a 0 , ( 1 − α ‾ t ) I ) . q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)=\mathcal{N}\left(\mathbf{a}_t;\sqrt{\overline{\alpha}_t}\mathbf{a}_0,(1-\overline{\alpha}_t)I\right). q t ∣0 ( a t ∣ a 0 ) = N ( a t ; α t a 0 , ( 1 − α t ) I ) .
For either solver ∈ { G W F P , O M D } \in\{\mathrm{GWFP},\mathrm{OMD}\} ∈ { GWFP , OMD } , define
π t , s o l v e r i , k + 1 ( a t ) = ∫ π s o l v e r i , k + 1 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) d a 0 . \pi_{t,\mathrm{solver}}^{i,k+1}(\mathbf{a}_t)=\int\pi_{\mathrm{solver}}^{i,k+1}(\mathbf{a}_0)q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\,d\mathbf{a}_0. π t , solver i , k + 1 ( a t ) = ∫ π solver i , k + 1 ( a 0 ) q t ∣0 ( a t ∣ a 0 ) d a 0 .
We first recall the denoising score-matching identity. For any target density ρ 0 \rho_0 ρ 0 and its noised marginal
ρ t ( a t ) = ∫ ρ 0 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) d a 0 , \rho_t(\mathbf{a}_t)=\int\rho_0(\mathbf{a}_0)q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\,d\mathbf{a}_0, ρ t ( a t ) = ∫ ρ 0 ( a 0 ) q t ∣0 ( a t ∣ a 0 ) d a 0 ,
differentiating under the integral gives
∇ a t log ρ t ( a t ) = ∫ ρ 0 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) d a 0 ρ t ( a t ) = E a 0 ∼ ρ 0 ∣ t ( ⋅ ∣ a t ) [ ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ] . (16) \nabla_{\mathbf{a}_t}\log\rho_t(\mathbf{a}_t)=\frac{\int\rho_0(\mathbf{a}_0)q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\nabla_{\mathbf{a}_t}\log q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\,d\mathbf{a}_0}{\rho_t(\mathbf{a}_t)}
=\mathbb{E}_{\mathbf{a}_0\sim\rho_{0|t}(\cdot\mid\mathbf{a}_t)}\left[\nabla_{\mathbf{a}_t}\log q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\right]. \tag*{(16)} ∇ a t log ρ t ( a t ) = ρ t ( a t ) ∫ ρ 0 ( a 0 ) q t ∣0 ( a t ∣ a 0 ) ∇ a t log q t ∣0 ( a t ∣ a 0 ) d a 0 = E a 0 ∼ ρ 0∣ t ( ⋅ ∣ a t ) [ ∇ a t log q t ∣0 ( a t ∣ a 0 ) ] . (16)
For any nonnegative function w t ( a t ) w_t(\mathbf{a}_t) w t ( a t ) for which the expectations are finite,
∫ w t ( a t ) ρ t ( a t ) ∥ s θ ( a t , t ) − ∇ a t log ρ t ( a t ) ∥ 2 2 d a t = ∬ w t ( a t ) ρ 0 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 d a 0 d a t + C t , (17) \int w_t(\mathbf{a}_t)\rho_t(\mathbf{a}_t)\left\|s_\theta(\mathbf{a}_t,t)-\nabla_{\mathbf{a}_t}\log\rho_t(\mathbf{a}_t)\right\|_2^2\,d\mathbf{a}_t
=\iint w_t(\mathbf{a}_t)\rho_0(\mathbf{a}_0)q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\left\|s_\theta(\mathbf{a}_t,t)-\nabla_{\mathbf{a}_t}\log q_{t|0}(\mathbf{a}_t\mid\mathbf{a}_0)\right\|_2^2\,d\mathbf{a}_0\,d\mathbf{a}_t+C_t, \tag*{(17)} ∫ w t ( a t ) ρ t ( a t ) ∥ s θ ( a t , t ) − ∇ a t log ρ t ( a t ) ∥ 2 2 d a t = ∬ w t ( a t ) ρ 0 ( a 0 ) q t ∣0 ( a t ∣ a 0 ) s θ ( a t , t ) − ∇ a t log q t ∣0 ( a t ∣ a 0 ) 2 2 d a 0 d a t + C t , (17)
where C t C_t C t does not depend on θ \theta θ . This follows directly from Equation (16) by expanding the squared norms.
OMD. From Equation (4) , the OMD update is
π O M D i , k + 1 ( a 0 ) = 1 Z O M D i , k π i , k ( a 0 ) exp ( 1 η u i ( a 0 ; π − i , k ) ) . (18) \pi_{\mathrm{OMD}}^{i,k+1}(a_0)=\frac{1}{Z_{\mathrm{OMD}}^{i,k}}\pi^{i,k}(a_0)\exp\left(\frac{1}{\eta}u^i(a_0;\pi^{-i,k})\right). \tag*{(18)} π OMD i , k + 1 ( a 0 ) = Z OMD i , k 1 π i , k ( a 0 ) exp ( η 1 u i ( a 0 ; π − i , k ) ) . (18)
In Equation (6) , set p t = π O M D , t i , k + 1 p_t=\pi_{\mathrm{OMD},t}^{i,k+1} p t = π OMD , t i , k + 1 and choose
g O M D ( a t ) = Z O M D i , k π O M D , t i , k + 1 ( a t ) . (19) g_{\mathrm{OMD}}(a_t)=Z_{\mathrm{OMD}}^{i,k}\pi_{\mathrm{OMD},t}^{i,k+1}(a_t). \tag*{(19)} g OMD ( a t ) = Z OMD i , k π OMD , t i , k + 1 ( a t ) . (19)
Substituting both p t p_t p t and g O M D g_{\mathrm{OMD}} g OMD into Equation (6) gives
L O M D ( θ ; t ) = Z O M D i , k ∫ π O M D , t i , k + 1 ( a t ) ∥ s θ ( a t , t ) − ∇ a t log π O M D , t i , k + 1 ( a t ) ∥ 2 2 d a t . \mathcal{L}^{\mathrm{OMD}}(\theta;t)=Z_{\mathrm{OMD}}^{i,k}\int\pi_{\mathrm{OMD},t}^{i,k+1}(a_t)\left\lVert s_\theta(a_t,t)-\nabla_{a_t}\log\pi_{\mathrm{OMD},t}^{i,k+1}(a_t)\right\rVert_2^2\,\mathrm{d}a_t. L OMD ( θ ; t ) = Z OMD i , k ∫ π OMD , t i , k + 1 ( a t ) s θ ( a t , t ) − ∇ a t log π OMD , t i , k + 1 ( a t ) 2 2 d a t .
Then apply Equation (17) with
ρ 0 = π O M D i , k + 1 , ρ t = π O M D , t i , k + 1 , w t ( a t ) = Z O M D i , k . \rho_0=\pi_{\mathrm{OMD}}^{i,k+1},\qquad\rho_t=\pi_{\mathrm{OMD},t}^{i,k+1},\qquad w_t(a_t)=Z_{\mathrm{OMD}}^{i,k}. ρ 0 = π OMD i , k + 1 , ρ t = π OMD , t i , k + 1 , w t ( a t ) = Z OMD i , k .
Then
L O M D ( θ ; t ) = Z O M D i , k ∬ π O M D i , k + 1 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 d a 0 d a t + C t O M D , \mathcal{L}^{\mathrm{OMD}}(\theta;t)=Z_{\mathrm{OMD}}^{i,k}\iint\pi_{\mathrm{OMD}}^{i,k+1}(a_0)q_{t\mid0}(a_t\mid a_0)\left\lVert s_\theta(a_t,t)-\nabla_{a_t}\log q_{t\mid0}(a_t\mid a_0)\right\rVert_2^2\,\mathrm{d}a_0\,\mathrm{d}a_t+C_t^{\mathrm{OMD}}, L OMD ( θ ; t ) = Z OMD i , k ∬ π OMD i , k + 1 ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) 2 2 d a 0 d a t + C t OMD ,
where C t O M D C_t^{\mathrm{OMD}} C t OMD does not depend on θ \theta θ . Substituting the OMD update and cancelling Z O M D i , k Z_{\mathrm{OMD}}^{i,k} Z OMD i , k yields
L O M D ( θ ; t ) = ∬ π i , k ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) exp ( 1 η u i ( a 0 ; π − i , k ) ) × ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 d a 0 d a t + C t O M D = E a 0 ∼ π i , k [ E a t ∼ q t ∣ 0 ( ⋅ ∣ a 0 ) [ exp ( 1 η u i ( a 0 ; π − i , k ) ) ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 ] ] + C t O M D , \begin{aligned}
\mathcal{L}^{\mathrm{OMD}}(\theta;t)
&=\iint\pi^{i,k}(a_0)q_{t\mid0}(a_t\mid a_0)\exp\left(\frac{1}{\eta}u^i(a_0;\pi^{-i,k})\right)\\
&\qquad\times\left\lVert s_\theta(a_t,t)-\nabla_{a_t}\log q_{t\mid0}(a_t\mid a_0)\right\rVert_2^2\,\mathrm{d}a_0\,\mathrm{d}a_t+C_t^{\mathrm{OMD}}\\
&=\mathbb{E}_{a_0\sim\pi^{i,k}}\left[\mathbb{E}_{a_t\sim q_{t\mid0}(\cdot\mid a_0)}\left[\exp\left(\frac{1}{\eta}u^i(a_0;\pi^{-i,k})\right)\left\lVert s_\theta(a_t,t)-\nabla_{a_t}\log q_{t\mid0}(a_t\mid a_0)\right\rVert_2^2\right]\right]+C_t^{\mathrm{OMD}},
\end{aligned} L OMD ( θ ; t ) = ∬ π i , k ( a 0 ) q t ∣ 0 ( a t ∣ a 0 ) exp ( η 1 u i ( a 0 ; π − i , k ) ) × s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) 2 2 d a 0 d a t + C t OMD = E a 0 ∼ π i , k [ E a t ∼ q t ∣ 0 ( ⋅ ∣ a 0 ) [ exp ( η 1 u i ( a 0 ; π − i , k ) ) s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) 2 2 ] ] + C t OMD ,
which is Equation (14) up to an additive constant independent of θ \theta θ .
GWFP. From Equation (5) , the GWFP target is
π G W F P i , k + 1 ( a 0 ) = 1 Z G W F P i , k exp ( 1 η k u i ( a 0 ; Π − i , k ) ) , (20) \pi_{\mathrm{GWFP}}^{i,k+1}(a_0)=\frac{1}{Z_{\mathrm{GWFP}}^{i,k}}\exp\left(\frac{1}{\eta^k}u^i(a_0;\Pi^{-i,k})\right), \tag*{(20)} π GWFP i , k + 1 ( a 0 ) = Z GWFP i , k 1 exp ( η k 1 u i ( a 0 ; Π − i , k ) ) , (20)
where Z G W F P i , k Z_{\mathrm{GWFP}}^{i,k} Z GWFP i , k is the corresponding normalization constant. In Equation (6) , set p t = π G W F P , t i , k + 1 p_t=\pi_{\mathrm{GWFP},t}^{i,k+1} p t = π GWFP , t i , k + 1 and choose
g G W F P ( a t ) = α ˉ t d i / 2 Z G W F P i , k h t ( a t ) π G W F P , t i , k + 1 ( a t ) , (21) g_{\mathrm{GWFP}}(a_t)=\bar{\alpha}_t^{d_i/2}Z_{\mathrm{GWFP}}^{i,k}h_t(a_t)\pi_{\mathrm{GWFP},t}^{i,k+1}(a_t), \tag*{(21)} g GWFP ( a t ) = α ˉ t d i /2 Z GWFP i , k h t ( a t ) π GWFP , t i , k + 1 ( a t ) , (21)
where d i d_i d i is player i i i ’s action dimension. Substituting both p t p_t p t and g G W F P g_{\mathrm{GWFP}} g GWFP into Equation (6) and applying Equation (17) gives
L G W F P ( θ ; t ) = α ˉ t d i / 2 ∬ h t ( a t ) exp ( 1 η k u i ( a 0 ; Π − i , k ) ) q t ∣ 0 ( a t ∣ a 0 ) ∥ s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) ∥ 2 2 d a 0 d a t + C t G W F P . (22) \mathcal{L}^{\mathrm{GWFP}}(\theta;t)=\bar{\alpha}_t^{d_i/2}\iint h_t(a_t)\exp\left(\frac{1}{\eta^k}u^i(a_0;\Pi^{-i,k})\right)q_{t\mid0}(a_t\mid a_0)\left\lVert s_\theta(a_t,t)-\nabla_{a_t}\log q_{t\mid0}(a_t\mid a_0)\right\rVert_2^2\,\mathrm{d}a_0\,\mathrm{d}a_t+C_t^{\mathrm{GWFP}}. \tag*{(22)} L GWFP ( θ ; t ) = α ˉ t d i /2 ∬ h t ( a t ) exp ( η k 1 u i ( a 0 ; Π − i , k ) ) q t ∣ 0 ( a t ∣ a 0 ) s θ ( a t , t ) − ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) 2 2 d a 0 d a t + C t GWFP . (22)
Now define
ϕ 0 ∣ t ( a 0 ∣ a t ) = N ( a 0 ; a t α ˉ t , 1 − α ˉ t α ˉ t I ) . \phi_{0\mid t}(a_0\mid a_t)=\mathcal{N}\left(a_0;\frac{a_t}{\sqrt{\bar{\alpha}_t}},\frac{1-\bar{\alpha}_t}{\bar{\alpha}_t}I\right). ϕ 0 ∣ t ( a 0 ∣ a t ) = N ( a 0 ; α ˉ t a t , α ˉ t 1 − α ˉ t I ) .
Comparing the Gaussian densities gives
ϕ 0 ∣ t ( a 0 ∣ a t ) = α ˉ t d i / 2 q t ∣ 0 ( a t ∣ a 0 ) , (23) \phi_{0|t}(\mathbf{a}_0 \mid\mathbf{a}_t) = \bar{\alpha}_t^{d_i/2} q_{t|0}(\mathbf{a}_t \mid\mathbf{a}_0), \tag*{(23)} ϕ 0∣ t ( a 0 ∣ a t ) = α ˉ t d i /2 q t ∣0 ( a t ∣ a 0 ) , (23)
and therefore
∇ a t log ϕ 0 ∣ t ( a 0 ∣ a t ) = ∇ a t log q t ∣ 0 ( a t ∣ a 0 ) = − a t − α ˉ t a 0 1 − α ˉ t . (24) \nabla_{\mathbf{a}_t} \log\phi_{0|t}(\mathbf{a}_0 \mid\mathbf{a}_t) = \nabla_{\mathbf{a}_t} \log q_{t|0}(\mathbf{a}_t \mid\mathbf{a}_0) = -\frac{\mathbf{a}_t - \sqrt{\bar{\alpha}_t}\mathbf{a}_0}{1-\bar{\alpha}_t}. \tag*{(24)} ∇ a t log ϕ 0∣ t ( a 0 ∣ a t ) = ∇ a t log q t ∣0 ( a t ∣ a 0 ) = − 1 − α ˉ t a t − α ˉ t a 0 . (24)
Applying Equations Equations (23) and (24) to Equation (22) yields
L G W F P ( θ ; t ) = E a t ∼ h t a ~ 0 ∼ ϕ 0 ∣ t ( ⋅ ∣ a t ) [ exp ( 1 η k u i ( a ~ 0 ; Π − i , k ) ) ∥ s θ ( a t , t ) − ∇ a t log ϕ 0 ∣ t ( a ~ 0 ∣ a t ) ∥ 2 2 ] + C t G W F P , (25) \mathcal{L}^{\mathrm{GWFP}}(\theta;t) = \mathbb{E}_{\substack{\mathbf{a}_t\sim h_t\\\tilde{\mathbf{a}}_0\sim\phi_{0|t}(\cdot\mid\mathbf{a}_t)}}\left[\exp\left(\frac{1}{\eta^k}u^i(\tilde{\mathbf{a}}_0;\Pi^{-i,k})\right)\left\|s_\theta(\mathbf{a}_t,t)-\nabla_{\mathbf{a}_t}\log\phi_{0|t}(\tilde{\mathbf{a}}_0\mid\mathbf{a}_t)\right\|_2^2\right]+C_t^{\mathrm{GWFP}}, \tag*{(25)} L GWFP ( θ ; t ) = E a t ∼ h t a ~ 0 ∼ ϕ 0∣ t ( ⋅ ∣ a t ) [ exp ( η k 1 u i ( a ~ 0 ; Π − i , k ) ) s θ ( a t , t ) − ∇ a t log ϕ 0∣ t ( a ~ 0 ∣ a t ) 2 2 ] + C t GWFP , (25)
which is the GWFP loss up to an additive constant independent of θ \theta θ .
Finally, Gaussian corruption implies π t , G W F P i , k + 1 ( a t ) > 0 \pi_{t,\mathrm{GWFP}}^{i,k+1}(\mathbf{a}_t)>0 π t , GWFP i , k + 1 ( a t ) > 0 and π t , O M D i , k + 1 ( a t ) > 0 \pi_{t,\mathrm{OMD}}^{i,k+1}(\mathbf{a}_t)>0 π t , OMD i , k + 1 ( a t ) > 0 for t > 0 t>0 t > 0 . Because h t h_t h t is strictly positive on its support, both g G W F P g_{\mathrm{GWFP}} g GWFP and g O M D g_{\mathrm{OMD}} g OMD are positive almost everywhere. Equation (6) is therefore globally minimized precisely when
s θ ( a t , t ) = ∇ a t log π t , s o l v e r i , k + 1 ( a t ) s_\theta(\mathbf{a}_t,t)=\nabla_{\mathbf{a}_t}\log\pi_{t,\mathrm{solver}}^{i,k+1}(\mathbf{a}_t) s θ ( a t , t ) = ∇ a t log π t , solver i , k + 1 ( a t )
almost everywhere. This proves the result for both s o l v e r ∈ { G W F P , O M D } \mathrm{solver}\in\{\mathrm{GWFP},\mathrm{OMD}\} solver ∈ { GWFP , OMD } .
Proof of prop:elbo-difference
Proposition 2. Suppose π k , ( ℓ ) \pi^{k,(\ell)} π k , ( ℓ ) and π k \pi^k π k share the same forward-noising schedule { β t } t = 1 T \{\beta_t\}_{t=1}^{T} { β t } t = 1 T . Denote D ( θ ; a 0 , t , ϵ ) = C t ∥ s θ ( a t , t ) + ϵ 1 − α ˉ t ∥ 2 2 D(\theta;\mathbf{a}_0,t,\epsilon)=C_t\left\|s_\theta(\mathbf{a}_t,t)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right\|_2^2 D ( θ ; a 0 , t , ϵ ) = C t s θ ( a t , t ) + 1 − α ˉ t ϵ 2 2 , where C t C_t C t a constant and a t = α ˉ t a 0 + 1 − α ˉ t ϵ \mathbf{a}_t=\sqrt{\bar{\alpha}_t}\mathbf{a}_0+\sqrt{1-\bar{\alpha}_t}\epsilon a t = α ˉ t a 0 + 1 − α ˉ t ϵ . If t ∼ Unif { 1 , … , T } t\sim\operatorname{Unif}\{1,\ldots,T\} t ∼ Unif { 1 , … , T } and ϵ ∼ N ( 0 , I ) \epsilon\sim\mathcal{N}(0,I) ϵ ∼ N ( 0 , I ) , then Δ ^ k , k , ( ℓ ) : = T ( D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ) \widehat{\Delta}^{k,k,(\ell)}:=T\left(D(\theta^{k,(\ell)};\mathbf{a}_0,t,\epsilon)-D(\theta^k;\mathbf{a}_0,t,\epsilon)\right) Δ k , k , ( ℓ ) := T ( D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ) is ELBO difference’s unbiased estimator: E t , ϵ [ Δ ^ k , k , ( ℓ ) ] = E L B O k ( a 0 ) − E L B O k , ( ℓ ) ( a 0 ) \mathbb{E}_{t,\epsilon}[\widehat{\Delta}^{k,k,(\ell)}]=\mathrm{ELBO}^{k}(\mathbf{a}_0)-\mathrm{ELBO}^{k,(\ell)}(\mathbf{a}_0) E t , ϵ [ Δ k , k , ( ℓ ) ] = ELBO k ( a 0 ) − ELBO k , ( ℓ ) ( a 0 ) .
Proof. Fix a 0 \mathbf{a}_0 a 0 . By the ELBO decomposition in Ho et al. [ [16 ] ,
E L B O θ ( a 0 ) = E q ( a 1 ∣ a 0 ) [ log p θ ( a 0 ∣ a 1 ) ] − ∑ t = 2 T E q ( a t ∣ a 0 ) [ D K L ( q ( a t − 1 ∣ a t , a 0 ) ∥ p θ ( a t − 1 ∣ a t ) ) ] − D K L ( q ( a T ∣ a 0 ) ∥ p ( a T ) ) . (26) \mathrm{ELBO}_\theta(\mathbf{a}_0)=\mathbb{E}_{q(\mathbf{a}_1\mid\mathbf{a}_0)}\left[\log p_\theta(\mathbf{a}_0\mid\mathbf{a}_1)\right]-\sum_{t=2}^{T}\mathbb{E}_{q(\mathbf{a}_t\mid\mathbf{a}_0)}\left[D_{\mathrm{KL}}\left(q(\mathbf{a}_{t-1}\mid\mathbf{a}_t,\mathbf{a}_0)\mathbin{\|}p_\theta(\mathbf{a}_{t-1}\mid\mathbf{a}_t)\right)\right]-D_{\mathrm{KL}}\left(q(\mathbf{a}_T\mid\mathbf{a}_0)\mathbin{\|}p(\mathbf{a}_T)\right). \tag*{(26)} ELBO θ ( a 0 ) = E q ( a 1 ∣ a 0 ) [ log p θ ( a 0 ∣ a 1 ) ] − t = 2 ∑ T E q ( a t ∣ a 0 ) [ D KL ( q ( a t − 1 ∣ a t , a 0 ) ∥ p θ ( a t − 1 ∣ a t ) ) ] − D KL ( q ( a T ∣ a 0 ) ∥ p ( a T ) ) . (26)
Under the forward process,
a t = α ˉ t a 0 + 1 − α ˉ t ϵ , ϵ ∼ N ( 0 , I ) . \mathbf{a}_t=\sqrt{\bar{\alpha}_t}\mathbf{a}_0+\sqrt{1-\bar{\alpha}_t}\epsilon,\qquad\epsilon\sim\mathcal{N}(0,I). a t = α ˉ t a 0 + 1 − α ˉ t ϵ , ϵ ∼ N ( 0 , I ) .
This implies
ϵ = a t − α ˉ t a 0 1 − α ˉ t . (27) \epsilon=\frac{\mathbf{a}_t-\sqrt{\bar{\alpha}_t}\mathbf{a}_0}{\sqrt{1-\bar{\alpha}_t}}. \tag*{(27)} ϵ = 1 − α ˉ t a t − α ˉ t a 0 . (27)
Proof Strategy. We first express the reconstruction term and each denoising KL term as an expectation of D ( θ ; a 0 , t , ϵ ) D(\theta; a_0, t, \epsilon) D ( θ ; a 0 , t , ϵ ) , with additive constants independent of θ \theta θ . We then subtract the two ELBOs: the shared terminal prior KL term and additive constants cancel, leaving a difference of expected D D D terms from which we construct an unbiased estimator.
Denoising KL Terms. Our goal here is to prove that D K L ( q ( a t − 1 ∣ a t , a 0 ) ∥ p θ ( a t − 1 ∣ a t ) ) D_{\mathrm{KL}}\left(q(a_{t-1} \mid a_t, a_0) \mathbin\Vert p_\theta(a_{t-1} \mid a_t)\right) D KL ( q ( a t − 1 ∣ a t , a 0 ) ∥ p θ ( a t − 1 ∣ a t ) ) is equivalent to D ( θ ; a 0 , t , ϵ ) D(\theta; a_0, t, \epsilon) D ( θ ; a 0 , t , ϵ ) up to a constant that does not depend on θ \theta θ .
For t ≥ 2 t \ge2 t ≥ 2 , citing Equation 6 in Ho et al. [ [16 ] we know that:
q ( a t − 1 ∣ a t , a 0 ) = N ( a t − 1 ; μ ~ t ( a t , a 0 ) , β ~ t I ) , (28) q(a_{t-1} \mid a_t, a_0) = \mathcal{N}\left(a_{t-1}; \tilde{\mu}_t(a_t, a_0), \tilde{\beta}_t I\right), \tag*{(28)} q ( a t − 1 ∣ a t , a 0 ) = N ( a t − 1 ; μ ~ t ( a t , a 0 ) , β ~ t I ) , (28)
where β ~ t = 1 − α ˉ t − 1 1 − α ˉ t β t \tilde{\beta}_t = \frac{1-\bar{\alpha}_{t-1}}{1-\bar{\alpha}_t}\beta_t β ~ t = 1 − α ˉ t 1 − α ˉ t − 1 β t and μ ~ t ( a t , a 0 ) = α ˉ t − 1 β t 1 − α ˉ t a 0 + α t ( 1 − α ˉ t − 1 ) 1 − α ˉ t a t \tilde{\mu}_t(a_t, a_0) = \frac{\sqrt{\bar{\alpha}_{t-1}}\beta_t}{1-\bar{\alpha}_t}a_0 + \frac{\sqrt{\alpha_t}(1-\bar{\alpha}_{t-1})}{1-\bar{\alpha}_t}a_t μ ~ t ( a t , a 0 ) = 1 − α ˉ t α ˉ t − 1 β t a 0 + 1 − α ˉ t α t ( 1 − α ˉ t − 1 ) a t .
Use Equation (27) and α ˉ t = α t α ˉ t − 1 \bar{\alpha}_t = \alpha_t\bar{\alpha}_{t-1} α ˉ t = α t α ˉ t − 1 , we can rewrite this mean μ ~ t ( a t , a 0 ) \tilde{\mu}_t(a_t, a_0) μ ~ t ( a t , a 0 ) in terms of ϵ \epsilon ϵ :
1 α t ( a t − β t 1 − α ˉ t ϵ ) = 1 α t ( a t − β t 1 − α ˉ t ( a t − α ˉ t a 0 ) ) = 1 − α ˉ t − β t α t ( 1 − α ˉ t ) a t + β t α ˉ t α t ( 1 − α ˉ t ) a 0 = α t ( 1 − α ˉ t − 1 ) 1 − α ˉ t a t + β t α ˉ t − 1 1 − α ˉ t a 0 = μ ~ t ( a t , a 0 ) . (29) \begin{aligned}
\frac{1}{\sqrt{\alpha_t}}\left(a_t-\frac{\beta_t}{\sqrt{1-\bar{\alpha}_t}}\epsilon\right)
&=\frac{1}{\sqrt{\alpha_t}}\left(a_t-\frac{\beta_t}{1-\bar{\alpha}_t}\left(a_t-\sqrt{\bar{\alpha}_t}a_0\right)\right)\\
&=\frac{1-\bar{\alpha}_t-\beta_t}{\sqrt{\alpha_t}(1-\bar{\alpha}_t)}a_t+\frac{\beta_t\sqrt{\bar{\alpha}_t}}{\sqrt{\alpha_t}(1-\bar{\alpha}_t)}a_0\\
&=\frac{\sqrt{\alpha_t}(1-\bar{\alpha}_{t-1})}{1-\bar{\alpha}_t}a_t+\frac{\beta_t\sqrt{\bar{\alpha}_{t-1}}}{1-\bar{\alpha}_t}a_0\\
&=\tilde{\mu}_t(a_t,a_0). \tag*{(29)}
\end{aligned} α t 1 ( a t − 1 − α ˉ t β t ϵ ) = α t 1 ( a t − 1 − α ˉ t β t ( a t − α ˉ t a 0 ) ) = α t ( 1 − α ˉ t ) 1 − α ˉ t − β t a t + α t ( 1 − α ˉ t ) β t α ˉ t a 0 = 1 − α ˉ t α t ( 1 − α ˉ t − 1 ) a t + 1 − α ˉ t β t α ˉ t − 1 a 0 = μ ~ t ( a t , a 0 ) . (29)
To obtain the third equality above, we use the identity 1 − α ˉ t − β t = α t ( 1 − α ˉ t − 1 ) 1-\bar{\alpha}_t-\beta_t=\alpha_t(1-\bar{\alpha}_{t-1}) 1 − α ˉ t − β t = α t ( 1 − α ˉ t − 1 ) .
Now we focus on the reverse transition which has fixed covariance p θ ( a t − 1 ∣ a t ) = N ( a t − 1 ; μ θ ( a t , t ) , σ t 2 I ) p_\theta(a_{t-1}\mid a_t)=\mathcal{N}(a_{t-1};\mu_\theta(a_t,t),\sigma_t^2 I) p θ ( a t − 1 ∣ a t ) = N ( a t − 1 ; μ θ ( a t , t ) , σ t 2 I ) with score-parameterized mean μ θ ( a t , t ) = 1 α t ( a t + β t s θ ( a t , t ) ) \mu_\theta(a_t,t)=\frac{1}{\sqrt{\alpha_t}}(a_t+\beta_t s_\theta(a_t,t)) μ θ ( a t , t ) = α t 1 ( a t + β t s θ ( a t , t )) . Subtracting the two means gives
μ ~ t ( a t , a 0 ) − μ θ ( a t , t ) = 1 α t [ a t − β t 1 − α ˉ t ϵ − a t − β t s θ ( a t , t ) ] = − β t α t ( s θ ( a t , t ) + ϵ 1 − α ˉ t ) . (30) \begin{aligned}
\tilde{\mu}_t(a_t,a_0)-\mu_\theta(a_t,t)
&=\frac{1}{\sqrt{\alpha_t}}\left[a_t-\frac{\beta_t}{\sqrt{1-\bar{\alpha}_t}}\epsilon-a_t-\beta_t s_\theta(a_t,t)\right]\\
&=-\frac{\beta_t}{\sqrt{\alpha_t}}\left(s_\theta(a_t,t)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right). \tag*{(30)}
\end{aligned} μ ~ t ( a t , a 0 ) − μ θ ( a t , t ) = α t 1 [ a t − 1 − α ˉ t β t ϵ − a t − β t s θ ( a t , t ) ] = − α t β t ( s θ ( a t , t ) + 1 − α ˉ t ϵ ) . (30)
Consequently,
∥ μ ~ t − μ θ ∥ 2 2 = β t 2 α t ∥ s θ ( a t , t ) + ϵ 1 − α ˉ t ∥ 2 2 . (31) \left\|\tilde{\mu}_t-\mu_\theta\right\|_2^2=\frac{\beta_t^2}{\alpha_t}\left\|s_\theta(a_t,t)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right\|_2^2. \tag*{(31)} ∥ μ ~ t − μ θ ∥ 2 2 = α t β t 2 s θ ( a t , t ) + 1 − α ˉ t ϵ 2 2 . (31)
Recall d d d is the dimension of a t a_t a t . Now we can focus on the denoising KL terms. Note the KL between these two Gaussians is
D K L ( q ( a t − 1 ∣ a t , a 0 ) ∥ p θ ( a t − 1 ∣ a t ) ) = 1 2 [ d β ~ t σ t 2 − d + d log σ t 2 β ~ t + ∥ μ ~ t − μ θ ∥ 2 2 σ t 2 ] . D_{\mathrm{KL}}\left(q(a_{t-1}\mid a_t,a_0)\mathbin\Vert p_\theta(a_{t-1}\mid a_t)\right)=\frac{1}{2}\left[d\frac{\tilde{\beta}_t}{\sigma_t^2}-d+d\log\frac{\sigma_t^2}{\tilde{\beta}_t}+\frac{\left\|\tilde{\mu}_t-\mu_\theta\right\|_2^2}{\sigma_t^2}\right]. D KL ( q ( a t − 1 ∣ a t , a 0 ) ∥ p θ ( a t − 1 ∣ a t ) ) = 2 1 [ d σ t 2 β ~ t − d + d log β ~ t σ t 2 + σ t 2 ∥ μ ~ t − μ θ ∥ 2 2 ] .
Plug in the expression of mean difference in Equation (31) we obtain
D K L ( q ∥ p θ ) = d 2 ( β ~ t σ t 2 − 1 + log σ t 2 β ~ t ) + β t 2 2 σ t 2 α t ⏟ C t ∥ s θ ( a t , t ) + ϵ 1 − α ˉ t ∥ 2 2 = c t + D ( θ ; a 0 , t , ϵ ) . D_{\mathrm{KL}}(q\mathbin\Vert p_\theta)=\frac{d}{2}\left(\frac{\tilde{\beta}_t}{\sigma_t^2}-1+\log\frac{\sigma_t^2}{\tilde{\beta}_t}\right)+\underbrace{\frac{\beta_t^2}{2\sigma_t^2\alpha_t}}_{C_t}\left\|s_\theta(a_t,t)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_t}}\right\|_2^2=c_t+D(\theta;a_0,t,\epsilon). D KL ( q ∥ p θ ) = 2 d ( σ t 2 β ~ t − 1 + log β ~ t σ t 2 ) + C t 2 σ t 2 α t β t 2 s θ ( a t , t ) + 1 − α ˉ t ϵ 2 2 = c t + D ( θ ; a 0 , t , ϵ ) .
We denote C t = β t 2 2 σ t 2 α t C_t = \frac{\beta_t^2}{2\sigma_t^2\alpha_t} C t = 2 σ t 2 α t β t 2 , a constant that does not depend on θ \theta θ . This finishes our goal that the denoising KL term is equivalent to D ( θ ; a 0 , t , ϵ ) D(\theta; \mathbf{a}_0, t, \epsilon) D ( θ ; a 0 , t , ϵ ) .
Reconstruction Term We next consider the reconstruction term at t = 1 t = 1 t = 1 . Since α ˉ 1 = α 1 \bar{\alpha}_1 = \alpha_1 α ˉ 1 = α 1 and 1 − α ˉ 1 = β 1 1-\bar{\alpha}_1 = \beta_1 1 − α ˉ 1 = β 1 , the forward sample satisfies a 1 = α 1 a 0 + β 1 ϵ \mathbf{a}_1 = \sqrt{\alpha_1}\mathbf{a}_0+\sqrt{\beta_1}\epsilon a 1 = α 1 a 0 + β 1 ϵ . Therefore, we can rewrite a 0 = a 1 − β 1 ϵ α 1 \mathbf{a}_0 = \frac{\mathbf{a}_1-\sqrt{\beta_1}\epsilon}{\sqrt{\alpha_1}} a 0 = α 1 a 1 − β 1 ϵ . Subtracting the reverse-model mean μ θ ( a 1 , 1 ) \mu_\theta(\mathbf{a}_1, 1) μ θ ( a 1 , 1 ) gives
a 0 − μ θ ( a 1 , 1 ) = a 1 − β 1 ϵ − a 1 − β 1 s θ ( a 1 , 1 ) α 1 = − β 1 α 1 ( s θ ( a 1 , 1 ) + ϵ β 1 ) . (32) \begin{aligned}
\mathbf{a}_0-\mu_\theta(\mathbf{a}_1,1) &= \frac{\mathbf{a}_1-\sqrt{\beta_1}\epsilon-\mathbf{a}_1-\beta_1s_\theta(\mathbf{a}_1,1)}{\sqrt{\alpha_1}} \\
&= -\frac{\beta_1}{\sqrt{\alpha_1}}\left(s_\theta(\mathbf{a}_1,1)+\frac{\epsilon}{\sqrt{\beta_1}}\right). \tag*{(32)}
\end{aligned} a 0 − μ θ ( a 1 , 1 ) = α 1 a 1 − β 1 ϵ − a 1 − β 1 s θ ( a 1 , 1 ) = − α 1 β 1 ( s θ ( a 1 , 1 ) + β 1 ϵ ) . (32)
For the Gaussian decoder p θ ( a 0 ∣ a 1 ) = N ( a 0 ; μ θ ( a 1 , 1 ) , σ 1 2 I ) p_\theta(\mathbf{a}_0 \mid\mathbf{a}_1) = \mathcal{N}(\mathbf{a}_0; \mu_\theta(\mathbf{a}_1,1), \sigma_1^2 I) p θ ( a 0 ∣ a 1 ) = N ( a 0 ; μ θ ( a 1 , 1 ) , σ 1 2 I ) with fixed σ 1 2 > 0 \sigma_1^2 > 0 σ 1 2 > 0 , by plugging in Equation (32) , we obtain
log p θ ( a 0 ∣ a 1 ) = − d 2 log ( 2 π σ 1 2 ) − ∥ a 0 − μ θ ( a 1 , 1 ) ∥ 2 2 2 σ 1 2 = − d 2 log ( 2 π σ 1 2 ) − β 1 2 2 σ 1 2 α 1 ⏟ C 1 ∥ s θ ( a 1 , 1 ) + ϵ 1 − α ˉ 1 ∥ 2 2 = − d 2 log ( 2 π σ 1 2 ) − D ( θ ; a 0 , 1 , ϵ ) . (33) \begin{aligned}
\log p_\theta(\mathbf{a}_0 \mid\mathbf{a}_1) &= -\frac{d}{2}\log(2\pi\sigma_1^2)-\frac{\lVert\mathbf{a}_0-\mu_\theta(\mathbf{a}_1,1)\rVert_2^2}{2\sigma_1^2} \\
&= -\frac{d}{2}\log(2\pi\sigma_1^2)-\underbrace{\frac{\beta_1^2}{2\sigma_1^2\alpha_1}}_{C_1}\left\lVert s_\theta(\mathbf{a}_1,1)+\frac{\epsilon}{\sqrt{1-\bar{\alpha}_1}}\right\rVert_2^2 \\
&= -\frac{d}{2}\log(2\pi\sigma_1^2)-D(\theta;\mathbf{a}_0,1,\epsilon). \tag*{(33)}
\end{aligned} log p θ ( a 0 ∣ a 1 ) = − 2 d log ( 2 π σ 1 2 ) − 2 σ 1 2 ∥ a 0 − μ θ ( a 1 , 1 ) ∥ 2 2 = − 2 d log ( 2 π σ 1 2 ) − C 1 2 σ 1 2 α 1 β 1 2 s θ ( a 1 , 1 ) + 1 − α ˉ 1 ϵ 2 2 = − 2 d log ( 2 π σ 1 2 ) − D ( θ ; a 0 , 1 , ϵ ) . (33)
The coefficient C 1 C_1 C 1 has the same form as C t = β t 2 2 σ t 2 α t C_t = \frac{\beta_t^2}{2\sigma_t^2\alpha_t} C t = 2 σ t 2 α t β t 2 for t ≥ 2 t \ge2 t ≥ 2 .
Combining the Reconstruction Term and the denoising KL term Because the two policy iterates share the same forward schedule, reverse-variance schedule, and terminal prior, the same const ( a 0 ) \operatorname{const}(\mathbf{a}_0) const ( a 0 ) applies to both. Consequently, the constant terms get cancelled and we obtain
ELBO k ( a 0 ) − ELBO k , ( ℓ ) ( a 0 ) = ∑ t = 1 T E ϵ [ D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ] . (34) \operatorname{ELBO}^{k}(\mathbf{a}_0)-\operatorname{ELBO}^{k,(\ell)}(\mathbf{a}_0)=\sum_{t=1}^{T}\mathbb{E}_{\epsilon}\left[D(\theta^{k,(\ell)};\mathbf{a}_0,t,\epsilon)-D(\theta^{k};\mathbf{a}_0,t,\epsilon)\right]. \tag*{(34)} ELBO k ( a 0 ) − ELBO k , ( ℓ ) ( a 0 ) = t = 1 ∑ T E ϵ [ D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ] . (34)
Finally, because t ∼ Unif { 1 , … , T } t \sim\operatorname{Unif}\{1,\ldots,T\} t ∼ Unif { 1 , … , T } ,
E t , ϵ [ Δ ^ k , k , ( ℓ ) ] = T E t , ϵ [ D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ] = ∑ t = 1 T E ϵ [ D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ] = ELBO k , ( ℓ ) ( a 0 ) − ELBO k ( a 0 ) . \begin{aligned}
\mathbb{E}_{t,\epsilon}\left[\widehat{\Delta}^{k,k,(\ell)}\right] &= T\mathbb{E}_{t,\epsilon}\left[D(\theta^{k,(\ell)};\mathbf{a}_0,t,\epsilon)-D(\theta^{k};\mathbf{a}_0,t,\epsilon)\right] \\
&= \sum_{t=1}^{T}\mathbb{E}_{\epsilon}\left[D(\theta^{k,(\ell)};\mathbf{a}_0,t,\epsilon)-D(\theta^{k};\mathbf{a}_0,t,\epsilon)\right] \\
&= \operatorname{ELBO}^{k,(\ell)}(\mathbf{a}_0)-\operatorname{ELBO}^{k}(\mathbf{a}_0).
\end{aligned} E t , ϵ [ Δ k , k , ( ℓ ) ] = T E t , ϵ [ D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ] = t = 1 ∑ T E ϵ [ D ( θ k , ( ℓ ) ; a 0 , t , ϵ ) − D ( θ k ; a 0 , t , ϵ ) ] = ELBO k , ( ℓ ) ( a 0 ) − ELBO k ( a 0 ) .
Thus, Δ ^ k , k , ( ℓ ) \widehat{\Delta}^{k,k,(\ell)} Δ k , k , ( ℓ ) is an unbiased estimator of the ELBO difference.
Additional Experimental Results
Additional Forest Game Visualizations
Figure 7 provides the complete strategy visualization for all six forest configurations reported in Table 1 . Although the payoff rule is unchanged, each tree layout induces a different spatial equilibrium.
Figure 7. Learned strategies across all forest security games. Green points denote trees, blue points denote defender actions, and red points denote attacker actions. Rows vary both the forest geometry and the number of resources m = n m=n m = n . DiffNash obtains the lowest mean Nash gap in all six configurations; Figure 4 highlights two representative multi-resource cases in the main text.
10-dimensional Continuous Colonel Blotto
Figure 8 shows the learned strategy distributions for the n = 6 n = 6 n = 6 and n = 10 n = 10 n = 10 Blotto experiments reported in Table 2 .
Figure 8. Continuous Colonel Blotto strategy distributions. Representative learned strategies projected into the polygonal action-space visualization. Columns show the oracle reference and each method; rows correspond to symmetric and radial-band Blotto for n = 6 n = 6 n = 6 and n = 10 n = 10 n = 10 , respectively. Green denotes equilibrium samples and purple the learned strategy.
General-Sum Forest Protection
We also consider a general-sum variant of the F2 forest protection game found in Kamra et al. [ [20 ] . We retain the original F2 geometry and interaction mechanics, but assign each tree separate ecological and economic values. This creates different objectives for the defender and poacher without changing the continuous action space.
Let v t D v_t^D v t D and v t P v_t^P v t P denote the ecological and economic values of tree t t t , respectively. For each adversary logger l l l , let a l = 1 a_l = 1 a l = 1 indicate that it is captured by at least one guard and let s t , l s_{t,l} s t , l denote its share of tree t t t when multiple adversary target the same tree. The payoffs are
u D = ∑ l [ − ( 1 − a l ) ∑ t s t , l v t D + 4 a l ] , (35) u^D = \sum_l \left[-(1-a_l)\sum_t s_{t,l}v_t^D + 4a_l\right], \tag*{(35)} u D = l ∑ [ − ( 1 − a l ) t ∑ s t , l v t D + 4 a l ] , (35)
u P = ∑ l [ ( 1 − a l ) ∑ t s t , l v t P − 4 a l ] . (36) u^P = \sum_l \left[(1-a_l)\sum_t s_{t,l}v_t^P - 4a_l\right]. \tag*{(36)} u P = l ∑ [ ( 1 − a l ) t ∑ s t , l v t P − 4 a l ] . (36)
where a l a_l a l indicates whether adversary l l l is captured and s ( t , l s_{(t,l} s ( t , l is its share of tree t t t . The original zero-sum game is recovered when v t D = v t P = 1 v_t^D = v_t^P = 1 v t D = v t P = 1 .
We construct the two value fields to favor different parts of the forest. For a tree t t t , let r t r_t r t denote its radial distance from the center and let k t k_t k t be the number of other trees within Euclidean distance 0.05. We define
v ~ t D = exp ( − r t / 0.3 ) 1 + k t , v ~ t P = exp ( − 1 − r t 0.3 ) ( 1 + k t ) . (37) \tilde{v}_t^D = \frac{\exp(-r_t/0.3)}{1+k_t}, \qquad\tilde{v}_t^P = \exp\left(-\frac{1-r_t}{0.3}\right)(1+k_t). \tag*{(37)} v ~ t D = 1 + k t exp ( − r t /0.3 ) , v ~ t P = exp ( − 0.3 1 − r t ) ( 1 + k t ) . (37)
and independently rescale and clip each field to [ 0.25 , 4 ] [0.25, 4] [ 0.25 , 4 ] while preserving mean 1, so that the overall payoff scale is comparable to the original game. Thus, the defender places greater value on isolated interior trees, while the poacher focuses more on dense patches near the boundary. On F2, the two value fields have correlation − 0.52 -0.52 − 0.52 .
Figure 9 compares DeepFP, Neural OMD, DiffFP, and DiffNash for m = n ∈ { 1 , 3 } m = n \in\{1, 3\} m = n ∈ { 1 , 3 } . DiffNash attains the lowest mean Nash gap, while DeepFP and DiffFP remain more exploitable. Neural OMD performs better than the FP-based methods, but exhibits higher variance than DiffNash. The visualized seed also shows qualitatively different spatial strategies across methods.
Figure 9. General-sum Forest Game. Learned strategies on the general-sum F2 forest game for m = n ∈ { 1 , 3 } m=n \in\{1,3\} m = n ∈ { 1 , 3 } . Metrics are mean ± \pm ± 95% confidence intervals over three seeds.
Importance-sampling Forest ablation
We use F2, where m = n = 3 m = n = 3 m = n = 3 , to isolate the roles of the two importance-sampling corrections in DiffNash. In particular, we separate the correction applied to replayed samples from the player’s own IS from the correction used when evaluating samples from past opponent opponent IS . Figure 10 shows that the two corrections have different effects. Removing own IS substantially degrades performance, increasing the Nash gap from 300.7 ± 126.4 300.7 \pm126.4 300.7 ± 126.4 for the full DiffNash method to 797.0 ± 153.4 797.0 \pm153.4 797.0 ± 153.4 with opponent IS alone. In contrast, opponent IS has little effect on convergence when own IS is omitted: the Nash gap is 787.1 ± 134.6 787.1 \pm134.6 787.1 ± 134.6 without either correction and 797.0 ± 153.4 797.0 \pm153.4 797.0 ± 153.4 with opponent IS alone. This is consistent with the Cournot ablation in the main paper (Figure 6 , where opponent IS likewise has little effect on convergence performance, but reduces score-network calls to roughly 66% of those required without opponent IS. Together, these results suggest that own IS provides the primary optimization benefit by correcting the distribution shift induced by reusing the player’s historical diffusion samples, while opponent IS mainly improves computational efficiency.
Figure 10. Importance-sampling ablation on F2. Removing own-policy importance sampling substantially degrades DiffNash, whereas opponent IS has little effect on convergence when own IS is omitted.
Forest Game Hyperparameter Sweep
We fix other hyperparameters and change self action rate ζ \zeta ζ in Figure 11 . Figure 11 shows that lower self-action IS rates generally yield smaller mean Nash gaps. Because importance weights are clipped, including too many samples from past iterations may bias the OMD loss in Equation (7) . Empirically, a 1% self-action IS rate suffices to stabilize training.
Figure 11. Self-action IS ratio sensitivity. Nash gap on F2 (m = n = 3 m=n=3 m = n = 3 ) as the self-action IS ratio varies. Lower is better.
In Table 3 , we study sensitivity to the own-action batch size, opponent batch size, and trigger threshold κ \kappa κ on F2 and F3 over five seeds.
Table 3. Hyperparameter sensitivity on F2 (m = n = 3 m=n=3 m = n = 3 ) and F3 (m = n = 5 m=n=5 m = n = 5 ). Each row changes one parameter from the default DiffNash configuration (own batch 256, opponent batch 128, ζ = 1 % \zeta= 1\% ζ = 1% , κ = 10 % \kappa= 10\% κ = 10% ). We report defender exploitability ExploitD _{\mathrm{D}} D and Nash gap G G G ; lower is better. We add 95% confidence interval to each value.
Trigger κ \kappa κ : The default κ = 10 % \kappa= 10\% κ = 10% achieves a slightly lower Nash gap on F2 than the other trigger values; otherwise, no trigger value consistently outperforms the others, demonstrating that DiffNash is relatively robust to this hyperparameter.
Own Buffer Size : Increasing the own-action batch size to 512 degrades exploitability by 25.9% and the Nash gap by 28.2% relative to the default, suggesting that a moderate own-action batch size combined with self action importance sampling is more robust. In F2, the default batch size modestly outperforms a batch size of 128.
Opponent Buffer Size : The default opponent batch size wins in all but one setting in terms of defender exploitability and Nash gap.
Computing Infrastructure
Experiments were run entirely on CPU hardware, using Intel Xeon Platinum 8268 nodes (48 cores, 192 GB RAM) and 32-vCPU cloud instances.