[Paper Review] Observational Learning by Reinforcement Learning
This paper demonstrates that observational learning—where an agent improves its policy by observing another agent's behavior—can emerge naturally in deep reinforcement learning (DeepRL) without explicit modeling of the teacher. By coupling A3C with memory, the agent learns to imitate or seek information from a teacher through sparse environmental rewards, achieving performance comparable to expert-observed agents even in partial observability, and can later operate independently via curriculum learning.
Observational learning is a type of learning that occurs as a function of observing, retaining and possibly replicating or imitating the behaviour of another agent. It is a core mechanism appearing in various instances of social learning and has been found to be employed in several intelligent species, including humans. In this paper, we investigate to what extent the explicit modelling of other agents is necessary to achieve observational learning through machine learning. Especially, we argue that observational learning can emerge from pure Reinforcement Learning (RL), potentially coupled with memory. Through simple scenarios, we demonstrate that an RL agent can leverage the information provided by the observations of an other agent performing a task in a shared environment. The other agent is only observed through the effect of its actions on the environment and never explicitly modeled. Two key aspects are borrowed from observational learning: i) the observer behaviour needs to change as a result of viewing a 'teacher' (another agent) and ii) the observer needs to be motivated somehow to engage in making use of the other agent's behaviour. The later is naturally modeled by RL, by correlating the learning agent's reward with the teacher agent's behaviour.
Motivation & Objective
- To investigate whether observational learning can emerge in DeepRL agents without explicit modeling of other agents.
- To determine if pure reinforcement learning with memory is sufficient for an agent to learn from observing a teacher’s behavior in a shared environment.
- To explore whether RL's reward signal alone can motivate complex behaviors like imitation or information seeking without expert trajectory supervision.
- To develop a curriculum strategy enabling the agent to eventually operate independently after learning from observation.
- To evaluate whether such observational learning is robust when the teacher and learner have misaligned goals or suboptimal performance.
Proposed method
- The agent (learner) uses the A3C algorithm with a convolutional neural network for perception and an LSTM for memory to process observations of a shared environment.
- The learner is only rewarded for completing the task and receives no reward for imitating or interacting with the teacher.
- The teacher is an expert agent that acts in the environment without awareness of the learner, providing behavioral demonstrations through environmental effects.
- Observations are processed through a perception head that encodes the spatial and temporal dynamics of the teacher’s actions.
- A curriculum learning strategy gradually masks the teacher’s presence with increasing probability over time, forcing the agent to rely less on observation and more on internalized knowledge.
- The agent’s policy is trained end-to-end via policy gradient optimization using the sparse environmental reward signal.
Experimental results
Research questions
- RQ1Can observational learning emerge in a DeepRL agent without explicit modeling of the teacher or access to expert trajectories?
- RQ2Does the combination of perception, memory, and reinforcement learning suffice to produce imitation or information-seeking behaviors from observation?
- RQ3Can an agent trained via observational learning generalize to new environments without the teacher present?
- RQ4How does the agent’s performance depend on the visibility of the goal and the presence of the teacher in partially observable settings?
- RQ5Can a curriculum strategy successfully decouple the agent from dependence on the teacher while preserving task performance?
Key findings
- In environments with a visible goal, the agent’s performance matched or slightly exceeded that of a lone agent with full observability when the teacher was present, indicating effective information extraction from the teacher’s behavior.
- When the goal was hidden, the agent still improved significantly over a blind stationary policy, showing that it learned to use the teacher’s trajectory to infer goal location.
- The agent’s final policy consistently sought out and followed the teacher, demonstrating a robust strategy of imitation and information seeking without explicit reward for doing so.
- After curriculum training with gradually increasing masking of the teacher, the agent successfully solved the task in a 9-room environment without the teacher, indicating successful internalization of the teacher’s behavior.
- The agent generalized to new, unseen environments after training, showing that the observed behavior was not environment-specific but transferable.
- Even with a misaligned goal (e.g., teacher and learner moving in opposite directions), the agent could still learn to exploit the teacher’s behavior, suggesting resilience to goal misalignment.
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.