使用微调大语言模型从有机合成程序中提取结构化数据

IF 6.2 Q1 CHEMISTRY, MULTIDISCIPLINARY
Qianxiang Ai, Fanwang Meng, Jiale Shi, Brenden Pelkie and Connor W. Coley
{"title":"使用微调大语言模型从有机合成程序中提取结构化数据","authors":"Qianxiang Ai, Fanwang Meng, Jiale Shi, Brenden Pelkie and Connor W. Coley","doi":"10.1039/D4DD00091A","DOIUrl":null,"url":null,"abstract":"<p >The popularity of data-driven approaches and machine learning (ML) techniques in the field of organic chemistry and its various subfields has increased the value of structured reaction data. Most data in chemistry is represented by unstructured text, and despite the vastness of the organic chemistry literature (papers, patents), manual conversion from unstructured text to structured data remains a largely manual endeavor. Software tools for this task would facilitate downstream applications such as reaction prediction and condition recommendation. In this study, we fine-tune a large language model (LLM) to extract reaction information from organic synthesis procedure text into structured data following the Open Reaction Database (ORD) schema, a comprehensive data structure designed for organic reactions. The fine-tuned model produces syntactically correct ORD records with an average accuracy of 91.25% for ORD “messages” (<em>e.g.</em>, full compound, workups, or condition definitions) and 92.25% for individual data fields (<em>e.g.</em>, compound identifiers, mass quantities), with the ability to recognize compound-referencing tokens and to infer reaction roles. We investigate its failure modes and evaluate performance on specific subtasks such as reaction role classification.</p>","PeriodicalId":72816,"journal":{"name":"Digital discovery","volume":" 9","pages":" 1822-1831"},"PeriodicalIF":6.2000,"publicationDate":"2024-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://pubs.rsc.org/en/content/articlepdf/2024/dd/d4dd00091a?page=search","citationCount":"0","resultStr":"{\"title\":\"Extracting structured data from organic synthesis procedures using a fine-tuned large language model†\",\"authors\":\"Qianxiang Ai, Fanwang Meng, Jiale Shi, Brenden Pelkie and Connor W. Coley\",\"doi\":\"10.1039/D4DD00091A\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p >The popularity of data-driven approaches and machine learning (ML) techniques in the field of organic chemistry and its various subfields has increased the value of structured reaction data. Most data in chemistry is represented by unstructured text, and despite the vastness of the organic chemistry literature (papers, patents), manual conversion from unstructured text to structured data remains a largely manual endeavor. Software tools for this task would facilitate downstream applications such as reaction prediction and condition recommendation. In this study, we fine-tune a large language model (LLM) to extract reaction information from organic synthesis procedure text into structured data following the Open Reaction Database (ORD) schema, a comprehensive data structure designed for organic reactions. The fine-tuned model produces syntactically correct ORD records with an average accuracy of 91.25% for ORD “messages” (<em>e.g.</em>, full compound, workups, or condition definitions) and 92.25% for individual data fields (<em>e.g.</em>, compound identifiers, mass quantities), with the ability to recognize compound-referencing tokens and to infer reaction roles. We investigate its failure modes and evaluate performance on specific subtasks such as reaction role classification.</p>\",\"PeriodicalId\":72816,\"journal\":{\"name\":\"Digital discovery\",\"volume\":\" 9\",\"pages\":\" 1822-1831\"},\"PeriodicalIF\":6.2000,\"publicationDate\":\"2024-07-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://pubs.rsc.org/en/content/articlepdf/2024/dd/d4dd00091a?page=search\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Digital discovery\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://pubs.rsc.org/en/content/articlelanding/2024/dd/d4dd00091a\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"CHEMISTRY, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Digital discovery","FirstCategoryId":"1085","ListUrlMain":"https://pubs.rsc.org/en/content/articlelanding/2024/dd/d4dd00091a","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

数据驱动方法和机器学习(ML)技术在有机化学领域及其各个子领域的普及提高了结构化反应数据的价值。化学领域的大多数数据都是非结构化文本,而且由于有机化学文献(论文、专利)浩如烟海,从非结构化文本到结构化数据的手动转换仍然主要是人工操作。完成这项任务的软件工具将有助于下游应用,如反应预测和条件推荐。在本研究中,我们利用经过微调的大型语言模型(LLMs)的强大功能,按照开放反应数据库(ORD)模式从有机合成过程文本中提取反应信息,并将其转换为结构化数据,这是一种专为有机反应设计的综合数据结构。经过微调的模型能生成语法正确的 ORD 记录,对 ORD "信息"(如完整的化合物、工作步骤或条件定义)的平均准确率为 91.25%,对单个数据字段(如化合物标识符、质量数)的平均准确率为 92.25%,并能识别化合物参考标记和推断反应作用。我们对其故障模式进行了研究,并对特定子任务(如反应角色分类)的性能进行了评估。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Extracting structured data from organic synthesis procedures using a fine-tuned large language model†

Extracting structured data from organic synthesis procedures using a fine-tuned large language model†

The popularity of data-driven approaches and machine learning (ML) techniques in the field of organic chemistry and its various subfields has increased the value of structured reaction data. Most data in chemistry is represented by unstructured text, and despite the vastness of the organic chemistry literature (papers, patents), manual conversion from unstructured text to structured data remains a largely manual endeavor. Software tools for this task would facilitate downstream applications such as reaction prediction and condition recommendation. In this study, we fine-tune a large language model (LLM) to extract reaction information from organic synthesis procedure text into structured data following the Open Reaction Database (ORD) schema, a comprehensive data structure designed for organic reactions. The fine-tuned model produces syntactically correct ORD records with an average accuracy of 91.25% for ORD “messages” (e.g., full compound, workups, or condition definitions) and 92.25% for individual data fields (e.g., compound identifiers, mass quantities), with the ability to recognize compound-referencing tokens and to infer reaction roles. We investigate its failure modes and evaluate performance on specific subtasks such as reaction role classification.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
2.80
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信