paper-with-me

홈 › Papers

When Do Transformers Shine in RL? Decoupling Memory from Credit Assignment

2023-07-07 · NeurIPS 2023 11 · Tianwei Ni, Michel Ma, Benjamin Eysenbach, Pierre-Luc Bacon

Reinforcement learning (RL) algorithms face two distinct challenges: learning effective representations of past and present observations, and determining how actions influence future returns. Both challenges involve modeling long-term dependencies. The Transformer architecture has been very successful to solve problems that involve long-term dependencies, including in the RL domain. However, the underlying reason for the strong performance of Transformer-based RL methods remains unclear: is it because they learn effective memory, or because they perform effective credit assignment? After introducing formal definitions of memory length and credit assignment length, we design simple configurable tasks to measure these distinct quantities. Our empirical results reveal that Transformers can enhance the memory capability of RL algorithms, scaling up to tasks that require memorizing observations $1500$ steps ago. However, Transformers do not improve long-term credit assignment. In summary, our results provide an explanation for the success of Transformers in RL, while also highlighting an important area for future research and benchmark design. Our code is open-sourced at https://github.com/twni2016/Memory-RL

📄 PDF Abstract BibTeX arXiv:2307.03864

Code (2)

twni2016/memory-rl 공식 구현 pytorch
twni2016/pomdp-baselines 공식 구현 pytorch

Tasks

Reinforcement Learning (RL)

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Residual Connection 설명 없음
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…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
Position-Wise Feed-Forward Layer 설명 없음
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 제목 키워드 기반

Pretraining Recurrent Networks without Recurrence

2026-06-04 · Akarsh Kumar, Phillip Isola arxiv

Training recurrent neural networks (RNNs) requires assigning credit across long sequences of computations. Standard backpropagation through time (BPTT) addresses this problem poorly: it is sequential in time, limiting pa…

Reversible Vision Transformers

2023-02-09 · CVPR 2022 1 · Karttikeya Mangalam, Haoqi Fan, Yanghao Li, Chao-yuan Wu 외

We present Reversible Vision Transformers, a memory efficient architecture design for visual recognition. By decoupling the GPU memory requirement from the depth of the model, Reversible Vision Transformers enable scalin…

GPUimage-classificationImage Classificationobject-detection+2

nnMobileNet: Rethinking CNN for Retinopathy Research

2023-06-02 · Wenhui Zhu, Peijie Qiu, Xiwen Chen, Xin Li 외

Over the past few decades, convolutional neural networks (CNNs) have been at the forefront of the detection and tracking of various retinal diseases (RD). Despite their success, the emergence of vision transformers (ViT)…

Diabetic Retinopathy Grading

HiMPO: Hindsight-Informed Memory Policy Optimization for Less-Entangled Credit in Long-Horizon Agents

2026-06-15 · Jiangze Yan, Yi Shen, Wenjing Zhang, Jieyun Huang 외 arxiv

Long-horizon agents rely on memory mechanisms to compress interaction history, but optimizing memory writing faces a distinct credit assignment challenge: a memory update may be rewarded or penalized due to downstream to…

Moonshine: Speech Recognition for Live Transcription and Voice Commands

2024-10-21 · Nat Jeffries, Evan King, Manjunath Kudlur, Guy Nicholson 외

This paper introduces Moonshine, a family of speech recognition models optimized for live transcription and voice command processing. Moonshine is based on an encoder-decoder transformer architecture and employs Rotary P…

DecoderPositionspeech-recognitionSpeech Recognition