Towards Explainable Social Agent Authoring tools: A case study on FAtiMA-Toolkit

Manuel Guimarães, Joana Campos, Pedro A. Santos, João Dias, Rui PradaarXiv 2022

TL;DR

This paper introduces the concept of Explainable Social Agent Authoring Tools (XSAT), applying principles from Explainable AI (XAI) to the tools used to design Socially Intelligent Agents (SIAs). Through two user studies evaluating the FAtiMA-Toolkit, the authors discover that while traditional theory-driven agent architectures are generally understandable, emotional and affective modeling concepts present a significant cognitive hurdle for creators, often leading them to avoid these features entirely.

What Problem Does This Paper Address?

Socially Intelligent Agents (SIAs)—virtual characters capable of human-like interaction—are vital for serious games and social skills training. However, creating them is notoriously difficult. Designers face a stark trade-off:

  • Theory-driven tools (top-down) offer high control and transparency by using rules based on psychological theories, but they suffer from poor scalability and a massive "authorial burden."
  • Data-driven tools (bottom-up) leverage machine learning to generate behaviors from datasets, but they lack designer control and are often uninterpretable "black boxes."

While researchers often assume theory-driven tools are inherently understandable because they are based on human psychology (like beliefs, desires, and emotions), this assumption has rarely been tested from the user's perspective. This paper investigates whether these tools are truly interpretable and transparent to the people designing the scenarios.

Methods

The authors first adapt standard XAI dimensions (Interpretability, Comprehensibility, and Transparency) and combine them with three authoring-specific forces (Control, Scalability, and Interactivity) to define the XSAT framework.

Figure 3: Comprehensibility, Interpretability, Transparency, Control, Interactivity and Scalability are the forces that influence Explainable Social Agent Authoring Tools (XSAT)

To evaluate these dimensions in a real-world tool, they conducted two user studies using the FAtiMA-Toolkit, a rule-based, character-centric SIA authoring framework:

  1. Model Understandability Study (Study 1): A between-subjects experiment comparing 10 "Experienced" users (CS students with prior FAtiMA experience) and 10 "Inexperienced" users (CS students new to the tool). After a brief tutorial, participants completed a 10-question test assessing their ability to interpret and apply the tool's underlying meta-model.
  2. Domain Model Analysis (Study 2): An analytical study evaluating the actual output of 35 computer science master's students (divided into 16 groups) using the toolkit for a course project. They analyzed the complexity of the scenarios created across two tasks: a highly constrained story replication and a completely open-ended design task. Complexity was quantified by counting "artefacts" (manually authored rules, conditions, beliefs, and dialogues).

Datasets

The paper does not utilize standard machine learning datasets. Instead, it generates and analyzes two primary evaluation datasets from its user studies:

  • Study 1 Dataset: Quantitative survey responses, task scores, and perceived difficulty ratings from 20 participants.
  • Study 2 Dataset: 32 complete domain models (scenarios) authored by students, tracking the exact counts of internal states, dialogues, emotional appraisal rules, and decision-making components.

Key Insights and Ideas

  • The "Emotion" Bottleneck: The most striking "aha moment" was that emotional appraisal concepts are a major cognitive roadblock. Even though emotions guide human behavior naturally, translating them into computational variables (like the OCC model's appraisal variables) is highly unintuitive for authors.
  • Dialogue Over Affect: When given complete freedom, designers heavily prioritize dialogue trees and basic decision-making logic over affective states. They prefer to hardcode conversational paths rather than let an agent's dynamic emotional state drive the interaction organically.
  • The Need for Hybridization: To solve the scalability crisis of theory-driven tools without losing control, the authors propose a hybrid authoring assistant. This assistant would use NLP and ontologies to convert natural language descriptions into "skeleton" rule-based frameworks, which designers can then audit and refine.

Key Results

  • Task Success (Study 1): Experienced users scored significantly higher overall ($9/10$ correct) than inexperienced users ($7.7/10$). However, the largest gap occurred in emotional appraisal tasks, where inexperienced users averaged a success rate of just $0.3$ compared to the experienced group's $0.9$.
  • Artefact Distribution (Study 2): In the open-ended task, students created highly complex scenarios (averaging $178.8$ total artefacts). However, this complexity was overwhelmingly driven by Decision Making ($68.4$ artefacts) and Dialogues ($57.4$ artefacts). Emotion Appraisal was largely neglected, averaging a mere $7.6$ artefacts per project.
Figure 2: Understandability is the core concept in XAI. Understandability of a model is negatively influenced by Comprehensibility (or complexity of the model) and Positivey influenced by a model Transparency.

Limitations and Future Work

A primary limitation is the participant pool: both studies exclusively evaluated Computer Science students. Non-technical domain experts (e.g., psychologists, teachers, therapists)—the actual target audience for many serious game authoring tools—might struggle even more with these formalisms. Furthermore, the toolkit lacked real-time visual feedback (like facial expressions), which the authors hypothesize reduced the designers' motivation to implement emotional rules.

Future work will focus on developing an AI-driven authoring assistant capable of bootstrapping scenarios from natural language text, thereby improving tool scalability while maintaining user control and interpretability.

Summary updated

BibTeX
@misc{guimaraes2022towards,
  author = {Manuel Guimarães and Joana Campos and Pedro A. Santos and João Dias and Rui Prada},
  title = {{Towards Explainable Social Agent Authoring tools: A case study on FAtiMA-Toolkit}},
  year = {2022},
  eprint = {2206.03360},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.03360},
}
Figure