Introduction
Imitation Learning (IL) has traditionally operated under the assumption that the learner shares the same perspective as the expert. However, "third-person" imitation learning relaxes this constraint, allowing an agent to learn from observations taken from different viewpoints—much like a robot observing a human from across a room. While existing methods often rely on fixed or randomly assigned viewpoints, this paper introduces Active Third-Person Imitation Learning, a framework where the agent actively selects the most informative perspectives to accelerate the learning process.
The core challenge addressed is the perspective selection problem: in complex environments, not all viewpoints are equally useful. Some may be redundant, while others might be completely obscured. By treating perspective selection as an active learning problem, the agent can prioritize informative views and ignore noise, leading to greater sample efficiency.
Methodology
The proposed framework extends Generative Adversarial Imitation Learning (GAIL) to handle multiple, selectable viewpoints. The architecture consists of three primary components: discriminator structures, selection strategies, and policy optimization.
Discriminator Architectures
To process diverse viewpoints, the authors explored several discriminator designs. While independent discriminators for each view are possible, the use of Feature-wise Linear Modulation (FiLM) proved particularly effective. FiLM allows a single discriminator to share features across different views by conditioning its internal representations on the specific perspective being observed. This enables the model to develop a generalized understanding of the task that transcends individual camera angles.
Perspective Selection Strategies
The learner employs a strategy $\xi$ to decide which perspective to observe during a demonstration.
- Uniform Sampling: A baseline where views are chosen at random.
- UCB-style Selection: An Upper Confidence Bound approach that targets perspectives where the discriminator exhibits high error, focusing the agent's attention on "difficult" views.
- Dissimilarity Sampling: A strategy that selects views providing the most novel information relative to previously seen data, thereby minimizing redundancy.
Policy Optimization
The agent's policy $\pi^L$ is trained using Proximal Policy Optimization (PPO). The reward signal is derived from the discriminators, which evaluate how closely the learner's state-action trajectories match those of the expert within the selected perspectives.
Experimental Evaluation
The framework was tested across three environments: a tabular Grid World, a 2D Point mass navigation task, and the MuJoCo Reacher environment. These setups included various perspective challenges, such as 1D projections, birds-eye views, and adversarial "blackout" noise.
Key Findings
- Efficiency and Redundancy: Active selection strategies, particularly when paired with FiLM, significantly outperformed uniform sampling in environments with redundant views. The agent quickly identifies which perspectives provide the necessary "signal" to reconstruct the expert's full movement.
- Robustness to Noise: In scenarios where many available views were uninformative (e.g., static or black screens), active strategies successfully ignored the noise and focused on the single informative camera angle.
- Task-Specific Strategies: While UCB-style selection excelled in the Point task, Dissimilarity Sampling was more effective for the visually richer Reacher task, suggesting that seeking diversity is beneficial in high-dimensional observation spaces.
Conclusion and Future Directions
Active Third-Person Imitation Learning demonstrates that how an agent observes an expert is just as important as what it observes. By strategically selecting viewpoints, agents can learn complex behaviors more rapidly and robustly.
Future work aims to expand this framework to continuous perspective sets, allowing agents to move cameras freely rather than choosing from a discrete list. Additionally, enabling agents to change perspectives dynamically during a single demonstration could further enhance learning by allowing them to "inspect" the expert's actions from multiple angles in real-time.
Summary updated