Summary
This paper proposes Elastic Decision Transformer (EDT), which helps Decision Transformer (DT) generalize offline data by trajectory stitching. Their changes to the DT are: 1) during training, adding an extra term to the objective to estimate the maximum Q values starting from a state (similar to the Implicit Q-Larning algorithm in the literature); 2) during inference, it determines the optimal length of trajectory to put in the prompt to most-likely generate a trajectory with a high return. EDT is evaluated with other state-of-the-art offline RL algorithms (including both classical and DT-based ones) on D4RL and Atari domains.
Strengths
This work addresses a well-known problem in DT, the ability to generalize offline data by stitching different trajectories. There are earlier works that try to address the same problem (Q-Learning Decition Transformer, for example), but the earlier works do not achieve as good performance as EDT.
This work brings the performance of DT-based offline RL methods to match the best algorithms in the literature (IQL). The authors did a thorough evaluation of EDT and baseline algorithms, on D4RL and Atari datasets, which are common benchmarks for offline RL.
The modifications to DT are simple, well-justified, and effective. The paper is overall clearly written and easy to follow.
Weaknesses
**Contributions.** Does this simply implement the idea behind the IQL algorithm in DT? If this is the case, it should be emphasized somewhere in the paper. I have some questions about this in the question section below.
**Clarity.** Need background on expectile regression. It may be helpful to include a figure like Fig. 1 (left) in the IQL paper (Kostrikov et al., 2021) to make this paper more self-competent.
**Minor points.**
Line 94: DT uses rewards-to-go, or return, not rewards.
Line 205: Extra quote mark at the end of the line.
Structure of Sec. 3: Line 115: \tilde{R} should be clearly defined here, it’s a “maximal value estimator.” It’s defined on a trajectory segment.
It would be great to change the color of Fig. 3. The node labels ($S^a_{t-1}$ and $S^b_{t-1}$) are a bit hard to read.
**Missing references**
The paper considered the multi-task regime, but some related works are missing:
Reed, Scott, et al. "A generalist agent." arXiv preprint arXiv:2205.06175 (2022).
Xu, Mengdi, et al. "Prompting decision transformer for few-shot policy generalization." international conference on machine learning, 2022.
Questions
My understanding is that training always uses the same history length ($T$). Does it help to use different history lengths during training as well? It seems that training and inference use histories of different lengths (always length of $T$ for training, length of $\leq T$ for inference). Would it harm the performance?
Sec. 4.4 shows that different history lengths do affect the performance. I wonder if the optimal history length search can be avoided without harming the performance: Given the estimate of the maximum value starting from the state, can the model learn to attend to the right length of history? Or can we make optimal history length search as part of the training? For example, we can find the maximum length during the training and let the model only attend to states within the lengths?
About the empirical results and the contribution of the paper: EDT significantly improves the performance of DT, which is similar to the performance of IQL. Can the authors elaborate the implications of this? Should we simply use IQL since it already has the best performance? What are the reasons for using EDT? (more computationally efficient, simpler to implement?)
Rating
7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.
Limitations
As the authors have mentioned in the paper, EDT adds a computational overhead in the inference process of DT by choosing the history length (Alg. 1).