There has been a growing effort to replace hand extraction of data from research papers with automated data extraction based on natural language processing (NLP), language models (LMs), and recently, large language models (LLMs). Although these methods enable efficient extraction of data from large sets of research papers, they require a significant amount of up-front effort, expertise, and coding. In this work we propose the ChatExtract method that can fully automate very accurate data extraction with essentially no initial effort or background using an advanced conversational LLM (or AI). ChatExtract consists of a set of engineered prompts applied to a conversational LLM that both identify sentences with data, extract data, and assure its correctness through a series of follow-up questions. These follow-up questions address a critical challenge associated with LLMs - their tendency to provide factually inaccurate responses. ChatExtract can be applied with any conversational LLMs and yields very high quality data extraction. In tests on materials data we find precision and recall both over 90% from the best conversational LLMs, likely rivaling or exceeding human accuracy in many cases. We demonstrate that the exceptional performance is enabled by the information retention in a conversational model combined with purposeful redundancy and introducing uncertainty through follow-up prompts. These results suggest that approaches similar to ChatExtract, due to their simplicity, transferability and accuracy are likely to replace other methods of data extraction in the near future.
翻译:以基于自然语言处理(NLP)、语言模型(LMS)和最近大型语言模型(LLMS)的自动数据提取取代研究论文数据手工提取的努力越来越多。虽然这些方法能够有效地提取大量研究论文的数据,但需要大量的前期努力、专门知识和编码。在这项工作中,我们提议了聊天提取方法,该方法基本上无需初步努力或背景,就可以完全自动化非常准确的数据提取,而使用先进的谈话性LM(或AI) 。聊天摘录包括一套设计出的提示,适用于对话性LLM,既能识别带有数据的判决、提取数据,又能通过一系列后续问题确保其正确性。这些后续问题解决了与LLMS有关的重大挑战,即它们倾向于提供事实上的不准确的答复。在任何对话性 LMSMs(或AI)中可以产生高质量的数据提取数据。在测试材料数据时,我们发现90%以上来自最佳对话性 LLMS,在许多情况下可能与人性相匹配或超过人性准确性。我们证明,通过一系列后续性分析方法,这些非常精确性能的精确性,通过类似性分析方法,使得今后在对话性对话性转换数据中能够产生类似性结果。</s>