An Epistemic Human-Aware Task Planner which Anticipates Human Beliefs and Decisions

Shashank Shekhar, Anthony Favier, Rachid Alami · DOI

TL;DR

Researchers have developed a new "epistemic" task planner that allows robots to maintain a "Theory of Mind" about their human collaborators. By tracking how beliefs diverge when a human and robot are separated, the planner enables robots to proactively communicate or adjust their actions to ensure smooth, successful teamwork even when the human doesn't see everything the robot does.

What Problem Does This Paper Address?

In human-robot collaboration (HRC), we often assume both parties have a "shared reality." However, in the real world, execution is often intermittent. A human might leave the room to grab a tool, while the robot continues working. During this separation, their beliefs about the state of the world diverge.

If a robot completes a task while the human is away, the human might return with an outdated mental model, leading to confusion, redundant actions, or even safety risks. The challenge is building a robot policy that accounts for these "uncontrollable" human behaviors and anticipates how the human's perspective will evolve. Most existing planners struggle with this because they don't explicitly model the human's internal beliefs or the "possible worlds" the human might imagine.

Methods

The authors introduce the Epistemic Human-Aware Task Planning (EHATP) framework. It combines several sophisticated techniques:

  • Dynamic Epistemic Logic (DEL): This is used to formally represent and update the mental states of both the robot and the human. It allows the robot to track multiple "possible worlds" that the human might believe are true.
  • AND/OR Search: The planner uses an AND/OR search algorithm to find a joint solution policy. "AND" nodes represent robot actions (where all branches must succeed), while "OR" nodes represent uncontrollable human choices.
  • Situation Assessment (SA): A crucial novel component. When the human and robot reunite (co-presence), the robot performs "perspective taking." It identifies which facts are now observable to the human and prunes the "possible worlds" that contradict these observations.
  • Proactive Communication: The planner can synthesize communicative actions (like inform-p or responding to an ask-p inquiry). It decides to speak up only when it anticipates a belief divergence that would hinder the task.

Datasets

As is common in specialized robotics planning research, the authors did not use a massive public dataset but instead evaluated their system on two complex, representative domains:

  1. Cube Organization (Novel Case Study): A scenario where a robot and human must sort cubes into boxes. Some boxes are opaque (hiding the state), and the human frequently leaves the "main table" to fetch items, creating belief divergence.
  2. Cooking Domain (Adapted): Based on prior work, this involves preparing a meal where certain effects (like washing or seasoning) are non-observable, requiring the agents to coordinate through shared experience or communication.

Key Insights and Ideas

  • Modeling the Human's Model: The robot doesn't just model the human; it models the human's estimated model of the robot. This "second-order" reasoning allows the robot to predict when a human will be surprised or confused by the robot's progress.
  • The "Alignment" Strategy: Instead of constant updates, the planner identifies "relevant" facts—those that affect the human's ability to choose the next correct action—and prioritizes aligning those specific beliefs.
  • Managing Complexity: Epistemic planning is notoriously computationally expensive. The authors manage this by focusing on "dynamic parts" of the state and using the SA process to aggressively contract the number of possible worlds the robot needs to track once agents are co-present.

Key Results

The framework was implemented in Python and tested across various problem instances (varying the number of objects and the "observability" of containers).

  • Quantitative: The planner successfully generated policies for all test cases. As the complexity increased (e.g., more cubes or opaque boxes), the number of explored states grew (from ~200 to over 5,600), but the execution time remained within a practical range for offline planning (under 13 seconds for the most complex scenarios).
  • Qualitative: The robot demonstrated "clever" behavior. For example, if the robot knew a box was empty but the human didn't, the robot would proactively inform the human to prevent them from wasting time checking it. Alternatively, if the robot could perform an action in front of the human to "implicitly" share the state, it chose that over explicit verbal communication.

Limitations and Future Work

  • Scalability: While effective for the tested domains, the authors acknowledge that epistemic reasoning can face state-space explosion. Scaling this to massive, open-ended environments remains a challenge.
  • Short-term Focus: The current implementation is tailored for "short-term interactions" and intricate face-to-face situations.
  • Future Directions: The team aims to explore incremental task planning (planning on the fly as the situation changes) and testing the system in more diverse, real-world domains with physical robots and human subjects to further validate the "Theory of Mind" accuracy.

Summary updated

Abstract

We present a substantial extension of our Human-Aware Task Planning framework, tailored for scenarios with intermittent shared execution experiences and significant belief divergence between humans and robots, particularly due to the uncontrollable nature of humans. Our objective is to build a robot policy that accounts for uncontrollable human behaviors, thus enabling the anticipation of possible advancements achieved by the robot when the execution is not shared, e.g. when humans are briefly absent from the shared environment to complete a subtask. But, this anticipation is considered from the perspective of humans who have access to an estimated model for the robot. To this end, we propose a novel planning framework and build a solver based on AND-OR search, which integrates knowledge reasoning, including situation assessment by perspective taking. Our approach dynamically models and manages the expansion and contraction of potential advances while precisely keeping track of when (and when not) agents share the task execution experience. The planner systematically assesses the situation and ignores worlds that it has reason to think are impossible for humans. Overall, our new solver can estimate the distinct beliefs of the human and the robot along potential courses of action, enabling the synthesis of plans where the robot selects the right moment for communication, i.e. informing, or replying to an inquiry, or defers ontic actions until the execution experiences can be shared. Preliminary experiments in two domains, one novel and one adapted, demonstrate the effectiveness of the framework.
BibTeX
@misc{shekhar2024epistemic,
  author = {Shashank Shekhar and Anthony Favier and Rachid Alami},
  title = {{An Epistemic Human-Aware Task Planner which Anticipates Human Beliefs and Decisions}},
  year = {2024},
  eprint = {2409.18545},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.18545},
}
Figure