Investigating the impact of free energy based behavior on human in human-agent interaction

Kazuya Horibe, Yuanxiang Fan, Yutaka Nakamura, Hiroshi IshiguroarXiv 2022

Abstract

In natural human communication, physical synchronization or "entrainment" is essential for establishing rapport and a sense of unity. Traditional social agents often operate as passive systems, reacting to human input rather than participating in a bidirectional, coupled exchange. This paper presents a gesture-generation system for virtual agents based on the Free Energy Principle (FEP). By selecting actions that minimize "surprise" (free energy) within a shared human-agent state, the proposed model fosters a deeper sense of unity. Experimental results demonstrate that FEP-based agents are perceived as more lifelike and can even induce spontaneous behavioral mimicry in human participants.

Introduction

Natural conversation involves more than just verbal exchange; it requires the synchronization of physical rhythms, such as nodding, posture shifts, and gesturing. This mutual attraction, known as entrainment, creates a "sense of unity" vital for social rapport. However, most current social agents are fundamentally passive, processing human state as an input to produce a discrete response. This unidirectional flow fails to capture the bidirectional, coupled nature of human interaction.

To address this, researchers from Osaka University developed a model where the agent recognizes its movements and the human's movements as a single, integrated system. The core challenge lies in mathematically modeling and generating this "mutual attraction" to make interactions feel truly "alive."

Methodology

The proposed gesture generation model consists of two primary components: a Sampling Module and an Action Selection Module.

  1. The Sampling Module (Probabilistic Roadmap): Rather than generating motion from scratch, the system utilizes a "roadmap" of possible upper-body postures and transitions derived from real human data. It samples several potential "action sequences" representing future gesture paths.
  2. The Action Selection Module (IO-HMM + FEP): This module serves as the agent's decision-making core. It employs an Input-Output Hidden Markov Model (IO-HMM) to represent the interaction dynamics. The model considers the agent's actions ($a$), a latent interaction state ($s$), and an output signal ($o$) from a CNN-based discriminator that evaluates if the combined human-agent movement appears authentic.
Figure 2: Overview of the interaction model (a) and the action selection process using the roadmap and IO-HMM (b).

The agent selects the action sequence from the roadmap that minimizes Free Energy. In this context, minimizing free energy involves choosing the path that makes the future state of the interaction most predictable and "natural" based on patterns learned from human-human interaction data.

Data Acquisition and Processing

The researchers recorded 80 minutes of video featuring participants interacting with experimenters. To translate this into a usable format for the model, they employed OpenPose to extract 2D skeleton keypoints from fisheye camera footage, which were subsequently converted into 3D coordinates and joint angles.

Figure 5: Data processing pipeline showing (a) fisheye camera views with skeleton overlays and (b) the resulting 3D skeleton model.

This processed data was used to train the IO-HMM to learn interaction dynamics and the CNN Discriminator to distinguish between real synchronized human movement and "fake" shuffled movement.

Key Insights

A significant contribution of this work is the application of the Free Energy Principle (FEP) as a generative tool. While FEP is traditionally a neuroscientific theory of perception, here it is used as a practical algorithm for generating social behavior. By minimizing "surprise" in the interaction state, the agent does not merely react; it actively "pulls" the human into a synchronized rhythm—a phenomenon referred to as the "pull-in" effect.

The study compared FEP-based selection against random sampling from the same roadmap. While both methods utilized human-like poses, only the FEP-based selection created a meaningful sense of interaction. This suggests that the timing and sequence of gestures are as critical as the gestures themselves.

Experimental Results

Subjective experiments were conducted where participants interacted with a human-sized virtual agent under three conditions: FEP-based behavior, Random Sampling (PRM), and Perlin Noise (idle motion).

  • Subjective Impression: The FEP-based behavior scored significantly higher ($p < 0.01$) in categories of "lifelikeness," "human-likeness," and the overall "feeling of interacting with the agent."
  • Behavioral Change: In a "pull-in" experiment, subjects interacting with the FEP agent in real-time spent more time observing the agent and, in several instances, began spontaneously mimicking the agent's gestures.
  • Discriminator Performance: The CNN trained to identify "real" interaction achieved 60.5% accuracy, notably outperforming humans who struggled to manually distinguish real from fake interaction data.

Discussion and Future Work

While the results are promising, the authors noted that the FEP-based model tended to produce more intense movements, which may have influenced lifelikeness scores. Additionally, the behavioral study was limited by a small sample size. Future research will aim to integrate verbal and non-verbal FEP models to account for the semantic content of conversations, moving beyond purely physical rhythms to a more holistic model of human-agent interaction.

Summary updated

BibTeX
@misc{horibe2022investigating,
  author = {Kazuya Horibe and Yuanxiang Fan and Yutaka Nakamura and Hiroshi Ishiguro},
  title = {{Investigating the impact of free energy based behavior on human in human-agent interaction}},
  year = {2022},
  eprint = {2201.10164},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.10164},
}
Figure