基于专家的自动提示工程:利用大语言模型从科学出版物中提取高熵合金晶格常数
Expert-Grounded Automatic Prompt Engineering for Extracting Lattice Constants of High-Entropy Alloys from Scientific Publications using Large Language Models
AI总结:
本文提出一种基于专家反馈的自动提示优化方法,通过优化提示提升大语言模型在高熵合金晶格常数提取任务中的可靠性,并展示了该方法在多个模型上的有效性及应用效果。
摘要:
大语言模型(LLMs)在从出版物中提取科学数据方面显示出潜力,但依赖于手动提示优化。我们提出了一种基于专家的自动提示优化框架,以提高LLM实体提取的可靠性。以高熵合金晶格常数提取为测试平台,我们通过在七份专家标注的出版物上进行反馈循环优化Claude 3.5 Sonnet的提示。尽管优化预算有限,召回率从0.27提升到>0.9,证明了一个小而专家整理的数据集可以产生显著改进。该方法应用于从2267份出版物中提取晶格常数,得到1861种成分的数据。优化后的提示有效地转移到了 newer 模型:Claude 4.5 Sonnet、GPT-5 和 Gemini 2.5 Flash。分析揭示了三种LLM错误类别:上下文幻觉、语义误解和单位转换错误,强调了验证协议的必要性。这些结果确立了反馈引导的提示优化作为一种低成本、可转移的方法,用于可靠的科学数据提取,为复杂的LLM辅助研究任务提供可扩展的路径。
英文摘要:
Large language models (LLMs) have shown promise for scientific data extraction from publications, but rely on manual prompt refinement. We present an expert-grounded automatic prompt optimization framework that enhances LLM entity extraction reliability. Using high-entropy alloy lattice constant extraction as a testbed, we optimized prompts for Claude 3.5 Sonnet through feedback cycles on seven expert-annotated publications. Despite a modest optimization budget, recall improved from 0.27 to > 0.9, demonstrating that a small, expert-curated dataset can yield significant improvements. The approach was applied to extract lattice constants from 2,267 publications, yielding data for 1,861 compositions. The optimized prompt transferred effectively to newer models: Claude 4.5 Sonnet, GPT-5, and Gemini 2.5 Flash. Analysis revealed three categories of LLM mistakes: contextual hallucination, semantic misinterpretation, and unit conversion errors, emphasizing the need for validation protocols. These results establish feedback-guided prompt optimization as a low-cost, transferable methodology for reliable scientific data extraction, providing a scalable pathway for complex LLM-assisted research tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。