Reinforcement Learning with Feedback from Multiple Humans with Diverse Skills

Taku Yamagata, Ryan McConville, Raúl Santos-RodríguezarXiv 2021

Abstract

A promising approach to improve the robustness and exploration in Reinforcement Learning is collecting human feedback and that way incorporating prior knowledge of the target environment. It is, however, often too expensive to obtain enough feedback of good quality. To mitigate the issue, we aim to rely on a group of multiple experts (and non-experts) with different skill levels to generate enough feedback. Such feedback can therefore be inconsistent and infrequent. In this paper, we build upon prior work -- Advise, a Bayesian approach attempting to maximise the information gained from human feedback -- extending the algorithm to accept feedback from this larger group of humans, the trainers, while also estimating each trainer's reliability. We show how aggregating feedback from multiple trainers improves the total feedback's accuracy and make the collection process easier in two ways. Firstly, this approach addresses the case of some of the trainers being adversarial. Secondly, having access to the information about each trainer reliability provides a second layer of robustness and offers valuable information for people managing the whole system to improve the overall trust in the system. It offers an actionable tool for improving the feedback collection process or modifying the reward function design if needed. We empirically show that our approach can accurately learn the reliability of each trainer correctly and use it to maximise the information gained from the multiple trainers' feedback, even if some of the sources are adversarial.

Introduction

Reinforcement Learning (RL) is notoriously sample-inefficient, often requiring millions of interactions with an environment to learn simple tasks. While human feedback—such as binary evaluations of an agent's actions—can drastically speed up this process, high-quality expert feedback is expensive and difficult to scale. A more realistic scenario involves a "crowd" of trainers with varying skill levels, ranging from experts to novices, and potentially even adversarial actors.

This paper introduces a method for RL that aggregates feedback from multiple human trainers. By using an online Expectation-Maximization (EM) approach to estimate each trainer's reliability in real-time, the system can accelerate learning and remain robust even when some trainers provide poor or intentionally misleading advice.

Methods

The authors build upon the Advise algorithm, which uses a Bayesian approach to shape an RL agent's policy based on human feedback. The primary contributions are:

  • Online Reliability Estimation: Instead of assuming a fixed reliability score ($C$), the algorithm uses an EM approach to estimate each trainer's consistency level on the fly. It treats the "optimal action" as a hidden variable and updates the trainer's trust score based on how well their feedback aligns with the agent's growing experience.
  • Adaptive Learning Rate: To ensure accurate reliability estimates, the authors developed a precision-based adaptive learning rate. This allows the system to update its trust in a trainer more aggressively when it is confident in its own assessment of the environment.
  • Multi-Trainer Aggregation: The framework combines feedback from $N$ independent trainers by multiplying their individual likelihoods. This "Bayesian optimal" combination naturally gives more weight to trainers who are consistently right—or consistently wrong.

Experimental Setup

The approach was evaluated using a 5x5 Grid World Pac-Man environment where the agent must eat all food pellets while avoiding ghosts. Since real human trials are expensive for initial testing, the researchers used an Oracle (a pre-trained Q-learning agent) to simulate human feedback. They varied the Oracle's parameters to simulate different skill levels (consistency $C$ ranging from 0.2 to 0.9) and feedback frequencies.

Key Insights: The Value of Consistency

A counter-intuitive finding is that a trainer who is always wrong ($C=0$) is just as useful as a trainer who is always right ($C=1$). Once the algorithm identifies a trainer as an adversary, it can simply "flip" their advice to find the correct action. The least useful trainer is one who is perfectly random ($C=0.5$).

As shown in the figure above, trainers with $C=0.2$ and $C=0.8$ contribute almost identically to the learning speed because they are equally distant from the randomness of $0.5$. Furthermore, the aggregated feedback from 8 diverse trainers (blue line) significantly outperforms any single trainer or standard Q-learning.

Results and Robustness

The proposed method significantly outperformed standard Q-learning and versions of Advise that used fixed, guessed reliability scores.

As illustrated in the results above, the agent reached peak performance much faster in the multi-trainer scenario. The EM algorithm successfully identified the true reliability of all eight trainers, with the estimates converging to their true values within a few hundred episodes. This provides a "second layer of robustness" for system managers: if a trainer's reliability is consistently low, it might signal a need for more instruction or a poorly designed reward function.

Discussion and Future Work

While effective, the current implementation is limited to discrete state and action spaces. Scaling to continuous spaces, such as robotics, remains a challenge. Additionally, the model assumes a trainer's skill is global across the entire task. In reality, a human might be an expert at specific sub-tasks but a novice at others. Estimating reliability for specific groups of states is a promising direction for future research.

Summary updated

BibTeX
@misc{yamagata2021reinforcement,
  author = {Taku Yamagata and Ryan McConville and Raúl Santos-Rodríguez},
  title = {{Reinforcement Learning with Feedback from Multiple Humans with Diverse Skills}},
  year = {2021},
  eprint = {2111.08596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.08596},
}
Figure