From Weak Data to Strong Policy: Q-Targets Enable Provable In-Context Reinforcement Learning
Yichen Lin, Xuyuan Xiong, Xue Wang, Xiangfu Meng, Mike Mingcheng Wei, Tao Yao
NeurIPS 2026
Abstract. Existing in-context reinforcement learning methods mainly pretrain Transformers with supervised behavior-prediction objectives. While such objectives support task inference from context, they tie the learned policy to the quality of offline actions and can fail when trajectories are weak or suboptimal. We propose Q-Target Pretrained Transformers (QTPT), which preserves context-conditioned inference but replaces behavior cloning with a Bellman-style Q-target objective. QTPT learns to estimate action values from contextual rewards and transitions, rather than simply imitating the behavior policy. We analyze QTPT in stochastic linear bandits and finite-horizon MDPs, deriving suboptimality bounds that separate offline-data effects from Transformer approximation error. Empirically, QTPT is most beneficial under weak offline data across controlled RL benchmarks, and controlled ablations show that context conditioning is essential while Bellman/TD targets provide additional gains. We further include D4RL experiments as higher-dimensional stress tests under matched Transformer baselines.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies the behavior of in context reinforcement learning when demonstration data is suboptimal. The idea is that rather than pretrain with behavior cloning, they pretrain with a bellman/td-style objective, which allows for stitching suboptimal trajectories together.
The reviewers have mostly raised minor issues that would be great to address/discuss during the rebuttal. These include:
- Clarity issues that would substantially improve the presentation/readability of the paper
- Some issues with the experimental presentation, like labeling axes, etc
- A discussion on the error guarantee and the n^{1/4} dependence and on the strength of the assumption.
Final justification
The authors have responded to most of the reviewer issues and the one reviewer that was leaning negative has explicitly stated that they are comfortable with acceptance. So we recommend acceptance as well. Please incorporate all feedback from the discussion period into the final version of the manuscript!
Read meta-review
Meta-review
The paper studies the behavior of in context reinforcement learning when demonstration data is suboptimal. The idea is that rather than pretrain with behavior cloning, they pretrain with a bellman/td-style objective, which allows for stitching suboptimal trajectories together.
The reviewers have mostly raised minor issues that would be great to address/discuss during the rebuttal. These include:
- Clarity issues that would substantially improve the presentation/readability of the paper
- Some issues with the experimental presentation, like labeling axes, etc
- A discussion on the error guarantee and the n^{1/4} dependence and on the strength of the assumption.
Final justification
The authors have responded to most of the reviewer issues and the one reviewer that was leaning negative has explicitly stated that they are comfortable with acceptance. So we recommend acceptance as well. Please incorporate all feedback from the discussion period into the final version of the manuscript!
2 comments
3. Error guarantee, dependence, and coverage
We clarify that the and terms are conservative upper-bound dependencies, not proven lower bounds. In Proposition 3.2, one factor of comes from accumulating Bellman errors across stages, and the other comes from the range of the remaining return under per-step bounded rewards. The closest full-history ICRL upper-bound analysis also contains a pretraining term, but neither result proves that this dependence is fundamental. We therefore do not claim tightness; improving it under exactly the present assumptions remains open.
The rate has an equally explicit source. Generic uniform convergence controls squared Bellman excess risk at order , while the performance-difference step depends on the square root of that error, producing . It is not an inherent statistical limit of QTPT: if a fast-rate condition yields squared Bellman excess risk of order , the same proof yields a policy rate of . We will add this conditional corollary while keeping it clearly separated from the theorem under the current assumptions.
Finally, Assumption 3.1(c) is support-restricted. Together with Assumption 3.1(b), it requires the behavior support to cover the decisions of one optimal policy and lower-bounds only positive behavior occupancies; histories outside that support need not have positive probability. The reviewer is correct that a large weakens the guarantee through the factor. This is a genuine offline identifiability limitation, not something our method removes. Accordingly, our claim is robustness to weak-action-quality but sufficiently exploratory offline data, not robustness to datasets that omit near-optimal decisions.
We thank the Area Chair again for synthesizing these concerns. The revisions above sharpen the paper's presentation and the boundary of its claims without changing its central result: when fixed multi-task offline trajectories contain sufficient decision coverage but the recorded behavior actions are suboptimal, Bellman/Q-target trajectory pretraining can provide a stronger basis for in-context policy improvement than directly imitating those actions.
- Rating
- 3/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper tackles offline RL through in-context learning (ICL) using a transformer state-action value model (i.e., as a Q-function). In the pretrain phase, the transformer is trained on Q-learning type updates where the Q-function has a Bayes-adaptive structure where the past trajectory (history of the current episode) acts as a proxy for the belief state. The setup is relatively standard to an offline meta-reinforcement learning setup, which is good because the authors use this to derive sample complexity bounds on the pre-trained model and the optimal policy. The result yields insight on the utility of ICL methods compared to traditional Bandit or reinforcement learning algorithms, on top of improving these bounds. The authors finally validate their theory on a simplified and large scale task, showing that the method aligns with their theory and is also able to be scaled up.
Strengths and weaknesses
Overall:
This is a very strong theoretical paper that tackles the difficult problem of understanding in-context learning properties of modern transformers for reinforcement learning. The gap that the authors fill is impactful, and non-trivial.
So, overall, I think this paper will have a good audience at NeurIPS. However, the paper is being held back by quite a number of pain points that I document below. Especially the clarity/presentation is something that can be remediated relatively easily, which would make the paper’s impact much more apparent.
Most importantly, the paper misses one substantial piece of prior work which makes it difficult for me to fairly position the significance of the results. I’m talking about the belief and Bayes-adaptive literature, which is a classical subfield within reinforcement learning and utilizes the exact same construction as the proposed architecture. If this is not addressed, I cannot recommend acceptance.
If these points are addressed, I’m willing to raise my score from 3. borderline reject → 5. accept and the ‘clarity’ and ‘significance’ both from 2. → 3. or 4. depending on the execution.
Note: I have not checked the proofs in great detail other than glancing over them to understand what the individual terms mean in the main text.
Strengths:
This is a paper with a very strong theoretical basis on an impactful gap of the overall field. It is non-trivial to study what a black-box transformer model does internally through in-context learning. To attempt to derive sample-complexity bounds on that is significant since the impact is that we can better understand why and when ICL methods outperform through generalization compared to our classical reinforcement learning methods.
Although I have a limited theory background on sample-complexity results. Trusting the authors, the reported bounds are strong improvements over the expert-distilled strategy (behavior cloning), on the bandit reducing a worst-case bound of O(T) to O(sqrt(T log T/n)).
Experimental results are to the point, and show that the method works for this special subfield of offline RL algorithms.
Weaknesses:
The clarity of the technical sections can be significantly improved to readers with a slightly less theoretical background. At the moment, this is the main item that is holding the paper back. The current communication hinders interpreting what the results mean, how they are obtained, and whether the assumptions are realistic as a result. These are some pain points I had while reading:
- L191 - Proposition 3.2, I was briefly lost on what meant, I assume that is the inverse of Assumption 3.1 (c)? But it drops out of nowhere and deserves a brief mention/crossref on what the value means again. Also how does this value influence the result/bound that you derive.
- In section 3.4. The definition of the non-informative context set is sketched in terms of a complexity bound on a value error. But what does this mean? Because it is never discussed. From the wording alone, my intuition of a non-informative context would be that .
So, in the theory sections, it would help to briefly (1-2 sentences) sketch what you are going to do, how you are going to do it, and why. Then when you make an assumption or discuss a new quantity/object, briefly explain what this object is or means. This will help the reading flow over technical sections. With this said, the discussion in section 3.3, L228-246 is quite nice, and I found it insightful.
Related work:
The paper omits two important branches of highly related work:
- RL or supervised finetuning of already pre-trained models. Despite the paper discussing pre-training, it is not clear why we shouldn’t start with an already existing model (see also my comment in limitations).
- Belief-MDPs and Bayes-adaptive MDPs are entirely omitted despite the vast body of knowledge that is captured in this classical field. The architecture that was used in Algorithm 1, and Eq.2,3, is essentially the belief-Q value through the history proxy. The paper should report on known sample-complexity bounds from this body of work and contrast the assumptions with their results.
Experiments:
Figure 2-right is missing error-bars.
Table 1-2 puts the “best” result in bold-face, however none of these results seem statistically significant for the tested 5 seeds. I think this is a gap in the presentation.
Ablations are missing on different model architectures. Only the GPT-2 architecture was used, but it is quite standard in the field to average results out over multiple architectures. E.g., the Llama or Qwen architectures. E.g., how do we know that the random → expert data pattern in figure 2-right holds in general? Maybe it is just a quirk of the GPT-2 architecture’s generalization capabilities not dealing well with more imbalanced expert data. Also, maybe not, but it costs very little to improve our confidence of this result by ablating additional models.
There is not a clear visualization of how the theoretical results (in terms of the sample-complexity bounds) directly translate to improved sample efficiency in the actual experiments. Of course there is the ablation over expert-to-random data, and the bandit of figure 2. However, for the reported O(sqrt(T log T/n)) bound, I was expecting the QTPT results to look less linear.
Discussion:
The discussion of the method is quite buried. For instance in L302-306 the authors sketch an intuitive picture on why their method performs better with random data over expert data, except for the sparse reward setting. I feel that this insight deserves a highlight, perhaps a “takeaway” box?
Neutral:
L99-100: “As a non-adaptation method, the In-Context Learning (ICL) approach …”, what do you mean here? Is it implied that ICL is non-adaptive? That would be strange as that claim seems to conflict with the paper’s narrative and known results, please try to rephrase this to be more accurate with your message.
Typo on L107: pertaining → pretraining
It would help to move the model architecture L179-183 up to section 2.2 for a self-contained discussion of the algorithm. It is now hidden in the theory section.
Sentence L206-207 “Proposition 3.3 highlights that …, ” does what? What does it highlight? I think the sentence is broken, can you reformulate what you mean.
L278-282, the main text could use a short mention that the curve of QTPT does not look square-root like or logarithmic due to the finite-horizon setting. This also merits a mention in the caption in figure 2, because without reading the main text and glossing over the figures, then figure 2-left as a standalone looks like SPT will be better than QTPT if T were extended, but that’s likely only an artifact.
Questions
-
For the pretraining loop in Algorithm 1, lines 4-9: Is there any reason why we shouldn’t just put the whole dataset (or at least the whole batch) in the Q-function on line 6 (aside from data in the future >t to preserve causality)? Won’t that give a better learning target for line 7 since is constructed with more examples for the ICL to kick in from separate episodes?
-
Do propositions 3.3 and 3.4 on the complexity of model bias assume that the ICL of the QTPT model is consistent? I.e., it recovers the true parameter given infinite data?
- Explanation: The complexity result seems to imply consistency since the numerator will dominate in Prop.3 and drive model bias to zero, but I don’t see this property explicitly being touched upon in the text. From prior work, I know that transformers and ICL can learn statistically consistent routines (Xie et al., 2021), but I haven’t yet seen work that guarantees it actually does. So, I believe this deserves proper discussion. Because I’m not convinced that the paper shows that ICL is statistically consistent, unless I’ve missed something. Note that I might also have misunderstood the model bias term.
-
Why does the term disappear in the complexity bound in Propositions 3.3, 3.4, and 3.5? Not to be confused with the TD/value error that you use in the proofs, which makes it slightly ambiguous.
-
How does your work fit in to prior Bayes-adaptive or belief MDP bounds, are there known sample-complexity bounds, and what are their assumptions?
- Explanation: The Q-Transformer is essentially predicting the Q-value of the Bayes-adaptive MDP. The construction is exactly the same aside from the fact that we are using a history as a proxy for the belief rather than the belief itself. This is classical work in the field and must be acknowledged and properly discussed.
Xie, et al., 2021. An Explanation of In-Context Learning as Implicit Bayesian Inference. https://arxiv.org/abs/2111.02080
Limitations
There is no discussion or analysis of starting the offline pre-training with an already existing pre-trained transformer. I.e., so that the RL-part can be added as an extra pre-training phase. Although the paper is on pre-training itself, there is no discussion on why we shouldn’t start out (Line 3 Alg.1) with some model on huggingface since these models already internalize a lot of knowledge and can amortize part of the RL-training finetuning phase.
Given the current popularity of RFT I think this is worth a mention. At the very least, in the related work.
Final justification
I choose to keep my score as per the initial review. The authors give a strong and lengthy rebuttal, but also to an extent that I wonder whether the paper needs a bit more polish and consequently review to be published at this point in time. The clarity of the paper still hinders the contributions in my opinion. But like I said in my reply to the rebuttal, I am not an expert in this particular subfield and may simply have misunderstood.
It is ok if the paper gets accepted or rejected in my eye, it is borderline where I lean towards rejection. I am ok if the other reviewers disagree and wish to champion.
Formatting concerns
NA.
9 comments
We thank the reviewer for the detailed and constructive review. We appreciate the clear list of pain points and will revise the paper in the same spirit: first improving the readability of the technical section and notation, then making the related-work positioning explicit, and finally correcting the experimental presentation and local wording issues.
Q1
L191 - Proposition 3.2, I was briefly lost on what L meant, I assume that is the inverse of Assumption 3.1 (c)? But it drops out of nowhere and deserves a brief mention/crossref on what the value means again. Also how does this value influence the result/bound that you derive.
A1: Thank you for asking us to clarify both the meaning of and how it enters the result. The reviewer's interpretation is correct: is the inverse occupancy lower bound in Assumption 3.1(c). More precisely, is the minimum positive behavior occupancy on the behavior-policy support:
A larger means that some behavior-supported histories/actions are rare, so the offline data provide weaker coverage. Its effect on Proposition 3.2 is explicit:
Here the proposition uses , where the uniform Bellman-residual bound is
Thus, holding , and fixed, replacing by multiplies the displayed bound by . Equivalently, if , the bound scales as . This factor arises when the proof transfers Bellman-residual error measured under the behavior occupancy to performance error under the optimal-policy occupancy:
after which Cauchy--Schwarz produces the dependence. Consequently, weaker coverage amplifies both the finite-sample terms and the additive Bellman-residual term. We will add an explicit cross-reference before Proposition 3.2 and this interpretation immediately after the bound.
Assumption 3.1(c) is not full support over every possible history-action sequence: it lower-bounds occupancy only on the positive behavior support, while Assumption 3.1(b) requires the support of one optimal policy to be contained in that behavior support. These are standard offline-RL coverage/concentrability conditions. For example, Chen and Jiang (2019) study the role and limitations of concentrability in batch RL; Duan et al. (2021) derive batch-RL risk bounds under coverage and Bellman-completeness conditions; and Nguyen-Tang et al. (2023) use partial coverage/optimal-policy concentrability and lower-bounded occupancy conditions closely aligned with Assumption 3.1(b,c) [1-3]. We will repeat this existing point locally near Proposition 3.2 so that the role of is immediately clear.
Q2
In section 3.4. The definition of the non-informative context set G is sketched in terms of a complexity bound on a value error. But what does this mean? Because it is never discussed. From the wording alone, my intuition of a non-informative context would be that G = ∅.
A2: Thank you for pointing this out. Section 3.4 already defines as the set of context-action pairs whose action gap is at most , but we agree that the manuscript does not explain the intuition behind this definition clearly enough. The phrase "non-informative context" may therefore misleadingly suggest that . This is not the intended meaning: contains near-indifferent context-action pairs, and it necessarily includes an optimal action because its action gap is zero.
The missing explanation is how this definition connects to the QTPT-SPT comparison. For pairs in , following the behavior action causes only a small value loss, so SPT can perform similarly to QTPT. Outside , the behavior action has a non-negligible gap; SPT may imitate that suboptimal action, whereas QTPT can use rewards and Bellman targets to distinguish it from better alternatives. We will add this interpretation immediately after the existing definition.
To be continued...
Q3
The clarity of the technical sections can be significantly improved to readers... some pain points I had while reading:
So, in the theory sections, it would help to briefly... the discussion in section 3.3, L228-246 is quite nice, and I found it insightful.
A3: We sincerely thank the reviewer for this constructive criticism and the concrete "what/how/why" suggestion. We agree that the current theory section asks readers to infer too much from notation and theorem statements, and we will revise its exposition rather than only make local notation fixes.
Before each main proposition, we will add a short roadmap stating the goal, proof route, and meaning of the result; after each new assumption or quantity, we will add an interpretation sentence. We also appreciate the positive comment on Section 3.3, L228-246 and will use that discussion style as the template for the rest of Section 3. This should let readers directly distinguish terms arising from offline coverage, finite samples and horizon dependence, and Transformer approximation/model bias.
Q4
RL or supervised finetuning of already pre-trained models. Despite the paper discussing pre-training, it is not clear why we shouldn’t start with an already existing model (see also my comment in limitations).
There is no discussion or analysis of starting the offline pre-training with an already existing pre-trained transformer... can amortize part of the RL-training finetuning phase.
Given the current popularity of RFT I think this is worth a mention. At the very least, in the related work.
A4: We thank the reviewer for raising this timely point. We need to clarify a terminology and scope ambiguity in the current manuscript. Our use of "pretraining" follows the ICRL/SPT protocol in works such as Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretraining [4]: a Transformer is trained on offline trajectories from a task family and then deployed in context on a new task. Here, "pretraining" therefore means trajectory-level pretraining for decision making, not specifically language-model pretraining.
We will add a concise related-work/limitations paragraph along the following lines:
There are two different uses of "pretraining" here. In pretrained-LM/RFT pipelines, the main question is model origin and downstream adaptation: one starts from a language model pretrained on large text corpora and then optimizes it with task demonstrations, rewards, preferences, or other feedback on token outputs. Such initialization can provide strong linguistic and semantic priors for text-based tasks, but it does not by itself define the RL decision interface or the Bellman training target. By contrast, the ICRL/SPT line studies how a decision model trained on offline trajectories performs in-context decision making. QTPT follows this latter protocol and asks an objective-level question: given offline state-action-reward trajectories, should trajectory pretraining use supervised action prediction or Bellman/Q-target regression? Bellman targets exploit rewards and transitions to propagate value information, which language pretraining alone does not provide.
If one literally starts from a Hugging Face pretrained LM and then continues with RL trajectory pretraining, the main obstacle is the interface mismatch between text-token models and RL decision models. One must map states, actions, rewards, and histories into the model's token or embedding space, replace next-token logits with Q-value/action-selection heads, and handle continuous or environment-specific action spaces. More importantly, pretrained linguistic knowledge does not remove the offline-RL coverage requirement: Bellman targets can only propagate reliable value information over state-action regions sufficiently covered by the offline data.
The closest prior work for our use of "pretraining" is therefore the ICRL/SPT line, especially Lin, Bai, and Mei [4]. The pretrained-LM/RFT line asks where the initial model comes from and how it is adapted with downstream feedback; our paper asks which trajectory-pretraining objective should be used once offline RL trajectories are given. We will add the paragraph above to Related Work/Limitations and make this distinction explicit. We thank the reviewer again for helping us identify this ambiguity.
To be continued...
Q5
Belief-MDPs and Bayes-adaptive MDPs are entirely omitted despite the vast body of knowledge that is captured in this classical field... from this body of work and contrast the assumptions with their results.
A5: We thank the reviewer for identifying this omission. The structural connection is indeed classical: in a POMDP or Bayes-adaptive MDP, history determines a belief over latent states or MDP parameters, and optimal control can be written on that belief state [5-7]. Accordingly, QTPT's , where the context state contains the interaction history and current state , can be interpreted as a history-conditioned approximation to a belief-state Q-function. QTPT does not explicitly recover a posterior, and we do not claim that using history as a belief proxy is itself new. Modern meta-RL methods instantiate a closely related idea: PEARL infers a probabilistic task-context variable from transitions and conditions decision making on that learned context [8].
We will add a concise related-work discussion that reports representative bounds as well as the information assumptions behind them. Under finite Bayesian MDP assumptions and online interaction, BOLT gives a PAC-BAMDP sample-complexity bound of , improving the corresponding dependence of BEB [9,10]. These results assume an explicit Bayesian prior/posterior and online optimistic planning in the belief-augmented MDP. Related approximate methods use sample-based search to avoid exact belief-space planning [11].
QTPT studies in-context learning from fixed offline trajectories, where the within-episode history serves as the context. Its assumptions and bound are therefore closer to offline RL. In particular, QTPT uses behavior-support/coverage and function-class approximation assumptions and analyzes learning from logged trajectories without posterior updates or online exploration. The closest supervised-trajectory-pretraining comparison, Lin, Bai, and Mei [4], gives an SPT-type rate of . Our contribution is to analyze the Bellman/Q-target trajectory-pretraining objective under offline coverage and sequence-model approximation, rather than to introduce a new belief formalism. We will add this positioning and comparison explicitly.
Q6
Figure 2-right is missing error-bars.
A6: Thank you for pointing out the missing error bars. The original Figure 2-right experiment already included independent training runs. However, when preparing the submitted bar chart, we inadvertently plotted only the means and omitted the error bars. We will add the corresponding standard-deviation bars and state their meaning in the revised caption. The statistics underlying the original experiment are shown below; all entries are mean standard deviation across independent training runs, evaluated on the same 1,000 task instances.
| Method / Expert Mix | 0.0 | 0.1 | 0.2 | 0.25 | 0.5 | 0.75 | 0.8 | 0.9 | 1.0 |
|---|---|---|---|---|---|---|---|---|---|
| QTPT Gap ↓ | 31.97 ± 1.45 | 31.58 ± 0.41 | 32.57 ± 0.66 | 33.92 ± 1.25 | 36.24 ± 1.57 | 36.43 ± 1.75 | 35.64 ± 0.90 | 37.93 ± 2.44 | 38.14 ± 2.02 |
| SPT Gap ↓ | 220.85 ± 1.24 | 210.40 ± 1.24 | 196.89 ± 11.14 | 173.79 ± 9.33 | 139.98 ± 11.59 | 78.30 ± 2.56 | 77.94 ± 6.66 | 59.95 ± 11.76 | 46.32 ± 1.83 |
The error bars do not change the qualitative conclusion of Figure 2-right: QTPT remains relatively stable across the random-to-expert mixture sweep, while SPT improves as the behavior data becomes stronger but has substantially larger suboptimality gap under weak or mixed data.
Q7
Table 1-2 puts the “best” result in bold-face, however none of these results seem statistically significant for the tested 5 seeds. I think this is a gap in the presentation.
A7: Thank you for pointing out this presentation issue. We apologize that Tables 1 and 2 use different statistical reporting conventions, which may have caused confusion. As indicated in their headers, Table 1 reports mean rewards with 95% confidence intervals, whereas Table 2 reports mean standard deviation. We would therefore like to clarify that the uncertainty values in Table 1 are confidence intervals rather than standard deviations across training seeds.
To be continued...
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes an approach to solve meta-RL with in-context learning. A direct evaluation would come from comparing this paper with RL^2 (evolving RNN's hidden states approximate TD learning) or PEARL (off-policy learning for meta-RL). The paper try to solve meta-RL by "meta" learning a Q function that take input the full interaction history (instead of just the state) and output an action. Here, the Q function is basically double-duty as the task identifier for traditional meta-RL as well. One benefit of in-context meta-RL approaches, in general, is that we can avoid doing any gradient updates at test time, but there are many challenges to handle, which I will mentioned later.
Unlike many previous works that just use Transformer-based network for RL, the authors proposed the history conditioned Q-function as the pre-train objective, which aim to address the noisy training data problem as this approach is off-policy learning. The key contribution of the paper is the theoretical analysis, showing the sub-optimality guarantee and the required assumptions. The empirical experiments are quite nice as well, demonstrating the claims that the authors made (QTPT has robust performance under noisy training data in comparison with other baselines.)
Strengths and weaknesses
- The novelty is in the unique context conditioned Q-function used to solve meta-RL and the following theoretical analysis
- The experiments demonstrating the authors' claims
Questions
In what context would this approach preferable compared to classical meta-RL approaches?
Limitations
- It would be nice to have a clear comparison with other traditional meta-RL approaches (such as RL^2, PEARL, etc.) on both the theory and experiments.
- One of the key problem is that a Q function which is context dependent would have very large effective input space, so the theoretical guarantees rely on strong coverage, realizability, and low-complexity approximation assumptions. Without additional structural assumptions on the task family, learning may have poor sample complexity, potentially much worse than classical fitted Q-learning on Markov states.
- Assumption 3.1 (c) (Lower-Bounded Occupancy) is very strong by assuming that the occupancy density is non-zero everywhere, for all possible input sequence. Even then, L would be come very large, which weaken your guarantee.
From AI:
- The n^{-1/4} in your guarantee is not the very good
- The contextual Q-function proposed is of incremental novelty
Final justification
The authors comprehensively answered all of my questions.
Formatting concerns
N/A
7 comments
We thank the reviewer for the thoughtful and constructive assessment. We agree that QTPT should be positioned more explicitly relative to classical meta-RL, and we address below the statistical cost of history conditioning, the precise scope of our coverage assumption, the rate, and the objective-level novelty.
Q1
In what context... classical meta-RL approaches?
A1: Thank you for this important question. QTPT is designed for, and is operationally most directly applicable to, pretraining from a multi-task trajectory dataset, especially when additional environment interaction for pretraining or meta-training is unavailable or costly and the behavior policy that generated the data is weak or suboptimal. This data-availability fit alone does not guarantee higher return than every adapted meta-RL baseline.
QTPT also does not require expert or optimal action labels. Its Bellman/Q-target objective uses rewards and transitions to evaluate actions and induce a greedy policy. It can therefore perform value-based policy improvement from data generated by a weak behavior policy rather than directly reproduce the behavior-policy actions. This is the regime examined by our weak-data and mixed-data experiments. Conversely, when active meta-training interaction is readily available and learning an exploration strategy is the main objective, RL² and PEARL directly optimize that interactive regime and may be preferable. The two focused comparisons in Q2 provide preliminary empirical support for this regime distinction: QTPT outperforms RL$^2$ at the matched 1M-transition budget and outperforms PEARL when QTPT and PEARL train on the same weak replay dataset, while RL² closes the gap as its active-interaction budget increases. These diagnostic results illustrate the relative advantage regions without establishing a universal ranking.
Q2
It would be better to provide... both theoretically and experimentally.
A2: Thank you for this helpful comment. We agree that the relationship to classical meta-RL should be stated more clearly. We compare QTPT with RL² and PEARL below using one common theoretical decomposition and two focused experiments.
Before presenting the comparison, we clarify the data protocols: RL² is meta-trained on-policy using fresh environment interaction; PEARL performs off-policy SAC updates from a replay buffer that is normally populated through active interaction; QTPT is pretrained from a fixed offline multi-task trajectory dataset. Accordingly, our RL$^2$ experiment matches total transition counts under the methods' native acquisition protocols, whereas our PEARL experiment places both methods on the same fixed weak replay dataset.
Theory. We introduce the following auxiliary comparison bound to place the three methods in a common theoretical view. Following our paper's notation, let denote the complete context state (past interaction history and current state). For each method , let denote its resulting deployed policy; for QTPT, this corresponds to the policy defined in our paper. We define the expected continuation-value gap of method at step as
where the expectation is over the test task, the evaluation histories generated by , and transition/reward randomness. Thus, measures the expected loss in the remaining cumulative return from step onward; at , it coincides with the full-episode suboptimality notion used in our paper. Let denote the information that method retains for action selection. If the remaining return lies in an interval of length , then
The three terms capture policy-class approximation, task information discarded when is represented by , and finite-data/optimization/control error, respectively. To see (1), insert the best policy in method 's class when given the full context state and then the best policy restricted to . The first and last gaps define and . For the middle gap, replacing by costs at most . Pinsker's inequality and Jensen's inequality give the displayed information term because is computed from and .
To be continued...
Equation (1) exposes the core trade-off. RL² may lose task information through finite-state GRU compression, but fresh on-policy trials can reduce learning/control error. PEARL may lose task information through its inferred latent context, but active context collection and replay-based SAC can reduce learning/control error. QTPT takes , eliminating input-level information discard, but remains limited by Transformer approximation, offline coverage, and Bellman estimation (Proposition 3.2).
RL² comparison. We compare QTPT and RL² at matched total training-transition counts under their native data-acquisition protocols on the original RL² five-arm, ten-pull Bernoulli bandit [1]. Each task has five unknown arm probabilities, so the agent must use early outcomes to choose better arms later. Apart from each method's native data-acquisition and training mechanism, we match the evaluation conditions using 1,000 common test tasks and common Bernoulli outcome tapes. Here, one pull contributes one training transition, so 1M and 5M transitions correspond to 100,000 and 500,000 ten-pull training episodes, respectively. For QTPT, this count is the size of the fixed offline corpus; for RL², it is the cumulative number of fresh on-policy transitions collected during meta-training.
| Method and data protocol | Training transitions | Pseudo-regret | Bayes-normalized progress |
|---|---|---|---|
| QTPT, fixed random corpus | 1M | ||
| RL², fresh on-policy trials | 1M | ||
| QTPT, fixed random corpus | 5M | ||
| RL², fresh on-policy trials | 5M |
Entries report mean standard deviation across independent training runs. Pseudo-regret is (lower is better) and removes Bernoulli outcome noise when measuring action quality. At 1M, QTPT's pseudo-regret is lower than RL²'s by 0.441.
A direct finite-horizon calculation gives an exact Bayes-optimal pseudo-regret of 1.673345 for this task, compared with 3.333333 for a uniform-random policy. Using the random policy as 0% and the Bayes-optimal policy as 100%, the final column reports Bayes-normalized progress.
The comparison is regime-dependent, not a universal ranking. At 1M transitions, QTPT achieves 0.441 lower pseudo-regret than RL² and reaches 85.4% Bayes-normalized progress, compared with 58.9% for RL². At 5M, both methods reach near-Bayes-optimal performance and differ by only 0.004 pseudo-regret, consistent with RL² benefiting from a larger active-interaction budget.
PEARL comparison. To compare QTPT with PEARL, we design a simple fixed-offline ten-pull continuous meta-bandit [1,2]. We use a separate task because our RL² comparison follows its original discrete Bernoulli-bandit setting, whereas PEARL couples probabilistic context inference with continuous-action SAC and replay-based training. Each task has a hidden target ; choosing continuous action gives expected reward , so the methods must use early action--reward observations to infer the target and select increasingly accurate actions. QTPT and PEARL train on exactly the same 80,000 transitions generated by a weak uniform-random behavior policy. This controlled experiment adapts only the data-acquisition protocol to the common offline replay while retaining PEARL's probabilistic encoder, posterior sampling, and SAC objectives. We evaluate seven seeds using 1,000 common test tasks and two common noise tapes. Both methods use a fixed 10,000-update endpoint without test-set checkpoint selection. Their mean training times are 842.7 seconds for QTPT and 1,062.7 seconds for PEARL (PEARL ), so their wall-clock compute is also of a similar order.
| Method | Cumulative pseudo-regret |
|---|---|
| QTPT | |
| PEARL |
Cumulative pseudo-regret is (lower is better) and excludes reward noise; entries report mean standard deviation across seven independent training seeds. Because the two diagnostics use different task and action spaces, regret values are comparable only within each experiment, not across the two tables.
The paired QTPT-minus-PEARL difference is , with an exploratory bootstrap 95% interval and an exact two-sided sign-test result of . The improvement is statistically significant under this protocol. QTPT also has lower mean pseudo-regret at every test pull after averaging across seeds. Thus, QTPT extracts substantially more adaptation value from the same fixed weak corpus.
To be continued...
Overall, these two focused experiments provide preliminary empirical evidence consistent with the regime-dependent trade-offs highlighted by (1): QTPT is advantageous in the low-data fixed-offline setting, while RL² narrows the gap as its active-interaction budget increases. The PEARL diagnostic separately shows QTPT's advantage when both methods are trained on the same fixed weak corpus. Since the current experiments cover only two diagnostic tasks and a limited set of data protocols, they do not establish a universal ranking among QTPT, RL², and PEARL. Systematically characterizing their relative advantages across task families, offline-data coverage, and active-interaction budgets is an important direction for future work.
Q3
One of the key problems is... than classical fitted Q-learning on Markov states.
A3: Thank you for highlighting this important statistical limitation. We agree that learning an arbitrary function over raw histories can be statistically harder than learning a Markovian , and QTPT does not claim otherwise. Proposition 3.2 exposes, rather than removes, this cost through coverage , effective class complexity , and Bellman misspecification :
Consequently, the bound may be loose or vacuous when coverage is poor, the induced history-dependent class is too complex, or its Bellman error is large. A useful guarantee requires the task family to admit a decision-relevant history representation whose induced Q-function class has controlled complexity and approximation error; this is what the terms and encode, not an unconditional conclusion of Proposition 3.2. For a continuous Transformer class, the capacity term must be instantiated through an explicit covering-, norm-, or Rademacher-complexity control rather than interpreted as a dimension-free guarantee; we will make this point explicit.
Proposition 3.3 provides one concrete structured example, not a general sufficient-statistic theorem. In the stochastic linear bandit, under linear realizability and the explicit excitation condition , the Gram matrix and accumulated action-reward vector determine the least-squares estimate, and the model-bias bound has explicit dependence on , and . Darkroom and Dark Key-to-Door are empirical finite-latent-goal settings rather than theoretical proofs of low history complexity. Likewise, NoCtx shows that history is decision-relevant in those tasks; it does not show that arbitrary history-dependent functions are statistically easy to learn.
For general finite-horizon MDP task families, we have not proved that such controlled-complexity structure always exists. Without it, or under inadequate offline coverage, QTPT may indeed be less sample efficient than Markov fitted Q-learning. This limitation is precisely the statistical price of history-dependent task inference when the current state is not task-sufficient. We will make this boundary explicit: state-only fitted Q-learning may be preferable when the Markov state identifies the task, whereas the additional history complexity is necessary when task-relevant information must be inferred from past interaction, as illustrated by Darkroom.
Q4
Assumption 3.1(c)... which weakens the guarantee.
A4: Thank you for highlighting the role of coverage. We first clarify that Assumption 3.1(c) does not require non-zero occupancy for every possible history-action sequence. It is explicitly restricted to the positive support of the behavior policy:
Assumption 3.1(b) separately requires that the support of one optimal policy be contained in the behavior support:
Therefore, histories outside the behavior support need not have positive density. The assumption is weaker than uniform coverage of the complete history-action space, although it is stronger than support inclusion alone because the positive behavior occupancy must be bounded away from zero. Nguyen-Tang et al. [3] likewise study partial coverage with respect to an optimal policy; Yin and Wang [4] state the weak support condition whenever ; and Shi et al. [5] analyze offline Q-learning under single-policy concentrability without full state-action coverage.
To be continued...
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Investigates in-context RL behavior under weak/suboptimal pretraining data. Proposes Q-Target Pretraining (QTPT), aligning sequence model outputs to Bellman-style target values to enable behavior stitching.
QTPT replaces behavior cloning (action prediction) with a contextual Bellman/TD value prediction objective during pretraining. Specifically, it minimizes contextual temporal difference error over sequence states, and executes greedy rollouts with respect to the learned action-values at test time.
The paper provides:
- Finite-time suboptimality bounds separating sample bias (dependent on dataset size ) and model bias (transformer approximation error ) for linear bandits and finite-horizon MDPs.
- A technical comparison showing that QTPT can recover optimal/stitched trajectories in situations where SPT fails.
- Empirical results showing QTPT outperforms SPT on synthetic RL benchmarks (bandits, Darkroom, Dark Key-to-door, Miniworld), D4RL tasks (Kitchen, AntMaze), and LLM math reasoning (GSM8K).
Strengths and weaknesses
Strengths:
- Solid conceptual premise: TD-pretraining targets enable out-of-trajectory value stitching during model inference.
- Rigorous suboptimality bounds.
Weaknesses:
- Analysis assumes deterministic dynamics; extension to stochastic environments lacks constructive verification.
- Does not address computational limits of storing and updating large-scale Q-target networks during pretraining.
Questions
- The suboptimality bound for general MDPs scaled with . Can the authors clarify whether the dependence can be tightened, or is it a fundamental bottleneck of using sequence histories?
- How does QTPT handle OOD action values during greedy rollouts? Since there is no explicit pessimism (unlike CQL/IQL), does it suffer from value overestimation at test time when executing actions not present in the pretraining dataset?
- In Appendix F.1 (Table 3), the authors showcase alternative ablation results. Could they explain why ReLU-Attn + Softmax-Attn results in a massive degradation (reaching ~197-203 regret compared to default 30-39)? What is the primary cause of this sensitivity?
Limitations
Yes, the authors adequately discussed limitations in Appendix A, highlighting coverage assumptions and performance gaps relative to state-of-the-art D4RL baselines.
Final justification
Rating: 4
Final Justification: The authors answered my questions on stochastic dynamics, compute cost, the rates, OOD actions, and attention sensitivity. I keep rating 4 and support accept. If a champion is needed against the clarity concerns, I am willing.
Formatting concerns
None
4 comments
We thank the reviewer for the careful and technically constructive assessment. We address all five points below.
Q1
Analysis assumes deterministic dynamics... lacks constructive verification.
A1: Thank you for raising this point. We clarify that the analysis does not require deterministic dynamics. Section 2 defines the context transition as a probability distribution, and the Bellman operator averages over the stochastic next context:
Hence, and the population Bellman residual is zero for stochastic as well as deterministic transitions.
The remaining point to clarify is how this expected Bellman residual corresponds to the sampled TD objective used in Algorithm 1. For fixed , let
The following exact decomposition holds:
The conditional-variance term is independent of the current predictor . Therefore, sampled TD regression and regression onto the expected Bellman target have the same population minimizer. Stochastic transitions increase target variance but do not change the Bellman target learned by QTPT. We will add this decomposition in the revision to make the stochastic-dynamics argument more explicit; this clarification does not affect the algorithm itself.
Q2
The paper does not address computational limits... during pretraining.
A2: Thank you for raising this practical concern. The notation denotes the time-indexed outputs of one parameter-shared Transformer, rather than separately stored Q-networks. QTPT also does not store Q-targets for the full offline dataset. For each mini-batch, the online model produces the action values for all positions in one forward pass; the TD targets are constructed on the fly and discarded after the update.
In the submitted Double-DQN implementation, training maintains one additional target copy of the Transformer. It is evaluated without gradients or optimizer states and is synchronized with the online model every 100 optimizer steps. Thus, for a model with parameters, the target network adds parameter memory, one no-gradient forward pass per mini-batch, and an hard-copy operation every 100 optimizer steps. The target copy is unnecessary at deployment. Our default ReLU-attention linear-bandit model has approximately 2.9M parameters, so its FP32 target copy occupies approximately 11 MiB; this overhead is small at the scale evaluated in the paper.
For a substantially larger Transformer, the main limitation is the extra target-parameter storage, which doubles model-parameter storage from to . The update cost is amortized by periodic synchronization, but distributed pretraining additionally incurs communication when the target weights are refreshed. Storing and evaluating the target network in BF16/FP16 halves its parameter memory relative to FP32, while sharding the target weights across devices reduces the per-device target storage from to . These techniques preserve the same target-network update rule. We will include this concrete limitation and mitigation discussion in the revised manuscript.
Q3
The suboptimality bound for... bottleneck of using sequence histories?
A3: Thank you for raising this important question about the horizon dependence. The dependence is not known to be tight. Our theorem is an upper bound, and we do not have a matching lower bound showing that is intrinsic to sequence histories. More precisely, it is the conservative worst-case dependence obtained under our general bounded-reward and one-sided offline-coverage assumptions using the current range-based Bellman-error analysis. Its source can be identified directly in the proof of Proposition 3.2. Writing , the proof gives
The range-based uniform-convergence step then gives : per-step rewards are bounded by one, so the remaining return and Bellman target have range . Combining the two inequalities yields . Thus, one factor of comes from worst-case accumulation across stages and the other from the worst-case target range.
To be continued...
The closest full-history ICRL analysis exhibits the same dependence. Lin, Bai, and Mei [1] bound the expected cumulative-reward gap by a term proportional to for algorithms conditioned on the complete interaction history . Their Theorem 13 is specifically a soft-UCB-VI/ICRL regret result for tabular MDPs; alongside the online UCB-VI terms, it includes the supervised-pretraining component . These results, like ours, are upper bounds and do not establish that is tight.
Obtaining a more favorable horizon dependence than the term in our offline RL bound requires additional structural assumptions and algorithmic machinery. For example, Yin, Bai, and Wang [2] obtain episode complexity for finite-horizon stationary-transition tabular MDPs, whereas their Theorem 3.2 [2] has dependence for non-stationary transitions. Their setting assumes weak coverage that traces one optimal policy, and defines as the minimum positive behavior occupancy on the behavior support [2]; it does not assume positive occupancy for every state-action pair. The result additionally exploits a transition kernel shared across stages to aggregate state-action samples across time, together with OPDVR's double-variance-reduction construction. This result is not directly interchangeable with our function-approximation bound, but it demonstrates the additional conditions needed to obtain more favorable horizon dependence in offline RL. We therefore view our term as the conservative worst-case upper bound supported by the present assumptions and proof route, not as a proven fundamental lower bound. Whether it can be improved under exactly the same assumptions remains open.
Q4
How does QTPT handle OOD action values... present in the pretraining dataset?
A4: Thank you for raising this important question. QTPT explicitly mitigates value overestimation in its implementation. As described in Appendix F.1, the original implementation combines a Double-DQN-style online/target decoupling [3] with a softmax Bellman backup. Following the paper's notation, let denote the causal in-context state, the online network, and the periodically updated target network. The target is constructed as
with . The online/target decoupling reduces the maximization bias caused when the same noisy estimator both selects and evaluates an action. The softmax backup further prevents a single spuriously large Q estimate from completely determining the Bellman target. Thus, the submitted QTPT implementation is not naive single-network hard-max Q-learning: it already contains two mechanisms aimed at suppressing value overestimation.
We directly test whether residual overestimation remains specifically for actions outside the offline behavior support. We use a support-controlled stochastic linear bandit with 10 five-dimensional action vectors, horizon , and reward , where . For every task, seven actions are sampled uniformly as the supported set , and the random behavior policy is restricted to throughout the complete offline trajectory. The remaining three actions form the unsupported set : their vectors are visible in the action set, but they never occur as executed action--reward pairs in pretraining. The split is randomized independently for every task, so the model cannot exploit a fixed action-index pattern. We train on 10,000 tasks, select checkpoints by held-out validation loss, and evaluate on 1,000 disjoint tasks for each of five seeds.
We use a factorial design to separate backup stabilization from explicit pessimism. The stabilization factor compares the submitted QTPT, which uses Double-target and softmax backup, against naive hard-max QTPT, which uses a single-network hard maximum. The pessimism factor adds only the discrete CQL(H) log-sum-exp regularizer with [4], yielding QTPT + CQL penalty and naive hard-max QTPT + CQL penalty. Architecture, context input, data, checkpoint selection, and evaluation are otherwise matched. We use CQL for this direct all-action pessimism ablation because IQL avoids out-of-sample action maximization through expectile value fitting and advantage-weighted policy extraction [5], making it unsuitable for a like-for-like comparison with QTPT's greedy-Q diagnostic.
To be continued...
At the final decision step, the model receives . Because no future reward remains after this decision, the exact action value is , so predicted and true Q values can be compared without Monte Carlo approximation. We report the max-gap bias , the rate of greedily selecting a suboptimal unsupported action, the regret attributable to those selections, and cumulative regret over a complete greedy rollout.
Briefly, is the excess error in the predicted unsupported-versus-supported maximum-Q gap; harmful OOD selection rate is the fraction of tasks where greedy selection chooses an unsupported action whose true value is below the best supported action; OOD-attributable regret is the resulting true-value loss; and full-rollout cumulative regret measures the deployment-level cost accumulated over all decisions. Lower is better for all four metrics.
| Method | Harmful OOD selection rate | OOD-attributable regret | Full-rollout cumulative regret | |
|---|---|---|---|---|
| QTPT | ||||
| Naive hard-max QTPT | ||||
| QTPT + CQL penalty | ||||
| Naive hard-max QTPT + CQL penalty |
Each entry reports mean standard deviation across five independent training/data seeds. The unsupported-minus-supported mean prediction bias remains near zero for all four methods (from to ). QTPT is nevertheless not immune to unsupported-action overestimation: the 95% CIs of its max-gap bias, harmful OOD selection rate, and OOD-attributable regret all lie strictly above zero. The failure is therefore a policy-relevant max-selection error rather than a uniform upward shift of all unsupported-action values.
The paired comparisons separate mitigation from elimination. Relative to QTPT, naive hard-max increases the harmful OOD selection rate by and OOD-attributable regret by ; both paired 95% CIs lie strictly above zero. This confirms that the submitted Double-target and softmax-backup mechanisms significantly reduce policy-level damage.
The added fourth cell shows that CQL produces no statistically reliable improvement in either backup branch. Under both submitted QTPT and naive hard-max QTPT, the paired 95% CIs for the CQL-induced changes in max-gap bias, harmful selection rate, OOD-attributable regret, and full-rollout regret all contain zero. Thus, the lack of reliable CQL improvement is not specific to placing CQL on top of QTPT's stabilization mechanisms. A plausible explanation, consistent with the task construction, is that behavior-support OOD actions are not necessarily poor actions: some are genuinely optimal for the latent task and should be recovered through task generalization rather than uniformly suppressed. Moreover, because QTPT models with , action support is context- and task-conditional: the same action may be supported under one in-context state but unsupported under another. Standard CQL is evaluated at each sampled context rather than imposing a global action blacklist; however, its all-action penalty does not distinguish a harmful unsupported action from one whose value can be inferred through shared task structure. This mismatch may limit its benefit.
The same lack of a regime-independent gain appears in our larger Darkroom diagnostic under the validation-best protocol:
| Darkroom data mix | QTPT test reward | QTPT + CQL penalty test reward |
|---|---|---|
0.0 |
||
0.5 |
||
1.0 |
These Darkroom results provide complementary, rather than direct Q-calibration, evidence: the intervals are wide and overlapping, and the mean direction reverses at mix=0.5. Taken together, the support-controlled experiment confirms residual unsupported-action overestimation, while Double-target and softmax backup reduce its policy-level impact relative to naive hard-max QTPT. Adding a standard CQL penalty yields no statistically reliable incremental improvement in either branch, and the Darkroom results likewise show no consistent gain across data regimes. Thus, CQL-style explicit pessimism is not a plug-and-play remedy here. We believe that understanding how conservatism should interact with context-conditioned generalization is a promising direction for future work.
To be continued...
Q5
In Appendix F.1... primary cause of this sensitivity?
A5:
Thank you for pointing out this unusual sensitivity. We believe that its primary cause can be understood from the different levels at which these configurations operate: the first three adjust the Bellman target, whereas the final configuration directly changes the history encoder.
Let be the in-context state defined in the paper. The shared context encoder produces and the action-value vector . The default, Double-DQN ablation, and softmax/hardmax ablation preserve the same and only modify how an existing Q vector is converted into a Bellman target. For a fixed Q vector, hardmax uses , whereas the softmax-weighted backup uses
The softmax entropy identity gives
For fixed action weights , the difference between online-network and target-network evaluation is bounded by
After multiplying by , these one-step changes are controlled by and , respectively. The first three configurations therefore share the same contextual representation and introduce finite target-level perturbations. This is consistent with the first three columns remaining comparable: 30.90/34.01/32.48 under random data and 39.40/45.76/53.73 under expert data.
The final column changes the history encoder. In the linear bandit, the encoder must use
to estimate the unknown parameter . Each history observation updates these additive sufficient statistics. Attention normalization changes how this information is aggregated. Consider history tokens for which every attention logit equals and every value vector equals . ReLU and softmax aggregation produce
and hence
Under the present assumptions, this difference has no uniform bound analogous to . Since attention operates before the Q head, it affects task inference and all action-value predictions simultaneously. Its effect can therefore be substantially larger than the target-level ablations. This derivation identifies the theoretical source of the sensitivity, while the regret of 197--203 in Table 3 is the corresponding empirical observation. We will add this explanation to Appendix F.1 in the revision. This also suggests that, when adapting QTPT to new domains, attention normalization should be treated as a representation-level design choice and validated separately from target-construction hyperparameters, because it can alter task inference rather than merely perturb the Bellman target.
References
[1] Licong Lin, Yu Bai, and Song Mei. Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretraining. ICLR, 2024.
[2] Ming Yin, Yu Bai, and Yu-Xiang Wang. Near-Optimal Offline Reinforcement Learning via Double Variance Reduction. NeurIPS, 2021.
[3] Hado van Hasselt, Arthur Guez, and David Silver. Deep Reinforcement Learning with Double Q-Learning. AAAI, 2016.
[4] Aviral Kumar, Aurick Zhou, George Tucker, and Sergey Levine. Conservative Q-Learning for Offline Reinforcement Learning. NeurIPS, 2020.
[5] Ilya Kostrikov, Ashvin Nair, and Sergey Levine. Offline Reinforcement Learning with Implicit Q-Learning. ICLR, 2022.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the Area Chair for the careful summary and for recognizing that the reviewers' concerns are addressable. We have responded to every reviewer individually. Here we summarize the concrete resolutions of the three cross-cutting issues identified in the meta-review.
1. Clarity and readability
We agree that several important definitions and interpretations were too compressed. Our responses now make the following points explicit. First, the analysis permits stochastic transitions: sampled TD regression and regression onto the expected Bellman target have the same population minimizer, with stochasticity contributing only a predictor-independent conditional-variance term. Second, L−1 is the minimum positive behavior occupancy on the behavior-policy support, and the resulting guarantee scales as L; it is not an assumption of positive occupancy over every possible history-action sequence. Third, the ``non-informative context'' set G denotes near-indifferent context-action pairs with a small action gap, rather than an empty or literally information-free context set. We also clarify the meanings of model bias, the confidence parameter δ, within-episode causal context in Algorithm 1, and the distinction between trajectory pretraining for ICRL and language-model pretraining.
In the revision, each main theoretical result will begin with a short what/how/why roadmap, and each new assumption or quantity will be followed by its operational interpretation. We will also move the architecture description next to Algorithm 1, correct the identified incomplete sentences and terminology, and add the missing connection to belief-MDP and Bayes-adaptive MDP work. In particular, QTPT's history-conditioned Q-function can be viewed as an approximation to a belief-state Q-function; our novelty claim is not that history can represent belief, but that Bellman/Q-target regression is used as the trajectory-pretraining objective for offline in-context policy improvement.
2. Experimental presentation and robustness
We agree with the presentation concerns. We will add the omitted error bars to Figure 2-right, explicitly label axes and metric directions, state whether uncertainty denotes standard deviation or a 95% confidence interval, and clarify that the finite-T curves are not intended to visually reproduce an asymptotic rate. We will also restrict boldface to statistically supported comparisons; where significance is not established, we will report the highest mean without implying a statistically reliable advantage.
We additionally completed a controlled backbone ablation with matched GPT-2, Llama, and Qwen2 decoder architectures.
The central random-to-expert pattern is preserved across all three: QTPT has a large advantage over supervised pretraining on random data, while the gap narrows as the behavior data become expert-like. This supports an objective-level explanation rather than a GPT-2-specific artifact. We also added focused comparisons with RL$^2$/PEARL and a support-controlled OOD-action diagnostic; their full protocols, numerical results, and limitations are reported in the corresponding reviewer responses.
For precision, throughout the response ``weak offline data'' means trajectories generated by weak or suboptimal behavior policies, including random-policy data. It does not mean that near-optimal decisions may be absent from the behavior support. Random trajectories can be weak in action quality while still being broadly exploratory, which is exactly the regime in which value-based targets can improve over direct behavior imitation. We will state this definition at its first occurrence and retain the shorter phrase only thereafter.
To be continued...