The Role of Visualization in LLM-Assisted Knowledge Graph Systems: Effects on User Trust, Exploration, and Workflows
2025/05/20 by Harry Li, Gabriel Appleby, Li, Harry +7 · 1 citation
Computer Science · #Advanced Graph Neural Networks #Data Visualization and Analytics #Explainable Artificial Intelligence (XAI) #FOS: Computer and information sciences #Human-Computer Interaction (cs.HC) #Machine Learning (cs.LG)
paper · pdf · doi:10.48550/arxiv.2505.21512
openalex publication_date 2025/05/20 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
Abstract
Knowledge graphs (KGs) are powerful data structures, but exploring them effectively remains difficult for even expert users. Large language models (LLMs) are increasingly used to address this gap, yet little is known empirically about how their usage with KGs shapes user trust, exploration strategies, or downstream decision-making - raising key design challenges for LLM-based KG visual analysis systems. To study these effects, we developed LinkQ, a KG exploration system that converts natural language questions into structured queries with an LLM. We collaborated with KG experts to design five visual mechanisms that help users assess the accuracy of both KG queries and LLM responses: an LLM-KG state diagram that illustrates which stage of the exploration pipeline LinkQ is in, a query editor displaying the generated query paired with an LLM explanation, an entity-relation ID table showing extracted KG entities and relations with semantic descriptions, a query structure graph that depicts the path traversed in the KG, and an interactive graph visualization of query results. From a qualitative evaluation with 14 practitioners, we found that users - even KG experts - tended to overtrust LinkQ's outputs due to its "helpful" visualizations, even when the LLM was incorrect. Users exhibited distinct workflows depending on their prior familiarity with KGs and LLMs, challenging the assumption that these systems are one-size-fits-all - despite often being designed as if they are. Our findings highlight the risks of false trust in LLM-assisted data analysis tools and the need for further investigation into the role of visualization as a mitigation technique.
Citations
- Augmented Knowledge Graph Querying leveraging LLMs
- Can GPT-4 Models Detect Misleading Visualizations?
- Building and Eroding: Exogenous and Endogenous Factors that Influence Subjective Trust in Visualization
- Data Guards: Challenges and Solutions for Fostering Trust in Data
- Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL
- Guided By AI: Navigating Trust, Bias, and Data Exploration in AI-Guided Visual Analytics
- A Preliminary Roadmap for LLMs as Assistants in Exploring, Analyzing, and Visualizing Knowledge Graphs
- CloChat: Understanding How People Customize, Interact, and Experience Personas in Large Language Models
- SPARQL Generation: an analysis on fine-tuning OpenLLaMA for Question Answering over a Life Science Knowledge Graph
- Can Knowledge Graphs Reduce Hallucinations in LLMs? : A Survey
- Dissecting the Runtime Performance of the Training, Fine-tuning, and Inference of Large Language Models
- ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testing
- A Survey of Hallucination in Large Foundation Models
- Efficient Memory Management for Large Language Model Serving with PagedAttention
- Knowledge Solver: Teaching LLMs to Search for Domain Knowledge from Knowledge Graphs
- MindMap: Knowledge Graph Prompting Sparks Graph of Thoughts in Large Language Models
- DataTales: Investigating the use of Large Language Models for Authoring Data-Driven Articles
- Unifying Large Language Models and Knowledge Graphs: A Roadmap
- Mintaka: A Complex, Natural, and Multilingual Dataset for End-to-End Question Answering
- Facilitating Conversational Interaction in Natural Language Interfaces for Visualization
- A Review on Language Models as Knowledge Bases
- BNAI, NO-TOKEN, and MIND-UNITY: Pillars of a Systemic Revolution in Artificial Intelligence
- Snowy: Recommending Utterances for Conversational Visual Analysis
- Viral Visualizations: How Coronavirus Skeptics Use Orthodox Data Practices to Promote Unorthodox Science Online
- Language Models are Few-Shot Learners
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Knowledge Graphs
- Language Models as Knowledge Bases?
- An iterative design methodology for user-friendly natural language office information applications
Cited by
Related