arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10922cs.CLcs.AIcs.DB
收藏

从语言模型的参数化知识生成表格

Generating Tables from the Parametric Knowledge of Language Models

Bar-Ilan University(巴伊兰大学);Tel Aviv University(特拉维夫大学)

Yevgeni Berkovitch, Oren Glickman, Amit Somech, Tomer Wolfson

AI总结:

本文提出WikiTabGen基准,评估四款LLM在三种提示方式下从参数化知识生成结构化表格的能力,发现该任务仍具挑战且GPT-4准确率最高。

摘要:

我们探索如何利用大型语言模型(LLM)的参数化知识生成真实且准确的表格。尽管LLM在重建知识库和生成自由形式文本方面已展现出令人瞩目的能力,但我们聚焦于结构化表格数据的生成,这在金融和医疗等领域至关重要。我们考察了四款最先进LLM——GPT-3.5、GPT-4、Llama2-13B和Llama2-70B——的表格生成能力,并采用三种表格生成提示方法:(a)整表生成;(b)逐行生成;(c)逐单元格生成。在评估方面,我们提出了一个名为WikiTabGen的新型基准,其中包含100个经过精选的维基百科表格。这些表格经过进一步处理以确保事实正确性,并被人工标注了简短的自然语言描述。我们的研究结果表明,表格生成仍是一项挑战,其中GPT-4达到最高准确率,为19.6%。我们的详细分析揭示了表格大小、表格流行度和数值内容等多种表格属性如何影响生成性能。这项工作凸显了基于LLM的表格生成所面临的独特挑战,并为未来研究提供了坚实的评估框架。我们的代码、提示和数据均已公开:https://github.com/analysis-bots/WikiTabGen

英文摘要:

We explore generating factual and accurate tables from the parametric knowledge of large language models (LLMs). While LLMs have demonstrated impressive capabilities in recreating knowledge bases and generating free-form text, we focus on generating structured tabular data, which is crucial in domains like finance and healthcare. We examine the table generation abilities of four state-of-the-art LLMs: GPT-3.5, GPT-4, Llama2-13B, and Llama2-70B, using three prompting methods for table generation: (a) full-table, (b) row-by-row; (c) cell-by-cell. For evaluation, we introduce a novel benchmark, WikiTabGen which contains 100 curated Wikipedia tables. Tables are further processed to ensure their factual correctness and manually annotated with short natural language descriptions. Our findings reveal that table generation remains a challenge, with GPT-4 reaching the highest accuracy at 19.6%. Our detailed analysis sheds light on how various table properties, such as size, table popularity, and numerical content, influence generation performance. This work highlights the unique challenges in LLM-based table generation and provides a solid evaluation framework for future research. Our code, prompts and data are all publicly available: https://github.com/analysis-bots/WikiTabGen

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

↑