Thank you for your helpful feedback. We are glad that you find retrieval-augmentation to be a compelling idea and the domain-agnostic embedding interesting.
**Poor performance on non-gridworlds:** While RA-DT does outperform all baselines on grid-worlds, the reviewer is correct in stating that RA-DT does not achieve better in-context learning abilities on more complex environments such as Meta-World. RA-DT does outperform baselines in terms of final average performance on hold-out tasks in Meta-World and DMControl. However, note that, to the best of our knowledge, no other method is capable of solving these environments by improving in-context learning behaviour without leveraging expert demonstrations. This is the reason we added a longer discussion section on the shortcomings of existing ICRL methods, and directions we believe are critical for future ICRL research to study. To answer your question (Q3): we believe that RA-DT and other ICRL methods may suffer from all the listed shortcomings, and future algorithms could greatly benefit from improvements along the axes highlighted in the paper. We argue this detailed analysis is a contribution of the paper, as we hope will allow future research to focus on the outlined shortcomings that we identified.
**Domain-agnostic embedding model:** It is true that we primarily compared the domain-agnostic embedding model on the grid world environments. However, across these environments, we observe similar performance trends for the domain-agnostic embedding model as for the domain-specific one. Considering that the domain-agnostic embedding model is pre-trained purely on text, we believe this is remarkable. Furthermore, the domain-agnostic embedding model reduces training cost, as the pre-trained LM is readily available.
We did not conduct the comparison on more complex environments with the domain-agnostic embedding model in our initial version, because we observed that neither RA-DT nor any other baseline exhibits ICL behavior. Furthermore, the results by [1] strongly indicated that domain-agnostic LMs indeed transfer to more complex environments (such as Procgen). However, to validate this, we run domain-agnostic RA-DT on DMControl. We find that similar performance trends hold (see Figures 27 and 28). For our final version, we aim to add the domain-agnostic RA-DT curves for Meta-World and Procgen.
**Discussion on Melo, ICML22:** Thank you for bringing up the paper by Melo [2]. We agree with the reviewer that this paper, as well as the follow-up [3], are important related works, and we added them to our discussion (Section 5) in our manuscript. However, there are considerable differences between our work (and related ICRL methods) and theirs. The most severe difference is that we consider an offline setting, in which the policy is learned from pre-collected trajectories via a supervised learning objective. In contrast, their work learns the policy via online interaction and proper RL objectives, which is more similar to online ICRL methods like Amago [4]. However, using RL objectives in the offline setting is not straightforward and requires to incorporate constraints (e.g., pessimism [5]). Consequently, we believe that an additional comparison against existing online methods is out-of-scope for this work. Nevertheless, we agree that online interaction and RL objectives (as used by [2,3]) can both be important components for ICL to emerge, which is a point we also raised in Section 5.