- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This work aims to understand whether transformers can perform in-context reinforcement learning through explicit policy-improvement algorithms rather than only supervised prediction or policy evaluation. The paper shows that a one-layer, single-head linear-attention transformer can implement batch semi-gradient SARSA and actor-critic updates through explicit parameter constructions. The claims of the paper also include a local gradient-flow convergence result for teacher-mimicking training and empirical validation on randomly generated tabular MDPs, where trained transformers recover the predicted matrix structure and track analytical RL update rules on held-out MDPs.
Strengths and weaknesses
Strengths
- The paper extends existing ICRL theory from policy evaluation to policy improvement. Prior work studies transformers implementing TD-style policy evaluation in context, while this paper constructs transformer blocks that output updated SARSA parameters and actor-critic parameters, which can be used to change the policy and continue closed-loop learning. This is a meaningful extension within the linear-attention ICRL theory line.
- The explicit constructions are useful. Theorems 3.1 and 3.3 give concrete block structures for P and V showing how the attention operation can compute the sufficient statistics needed for SARSA and actor-critic. This makes the result more informative than an abstract expressivity statement.
Weaknesses
- The setting is highly stylized. The transformer is a one-layer, single-head linear-attention block, not a standard softmax transformer. The MDPs are small randomly generated tabular environments with 9 states and 4 actions. This is suitable for theory, but the paper should be careful not to imply that the result explains practical ICRL behavior in modern transformer agents.
- The convergence guarantee is local and depends on strong assumptions. Theorem 3.2 requires initialization near the optimal manifold and Assumption 1 requires several excitation and no-cancellation conditions on the training MDP distribution. The authors state that these conditions hold generically under random features and exploration, but verification for concrete MDP families is deferred. This makes the convergence result mathematically useful but limited in scope.
- The actor-critic convergence claim is underdeveloped. The paper provides an existence theorem for actor-critic and says the convergence analysis follows analogously, but the full theorem and proof are omitted. Since actor-critic is one of the headline policy-improvement results, this should either be proved or the claim should be weakened.
- (comment) The authors should consider citing recent work on softmax-attention ICRL, such as [1], which directly challenges the realism of linear-attention-only analyses by studying standard softmax attention.
Reference:
[1] Zixuan Xie, Xinyu Liu, Claire Chen, Shuze Daniel Liu, Rohan Chandra, and Shangtong Zhang. Beyond Linear Attention: Softmax Transformers Implement In-Context Reinforcement Learning.
Questions
- Could the authors provide the actor-critic convergence theorem and proof, rather than saying the argument is analogous?
- Could the authors clarify how restrictive Assumption 1 is by verifying it for the random tabular MDP family used in the experiments, at least empirically through the relevant covariance/eigenvalue quantities?
- Could the authors test a less engineered prompt, for example one that omits some algorithm-specific quantities such as score-function terms and asks the model to infer them?
- Could the authors evaluate on larger or more structured tabular MDPs, beyond random 9-state MDPs?
Limitations
- The authors partly address limitations by noting that the richness assumptions are hard to verify, the convergence result is local, and the analysis is for deterministic gradient flow in a simplified setting.
- The limitations should also explicitly mention that the architecture is linear attention rather than softmax attention, especially given recent work showing ICRL theory for softmax transformers.
- The limitations should mention the engineered prompt format. The result depends on the transformer receiving carefully arranged algorithm-specific inputs, not raw interaction histories in the form used by practical ICRL agents.
- The limitations should mention that the empirical results are only on small synthetic tabular MDPs and mainly validate the theory rather than showing practical ICRL performance.
Paper formatting concerns
NA
Final justification
The rebuttal addresses my main concerns, especially the missing actor-critic convergence analysis and the scope of the empirical validation. The remaining limitations are mainly due to the stylized setting and local assumptions. I therefore maintain my score and support acceptance.
Meta-review
Summary. The paper shows that a one-layer, single-head linear-attention transformer can implement one SARSA update and one actor-critic update when given proper prompts. It also proves local convergence of gradient flow to a manifold of SARSA-implementing parameters under richness assumptions. Experiments on random MDPs shows that it recovers the predicted parameter.
Strengths. The construction shows how attention computes quantities required by SARSA and actor-critic. The local PL analysis is technically nontrivial. The experiments demonstrate the constructions and training behavior as a proof of concept. The paper is generally clear.
Weaknesses. My primary concern is the significance relative to prior work. In Ahn et al. (2023), only regression labels are provided, yet gradient descent emerges internally. In Wang et al. (2025), training only uses scalar bootstrapped TD target. Here, the exact SARSA or actor-critic update is directly supplied as the supervised target (Eq.(2) and (3)), so the transformer is directly imitating SARSA or actor-critic updates, instead of discovering from the feature-label map. Therefore, it is less surprising that it recovers these algorithms. It is also less clear what is gained by learning these updates through transformer rather than directly executing the known SARSA or actor-critic update (this is not a concern for Ahn et al. or Wang et al., because GD or TD is more like being "discovered" by the learner under their scheme). The convergence theorem establishes learnability of a prescribed teacher map, but its broader scientific significance needs stronger justification.
As one reviewer pointed out, actor-critic convergence is stated to follow analogously but is not formally stated and not proved. This requires more justification.
This paper remains on the borderline. Please respond to the concerns raised by the reviewers as well as the weakness pointed out above.
[Ahn et al., 2023] Transformers learn to implement preconditioned gradient descent for in-context learning.
[Wang et al., 2025] Transformers learn temporal difference methods for in-context reinforcement learning.