arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00988cs.CLcs.AI
收藏

PlotGen:基于多模态反馈的多智能体LLM科学数据可视化

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

Adobe Research(奥多比研究院)

Kanika Goswami, Puneet Mathur, Ryan Rossi, Franck Dernoncourt

AI总结:

本文提出多智能体框架PlotGen,通过查询规划、代码生成及多模态检索反馈智能体,自动迭代优化科学数据可视化的准确性、标签和视觉效果,在MatPlotBench上提升4-6%,减少调试时间并增强用户信任。

摘要:

科学数据可视化对于将原始数据转化为易于理解的视觉表示至关重要,它能够实现模式识别、预测以及呈现数据驱动的洞察。然而,由于选择合适工具和掌握可视化技术的复杂性,新手用户经常面临困难。大型语言模型(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.

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

↑