arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.10245cs.HC
收藏

由大型语言模型驱动的可视化自然语言数据集生成框架

Natural Language Dataset Generation Framework for Visualizations Powered by Large Language Models

Hyung-Kwon Ko, Hyeon Jeon, Gwanmo Park, Dae Hyun Kim, Nam Wook Kim, Juho Kim, Jinwook Seo

AI总结:

本文提出 VL2NL 框架,仅凭 Vega-Lite 规范利用 LLM 生成多样的可视化 NL 数据集,并构建 1,981 个真实规范集合,实验验证其语义提取与多样化生成能力。

摘要:

我们提出 VL2NL,这是一个大型语言模型(LLM)框架,仅使用 Vega-Lite 规范作为输入即可生成丰富且多样的自然语言(NL)数据集,从而简化数据可视化的自然语言接口(NLIs)开发。为了准确合成相关图表语义并增强每个 NL 数据集的句法多样性,我们利用:1)融入提示的引导式发现,使 LLM 能够以自主方式引导自身创建忠实的 NL 数据集;2)基于评分的改写,沿四个语言轴增强 NL 句法。我们还提出了一个包含 1,981 个真实世界 Vega-Lite 规范的新集合,与现有图表集合相比具有更高的多样性和复杂性。在我们的图表集合上测试时,VL2NL 提取图表语义并生成 L1/L2 标题,准确率分别为 89.4% 和 76.0%。与基准相比,它还展示了在生成和改写话语与问题方面更强的多样性。最后,我们讨论了 NL 数据集和框架如何在真实场景中使用。代码和图表集合可在 https://github.com/hyungkwonko/chart-llm 获取。

英文摘要:

We introduce VL2NL, a Large Language Model (LLM) framework that generates rich and diverse NL datasets using only Vega-Lite specifications as input, thereby streamlining the development of Natural Language Interfaces (NLIs) for data visualization. To synthesize relevant chart semantics accurately and enhance syntactic diversity in each NL dataset, we leverage 1) a guided discovery incorporated into prompting so that LLMs can steer themselves to create faithful NL datasets in a self-directed manner; 2) a score-based paraphrasing to augment NL syntax along with four language axes. We also present a new collection of 1,981 real-world Vega-Lite specifications that have increased diversity and complexity than existing chart collections. When tested on our chart collection, VL2NL extracted chart semantics and generated L1/L2 captions with 89.4% and 76.0% accuracy, respectively. It also demonstrated generating and paraphrasing utterances and questions with greater diversity compared to the benchmarks. Last, we discuss how our NL datasets and framework can be utilized in real-world scenarios. The codes and chart collection are available at https://github.com/hyungkwonko/chart-llm.

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

↑