Demonstration of the EMPATHIC Framework for Task Learning from Implicit Human Feedback

Yuchen Cui, Qiping Zhang, Sahil Jain, Alessandro Allievi, Peter Stone, Scott Niekum, W. Bradley Knox

Introduction

Traditional robot training methods often impose a high burden on human teachers, requiring expert demonstrations, explicit evaluative feedback (e.g., clicking "good" or "bad" buttons), or meticulously designed reward functions. This "high-effort" approach limits the scalability of human-AI interaction.

In contrast, humans naturally and involuntarily react to agent behaviors—scowling when a robot vacuum gets stuck or raising eyebrows at a sudden maneuver by a self-driving car. These reactions constitute Implicit Human Feedback (IHF): a rich, zero-cost information source. The EMPATHIC framework addresses the challenge of Learning from Implicit Human Feedback (LIHF) by translating these varied human reactions into actionable reward signals for reinforcement learning agents.

The EMPATHIC Framework

The authors propose a two-stage pipeline to bridge the gap between human expressions and agent rewards:

  1. Mapping Human Reactions: The system first records human observers watching an agent perform a task with known rewards (e.g., a "Robotaxi" simulator). Using OpenFace 2.0, the framework extracts facial Action Units (FAUs) and head poses. To capture temporal dynamics like nodding or head-shaking, a Fast Fourier Transform (FFT) is applied to head-pose data. A deep neural network then learns to map these features to task statistics, such as reward or optimality.
  2. Task Learning: The pre-trained mapping is deployed in new scenarios. As the agent acts, it observes the human's face, predicts a reward signal via the mapping, and updates its policy accordingly.
Positive implicit feedback: a sequence of a human observer's facial reaction to a successful agent action.

Crucially, the mapping relies solely on the human's reaction, not the agent's state or action, making the learned model potentially task-agnostic.

Experimental Evaluation

The framework was evaluated across two distinct domains: a simulated Robotaxi environment and a physical Robotic Sorting Task.

Key Results

  • Offline Accuracy: In the Robotaxi domain, the EMPATHIC mapping significantly outperformed random guessing in ranking event quality ($p = 0.0024$).
  • Online Policy Improvement: During real-time learning, 9 out of 10 participants observed the agent achieve higher returns than a random policy. In 70% of cases, the agent successfully converged on optimal behavior using only live facial expressions.
  • Cross-Domain Transfer: A model trained on driving simulator reactions successfully transferred to a robotic arm task. The system achieved a Kendall’s $\tau$ of 0.70 ($p = 0.034$) when ranking robot trajectories based on human faces, demonstrating that the "language" of human approval generalizes across tasks.
Negative implicit feedback: a sequence of a human observer's facial reaction to an agent error.

Discussion and Insights

The success of EMPATHIC highlights several key principles for future human-AI interaction:

  • Frequency and Dynamics: Analyzing the frequency of head movements (via FFT) is vital for distinguishing intentional gestures from random motion.
  • Ordinal Prioritization: Using an ordinal loss function ensures the model prioritizes the "sign" of feedback, preventing it from confusing positive and negative rewards.
  • Latent Data Utilization: Implicit feedback represents a massive, currently untapped data source that can lower the barrier to entry for training AI systems.

Limitations

Current limitations include a reliance on facial and head-pose data alone; incorporating gaze, vocalizations, and body gestures could improve robustness. Additionally, while the framework generalizes between simple tasks, further research is needed to evaluate its performance in complex, multi-step environments where human reactions may be more ambiguous.

Summary updated

BibTeX
@inproceedings{cui2021demonstration,
  author = {Yuchen Cui and Qiping Zhang and Sahil Jain and Alessandro Allievi and Peter Stone and Scott Niekum and W. Bradley Knox},
  title = {{Demonstration of the EMPATHIC Framework for Task Learning from Implicit Human Feedback}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i18.17998},
}
Figure