{"title":"AgentLens:基于 LLM 的自主系统中的代理行为可视化分析","authors":"Jiaying Lu;Bo Pan;Jieyi Chen;Yingchaojie Feng;Jingyuan Hu;Yuchen Peng;Wei Chen","doi":"10.1109/TVCG.2024.3394053","DOIUrl":null,"url":null,"abstract":"Recently, Large Language Model based Autonomous System (LLMAS) has gained great popularity for its potential to simulate complicated behaviors of human societies. One of its main challenges is to present and analyze the dynamic events evolution of LLMAS. In this work, we present a visualization approach to explore the detailed statuses and agents’ behavior within LLMAS. Our approach outlines a general pipeline that organizes raw execution events from LLMAS into a structured behavior model. We leverage a behavior summarization algorithm to create a hierarchical summary of these behaviors, arranged according to their sequence over time. Additionally, we design a cause trace method to mine the causal relationship between agent behaviors. We then develop <italic>AgentLens</i>, a visual analysis system that leverages a hierarchical temporal visualization for illustrating the evolution of LLMAS, and supports users to interactively investigate details and causes of agents’ behaviors. Two usage scenarios and a user study demonstrate the effectiveness and usability of our <italic>AgentLens</i>.","PeriodicalId":94035,"journal":{"name":"IEEE transactions on visualization and computer graphics","volume":"31 8","pages":"4182-4197"},"PeriodicalIF":6.5000,"publicationDate":"2024-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"AgentLens: Visual Analysis for Agent Behaviors in LLM-Based Autonomous Systems\",\"authors\":\"Jiaying Lu;Bo Pan;Jieyi Chen;Yingchaojie Feng;Jingyuan Hu;Yuchen Peng;Wei Chen\",\"doi\":\"10.1109/TVCG.2024.3394053\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Recently, Large Language Model based Autonomous System (LLMAS) has gained great popularity for its potential to simulate complicated behaviors of human societies. One of its main challenges is to present and analyze the dynamic events evolution of LLMAS. In this work, we present a visualization approach to explore the detailed statuses and agents’ behavior within LLMAS. Our approach outlines a general pipeline that organizes raw execution events from LLMAS into a structured behavior model. We leverage a behavior summarization algorithm to create a hierarchical summary of these behaviors, arranged according to their sequence over time. Additionally, we design a cause trace method to mine the causal relationship between agent behaviors. We then develop <italic>AgentLens</i>, a visual analysis system that leverages a hierarchical temporal visualization for illustrating the evolution of LLMAS, and supports users to interactively investigate details and causes of agents’ behaviors. Two usage scenarios and a user study demonstrate the effectiveness and usability of our <italic>AgentLens</i>.\",\"PeriodicalId\":94035,\"journal\":{\"name\":\"IEEE transactions on visualization and computer graphics\",\"volume\":\"31 8\",\"pages\":\"4182-4197\"},\"PeriodicalIF\":6.5000,\"publicationDate\":\"2024-03-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE transactions on visualization and computer graphics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10520238/\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE transactions on visualization and computer graphics","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10520238/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
近年来,基于大型语言模型的自治系统(Large Language Model based Autonomous System, LLMAS)因其模拟人类社会复杂行为的潜力而受到广泛关注。其主要挑战之一是呈现和分析LLMAS的动态事件演变。在这项工作中,我们提出了一种可视化方法来探索LLMAS中的详细状态和代理行为。我们的方法概述了一个通用的管道,将来自LLMAS的原始执行事件组织到结构化的行为模型中。我们利用行为总结算法来创建这些行为的分层总结,并根据它们随时间的顺序排列。此外,我们设计了一种原因跟踪方法来挖掘智能体行为之间的因果关系。然后,我们开发了AgentLens,这是一个可视化分析系统,利用分层时间可视化来说明LLMAS的演变,并支持用户交互式地调查代理行为的细节和原因。两个使用场景和一个用户研究证明了我们的AgentLens的有效性和可用性。
AgentLens: Visual Analysis for Agent Behaviors in LLM-Based Autonomous Systems
Recently, Large Language Model based Autonomous System (LLMAS) has gained great popularity for its potential to simulate complicated behaviors of human societies. One of its main challenges is to present and analyze the dynamic events evolution of LLMAS. In this work, we present a visualization approach to explore the detailed statuses and agents’ behavior within LLMAS. Our approach outlines a general pipeline that organizes raw execution events from LLMAS into a structured behavior model. We leverage a behavior summarization algorithm to create a hierarchical summary of these behaviors, arranged according to their sequence over time. Additionally, we design a cause trace method to mine the causal relationship between agent behaviors. We then develop AgentLens, a visual analysis system that leverages a hierarchical temporal visualization for illustrating the evolution of LLMAS, and supports users to interactively investigate details and causes of agents’ behaviors. Two usage scenarios and a user study demonstrate the effectiveness and usability of our AgentLens.