2025-02-07 · 专家 · 计算机视觉 · 数据科学 · 机器学习

PlotGen: Multi-Agent LLM-based Scientific Data Visualization via Multimodal Feedback

PlotGen通过多智能体LLM框架和跨模态反馈,实现了基于用户需求的科学数据可视化自动化。

更新于 2025-02-07。作者:Kanika Goswami、Puneet Mathur、Ryan Rossi、Franck Dernoncourt。

中文摘要

科学数据可视化对于将原始数据转化为可理解的可视化表示至关重要,它能够实现模式识别、预测以及数据驱动洞察的展示。然而,新手用户往往因为选择适当工具和掌握可视化技术的复杂性而面临困难。大型语言模型(LLMs)最近在辅助代码生成方面显示出潜力,尽管它们在准确性上存在挑战,并且需要迭代调试。在本文中,我们提出了PlotGen,一个旨在自动化精确科学可视化创建的全新多智能体框架。PlotGen协调多个基于LLM的智能体,包括一个查询规划智能体,它将复杂用户请求分解为可执行步骤;一个代码生成智能体,它将伪代码转换为可执行的Python代码;以及三个检索反馈智能体——一个数值反馈智能体、一个词汇反馈智能体和一个视觉反馈智能体——它们利用多模态LLM通过自我反思迭代优化生成的图表的数据准确性、文本标签和视觉正确性。广泛的实验表明,PlotGen优于强大的基线,在MatPlotBench数据集上实现了4-6个百分点的提升,从而增强了用户对LLM生成的可视化的信任,并由于减少了绘图错误所需的调试时间,提高了新手的生产效率。

英文摘要

Scientific data visualization is pivotal for transforming raw data into comprehensible visual representations, enabling pattern recognition, forecasting, and the presentation of data-driven insights. However, novice users often face difficulties due to the complexity of selecting appropriate tools and mastering visualization techniques. Large Language Models (LLMs) have recently demonstrated potential in assisting code generation, though they struggle with accuracy and require iterative debugging. In this paper, we propose PlotGen, a novel multi-agent framework aimed at automating the creation of precise scientific visualizations. PlotGen orchestrates multiple LLM-based agents, including a Query Planning Agent that breaks down complex user requests into executable steps, a Code Generation Agent that converts pseudocode into executable Python code, and three retrieval feedback agents - a Numeric Feedback Agent, a Lexical Feedback Agent, and a Visual Feedback Agent - that leverage multimodal LLMs to iteratively refine the data accuracy, textual labels, and visual correctness of generated plots via self-reflection. Extensive experiments show that PlotGen outperforms strong baselines, achieving a 4-6 percent improvement on the MatPlotBench dataset, leading to enhanced user trust in LLM-generated visualizations and improved novice productivity due to a reduction in debugging time needed for plot errors.

解读

一句话总结

PlotGen通过多智能体LLM框架和跨模态反馈,实现了基于用户需求的科学数据可视化自动化。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源