Enhancing Human-AI Collaboration Through Logic-Guided Reasoning

Chengzhi Cao, Yinghao Fu, Sheng Xu, Ruimao Zhang, Shuang Li

Collaborating with humans is a high-stakes challenge for AI. While humans are "natural mind-readers" who can deduce intentions from a simple glance or gesture—a capability known as Theory of Mind (ToM)—AI agents often struggle to interpret these unobservable mental states.

In this paper, researchers propose a systematic framework that combines the interpretability of logical reasoning with the predictive power of ToM to create more "intellectually human-like" collaborative agents.

The Challenge of Intent Recognition

Effective collaboration requires an agent to understand not just what a person is doing, but why they are doing it. Most current AI models rely on learning specific entity embeddings, which often fail to generalize to new environments or handle the ambiguity of non-verbal communication.

The core challenge is bridging the gap between raw sensory data (like a person walking toward a fridge) and high-level intent (the person wants to get milk to make tea). The authors argue that complex social movements have underlying logic that is clear and generalizable. If an AI can master this logic, it can become a proactive partner rather than a reactive tool.

A Two-Stage Collaborative Framework

The proposed framework operates in two main stages: Social Perception and Dynamic Collaboration.

  1. Logic-Guided Social Perception: The model represents the environment as a symbolic graph. It uses a Rule Encoder to treat logical rules (e.g., "If a person is thirsty and near a cup, they intend to drink") as latent variables. This allows the model to assess the probability of various human goals based on observed trajectories.
  2. Hierarchical ToM Collaboration: Once a goal is inferred, the robot uses a hierarchical reinforcement learning model. This model maintains a "mental state" of the human, including their beliefs and subgoals.
  3. Probabilistic Reasoning: Instead of rigid "if-then" statements, the model uses probabilistic logical reasoning. It calculates confidence scores for rules, allowing it to handle the uncertainty inherent in human behavior.
The model represents the environment as a symbolic graph, mapping relationships between the person and objects like cups, tables, and doors.

Key Insights: Neurosymbolic Synergy

By combining neural networks with symbolic logic, the model gains the best of both worlds: the learning capability of deep learning and the generalization of logic. A rule about "drinking" remains valid even if the specific person or room changes, whereas embedding-based methods might require retraining.

The framework extracts logical rules (e.g., X=Betty, Y=cup, Z=tea) from the symbolic graph, allowing it to generalize intents across different scenarios.

Treating rules as latent variables allows the system to iteratively refine its understanding of human intent as more data becomes available, rather than making a single, potentially wrong guess. Because the model understands the "logic" of the task, it can anticipate the human's next move. For example, if it sees a human walking toward a microwave with a plate, it can proactively open the microwave door.

Datasets and Results

The researchers evaluated their model on two challenging benchmarks:

  • Watch-and-Help (WAH): A robot watches a video of a human performing a task, then must help achieve the same goal in a new environment as efficiently as possible.
  • HandMeThat: A dataset focused on human-robot communication in complex physical environments containing over 200 movable objects, requiring the agent to navigate a large action space.

The proposed model consistently outperformed state-of-the-art baselines (like WAH, GEM, and Seq2Seq) across multiple metrics:

  • Success Rate (SR): On the Watch-and-Help dataset, the model achieved a success rate of ~59% at the highest difficulty level (Level 4), outperforming the second-best model by over 1%.
  • Efficiency: The model required significantly fewer moves to complete tasks. In Level 4 of WAH, it used ~31 moves compared to ~51 for the baseline WAH model.
  • Speedup: The model demonstrated a higher "Speedup" factor, meaning the human-AI team completed tasks much faster than a human working alone.

Limitations and Future Work

Despite the strong results, the authors note several areas for improvement. Currently, spatial-temporal predicates must be manually defined for the graph structure. The system also focuses primarily on "chain rules," and future work aims to explore more complex, non-linear reasoning algorithms.

Additionally, the authors plan to integrate physical constraints (like energy and momentum conservation) to make the agent's reasoning even more robust. Finally, using natural language instructions to guide logic inference is a promising future direction to reduce the need for manual predicate engineering.

Summary updated

BibTeX
@inproceedings{cao2024enhancing,
  author = {Chengzhi Cao and Yinghao Fu and Sheng Xu and Ruimao Zhang and Shuang Li},
  title = {{Enhancing Human-AI Collaboration Through Logic-Guided Reasoning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=TWC4gLoAxY},
}
Figure