paper-with-me

홈 › Papers

Retrieval-Augmented Decision Transformer: External Memory for In-context RL

2024-10-09 · Thomas Schmied, Fabian Paischer, Vihang Patil, Markus Hofmarcher, Razvan Pascanu, Sepp Hochreiter

In-context learning (ICL) is the ability of a model to learn a new task by observing a few exemplars in its context. While prevalent in NLP, this capability has recently also been observed in Reinforcement Learning (RL) settings. Prior in-context RL methods, however, require entire episodes in the agent's context. Given that complex environments typically lead to long episodes with sparse rewards, these methods are constrained to simple environments with short episodes. To address these challenges, we introduce Retrieval-Augmented Decision Transformer (RA-DT). RA-DT employs an external memory mechanism to store past experiences from which it retrieves only sub-trajectories relevant for the current situation. The retrieval component in RA-DT does not require training and can be entirely domain-agnostic. We evaluate the capabilities of RA-DT on grid-world environments, robotics simulations, and procedurally-generated video games. On grid-worlds, RA-DT outperforms baselines, while using only a fraction of their context length. Furthermore, we illuminate the limitations of current in-context RL methods on complex environments and discuss future directions. To facilitate future research, we release datasets for four of the considered environments.

📄 PDF Abstract BibTeX arXiv:2410.07071

Code (1)

ml-jku/RA-DT 공식 구현 pytorch

Tasks

In-Context LearningReinforcement Learning (RL)Retrieval

Methods 이 논문이 사용한 방법론

Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Attention 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks

2022-10-30 · Yuxiang Wu, Yu Zhao, Baotian Hu, Pasquale Minervini 외

Access to external knowledge is essential for many natural language processing tasks, such as question answering and dialogue. Existing methods often rely on a parametric model that stores knowledge in its parameters, or…

Computational EfficiencyQuestion AnsweringRetrieval

MATTER: Memory-Augmented Transformer Using Heterogeneous Knowledge Sources

2024-06-07 · Dongkyu Lee, Chandana Satya Prakash, Jack FitzGerald, Jens Lehmann

Leveraging external knowledge is crucial for achieving high performance in knowledge-intensive tasks, such as question answering. The retrieve-and-read approach is widely adopted for integrating external knowledge into a…

Language ModelingLanguage ModellingQuestion AnsweringRetrieval

Retrieval-Augmented Transformer for Image Captioning

2022-07-26 · Sara Sarto, Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara

Image captioning models aim at connecting Vision and Language by providing natural language descriptions of input images. In the past few years, the task has been tackled by learning parametric models and proposing visua…

Image CaptioningRetrieval

Memory and Knowledge Augmented Language Models for Inferring Salience in Long-Form Stories

2021-09-08 · EMNLP 2021 11 · David Wilmot, Frank Keller

Measuring event salience is essential in the understanding of stories. This paper takes a recent unsupervised method for salience detection derived from Barthes Cardinal Functions and theories of surprise and applies it …

FormLanguage ModelingLanguage ModellingRetrieval+1

Seeing through the Conflict: Transparent Knowledge Conflict Handling in Retrieval-Augmented Generation

2026-01-11 · Hua Ye, Siyuan Chen, Ziqi Zhong, Canran Xiao 외 arxiv

Large language models (LLMs) equipped with retrieval--the Retrieval-Augmented Generation (RAG) paradigm--should combine their parametric knowledge with external evidence, yet in practice they often hallucinate, over-trus…