用大模型自动把带数据的文本转成直观图表,提升信息理解效率。
ChartifyText: Automated Chart Generation from Data-Involved Texts via LLM
- 利用大模型提示工程从文本中推断表格数据,处理缺失值和不确定性。
- 生成带视觉编码和简明文字的表达性图表,准确传达数据与洞察。
- 在真实文档上验证有效,适合科研、新闻等需快速理解数据的场景。
包含数值信息的文本广泛应用于科研、经济、公共健康和新闻等领域,但读者难以快速解读并深入理解其中数据。为填补这一研究空白,本文提出 ChartifyText,一种完全自动化的方法,通过大语言模型(如 GPT-4)将复杂的数据相关文本转换为表达性强的图表。该方法包含两个核心模块:表格数据推断与表达性图表生成。前者通过系统化提示工程引导模型推断表格式数据,显式考虑数据范围、不确定性、缺失值及主观情感;后者在标准图表基础上增加直观视觉编码和简洁文字,精准传达数据与洞见。我们在真实数据相关文本上通过案例研究、三位可视化专家深度访谈及15名用户的精心设计实验进行评估。结果表明,ChartifyText能有效帮助读者高效理解数据相关文本。
原文摘要 · Abstract (English)
Text documents with numerical values involved are widely used in various applications such as scientific research, economy, public health and journalism. However, it is difficult for readers to quickly interpret such data-involved texts and gain deep insights. To fill this research gap, this work aims to automatically generate charts to accurately convey the underlying data and ideas to readers, which is essentially a challenging task. The challenges originate from text ambiguities, intrinsic sparsity and uncertainty of data in text documents, and subjective sentiment differences. Specifically, we propose ChartifyText, a novel fully-automated approach that leverages Large Language Models (LLMs) to convert complex data-involved texts to expressive charts. It consists of two major modules: tabular data inference and expressive chart generation. The tabular data inference module employs systematic prompt engineering to guide the LLM (e.g., GPT-4) to infer table data, where data ranges, uncertainties, missing data values and corresponding subjective sentiments are explicitly considered. The expressive chart generation module augments standard charts with intuitive visual encodings and concise texts to accurately convey the underlying data and insights. We extensively evaluate the effectiveness of ChartifyText on real-world data-involved text documents through case studies, in-depth interviews with three visualization experts, and a carefully-designed user study with 15 participants. The results demonstrate the usefulness and effectiveness of ChartifyText in helping readers efficiently and effectively make sense of data-involved texts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。