Broad-persistent Advice for Interactive Reinforcement Learning Scenarios

Francisco Cruz, Adam Bignold, Hung Son Nguyen, Richard Dazeley, Peter VamplewarXiv 2022 · DOI

TL;DR

This paper introduces a novel "broad-persistent advice" (BPA) method for interactive reinforcement learning (IntRL). BPA allows agents to retain and generalize advice from trainers, significantly reducing the number of interactions needed for learning and improving overall performance compared to traditional IntRL methods that discard advice after a single use.

What Problem Does This Paper Address?

Reinforcement learning (RL) agents, especially in complex environments, often require extensive trial-and-error to learn optimal policies, leading to long training times and high computational costs. Interactive RL (IntRL) aims to accelerate this process by incorporating human trainers to guide the agent. However, existing IntRL approaches suffer from two major limitations: 1) advice is typically only relevant to the agent's current state and is discarded immediately after use, forcing trainers to repeatedly provide the same guidance; and 2) this real-time, state-specific advice is inefficient, placing a heavy burden on the trainer's time. This paper addresses the need for a more efficient and effective way for agents to learn from human advice by enabling them to retain, generalize, and reuse that advice over time and across different states.

Methods

The core contribution of this paper is the Broad-Persistent Advice (BPA) approach. BPA builds upon the concept of Probabilistic Policy Reuse (PPR), which allows agents to reuse previously learned policies. BPA enhances PPR by introducing two key components:

  • Generalization: Instead of storing state-action pairs, BPA clusters similar states and stores advice associated with these clusters. This allows advice given for one state to be applicable to a range of similar states.
  • Persistence: Advice provided by the trainer is retained and can be reused by the agent in future interactions, even if the agent is not in the exact same state as when the advice was initially given. This is managed through the PPR mechanism, which probabilistically decides whether to follow the persistent advice, a learned policy, or an exploration policy.

When an agent encounters a new state and receives no direct advice from the trainer, it uses its generalization model to identify the relevant cluster. If advice exists for that cluster, the agent can reuse it with a certain probability (managed by PPR) or fall back to its default exploration policy. This approach aims to reduce the trainer's burden by providing advice that is useful beyond the immediate interaction.

Datasets

The paper evaluates its proposed method on three simulated environments:

  • Mountain Car: A classic RL benchmark where a car needs to reach the top of a hill. The state includes the car's position and velocity.
  • Self-driving Car: A simulated environment where an agent controls a car to navigate while avoiding obstacles and maximizing speed. The state includes collision sensor readings and current velocity.
  • Simulated Robot Environment (Webots): A domestic robot tasked with navigating to a target position while avoiding obstacles. The state is represented by a 64x64 RGB image from the robot's perspective and touch sensor readings.

The paper also mentions using simulated users, with their accuracy and availability parameters derived from previous human user study data (Table I).

Key Insights and Ideas

  • The inefficiency of state-specific, ephemeral advice: The paper highlights that current IntRL methods are limited by their reliance on advice that is only relevant to the immediate state and is quickly forgotten. This forces trainers into repetitive interactions.
  • Generalization is key to reducing interaction: By clustering states and associating advice with these clusters, agents can leverage advice for a broader range of situations, drastically cutting down the need for direct trainer input.
  • Persistence transforms advice into a reusable asset: Retaining advice allows agents to build a knowledge base that grows over time, making them more self-sufficient and reducing the trainer's ongoing workload.
  • PPR as a robust mechanism for managing advice: The use of probabilistic policy reuse is crucial for balancing the adoption of potentially imperfect persistent advice with exploration and learned policies, mitigating the risk of negative impacts from inaccurate advice.

Key Results

The BPA approach demonstrated significant improvements across the tested environments:

  • Reduced Interactions: Persistent agents using BPA required substantially fewer interactions with the trainer. In the self-driving car domain, the broad-advice agent needed only 2 interactions compared to 232 for the state-based advice agent. Persistent agents in general required less than 1% of steps with direct user interaction.
  • Improved Performance: Agents employing BPA consistently outperformed their non-persistent counterparts and baseline RL agents, achieving better results and faster convergence. For example, in the simulated robot environment, the persistent agent converged slightly earlier than the non-persistent agent.
  • Comparable Performance with Less Effort: In the self-driving car domain, both state-based and broad-advice IntRL agents outperformed the unassisted Q-learning agent, but the broad-advice method achieved similar performance with significantly less trainer effort.

Limitations and Future Work

  • Generalization Model Accuracy: The paper acknowledges that the accuracy of the generalization model is critical for the success of BPA and PPR. A more in-depth review of generalization models is suggested to achieve optimal results.
  • Over-reliance on Persistent Advice: The authors suggest that reducing the number of interactions by reusing persistent advice more often could be beneficial, but this should only be done when the generalization model is sufficiently robust.
  • Future Work: The paper proposes further research into the generalization model for PPR and exploring strategies to increase the reuse of persistent advice when the generalization model is reliable.

Summary updated

BibTeX
@misc{cruz2022broad,
  author = {Francisco Cruz and Adam Bignold and Hung Son Nguyen and Richard Dazeley and Peter Vamplew},
  title = {{Broad-persistent Advice for Interactive Reinforcement Learning Scenarios}},
  year = {2022},
  eprint = {2210.05187},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.05187},
}
Figure