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

CardsList
  1. Fast Regularized Policy Mirror Descent with One-Step TD Updates

    Sep 30, 2026Qipei Chen, Wenye Li, Yule Sun +1Markov Decision ProcessesPolicy Optimization

  2. An analysis of Mirror-Descent Soft Actor-Critic

    Sep 28, 2026Denis Zorba, Michal ValkoReinforcement LearningOnline Mirror Descent