Skip to main content
QUICK REVIEW

[Paper Review] Combating Reinforcement Learning's Sisyphean Curse with Intrinsic Fear

Zachary C. Lipton, Azizzadenesheli, Kamyar|arXiv (Cornell University)|Nov 3, 2016
Reinforcement Learning in RoboticsComputer Science25 references49 citations
TL;DR

This paper introduces Intrinsic Fear (IF), a reward-shaping method that trains a fear model to predict imminent catastrophe risk, then penalizes Q-learning based on this score to prevent DRL agents from repeatedly revisiting dangerous states due to catastrophic forgetting. The approach improves sample efficiency and robustly avoids catastrophes in Atari games and toy environments without requiring extensive prior knowledge.

ABSTRACT

Many practical environments contain catastrophic states that an optimal agent would visit infrequently or never. Even on toy problems, Deep Reinforcement Learning (DRL) agents tend to periodically revisit these states upon forgetting their existence under a new policy. We introduce intrinsic fear (IF), a learned reward shaping that guards DRL agents against periodic catastrophes. IF agents possess a fear model trained to predict the probability of imminent catastrophe. This score is then used to penalize the Q-learning objective. Our theoretical analysis bounds the reduction in average return due to learning on the perturbed objective. We also prove robustness to classification errors. As a bonus, IF models tend to learn faster, owing to reward shaping. Experiments demonstrate that intrinsic-fear DQNs solve otherwise pathological environments and improve on several Atari games.

Motivation & Objective

  • To address the problem of deep reinforcement learning agents repeatedly revisiting catastrophic states due to catastrophic forgetting.
  • To develop a method that uses minimal prior knowledge—specifically, the ability to identify past catastrophes—without requiring full environmental modeling.
  • To improve learning efficiency and safety by shaping intrinsic rewards to penalize high-risk trajectories.
  • To theoretically justify the robustness of the method to errors in the danger model and to bounded reward perturbations.
  • To demonstrate that intrinsic fear enables DQN agents to solve pathological environments and outperform standard DQN on Atari games.

Proposed method

  • Train a supervised fear model to predict the probability of reaching a catastrophic state within $k_r$ steps from any given state.
  • Use the fear model’s output as a learned intrinsic penalty in the Q-learning objective, scaling it by a fear factor to discourage high-risk actions.
  • Maintain separate buffers for safe and danger states to prevent catastrophic forgetting in the fear model, ensuring it never loses awareness of dangerous states.
  • Integrate the fear score into the Q-learning target update, modifying the return estimate to include the penalty term.
  • Use experience replay with prioritized sampling, but ensure danger states are retained in memory to maintain fear model accuracy.
  • The method operates without altering the main policy network, relying on reward shaping via a separate, continuously trained fear model.

Experimental results

Research questions

  • RQ1Can a learned intrinsic reward shaping mechanism prevent DRL agents from repeatedly revisiting known catastrophic states due to catastrophic forgetting?
  • RQ2How does the proposed intrinsic fear method affect learning efficiency and final performance on environments with rare but severe failures?
  • RQ3Is the method robust to errors in the danger state classification model, particularly when the model mislabels safe states as dangerous?
  • RQ4To what extent does intrinsic fear improve performance on standard Atari environments, especially those with high-cost failure modes?
  • RQ5Does the use of intrinsic fear lead to a significant reduction in the number of catastrophic episodes during training and evaluation?

Key findings

  • In the Adventure Seeker toy environment, standard DQN repeatedly revisits catastrophic states despite being trained to avoid them, while the IF agent learns to avoid them permanently.
  • On Cart-Pole, the IF agent successfully avoids falling by learning to stay within safe policy regions, even when the standard DQN policy drifts back into failure modes.
  • In Seaquest, the IF agent achieves higher average reward and reduces the number of lives lost compared to standard DQN.
  • In Asteroids, the IF agent achieves higher cumulative reward and significantly fewer game-over states, demonstrating improved safety and performance.
  • In Freeway, the improvement is most dramatic: the IF agent avoids the most common failure mode (crossing the road) far more consistently than the standard DQN.
  • Theoretical analysis shows that the perturbed objective leads to policies with approximately the same expected return as the optimal policy on the original objective, under bounded rewards and low danger-state visitation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.