- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This article investigates why nonlinear Transformers can achieve cross-domain generalization from the perspective of Reproducing Kernel Hilbert Space (RKHS). The theoretical results in the paper primarily focus on policy evaluation, proving the existence of a set of parameters that can successfully implement TD updates in-context. These theoretical findings were also validated in Meta-World and a synthetic environment. Overall, this work makes a timely contribution by extending the in-context learning capabilities of Transformers from linear to nonlinear cases in theory.
Strengths and weaknesses
Strengths
- The perspective of using Reproducing Kernel Hilbert Space (RKHS) to study the in-context learning behavior of Transformers is novel and well-motivated.
- The theoretical results in the paper align closely with the experimental findings. In addition to testing on the relatively realistic Meta-World benchmark across various noise levels through extensive experiments on both in-domain and cross-domain generalization, they also utilized a synthetic environment to visualize the landscape of the value function obtained by the Transformer through in-context learning.
- The authors provided a comprehensive experimental setup and detailed parameter settings required to reproduce their results.
Weaknesses
- The paper primarily focuses on policy evaluation. It does not provide relevant results for policy improvement.
- There is a discrepancy between the Transformer architecture considered in this paper and the one used in real-world applications. For instance, regarding the non-linear activation functions: while the Softmax function is standard in practice, this paper considers an exponential activation without normalization. A Softmax function with normalization clearly does not satisfy the Reproducing Kernel Hilbert Space (RKHS) assumptions used here.
- Regarding the main theoretical results, specifically Theorem 3.1: the authors only prove that there exists a set of Transformer parameters capable of implementing the corresponding TD iteration to represent the TD value. However, it remains unclear how such parameters could actually be obtained through training.
Questions
-
In Theorem 3.1, the author states that the last row contains the TD values for every state. However, it seems to me that the last row should only contain the TD values (specifically the TD residuals) for the states along the trajectory. This phrasing seems a bit imprecise. Can the authors further discuss this point?
-
Regarding the state value function for the current query state, it involves values from the padding states. How are these padding state values selected? Since the evaluation and TD updates only follow a single trajectory, would the padding state values differ across different trajectories? If so, does that imply the constant bias in the value function estimate would also vary between trajectories?
-
In Section 5.2, how exactly is the TD error in the figures calculated? Is it a direct average of the last row of the generated output matrix (the matrix)? If that is the case, a decrease in this average only means that the values in the last row are shrinking; it doesn't prove that the actual policy evaluation is becoming more accurate.
-
Regarding the MetaWorld experiments: for a given domain's training environment, are you randomly sampling from all 50 tasks, or are you selecting a single task from those 50 and adding high-level noise to it for training?
Limitations
yes
Paper formatting concerns
no
Final justification
The rebuttal addressed most of my concerns. In my opinion, this paper is well motivated and self-contained, and it makes a meaningful contribution by extending theoretical results on in-context learning from linear to nonlinear settings.
Meta-review
Summary: The paper investigates in-context RL capabilities of non-linear transformers. The paper shows that there exists a transformer model with fixed weights capable of performing kernel TD updates with a non-linear kernel in-context. This yields accurate approximations of value function within the corresponding RKHS. The paper supports this claim with experimental results on Meta World environments.
Strengths: The paper provides a novel perspective on in-context reinforcement learning. The reviewers highlighted the elegance of the theoretical framework and the insights behind the results (Reviewers 86Ym, Mr2p, qfjb), as well as the thoughtfulness of the experimental design (Reviewers 86Ym, fWjb). Furthermore, reviewers acknowledged empirical support for the developed theory (Reviewers 86Ym, MR2p, qfjb).
Weaknesses: The reviewers have expressed several concerns about the current version of the paper, out of which the following appear most important. As noted by all the reviewers, the paper focuses on policy evaluation, providing little insight into policy improvement; the authors are encouraged to more clearly discuss (and ideally demonstrate through additional experiments) the practical importance of the results. The main theorem focuses on proving the existence of a model with weights that enable TD learning, rather than showing how to train a transformer with such weights (as noted by Reviewers qfjb, fWjb). The authors are encouraged to more clearly acknowledge this limitation and provide a discussion on possible extensions of the current results that would address it. As per the comments made by Reviewers MR2p and qfjb, additional baselines, in particular, those based on kernel TD, appear important for understanding the empirical performance of the approach. The authors are encouraged to expand the empirical analysis accordingly. The authors are also encouraged to address other comments and questions, including those indicating potential discrepancy between the transformer architecture considered and those typically used in real-world applications (Reviewer fWjb).