[Paper Review] Never Forget: Balancing Exploration and Exploitation via Learning Optical Flow
This paper proposes Flow-based Intrinsic Curiosity Module (FICM), which uses optical flow estimation errors to measure state novelty for exploration in deep reinforcement learning. By leveraging optical flow to track visual motion consistency, FICM reduces catastrophic forgetting, enabling agents to explore efficiently and maintain stable performance in sparse-reward environments without performance degradation over time.
Exploration bonus derived from the novelty of the states in an environment has become a popular approach to motivate exploration for deep reinforcement learning agents in the past few years. Recent methods such as curiosity-driven exploration usually estimate the novelty of new observations by the prediction errors of their system dynamics models. Due to the capacity limitation of the models and difficulty of performing next-frame prediction, however, these methods typically fail to balance between exploration and exploitation in high-dimensional observation tasks, resulting in the agents forgetting the visited paths and exploring those states repeatedly. Such inefficient exploration behavior causes significant performance drops, especially in large environments with sparse reward signals. In this paper, we propose to introduce the concept of optical flow estimation from the field of computer vision to deal with the above issue. We propose to employ optical flow estimation errors to examine the novelty of new observations, such that agents are able to memorize and understand the visited states in a more comprehensive fashion. We compare our method against the previous approaches in a number of experimental experiments. Our results indicate that the proposed method appears to deliver superior and long-lasting performance than the previous methods. We further provide a set of comprehensive ablative analysis of the proposed method, and investigate the impact of optical flow estimation on the learning curves of the DRL agents.
Motivation & Objective
- To address catastrophic forgetting in curiosity-based exploration methods for deep reinforcement learning.
- To improve exploration efficiency in high-dimensional, sparse-reward environments where agents repeatedly revisit previously explored states.
- To develop a more robust intrinsic reward mechanism that better preserves memory of visited states.
- To balance exploration and exploitation by using optical flow estimation errors as a proxy for state novelty.
Proposed method
- Proposes FICM, a curiosity module that computes intrinsic rewards based on optical flow prediction errors between consecutive frames.
- Uses a flow predictor to estimate motion between state $ S_t $ and $ S_{t+1} $, with the error serving as a novelty signal.
- Employs two variants: FICM-S (using a single-frame flow predictor) and FICM-C (using a flow-consistency loss for improved robustness).
- Integrates the optical flow-based intrinsic reward into the A3C algorithm to train agents in environments like ViZDoom with sparse rewards.
- Leverages optical flow to detect inconsistencies in visual motion, identifying novel or previously visited states more reliably than frame prediction.
- Reduces reliance on next-frame prediction, which is prone to error and leads to forgetting in standard ICM.
Experimental results
Research questions
- RQ1Can optical flow estimation errors serve as a more stable and reliable signal for measuring state novelty in deep reinforcement learning?
- RQ2Does using optical flow reduce catastrophic forgetting in curiosity-driven exploration compared to traditional frame prediction-based methods?
- RQ3How does the proposed FICM method compare to ICM and RND in terms of exploration efficiency and long-term performance in sparse-reward environments?
- RQ4What is the impact of optical flow on the stability and memorability of explored states over extended training periods?
- RQ5Can FICM achieve better performance with fewer parameters than ICM while avoiding performance degradation due to forgetting?
Key findings
- FICM-based agents show no performance drop over time in both sparse and very sparse reward settings, unlike ICM, which suffers from catastrophic forgetting after 10 million timesteps.
- The FICM-S and FICM-C variants achieve stable and superior performance compared to ICM and ICM-pixels, with FICM-S requiring only 55.89% of the parameters used by ICM.
- Intrinsic reward evolution plots show that FICM correctly identifies previously visited states as low-novelty, avoiding repeated exploration, while ICM misclassifies old states as novel after long training.
- The number of parameters in FICM-C and FICM-S is significantly lower than ICM (78.84% and 55.89% respectively), despite their improved performance.
- ICM-pixels, despite having fewer parameters (43.53% of ICM), fails in the very sparse reward setting, highlighting the limitations of pixel-level prediction.
- Ablative analysis confirms that optical flow estimation enhances memorability and reduces forgetting, enabling lifelong learning in exploration.
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.