Learning Behaviors with Uncertain Human Feedback

Xu He, Haipeng Chen, Bo An

Abstract

Human feedback is widely used to train agents in many domains. However, previous works rarely consider the uncertainty when humans provide feedback, especially in cases that the optimal actions are not obvious to the trainers. For example, the reward of a sub-optimal action can be stochastic and sometimes exceeds that of the optimal action, which is common in games or real-world. Trainers are likely to provide positive feedback to sub-optimal actions, negative feedback to the optimal actions and even do not provide feedback in some confusing situations. Existing works, which utilize the Expectation Maximization (EM) algorithm and treat the feedback model as hidden parameters, do not consider uncertainties in the learning environment and human feedback. To address this challenge, we introduce a novel feedback model that considers the uncertainty of human feedback. However, this incurs intractable calculus in the EM algorithm. To this end, we propose a novel approximate EM algorithm, in which we approximate the expectation step with the Gradient Descent method. Experimental results in both synthetic scenarios and two real-world scenarios with human participants demonstrate the superior performance of our proposed approach.

Introduction

Teaching AI agents through human feedback is a cornerstone of interactive machine learning. However, traditional "Learning from Human Feedback" (LfHF) models often rely on the assumption of a perfect teacher. In reality, human feedback is frequently "fuzzy" due to environmental noise or the inherent difficulty of identifying optimal actions. For instance, in stochastic environments, a sub-optimal move might yield a high reward by chance, leading a human trainer to provide misleading positive reinforcement.

This paper addresses the limitations of existing models, such as ISABL, which assume binary feedback tied strictly to optimal actions. We propose that agents must instead model human feedback as a probability distribution to account for trainer uncertainty and environmental stochasticity.

Methodology: The ABLUF Framework

The core of our approach is ABLUF (Adaptive Bayesian Learning with Uncertain Feedback). Unlike previous methods, ABLUF models the likelihood of positive feedback as a Gaussian distribution centered on the optimal action. This allows the agent to interpret feedback based on the "distance" from the perceived optimal choice.

Probabilistic Feedback Model

We treat the trainer's uncertainty as a learnable parameter, $\sigma$. If a trainer is precise, the distribution narrows; if they are inconsistent, it flattens. Crucially, our model also treats "no feedback" as a meaningful signal, potentially indicating trainer confusion or a mediocre action.

Approximate Expectation-Maximization

The integration of these probabilistic signals leads to intractable calculus within standard EM frameworks. To overcome this, we developed an approximate EM algorithm:

  1. Policy Update (E-step): The agent estimates the optimal policy while holding the trainer's uncertainty model fixed.
  2. Model Update (M-step): The agent employs Gradient Descent to refine its estimate of the trainer's uncertainty ($\sigma$) based on historical feedback patterns.

Experimental Evaluation

We evaluated ABLUF against state-of-the-art baselines (UCB and ISABL) using synthetic benchmarks and two real-world tasks involving 80 human participants.

State representation in the dog training task.

In the Virtual Dog Training task, participants trained an agent to position itself to catch rats appearing according to a stochastic distribution. This task specifically tested the agent's ability to learn in the face of environmental uncertainty. A second task, Smart Lighting Preference, required agents to learn subjective brightness preferences for various activities using a physical YeeLight bulb.

Results and Discussion

ABLUF consistently outperformed baselines across all metrics. In the dog training task, it converged to the optimal policy faster and caught more rats per step than competing methods.

Performance metrics comparing ABLUF to UCB and ISABL baselines.

In the lighting experiment, ABLUF achieved a "distance to preference" of 13.33, significantly better than ISABL's 23.22. These results demonstrate that by explicitly modeling human uncertainty, ABLUF is more robust and efficient. Even when trainers deviated from the assumed Gaussian model, ABLUF maintained stable performance, proving its resilience to diverse teaching styles.

Conclusion

ABLUF represents a significant step toward more natural human-AI interaction by acknowledging the inherent messiness of human feedback. While the current model uses a Gaussian distribution, future work could explore other distributions or extend this framework to high-dimensional deep reinforcement learning tasks in robotics.

Summary updated

BibTeX
@inproceedings{he2020learning,
  author = {Xu He and Haipeng Chen and Bo An},
  title = {{Learning Behaviors with Uncertain Human Feedback}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2020},
}
Figure