paper-with-me

홈 › Papers

Attention-Based Reward Shaping for Sparse and Delayed Rewards

2025-05-16 · Ian Holmes, Min Chi

Sparse and delayed reward functions pose a significant obstacle for real-world Reinforcement Learning (RL) applications. In this work, we propose Attention-based REward Shaping (ARES), a general and robust algorithm which uses a transformer's attention mechanism to generate shaped rewards and create a dense reward function for any environment. ARES requires a set of episodes and their final returns as input. It can be trained entirely offline and is able to generate meaningful shaped rewards even when using small datasets or episodes produced by agents taking random actions. ARES is compatible with any RL algorithm and can handle any level of reward sparsity. In our experiments, we focus on the most challenging case where rewards are fully delayed until the end of each episode. We evaluate ARES across a diverse range of environments, widely used RL algorithms, and baseline methods to assess the effectiveness of the shaped rewards it produces. Our results show that ARES can significantly improve learning in delayed reward settings, enabling RL agents to train in scenarios that would otherwise require impractical amounts of data or even be unlearnable. To our knowledge, ARES is the first approach that works fully offline, remains robust to extreme reward delays and low-quality data, and is not limited to goal-based tasks.

📄 PDF Abstract BibTeX arXiv:2505.10802

Code (1)

ihholmes-p/ares 공식 구현 pytorch

Tasks

Reinforcement Learning (RL)

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Focus 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Agent-Time Attention for Sparse Rewards Multi-Agent Reinforcement Learning

2022-10-31 · Jennifer She, Jayesh K. Gupta, Mykel J. Kochenderfer

Sparse and delayed rewards pose a challenge to single agent reinforcement learning. This challenge is amplified in multi-agent reinforcement learning (MARL) where credit assignment of these rewards needs to happen not on…

Multi-agent Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Agent-Temporal Credit Assignment for Optimal Policy Preservation in Sparse Multi-Agent Reinforcement Learning

2024-12-19 · Aditya Kapoor, Sushant Swamy, Kale-ab Tessera, Mayank Baranwal 외

In multi-agent environments, agents often struggle to learn optimal policies due to sparse or delayed global rewards, particularly in long-horizon tasks where it is challenging to evaluate actions at intermediate time st…

Multi-agent Reinforcement Learningreinforcement-learningReinforcement LearningTAR

Accelerating lifelong reinforcement learning via reshaping rewards

2021-10-17 · IEEE International Conference on Systems, Man, and Cybernetics (SMC) 2021 10 · Kun Chu, Xianchao Zhu, William Zhu

The reinforcement learning (RL) problem is typically formalized as the Markov Decision Process (MDP), where an agent interacts with the environment to maximize the long-term expected reward. As an important branch of RL,…

Lifelong learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

RUDDER: Return Decomposition for Delayed Rewards

2018-06-20 · NeurIPS 2019 12 · Jose A. Arjona-Medina, Michael Gillhofer, Michael Widrich, Thomas Unterthiner 외

We propose RUDDER, a novel reinforcement learning approach for delayed rewards in finite Markov decision processes (MDPs). In MDPs the Q-values are equal to the expected immediate reward plus the expected future rewards.…

Atari Gamesreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Self-Imitation Learning for Robot Tasks with Sparse and Delayed Rewards

2020-10-14 · Zhixin Chen, Mengxiang Lin

The application of reinforcement learning (RL) in robotic control is still limited in the environments with sparse and delayed rewards. In this paper, we propose a practical self-imitation learning method named Self-Imit…

Imitation LearningMuJoCoReinforcement Learning (RL)