ChartGPT:利用大语言模型从抽象自然语言生成图表
ChartGPT: Leveraging LLMs to Generate Charts from Abstract Natural Language
AI总结:
针对抽象自然语言生成图表时意图捕捉难的问题,提出ChartGPT系统,通过分步推理流水线、专用数据集微调及交互式界面提升生成效果,经定量评估和用户研究验证有效。
摘要:
由于自然语言交互的直观性,使用自然语言界面(NLIs)创建图表正变得越来越流行。这种方法的一个核心挑战是准确捕捉用户意图并将其转化为恰当的图表规范,这阻碍了NLI在图表生成中的广泛应用,因为用户的自然语言输入通常是抽象的(即模糊或规格不足的),没有明确的视觉编码规范。\n近年来,预训练大语言模型(LLMs)在理解和生成自然语言方面表现出优异性能,在下游任务中展现出巨大潜力。受这一主流趋势启发,我们提出ChartGPT,用于从抽象自然语言输入生成图表。但LLMs难以处理复杂逻辑问题,为使模型能准确指定图表生成中的复杂参数并执行操作,我们将生成过程分解为逐步推理流水线,让模型每次运行时只需推理单个特定子任务。\n此外,LLMs在通用数据集上预训练,可能对图表生成任务存在偏差。为提供充足的可视化知识,我们构建了一个包含抽象表述与图表的数据集,并通过微调提升模型性能。我们还为ChartGPT设计了交互式界面,允许用户查看并修改每一步的中间输出。我们通过定量评估和用户研究验证了所提系统的有效性。
英文摘要:
The use of natural language interfaces (NLIs) to create charts is becoming increasingly popular due to the intuitiveness of natural language interactions. One key challenge in this approach is to accurately capture user intents and transform them to proper chart specifications. This obstructs the wide use of NLI in chart generation, as users' natural language inputs are generally abstract (i.e., ambiguous or under-specified), without a clear specification of visual encodings. Recently, pre-trained large language models (LLMs) have exhibited superior performance in understanding and generating natural language, demonstrating great potential for downstream tasks. Inspired by this major trend, we propose ChartGPT, generating charts from abstract natural language inputs. However, LLMs are struggling to address complex logic problems. To enable the model to accurately specify the complex parameters and perform operations in chart generation, we decompose the generation process into a step-by-step reasoning pipeline, so that the model only needs to reason a single and specific sub-task during each run. Moreover, LLMs are pre-trained on general datasets, which might be biased for the task of chart generation. To provide adequate visualization knowledge, we create a dataset consisting of abstract utterances and charts and improve model performance through fine-tuning. We further design an interactive interface for ChartGPT that allows users to check and modify the intermediate outputs of each step. The effectiveness of the proposed system is evaluated through quantitative evaluations and a user study.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。