StARformer: Transformer with State-Action-Reward Representations
- URL: http://arxiv.org/abs/2110.06206v1
- Date: Tue, 12 Oct 2021 17:55:30 GMT
- Title: StARformer: Transformer with State-Action-Reward Representations
- Abstract summary: We propose State-Action-Reward Transformer (StARformer) for reinforcement learning.
StARformer explicitly models local causal relations to help improve action prediction in long sequences.
Our experiments show that StARformer outperforms the state-of-the-art Transformer-based method on Atari benchmarks.
- Score: 45.62939275764248
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Reinforcement Learning (RL) can be considered as a sequence modeling task,
i.e., given a sequence of past state-action-reward experiences, a model
autoregressively predicts a sequence of future actions. Recently, Transformers
have been successfully adopted to model this problem. In this work, we propose
State-Action-Reward Transformer (StARformer), which explicitly models local
causal relations to help improve action prediction in long sequences.
StARformer first extracts local representations (i.e., StAR-representations)
from each group of state-action-reward tokens within a very short time span. A
sequence of such local representations combined with state representations, is
then used to make action predictions over a long time span. Our experiments
show that StARformer outperforms the state-of-the-art Transformer-based method
on Atari (image) and Gym (state vector) benchmarks, in both offline-RL and
imitation learning settings. StARformer is also more compliant with longer
sequences of inputs compared to the baseline. Our code is available at
https://github.com/elicassion/StARformer.
Related papers
- HT-Transformer: Event Sequences Classification by Accumulating Prefix Information with History Tokens [1.534667887016089]
We introduce history tokens, a novel concept that facilitates the accumulation of historical information during prediction pretraining.<n>Our approach significantly improves transformer-based models, achieving impressive results in finance, e-commerce, and healthcare tasks.
arXiv Detail & Related papers (2025-08-02T19:50:58Z) - Emergent Agentic Transformer from Chain of Hindsight Experience [96.56164427726203]
We show that a simple transformer-based model performs competitively with both temporal-difference and imitation-learning-based approaches.
This is the first time that a simple transformer-based model performs competitively with both temporal-difference and imitation-learning-based approaches.
arXiv Detail & Related papers (2023-05-26T00:43:02Z) - Robust representations of oil wells' intervals via sparse attention
mechanism [2.604557228169423]
We introduce the class of efficient Transformers named Regularized Transformers (Reguformers)
The focus in our experiments is on oil&gas data, namely, well logs.
To evaluate our models for such problems, we work with an industry-scale open dataset consisting of well logs of more than 20 wells.
arXiv Detail & Related papers (2022-12-29T09:56:33Z) - SimOn: A Simple Framework for Online Temporal Action Localization [51.27476730635852]
We propose a framework, termed SimOn, that learns to predict action instances using the popular Transformer architecture.
Experimental results on the THUMOS14 and ActivityNet1.3 datasets show that our model remarkably outperforms the previous methods.
arXiv Detail & Related papers (2022-11-08T04:50:54Z) - Value-Consistent Representation Learning for Data-Efficient
Reinforcement Learning [105.70602423944148]
We propose a novel method, called value-consistent representation learning (VCR), to learn representations that are directly related to decision-making.
Instead of aligning this imagined state with a real state returned by the environment, VCR applies a $Q$-value head on both states and obtains two distributions of action values.
It has been demonstrated that our methods achieve new state-of-the-art performance for search-free RL algorithms.
arXiv Detail & Related papers (2022-06-25T03:02:25Z) - Paraformer: Fast and Accurate Parallel Transformer for
Non-autoregressive End-to-End Speech Recognition [62.83832841523525]
We propose a fast and accurate parallel transformer, termed Paraformer.
It accurately predicts the number of output tokens and extract hidden variables.
It can attain comparable performance to the state-of-the-art AR transformer, with more than 10x speedup.
arXiv Detail & Related papers (2022-06-16T17:24:14Z) - Addressing Some Limitations of Transformers with Feedback Memory [51.94640029417114]
Transformers have been successfully applied to sequential, auto-regressive tasks despite being feedforward networks.
We propose the Feedback Transformer architecture that exposes all previous representations to all future representations.
We demonstrate on a variety of benchmarks in language modeling, machine translation, and reinforcement learning that the increased representation capacity can create small, shallow models with much stronger performance than comparable Transformers.
arXiv Detail & Related papers (2020-02-21T16:37:57Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.