arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.11453cs.CL
收藏

MatPlotAgent:基于LLM的智能体科学数据可视化的方法与评估

MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualization

Tsinghua University(清华大学);Beijing Language and Culture University(北京语言大学);Xiamen University(厦门大学);Northeastern University(东北大学);Zhongguancun Laboratory(中关村实验室)

Zhiyu Yang, Zihan Zhou, Shuo Wang, Xin Cong, Xu Han, Yukun Yan, Zhenghao Liu, Zhixing Tan, Pengyuan Liu, Dong Yu, Zhiyuan Liu, Xiaodong Shi, Maosong Sun

AI总结:

针对科学数据可视化任务,提出模型无关的LLM智能体框架MatPlotAgent,结合代码与多模态LLM实现自动化,并构建含100个测试用例的基准MatPlotBench及GPT-4V自动评估方法,实验证明其能提升多种LLM性能。

摘要:

科学数据可视化在研究领域发挥着至关重要的作用,它能够直接展示复杂信息,并帮助研究人员识别隐含的模式。尽管其重要性不言而喻,但利用大型语言模型(LLMs)进行科学数据可视化仍是一个相对未被探索的领域。在本研究中,我们引入了MatPlotAgent,一个高效的、与模型无关的LLM智能体框架,旨在自动化科学数据可视化任务。该框架利用了代码LLM和多模态LLM的能力,由三个核心模块组成:查询理解、带迭代调试的代码生成,以及用于错误修正的视觉反馈机制。为了解决该领域缺乏基准的问题,我们提出了MatPlotBench,一个包含100个人工验证测试用例的高质量基准。此外,我们引入了一种利用GPT-4V进行自动评估的评分方法。实验结果表明,MatPlotAgent能够提升各种LLM的性能,包括商业模型和开源模型。此外,所提出的评估方法与人工标注分数显示出很强的相关性。

英文摘要:

Scientific data visualization plays a crucial role in research by enabling the direct display of complex information and assisting researchers in identifying implicit patterns. Despite its importance, the use of Large Language Models (LLMs) for scientific data visualization remains rather unexplored. In this study, we introduce MatPlotAgent, an efficient model-agnostic LLM agent framework designed to automate scientific data visualization tasks. Leveraging the capabilities of both code LLMs and multi-modal LLMs, MatPlotAgent consists of three core modules: query understanding, code generation with iterative debugging, and a visual feedback mechanism for error correction. To address the lack of benchmarks in this field, we present MatPlotBench, a high-quality benchmark consisting of 100 human-verified test cases. Additionally, we introduce a scoring approach that utilizes GPT-4V for automatic evaluation. Experimental results demonstrate that MatPlotAgent can improve the performance of various LLMs, including both commercial and open-source models. Furthermore, the proposed evaluation method shows a strong correlation with human-annotated scores.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑