VizTrust: A Visual Analytics Tool for Capturing User Trust Dynamics in Human-AI Communication

Vision(Xin) Wang, Xin Wang, Stephanie Tulk Jesso, Sadamori Kojaku, David M. Neyens, Min Sun KimCHI Extended Abstracts 2025

Introduction

Trust is the cornerstone of effective human-AI collaboration. However, trust is not a static attribute; it is a dynamic psychological state that fluctuates with every turn of a conversation. Traditional methods for measuring trust, such as post-interaction surveys, often suffer from recall bias and fail to pinpoint the specific moments where an AI’s response may have alienated a user. To address this, VizTrust provides a real-time visual analytics framework designed to capture the "ebb and flow" of user trust during live interactions.

System Architecture and Methodology

VizTrust employs a sophisticated "front-end/back-end" architecture to analyze live chat transcripts. The system bridges the gap between raw interaction and actionable visual insights by processing data through two primary pipelines: trust evaluation and behavioral analysis.

System architecture of VizTrust, showing the flow from interaction to multi-agent evaluation and behavioral analysis.

The Multi-Agent Evaluator

The core innovation of VizTrust is its collaborative multi-agent system powered by Mixtral-8x7B. Rather than asking a single model to provide a generic trust rating, the system assigns specific roles to specialized agents. A "Trust Evaluation Agent" acts as the team leader, coordinating four "Social Psychologist Agents." Each psychologist agent is specialized in one of the four psychological dimensions of trust: Competence, Integrity, Benevolence, and Predictability. This persona-driven reasoning ensures that the analysis is granular and grounded in social science theory.

Behavioral Analysis Pipeline

Simultaneously, VizTrust extracts linguistic proxies that correlate with trust levels:

  • Engagement: Measured through response length and "Informativeness," with the latter calculated using surprisal values (the unexpectedness of words in context) based on the Brown Corpus.
  • Emotional Tone: A DistilBERT model, trained on English Twitter data with 93% accuracy, classifies user messages into six primary emotions (anger, fear, joy, love, sadness, and surprise).
  • Politeness Strategies: The tool identifies 21 distinct politeness markers, such as hedging or gratitude, using dependency parsing and the Stanford Politeness Corpus.

Visualization and Key Insights

The VizTrust dashboard provides a cohesive view of these disparate metrics, allowing researchers to identify "turning points" in a conversation. By aligning multi-agent trust scores with behavioral data, designers can see exactly when a user's confidence wavers.

The VizTrust dashboard displaying time-series data for trust dynamics, user engagement, emotional tone, and politeness strategies.

In a case study involving a therapy chatbot, the tool revealed that "competence trust" plummeted when the AI provided generic advice. This drop correlated with a shift in user behavior, such as increased hedging language and decreased informativeness, as the user became less willing to self-disclose to an agent perceived as lacking expertise.

Conclusion and Future Work

VizTrust successfully moves trust measurement from post-hoc surveys to real-time analysis. While currently limited to text-based chat, future iterations aim to incorporate multimodal inputs like voice tone and facial expressions. By standardizing diverse data—from 7-point Likert scales for trust to Z-scores for emotion—into a single interactive dashboard, VizTrust empowers AI developers to build more reliable and empathetic systems.

Summary updated

BibTeX
@inproceedings{wang2025viztrust,
  author = {Vision(Xin) Wang and Xin Wang and Stephanie Tulk Jesso and Sadamori Kojaku and David M. Neyens and Min Sun Kim},
  title = {{VizTrust: A Visual Analytics Tool for Capturing User Trust Dynamics in Human-AI Communication}},
  booktitle = {CHI Extended Abstracts},
  year = {2025},
}
Figure