[Paper Review] Motion Perception in Reinforcement Learning with Dynamic Objects
This paper proposes integrating explicit motion representation via optical flow or image differences into deep reinforcement learning for continuous control in dynamic environments. It demonstrates that using pre-trained or self-supervised optical flow, or especially image differences as input, significantly improves policy performance on tasks with moving objects, outperforming standard frame stacking and enabling learning in previously unsolvable tasks.
In dynamic environments, learned controllers are supposed to take motion into account when selecting the action to be taken. However, in existing reinforcement learning works motion is rarely treated explicitly; it is rather assumed that the controller learns the necessary motion representation from temporal stacks of frames implicitly. In this paper, we show that for continuous control tasks learning an explicit representation of motion improves the quality of the learned controller in dynamic scenarios. We demonstrate this on common benchmark tasks (Walker, Swimmer, Hopper), on target reaching and ball catching tasks with simulated robotic arms, and on a dynamic single ball juggling task. Moreover, we find that when equipped with an appropriate network architecture, the agent can, on some tasks, learn motion features also with pure reinforcement learning, without additional supervision. Further we find that using an image difference between the current and the previous frame as an additional input leads to better results than a temporal stack of frames.
Motivation & Objective
- To investigate whether explicit motion representation improves reinforcement learning performance in dynamic environments with moving objects.
- To evaluate the effectiveness of optical flow as an auxiliary input for deep RL agents in continuous control tasks.
- To determine whether motion features can be learned unsupervised via reinforcement learning rewards alone, without supervision on motion.
- To compare the performance of image difference input against the standard frame stack baseline in dynamic RL tasks.
- To assess the feasibility of using lightweight optical flow networks in end-to-end RL training with real-time inference constraints.
Proposed method
- Proposes a small, efficient optical flow network (TinyFlowNet) derived from FlowNet, optimized for real-time inference during RL training.
- Integrates the optical flow network as an auxiliary input to the policy network, providing motion cues alongside raw observations.
- Trains the optical flow network in two modes: supervised pre-training on synthetic flow data, and end-to-end fine-tuning via RL rewards only.
- Introduces image difference (current frame minus previous frame) as an alternative motion representation input, replacing or supplementing frame stacks.
- Employs standard deep RL algorithms (e.g., SAC) on benchmark environments including Walker, Swimmer, Hopper, and custom robotic manipulation tasks.
- Visualizes learned motion representations to analyze whether the network learns to encode motion of relevant objects (e.g., balls) while ignoring self-motion (e.g., robot arm).
Experimental results
Research questions
- RQ1Does explicit motion representation via optical flow improve policy performance in dynamic reinforcement learning tasks compared to implicit motion learning from frame stacks?
- RQ2Can motion features be successfully learned in an unsupervised manner through reinforcement learning rewards alone, without any supervision on motion?
- RQ3Is image difference (current minus previous frame) a more effective motion representation than a temporal stack of frames for pixel-based RL?
- RQ4In which types of dynamic control tasks does explicit motion representation become essential for successful learning?
- RQ5How does the choice of network architecture affect the ability to learn motion representations from rewards alone?
Key findings
- The use of optical flow as an auxiliary input consistently improved policy performance across all tested dynamic control tasks, especially in tasks with high motion complexity.
- On the 3D KeepUp with High Motion Penalty task, training from scratch with frame stacks failed entirely, while the policy with pre-trained TinyFlowNet succeeded.
- Unsupervised training of the optical flow network via RL rewards alone was sufficient to learn useful motion features on simpler tasks (e.g., 2D Chaser), achieving performance comparable to supervised pre-training.
- On harder tasks such as 3D KeepUp with High Motion Penalty, unsupervised training failed to learn motion features, indicating that supervised pre-training is necessary to bootstrap motion representation learning.
- The image difference input outperformed or matched the performance of the frame stack baseline across all tasks, suggesting it is a more effective and computationally efficient motion representation.
- Visualizations of the self-supervised TinyFlowNet showed it learned to represent ball motion while largely ignoring robot arm motion, indicating selective attention to task-relevant dynamics.
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.