cs.LGSep 24, 2026

PolicyAttention: Softmax Attention Implements Policy Mirror Descent for Closed-Loop Control

Authors: Yuhe Sui, Yingzhi Tang, Shufang Chen

Organizations: Quantitative Research Society, Singapore · Nanyang Technological University, Singapore · The Chinese University of Hong Kong, Shenzhen, China · The University of Hong Kong, Hong Kong SAR, China

Abstract

Can causal softmax attention implement policy mirror descent as a repeated controller rather than a one-step algebraic identity? Negative-entropy policy mirror descent (PMD) has the statewise update PMD⁡η(π,Q)=softmax⁡(log⁡π+ηQ)\operatorname{PMD}_η(π,Q)=\operatorname{softmax}(\logπ+ηQ). Building on the known Q-TD-PMD recursion, we construct one fixed causal-softmax actor--environment--one-step-critic protocol with explicit actor, routing, sampling, and normalization residuals, and propagate them to the policy actually returned. The construction states the finite-logit/full-support domain, the external tokenization and sampling boundary, and the mean-zero LayerNorm carrier conditions required by the normalized compilation. Separately trained pre-LN Transformers recover the target computation empirically. A frozen one-step audit model is closest to PMD among the tested fixed rules; in a preregistered five-run S=4S=4 repeated-control test, the learned actor with an exact one-step critic reaches median returned-policy loss 1.052×1.052\times the Exact PMD oracle and retains the criterion across four no-retraining shifts. The same checkpoints with their learned critic give descriptive median 1.050×1.050\times the oracle (no registered margin). At S=8S=8, replacing the exact critic by the learned critic raises median T=20T=20 loss to 0.02250.0225 yet leaves the Liang--Lai and Algorithm Distillation adaptations 20.220.2--24.2×24.2\times higher-loss; this is a one-sided sampled-critic bound because PolicyAttention consumes 144 generative transitions per round versus 20 on-policy transitions for the adaptations. The strict 20-transition comparison remains open. At S=8,16S=8,16, the exact-critic common-harness comparison remains 17.717.7--28.2×28.2\times lower-loss than those adaptations, with the information asymmetry stated locally.

Figures & tables

Explore similar work

Sep 30, 2026

Fast Regularized Policy Mirror Descent with One-Step TD Updates

Policy mirror descent (PMD) enjoys fast convergence in regularized Markov decision processes (MDPs), but existing guarantees often rely on exact or increasingly accurate policy evaluation. We analyze PMD coupled with a persistent critic advanced by one temporal-difference (TD) update. For finite discounted MDPs, we establish global linear convergence in value for exact coordinate-wise Bellman updates, with any positive constant actor stepsize and arbitrary finite critic initialization. The proof combines a resolvent-based auxiliary distribution with a decaying Bellman-violation correction and a potential weighted by inverse coordinate weights. We then study stochastic TD-PMD with general strongly convex mirror maps under a single off-policy Markov trajectory. With suitably chosen constant stepsizes and a finite-batch TD update, the method achieves an expected value gap of εε after O~(1/((1−γ)5σ~bε))\widetilde{O}(1/((1-γ)^5 \widetildeσ_b ε)) transitions. The stochastic analysis relies on the trajectory-wise Lipschitz continuity of the regularizer, derived from uniform bounds on vertex Bregman divergences, together with a visitation-weighted resolvent estimate for signed critic-error propagation that yields an inverse-linear dependence on behavior coverage σ~b\widetildeσ_b. In contrast to many prior guarantees for regularized policy optimization, our sample-complexity guarantee holds without trajectory resets, generative-model access, or nested policy-evaluation loops. Numerical results are consistent with the theoretical convergence analysis.
Oct 2, 2026

Sharp Convergence and Sample Complexity of Policy Mirror Descent for Average-Reward MDPs

Policy mirror descent (PMD) has a mature finite-time theory in discounted Markov decision processes (MDPs), but less is known in the average-reward setting, a more natural objective for many control applications. We give a finite-time, finite-sample analysis of PMD in ergodic average-reward MDPs built around a single master recursion that governs convergence for any critic, without external regularization. Its specializations yield linear rates for exact, inexact-tabular, and linear function approximation (LFA) updates, with a superlinear regime for exact PMD. We complement these convergence results with end-to-end sample complexities of order tmix3/ε2t_{\mathrm{mix}}^3/\varepsilon^2 in both tabular (∣S∣∣A∣|S||A|-dependent) and LFA (dd-dependent) settings. Our LFA sample complexity sharpens the prior best tmix5t_{\mathrm{mix}}^5 mixing dependence to tmix3t_{\mathrm{mix}}^3, and matching information-theoretic lower bounds establish that the critic's tmix3/ε2t_{\mathrm{mix}}^3/\varepsilon^2 sample complexity is unimprovable in both settings.
Sep 28, 2026

An analysis of Mirror-Descent Soft Actor-Critic

Soft Actor-Critic (SAC) is widely used for entropy-regularised reinforcement learning with continuous action spaces, and practical implementations perform only a few actor steps towards an evolving target. In this work, we prove convergence guarantees when the target policy arises from policy mirror descent and compare it with the classical Gibbs target. We derive sufficient conditions for the strong convexity and smoothness of the actor objective, characterised by the curvature of the QQ-function estimate through the Legendre differential operator, and establish an O ⁣(N−15)\mathcal{O}\!\left(N^{-\frac{1}{5}}\right) best-iterate finite-time convergence rate up to actor and critic approximation errors. Moreover, the mirror-descent step size λλ directly controls the target drift and hence actor tracking error, whereas the analogous Gibbs bound contains a non-vanishing tracking term.