Policy mirror descent (PMD) refers to a class of policy optimization methods associated with different mirror maps. For a broad class of decomposable Legendre mirror maps encompassing many standard choices, Li and Wei [2026] show that the PMD policy sequence converges to an optimal policy from any admissible initialization under any positive constant step size, even when the optimal policy is not unique. In this note, we provide a counterexample with assistance from OpenAI's GPT-5.6 model, showing that PMD with a non-decomposable Legendre mirror map need not converge in policy.
Introduction
Let Δ(X) denote the probabilistic simplex over some finite set X. A finite discounted Markov decision process (MDP) is specified by a tuple (S,A,P,r,γ,μ), where S and A are finite state and action spaces, respectively, P:S×A→Δ(S) is the transition kernel, r:S×A→[0,1] is the reward function, γ∈[0,1) is the discount factor, and μ∈Δ(S) is the initial state distribution. Given a policy π:S→Δ(A), a trajectory {(st,at,rt)}t≥0 is generated as follows: the initial state is sampled from s0∼μ, and at each time step t≥0, the agent selects an action at∼π(⋅∣st), receives the reward rt=r(st,at), and transitions to the next state st+1∼P(⋅∣st,at). The state value and the action value functions are defined as
∀s∈S,a∈A:Vπ(s):=E[t=0∑∞γtr(st,at)s0=s,π],
Qπ(s,a):=E[t=0∑∞γtr(st,at)(s0,a0)=(s,a),π].
Policy mirror descent (PMD) updates policies using a Bregman divergence induced by a convex mirror map h:R∣A∣→R∪{+∞}. Assume that Δ(A)⊆domh and that h is differentiable on int(domh). Given a current policy π satisfying π(⋅∣s)∈int(domh) for all s∈S, PMD computes a new policy based on the action value function Qπ by solving the following optimization problem at each state:
where η>0 is the update step size and Dh(p∥q):=h(p)−h(q)−⟨∇h(q),p−q⟩ is the Bregman divergence. Different choices of the mirror map h yield different policy optimization methods. In particular, when h is the squared function h(p)=21∥p∥22 or the negative Shannon entropy h(p)=∑a∈Ap(a)logp(a), PMD deduces to projected Q-ascent (PQA, Xiao [2022], Liu et al. [2025a]) and softmax natural policy gradient (softmax NPG, Xiao [2022], Agarwal et al. [ [1], respectively. The global convergence in value of PMD has been extensively studied. When h is of Legendre type, it is shown in Xiao [2022], Lan [2021] that the state value function of PMD Vπk converges to the optimal value V∗ in a dimension-free O(1/k) sublinear rate under arbitrary constant step size η>0. For adaptive or geometrically increasing step sizes, the global linear convergence can be established [2] (Xiao 2022; Johnson et al. 2023). Several variants of PMD have also been investigated, including regularized PMD [4] (Lan 2021; Zhan et al. 2023), homotopic PMD [Li et al., 2023], TD-PMD [5] (Liu et al. 2025b; Li et al. 2025).
Beyond value convergence, policy convergence of PMD has also been studied. For decomposable mirror maps of the form h(p)=∑a∈Aψ(p(a)), where ψ satisfies standard Legendre-type assumptions, Li and Wei [2026] establish that the policy sequence generated by PMD converges to a limiting optimal policy under any constant step size η>0, even when the optimal policy is not unique. For mirror maps that need not be decomposable, Lin and Zhang [2022] establish finite-time convergence to an optimal policy under any constant step size, provided that h is continuously differentiable on the entire probability simplex Δ(A) and satisfies an L-cocoercivity condition. These results raise the following question:
Does PMD converge in policy for every non-decomposable Legendre mirror map?
This note, however, gives a negative answer by providing a counter example. The counterexample is based on a non-decomposable mirror map h that combines algebraic, logarithmic, and trigonometric terms and satisfies the Legendre conditions: it is proper, closed, convex, essentially strictly convex, and essentially smooth. The associated MDP is a three-armed bandit with S={s} and A={a1,a2,a3}, where a1 and a2 are optimal actions and a3 is suboptimal. By computation, it is shown that the policy sequence generated by PMD from a particular initialization on this example oscillates infinitely times due to the periodicity of trigonometric component in h.
Preliminary and Problem Settings
Let Π be the set that contains all admissible policies. Recall the value functions Vπ and Qπ. It is well known that there exists at least one optimal policy π∗, such that the optimal value functions V∗ and Q∗ are obtained (see for example Sutton and Barto [2018]),
where As∗:={a∈A∣Q∗(s,a)=V∗(s)} is the optimal action set. Thus Π∗ contains multiple optimal policies if ∣As∗∣>1 at some state s.
Recall that h denotes the mirror map used in PMD. Generally, we expect that h is of Legendre type [3] (Xiao 2022) and is well defined over Δ(A).
Assumption 2.1 (Legendreness). We assume that h satisfies the following conditions:
(a) domh⊇Δ(A);
(b) h is proper, closed, and convex;
(c) h is essentially smooth. That is, h is differentiable over intdomh, and for any sequence {xk}k≥0 such that xk∈intdomh and xk→x∈bddomh, there holds ∥∇h(xk)∥→∞;
(d) h is strictly convex over intdomh.
The following lemma is useful in the PMD analysis, which can be verified by the KKT-condition of the PMD optimization problem (Eq (1)).
Lemma 2.2 ([Lin and Zhang, 2022]). Let {πk}k≥0 be the policy sequence generated by PMD (Eq (1)) with π0(⋅∣s)∈(intdomh)∩Δ(A) for all s∈S. Then there hold πk(⋅∣s)∈(intdomh)∩Δ(A) for all s∈S and k≥0. Furthermore, there exist a scalar ν(k) and a dual vector λ(k)∈R∣A∣ such that
where λ(k)(a) satisfies λ(k)(a)≥0 and λ(k)(a)⋅πk+1(a∣s)=0.
Proposition 2.3 (Xiao [2022], Lan [2021]). Suppose that h satisfies Assumption 2.1. Let {πk}k≥0 and {Vπk}k≥0 be the policy and value sequence generated by PMD (Eq (1)) with π0(⋅∣s)∈(intdomh)∩Δ(A) for all s∈S, respectively. Then there hold πk(⋅∣s)∈(intdomh)∩Δ(A) for all s∈S and k≥0. Furthermore,
∀s∈S:Vπk+1(s)≥Vπk(s),(2)
∀s∈S,∀a∈A:Qπk+1(s,a)≥Qπk(s,a).(3)
Furthermore, for arbitrary optimal policy π∗∈Π∗, it holds that
∥V∗−Vπk∥∞≤k+11(η(1−γ)∥Dπ0π∗∥∞+(1−γ)21),
where ∥Dπ0π∗∥∞=maxs∈SDh(π∗(⋅∣s)∥π0(⋅∣s))<∞.
Proposition 2.3 establishes the dimension-free O(1/k) sublinear global value convergence rate for PMD under Legendre mirror map h. As optimal policy might not be unique, Proposition 2.3 does not imply that {πk}k≥0 converges to some optimal policy π∗∈Π∗. To address this question, Li and Wei [2026] establish policy convergence of PMD under any constant step size η>0 for a general class of decomposable mirror maps h(p)=∑a∈Aψ(p(a)), where ψ satisfies standard Legendre-type assumptions. Their result guarantees cover many commonly used mirror maps, including the squared Euclidean mirror map (ψ(t)=21t2), negative Shannon entropy (ψ(t)=tlogt), Tsallis entropy (ψ(t)=tq), the Hellinger mapping (ψ(t)=−1−t2), and Fermi–Dirac entropy (ψ(t)=tlogt+(1−t)log(1−t)). For mirror maps that need not be decomposable, Lin and Zhang [2022] establish finite-time convergence to an optimal policy under any constant step size, provided that h is continuously differentiable on the entire simplex Δ(A) and satisfies an L-cocoercivity condition.
Proposition 2.4 ([Lin and Zhang, 2022]). Suppose that h satisfies Assumption 2.1. Furthermore, suppose that ∇h(p) is well defined at p∈bdΔ(A) and L-cocoercive on Δ(A), i.e., there exists a constant L>0 such that
∀p,q∈Δ(A):⟨∇h(p)−∇h(q),p−q⟩≥L1∥∇h(p)−∇h(q)∥22.
Let {πk}k≥0 be the policy sequence generated by PMD (Eq (1)) with any η>0 and π0(⋅∣s)∈(intdomh)∩Δ(A) for all s∈S. Then there exists a finite time T0 such that
∀k≥T0:πk=πT0∈Π∗,
i.e., PMD terminates after T0.
Proposition 2.5 (Li and Wei, 2026). Suppose that h satisfies Assumption 2.1 and is decomposable, i.e., h can be written as h(p)=∑a∈Aψ(pa). Let {πk}k≥0 be the policy sequence generated by PMD (Eq (1)) with any η>0 and π0(⋅∣s)∈(intdomh)∩Δ(A) for all s∈S. Then
π∞:=k→∞limπk exists, and π∞∈Π∗.(4)
That is, PMD converges in the policy domain.
It is worth noting that, although the result in Lin and Zhang [2022] does not require decomposability, the regularity assumptions therein exclude several standard decomposable mirror maps that are covered in Li and Wei [2026]. In particular, negative Shannon entropy, the Hellinger mapping, and Fermi–Dirac entropy are not differentiable at certain boundary points of the simplex. Moreover, Tsallis entropy with 1<q<2 is continuously differentiable but fails the cocoercivity condition for every finite L.
Policy Convergence with Non-Decomposable Legendre Mirror Maps? A Counterexample
Proposed bandit problem
The proposed three-armed bandit problem is described as follows:
A policy is optimal if and only if π(a3∣s)=0, and thus the optimal policy for this bandit problem is not unique.
Proposed mirror map
For any p∈Δ(A) where A={a1,a2,a3} is the action space of the bandit problem above, denote pi=p(ai). The proposed mirror map instance h:R3→R is given by
with the domain (with 0log0=0 and p34sin(log(1−logp3)) defined to be zero at p3=0)
domh={p∈R3∣0≤p3≤2,∣p1−p2∣≤1}.
Clearly, the mirror map h is non-decomposable and does not satisfy the regularity conditions in Lin and Zhang [2022], since ∇h(p) is not defined on the boundary face p3=0. We next verify that h satisfies Assumption 2.1.
Domain and continuity. It is direct to verify that domh⊇Δ(A), satisfying Assumption 2.1 (a). Furthermore, h is proper and closed as it is continuous over its closed domain. Gradient and essentially smoothness Obviously, h is differentiable over intdomh={p∈R3∣0<p3<2,∣p1−p2∣<1}. For any p∈intdomh, the gradient ∇h(p)=[∂p1∂h(p),∂p2∂h(p),∂p3∂h(p)] is given by
Notice that the boundary of domh is given by bddomh={p∈domh∣p3=0 or p3=2 or ∣p1−p2∣=1}. For every sequence {pk}⊂int(domh) converging to a point in bd(domh), one has ∥∇h(pk)∥2→+∞. Indeed, ∂p3h(pk)→−∞ when (pk)3→0, and ∂p3h(pk)→+∞ when (pk)3→2. At any remaining boundary point, ∣(pk)1−(pk)2∣→1 while (pk)3 converges to a point in (0,2), so ∣∂p1h(pk)−∂p2h(pk)∣=2∣H(pk)∣→+∞. Thus h is essentially smooth, which satisfies Assumption 2.1 (c).
Convexity By the Hessian matrix of h, one can verify that (see the appendix for details)
∇2h(p)≻0,∀p∈intdomh={p∈R3∣0<p3<2,∣p1−p2∣<1}.
Thus, h is strictly convex over intdomh and convex over domh. Together with the fact that h is proper and closed, we conclude that h satisfies Assumptions 2.1 (b) and 2.1 (d).
Nonconvergence of the PMD Policy Sequence
In the sequel, let {πk}k≥0 be the policy sequence generated by PMD under aforementioned mirror map and bandit problem, with any given η>0 and the initialization
Proof. We first prove Eq (10) by induction. For the case of k=0, plugging the initialization Eq (9) into the definition of the potential function H(p) Eq (6) provides that H(π0(⋅∣s))=0. Now suppose that H(πk(⋅∣s))=0 for some k≥0. By Lemma 2.2, there exist a scalar ν(k) and a dual vector λ(k)∈R3 such that
Then it remains to show that λ1(k)=λ2(k)=0. Recall that π0(a3∣s)=0.2. By the monotonicity property of PMD (Eq (2) in Proposition 2.3), there holds πk(a3∣s)≤0.2, and thus πk(a1∣s)+πk(a2∣s)≥0.8. Now suppose that λ1(k)>0. In this case, we have πk+1(a1∣s)=0, thus πk+1(a2∣s)≥0.8 and λ2(k)=0. On the other hand, by the definition of H, there holds
This contradicts H(πk+1(⋅∣s))=H(πk(⋅∣s))+λ1(k)/2>H(πk(⋅∣s))=0 given by Eq (14), thus λ1(k)=0. Following the same argument, one can similarly show that λ2(k)=0 via contradiction. Therefore, we conclude that λ1(k)=λ2(k)=0 and hence H(πk+1(⋅∣s))=0, which proves Eq (10) by induction.
Now we prove Eq (11). Note that πk(a3∣s)>0. By H(πk(⋅∣s))=0, we obtain
Notice that πk(a3∣s)→0 by the global convergence of PMD (Proposition 2.3), and Rk→0 as πk(a3∣s)→0. Therefore, for any fixed step size η>0, there exists a finite time T1>0 such that −η/4≤Rk≤η/4 for all k≥T1. Thus
∀k≥T1:η/2≤logπk(a3∣s)−logπk+1(a3∣s)≤3η/2.
As πk(a3∣s)→0, there holds θk=log(1−logπk(a3∣s))→+∞. Furthermore,
Lemma 3.3. Let f:R→R be a continuous periodic function with period T>0, and let {θk}k≥1 satisfy
θk→+∞,∣θk+1−θk∣→0.
Then for any fixed a∈[0,T), there exists a subsequence {θkm}m≥0 such that
m→∞limf(θkm)=f(a).
Equivalently, {f(θk)}k≥1 is dense in the range of f.
Proof. Fix any a∈[0,T). For every sufficiently large integer m, define
km:=min{k≥1:θk≥mT+a}.
This index is well defined because θk→+∞. Moreover, km→∞, and, by the minimality of km,
θkm−1<mT+a≤θkm.
It follows that
0≤θkm−(mT+a)≤θkm−θkm−1≤∣θkm−θkm−1∣→0.
Hence θkm−mT→a. By the periodicity and continuity of f,
f(θkm)=f(θkm−mT)→f(a).
Theorem 3.4. Consider the bandit problem described in Eq (5) and the mirror map h defined in Eq (6). Setting the initialization in Eq (9), the policy sequence generated by PMD, denoted {πk}k≥0, does not converge to any fixed optimal policy. Specifically, for any y∈[−1/17,1/17], there exists a subsequence {πkm}m≥0 such that
Let f(θ)=sin(θ)/16+sin2(θ). By Lemmas 3.2 and 3.3, for any fixed y∈[−1/17,1/17], there exist an a∈[0,2π) such that f(a)=y and a subsequence {θkm}m≥0 satisfying f(θkm)→y. Together with πk(a3∣s)→0, we obtain
This note constructs a Legendre but non-decomposable mirror map and a three-armed bandit problem for which PMD fails to converge in the policy domain under any positive constant step size and a suitable initialization. Although the value sequence converges to the optimal value, the policy sequence has a nontrivial continuum of optimal accumulation points and therefore does not converge in the policy domain. This counterexample shows that the Legendre conditions alone are insufficient to guarantee policy convergence of PMD, and that additional structural conditions, such as decomposability, are needed for a general policy convergence guarantee.
Declaration of Generative AI Assistance
The authors have reviewed and verified all mathematical arguments and results, reorganized the exposition, and provided additional explanations. They take full responsibility for the content of this note.
Computing the Hessian ∇2h
Let hij:=∂pi∂pj∂2h(p). Direct computation yields
where p∈intdomh={p∈R3∣0<p3<2,∣p1−p2∣<1}. We show the positive definiteness of ∇2h by verifying that all leading principal minors are positive. For the first two leading principal minors,
Δ1=h11=1+[1−(p1−p2)2]3/2p34>0,
and
Δ2=h11h22−h122=[1−(p1−p2)2]3/24p34>0.
Since h23=2−h13, direct calculation provides that
As all leading principal minors of ∇2h are positive, we have ∇2h(p)≻0 for all p∈intdomh.
References
[1]Alekh Agarwal, Sham M. Kakade, Jason D. Lee, and Gaurav Mahajan. On the theory of policy gradient methods: Optimality, approximation, and distribution shift. Journal of Machine Learning Research, 22 (98):1–76, 2021.
[2]Carlo Alfano, Rui Yuan, and Patrick Rebeschini. A novel framework for policy mirror descent with general parameterization and linear convergence. In Advances in Neural Information Processing Systems, 2023.arxiv.org/abs/2301.13139
[3]Heinz H. Bauschke and Jonathan M. Borwein. Legendre functions and the method of random bregman projections. Journal of Convex Analysis, 4(1):27–67, 1997.DOI
[4]Shicong Cen, Chen Cheng, Yuxin Chen, Yuting Wei, and Yuejie Chi. Fast global convergence of natural policy gradient methods with entropy regularization. Operations Research, 70(4):2563–2578, 2022.arxiv.org/abs/2007.06558
[5]Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. A theory of regularized markov decision processes. In Proceedings of the 36th International Conference on Machine Learning, pages 2160–2169, 2019.arxiv.org/abs/1901.11275