PlotCraft: 推动大语言模型在复杂和交互式数据可视化中的极限
PlotCraft: Pushing the Limits of LLMs for Complex and Interactive Data Visualization
AI总结:
PlotCraft 提出了一种新的基准和数据集,用于评估大语言模型在复杂和交互式数据可视化任务中的性能,展示了 PlotCraftor 在复杂任务中的显著改进。
摘要:
最近大型语言模型(LLMs)在代码生成方面展现了显著的 proficiency。然而,它们在大规模和结构化数据上创建复杂可视化的能力仍然 largely 未被评估和开发。为了解决这一差距,我们引入了 PlotCraft,一个新的基准,包含 1k 个具有挑战性的可视化任务,涵盖金融、科学研究和社会学等广泛领域。该基准围绕七个高层可视化任务构建,包含 48 种不同的图表类型。至关重要的是,它是第一个系统评估单轮生成和多轮细化的基准,覆盖了广泛的任务复杂性。我们对 23 种领先 LLMs 在 PlotCraft 上的全面评估揭示了在复杂可视化任务中处理能力的明显缺陷。为了弥合这一性能差距,我们开发了 SynthVis-30K,一个大规模、高质量的复杂可视化代码数据集,通过协作代理框架合成。基于此数据集,我们开发了 PlotCraftor,一种新型代码生成模型,能够在极小的规模下实现强大的复杂数据可视化能力。在 VisEval、PandasPlotBench 和我们提出的 PlotCraft 上,PlotCraftor 的性能与领先的专有方法相当。特别是,在困难任务上,我们的模型实现了超过 50% 的性能提升。我们将发布基准、数据集和代码在 https://github.com/Speakn0w/PlotCraft-Benchmark。
英文摘要:
Recent Large Language Models (LLMs) have demonstrated remarkable proficiency in code generation. However, their ability to create complex visualizations for scaled and structured data remains largely unevaluated and underdeveloped. To address this gap, we introduce PlotCraft, a new benchmark featuring 1k challenging visualization tasks that cover a wide range of topics, such as finance, scientific research, and sociology. The benchmark is structured around seven high-level visualization tasks and encompasses 48 distinct chart types. Crucially, it is the first to systematically evaluate both single-turn generation and multi-turn refinement across a diverse spectrum of task complexities. Our comprehensive evaluation of 23 leading LLMs on PlotCraft reveals obvious performance deficiencies in handling sophisticated visualization tasks. To bridge this performance gap, we develope SynthVis-30K, a large-scale, high-quality dataset of complex visualization code synthesized via a collaborative agent framework. Building upon this dataset, we develope PlotCraftor, a novel code generation model that achieves strong capabilities in complex data visualization with a remarkably small size. Across VisEval, PandasPlotBench, and our proposed PlotCraft, PlotCraftor shows performance comparable to that of leading proprietary approaches. Especially, on hard task, Our model achieves over 50% performance improvement. We will release the benchmark, dataset, and code at https://github.com/Speakn0w/PlotCraft-Benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。