[论文解读] Reflections from the 2024 Large Language Model (LLM) Hackathon for Applications in Materials Science and Chemistry
本文提出GlossaGen,一个基于大语言模型(LLM)的框架,可自动从PDF或TeX文档中生成结构化的科学术语表和知识图谱,利用文本分块、思维链提示(chain-of-thought prompting)以及GPT-3.5-Turbo和GPT-4-Turbo等大语言模型。该框架在定义生成方面实现了约70–80%的准确率,仅需极少的人工修改,显著减少了学术写作中创建术语表的时间。
Here, we present the outcomes from the second Large Language Model (LLM) Hackathon for Applications in Materials Science and Chemistry, which engaged participants across global hybrid locations, resulting in 34 team submissions. The submissions spanned seven key application areas and demonstrated the diverse utility of LLMs for applications in (1) molecular and material property prediction; (2) molecular and material design; (3) automation and novel interfaces; (4) scientific communication and education; (5) research data management and automation; (6) hypothesis generation and evaluation; and (7) knowledge extraction and reasoning from scientific literature. Each team submission is presented in a summary table with links to the code and as brief papers in the appendix. Beyond team results, we discuss the hackathon event and its hybrid format, which included physical hubs in Toronto, Montreal, San Francisco, Berlin, Lausanne, and Tokyo, alongside a global online hub to enable local and virtual collaboration. Overall, the event highlighted significant improvements in LLM capabilities since the previous year's hackathon, suggesting continued expansion of LLMs for applications in materials science and chemistry research. These outcomes demonstrate the dual utility of LLMs as both multipurpose models for diverse machine learning tasks and platforms for rapid prototyping custom applications in scientific research.
研究动机与目标
- 为解决在学术论文中手动创建术语表耗时耗力的问题,特别是在材料科学和化学领域。
- 利用大语言模型自动从科学PDF和TeX文件中提取技术术语及其定义。
- 将提取的术语以交互式知识图谱形式呈现,以可视化科学概念之间的关系。
- 通过支持快速、准确且可复用的术语表创建,提升学术交流质量,适用于综述文章、科研资助申请和出版物。
- 开发一个模块化、可扩展的框架,支持未来功能扩展,如LaTeX集成和图像中的术语提取。
提出的方法
- 使用PyMuPDF对科学文档进行预处理,提取文本、标题和DOI,并将内容分块为保留上下文的片段。
- 采用GPT-3.5-Turbo和GPT-4-Turbo模型,结合思维链提示和类型化预测器,高精度提取术语及其定义。
- 使用DSPy构建模块化Python包,以结构化方式组织大语言模型输出,确保格式一致性。
- 将提取的术语和定义转换为基于Neo4j的知识图谱,表达语义关系(例如,'MATERIAL – exhibits → PROPERTY')。
- 开发基于Gradio的前端界面,支持对生成的术语表和知识图谱进行交互式探索与自定义。
- 应用后处理步骤,去除重复条目,确保最终术语表的数据质量。

实验结果
研究问题
- RQ1大语言模型能否有效从材料科学和化学领域的全文研究论文中提取准确的科学术语及其定义?
- RQ2与传统手工制作的术语表相比,大语言模型生成的术语表在多大程度上减少了人工工作量?
- RQ3在构建知识图谱时,大语言模型在多大程度上能够保留科学术语之间的上下文关系?
- RQ4思维链提示等提示策略对提取定义的质量和结构有何影响?
- RQ5该框架如何扩展以支持LaTeX集成和基于图像的术语提取?
主要发现
- 经材料科学领域专家验证,大语言模型生成的术语表准确率达约70–80%,其定义几乎无需人工修改。
- 使用PyMuPDF进行文本分块有效保持了上下文完整性,使大语言模型能够高效处理长篇科学文献。
- 思维链提示与类型化预测器显著提升了大语言模型输出的结构化程度与准确性。
- 知识图谱表示成功展示了科学术语之间的语义关系,例如“材料”表现出“性质”。
- 基于Gradio的界面实现了术语表与知识图谱的直观用户交互,支持实时探索。
- 基于DSPy和GitHub版本控制的模块化设计,支持框架的可扩展性与协作开发。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。