[Paper Review] FRESH: Interactive Reward Shaping in High-Dimensional State Spaces using Human Feedback
FRESH introduces a feedback-based reward shaping framework that integrates human feedback into deep reinforcement learning for high-dimensional state spaces, using a feedback neural network with ensemble uncertainty estimation to generalize human-labeled state-action quality to unseen trajectories. It achieves 21.4% higher scores than human experts in Bowling and matches expert performance in Skiing, outperforming state-of-the-art deep RL algorithms.
Reinforcement learning has been successful in training autonomous agents to accomplish goals in complex environments. Although this has been adapted to multiple settings, including robotics and computer games, human players often find it easier to obtain higher rewards in some environments than reinforcement learning algorithms. This is especially true of high-dimensional state spaces where the reward obtained by the agent is sparse or extremely delayed. In this paper, we seek to effectively integrate feedback signals supplied by a human operator with deep reinforcement learning algorithms in high-dimensional state spaces. We call this FRESH (Feedback-based REward SHaping). During training, a human operator is presented with trajectories from a replay buffer and then provides feedback on states and actions in the trajectory. In order to generalize feedback signals provided by the human operator to previously unseen states and actions at test-time, we use a feedback neural network. We use an ensemble of neural networks with a shared network architecture to represent model uncertainty and the confidence of the neural network in its output. The output of the feedback neural network is converted to a shaping reward that is augmented to the reward provided by the environment. We evaluate our approach on the Bowling and Skiing Atari games in the arcade learning environment. Although human experts have been able to achieve high scores in these environments, state-of-the-art deep learning algorithms perform poorly. We observe that FRESH is able to achieve much higher scores than state-of-the-art deep learning algorithms in both environments. FRESH also achieves a 21.4% higher score than a human expert in Bowling and does as well as a human expert in Skiing.
Motivation & Objective
- To address the challenge of sparse and delayed rewards in high-dimensional state spaces, where deep RL agents struggle despite human proficiency.
- To enable effective integration of human feedback into deep reinforcement learning without requiring expert demonstrations or complex preference modeling.
- To generalize human-provided feedback on states and actions to unseen states and actions at test time using a neural network with uncertainty estimation.
- To improve sample efficiency and final performance in complex environments like Atari games by shaping the environment reward using human-in-the-loop feedback.
- To demonstrate that human feedback can be leveraged to surpass both state-of-the-art RL agents and human experts in specific high-dimensional control tasks.
Proposed method
- A human operator reviews trajectories from a replay buffer and labels each state-action pair as 'good', 'bad', or 'cannot tell'.
- Feedback is stored in a feedback buffer and used to train a deep feedback neural network to predict the quality of unseen state-action pairs.
- An ensemble of neural networks with shared architecture is used to estimate model uncertainty and confidence in predictions.
- The output of the feedback network is converted into a shaping reward signal that is added to the environment-provided reward.
- The combined reward (environment + shaping) is used to train a deep reinforcement learning agent via off-policy algorithms such as DQN or SAC.
- The feedback network is fine-tuned during training, and uncertainty estimates help prioritize feedback on ambiguous or uncertain states.
Experimental results
Research questions
- RQ1Can human feedback on state-action pairs in trajectories significantly improve the sample efficiency and final performance of deep reinforcement learning agents in high-dimensional state spaces?
- RQ2How can feedback from non-expert human operators be effectively generalized to unseen states and actions using deep neural networks?
- RQ3Can feedback-based reward shaping outperform state-of-the-art deep RL algorithms in environments where human players excel?
- RQ4To what extent can human feedback lead to performance exceeding that of human experts in complex video game environments?
- RQ5How does model uncertainty estimation via neural ensemble methods improve the robustness and reliability of feedback-based reward shaping?
Key findings
- FRESH achieved an average score of 187 in the Bowling environment, representing a 21.4% improvement over the human expert baseline.
- The highest score achieved by FRESH in Bowling exceeded 200, indicating strong performance beyond human capability in that task.
- In the Skiing environment, FRESH achieved an average score of -4400, matching the performance of a human expert player.
- FRESH significantly outperformed state-of-the-art deep reinforcement learning algorithms in both Bowling and Skiing, demonstrating the effectiveness of human-in-the-loop reward shaping.
- The use of an ensemble feedback network improved generalization and confidence estimation, enabling reliable shaping rewards even in low-feedback regions of the state space.
- The framework successfully leveraged human feedback on trajectories to shape rewards, reducing the need for extensive environment interaction and improving learning efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.