具有科学逻辑性的方法论:LLM推理的实践:物理学
Scientific Logicality Enriched Methodology for LLM Reasoning: A Practice in Physics
AI总结:
本文提出了一种增强科学逻辑性的方法论,旨在提升LLM在科学推理中的逻辑正确性与任务表现,通过物理学中的多样逻辑结构和形式化进行实践验证。
摘要:
随着大语言模型(LLM)推理能力的持续进步,其在科学推理任务中的应用获得了广泛关注。当前研究主要强调通过在更大、更全面的数据集上进行训练,以提升LLM在科学问答基准测试中的性能,但这些方法忽视了科学推理过程的本质——逻辑性,这是确保推理步骤有效性的理性基础。在本工作中,我们首次系统地研究了LLM科学推理内部的逻辑性,并开发了一种科学逻辑性增强的方法论,包括一套评估标准和数据采样方法,用于逻辑性引导的训练,以提高LLM推理的逻辑正确性以及任务性能。进一步地,我们以物理学为典范学科,实践上述方法论。在数据构建方面,我们从学术文献中提取科学问题,并采样出一个具有强逻辑性的高质量数据集。基于三种不同的基础LLM进行的实验表明:1)我们构建的训练数据能够有效提高LLM推理中的科学逻辑性;2)增强的科学逻辑性在解决科学问题中起着关键作用。代码可在https://github.com/ScienceOne-AI/PhysLogic获取。
英文摘要:
With the continuous advancement of reasoning abilities in Large Language Models (LLMs), their application to scientific reasoning tasks has gained significant research attention. Current research primarily emphasizes boosting LLMs' performance on scientific QA benchmarks by training on larger, more comprehensive datasets with extended reasoning chains. However, these approaches neglect the essence of the scientific reasoning process -- logicality, which is the rational foundation to ensure the validity of reasoning steps leading to reliable conclusions. In this work, we make the first systematic investigation into the internal logicality underlying LLM scientific reasoning, and develop a scientific logicality-enriched methodology, including a set of assessment criteria and data sampling methods for logicality-guided training, to improve the logical faithfulness as well as task performance. Further, we take physics, characterized by its diverse logical structures and formalisms, as an exemplar discipline to practise the above methodology. For data construction, we extract scientific problems from academic literature and sample a high-quality dataset exhibiting strong logicality. Experiments based on three different backbone LLMs reveal that: 1) the training data we constructed can effectively improve the scientific logicality in LLM reasoning; and 2) the enriched scientific logicality plays a critical role in solving scientific problems. Code is available at \href{https://github.com/ScienceOne-AI/PhysLogic}{https://github.com/ScienceOne-AI/PhysLogic}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。