# USPTO反应数据集

USPTO反应数据集是由丹尼尔·洛（Daniel Lowe）汇编、以CC0许可发布的大约180万至190万条有机化学反应集合，这些反应通过文本挖掘从1976年至2016年9月间授权的美国专利中提取<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9092346/)</sup><sup> • </sup><sup>[2](https://tdcommons.ai/generation_tasks/reaction/)</sup>。反应以反应SMILES（一种编码化学结构与反应的文本记法）表示，并带有原子映射（标注哪些反应物原子成为哪些产物原子），该数据集已成为合成规划、逆合成（从目标分子倒推规划合成路线）预测和反应结果预测中机器学习的主要开放获取反应数据来源<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)</sup>。由于其开放性，大多数已发表的反应建模机器学习工具都在其子集上训练；而Reaxys等专有替代方案（约5600万条经人工整理的反应）无法连同在其上训练的模型一起公开共享<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 来源 | 由丹尼尔·洛（剑桥大学博士论文）从1976年至2016年9月的美国专利中文本挖掘而成<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9092346/)</sup> |
| 规模 | 约180万条文本挖掘反应；TDC分发版列出1,939,253条反应<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9092346/)</sup><sup> • </sup><sup>[2](https://tdcommons.ai/generation_tasks/reaction/)</sup> |
| 许可 | CC0<sup>[2](https://tdcommons.ai/generation_tasks/reaction/)</sup> |
| 主要子集 | USPTO-50k（50,000条反应，10种反应类型）、USPTO-MIT / USPTO-480k（约480,000条反应，排除立体化学）、USPTO-190（190个用于多步规划的目标分子）<sup>[4](https://zitniklab.hms.harvard.edu/publications/papers/TDC-neurips21-supp.pdf)</sup><sup> • </sup><sup>[5](https://doi.org/10.1039/D6CS00079G)</sup> |
| 表示形式 | 带原子映射的反应SMILES；不包含反应条件和过程操作<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9092346/)</sup> |
| 已知局限 | USPTO-50k测试集中约94%的反应与训练数据中可提取的模板匹配，因此标准划分并未检验泛化能力<sup>[6](https://openreview.net/references/pdf?id=uFZzMS2k2)</sup> |

## 起源与构建

该数据集通过对USPTO专利语料库进行系统性文本挖掘、标准化和原子映射而创建<sup>[5](https://doi.org/10.1039/D6CS00079G)</sup>。丹尼尔·洛在剑桥大学的博士工作《从文献中提取化学结构与反应》产出了最初发布的数据库；一个衍生子集USPTO_Stereo涵盖1976年至2016年9月的美国专利，包含约100万条反应<sup>[7](https://www.energy.gov/sites/default/files/2021-04/beto-28-peer-review-2021-sdi-olarte.pdf)</sup>。后来一项基准研究对最终数据库的计数给出131.6万条反应，而其他分发版报告180万条或1,939,253条反应；差异反映了同一底层提取的不同版本和过滤方式<sup>[8](https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/60c7505aee301c33b8c7a85e/original/atom-to-atom-mapping-a-benchmarking-study-of-popular-mapping-algorithms-and-consensus-strategies.pdf)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9092346/)</sup><sup> • </sup><sup>[2](https://tdcommons.ai/generation_tasks/reaction/)</sup>。

由于反应来自专利文本，每条记录是一个整体转化而非机理步骤。该数据集几乎不提供关于底层机理、关键中间体和副产物的信息，且大多数反应只给出单一主产物<sup>[9](https://escholarship.org/content/qt6vf613w2/qt6vf613w2.pdf)</sup>。

## 标准子集与基准

若干经过处理的子集本身已成为命名的基准。

**USPTO-50k。** 从可被NameRxn和Indigo分类或映射的反应中伪随机选取的50,000条反应子集（某一分发版为50,016条），每条均带有10个类别之一的标注反应类型<sup>[5](https://doi.org/10.1039/D6CS00079G)</sup><sup> • </sup><sup>[4](https://zitniklab.hms.harvard.edu/publications/papers/TDC-neurips21-supp.pdf)</sup><sup> • </sup><sup>[10](https://synrxn.readthedocs.io/en/latest/data_records.html)</sup>。它是单步逆合成模型最常见的比较集，通常采用随机80/10/10的训练/验证/测试划分<sup>[6](https://openreview.net/references/pdf?id=uFZzMS2k2)</sup><sup> • </sup><sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC12462486/)</sup>。

**USPTO-MIT（USPTO-480k）。** 从USPTO语料库衍生并经过滤以排除立体化学信息的约480,000条反应；它是反应产物预测的常用基准，典型划分为约410,000条训练、30,000条验证和40,000条测试反应<sup>[5](https://doi.org/10.1039/D6CS00079G)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)</sup><sup> • </sup><sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC12462486/)</sup>。

**USPTO-190与USPTO-FULL。** USPTO-190包含190个用于多步逆合成规划评估的目标分子；完整语料库则作为试剂预测及其他任务的训练数据<sup>[12](https://www.sota2.com/research/dataset/uspto)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)</sup>。

开放反应数据库（Open Reaction Database）将USPTO授权数据作为整合数据集分发，该数据集由489个月度`uspto-grants-YYYY_MM`分片构成，每条反应的专利来源存储在`Reaction.provenance.patent`中，因此原始月度分桶仍可追溯<sup>[13](https://github.com/open-reaction-database/ord-data/blob/main/README.md)</sup>。ORDerly项目利用ORD中的USPTO数据构建了正向预测、逆合成（ORDerly-retro，即单产物且至多两个反应物的反应）和反应条件预测的基准，每个均采用随机80/10/10划分；ORDerly-condition被其作者描述为首个开源反应条件基准<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC11094788/)</sup>。

## 已记录的偏差与局限

**专利偏差。** 这些反应完全来自美国专利申请，而专利申请聚焦于新颖性。因此数据集过度代表了被视为可专利的反应类型，例如与制药或农化创新相关的反应，而入门有机化学中许多简单的基础转化则缺失<sup>[15](https://aclanthology.org/2025.findings-emnlp.1242.pdf)</sup>。按模板对反应分类揭示出幂律分布，其中大多数反应对应少量模板，而许多模板仅有极少数示例<sup>[16](https://pubs.rsc.org/en/content/articlepdf/2025/dd/d5dd00465a)</sup>。

**泛化检验有限。** USPTO-50k测试集中约94%的反应与训练数据中可提取的模板匹配，因此标准随机划分并未真正检验泛化能力，尽管无模板逆合成模型常将泛化能力标榜为主要优势<sup>[6](https://openreview.net/references/pdf?id=uFZzMS2k2)</sup>。

**文本挖掘带来的噪声。** 由于数据集通过文本挖掘汇编，反应记录含有大量噪声；同一反应类型的不同实例可能以不同详细程度书写<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)</sup>。对各种USPTO数据集的综述还指出系统性不一致、化学语义错误，以及周环反应或热重排与光化学重排等反应类别的稀缺——这些在专利文献中鲜有报道<sup>[17](https://d3ccyth396mz21.cloudfront.net/publications/combining-high-quality-humanly-curated-data-with-language-models-the-dawn-of-on-demand-machine-learning-models-for-digital-chemistry)</sup>。

## 数据整理工作

近期项目直接针对噪声问题。uspto-revisit仓库采用两阶段、LLM驱动的流程进行整理：第一阶段，LLM将专利标题及其实验段落转化为结构化形式的反应信息，然后使用LocalMapper转换为SMILES并进行原子映射；第二阶段，模板异常过滤器标记出无法找到可归属反应中心的反应<sup>[18](https://github.com/snu-micc/uspto-revisit)</sup>。其评估集包含400个专利段落，从四个ORDerly标记类别中等量采样，每个段落均由人工评估者手动审查；283个段落产出了有效（无噪声）的真实反应，117个未能产出<sup>[18](https://github.com/snu-micc/uspto-revisit)</sup>。对于该仓库报告的最佳配置，反应级精确匹配准确率为86.6%（245/283），模板异常去噪准确率为74.8%（299/400），严格端到端准确率为68.0%（272/400）<sup>[18](https://github.com/snu-micc/uspto-revisit)</sup>。

一种互补方法不是清洗而是再平衡：将USPTO分子视为产物并应用逆合成模板，生成了2750万条经过验证的虚构反应，覆盖原始数据集的化学空间；在1,097,374条此类反应的模板均衡子集上训练的逆合成模型，表现优于仅在USPTO反应上训练的对应模型<sup>[16](https://pubs.rsc.org/en/content/articlepdf/2025/dd/d5dd00465a)</sup>。

## 在模型评估中的使用

USPTO衍生集上报告的基准结果涵盖多项任务：在反应类型已知的情况下，USPTO-FULL上的top-1逆合成准确率为63.4%，USPTO-50k上为67.2%；逆合成规划成功率在USPTO上为99.47%，在USPTO-190上为100%；光学化学结构识别准确率在USPTO-10K上为96.1%<sup>[12](https://www.sota2.com/research/dataset/uspto)</sup>。评估实践因集中于USPTO-50k单一随机划分上的top-1准确率而受到批评——化学界认为该指标不足——且很少直接在预测结果上比较模型<sup>[6](https://openreview.net/references/pdf?id=uFZzMS2k2)</sup>。

## References

1. [Improving Few- and Zero-Shot Reaction Template Prediction Using Modern Hopfield Networks (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC9092346/)
2. [Reaction tasks, Therapeutics Data Commons](https://tdcommons.ai/generation_tasks/reaction/)
3. [Andronov et al., Reagent prediction with a molecular transformer improves reaction data quality, Chemical Science 2023](https://pmc.ncbi.nlm.nih.gov/articles/PMC10034139/)
4. [TDC NeurIPS 2021 supplement, RetroSyn datasets](https://zitniklab.hms.harvard.edu/publications/papers/TDC-neurips21-supp.pdf)
5. [An overview of reaction outcome prediction with physics-based and data-driven methods, Chemical Society Reviews](https://doi.org/10.1039/D6CS00079G)
6. [Evaluation of single-step retrosynthesis models, OpenReview](https://openreview.net/references/pdf?id=uFZzMS2k2)
7. [Developing Hydrotreating Models Using Machine Learning, US DOE BETO peer review](https://www.energy.gov/sites/default/files/2021-04/beto-28-peer-review-2021-sdi-olarte.pdf)
8. [Atom-to-atom mapping: a benchmarking study of popular mapping algorithms and consensus strategies, ChemRxiv](https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/60c7505aee301c33b8c7a85e/original/atom-to-atom-mapping-a-benchmarking-study-of-popular-mapping-algorithms-and-consensus-strategies.pdf)
9. [Tavakoli, Machine Intelligence for Chemistry: From Deep Learning Architectures to Open Data, UC Irvine dissertation](https://escholarship.org/content/qt6vf613w2/qt6vf613w2.pdf)
10. [SynRXN data records](https://synrxn.readthedocs.io/en/latest/data_records.html)
11. [Chen et al., Chemical knowledge-informed framework for privacy-aware retrosynthesis learning, Nature Communications 2025](https://pmc.ncbi.nlm.nih.gov/articles/PMC12462486/)
12. [USPTO dataset and benchmarks, SOTA2 Research](https://www.sota2.com/research/dataset/uspto)
13. [open-reaction-database/ord-data README](https://github.com/open-reaction-database/ord-data/blob/main/README.md)
14. [ORDerly: Data Sets and Benchmarks for Chemical Reaction Data (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC11094788/)
15. [Benchmark bias in USPTO-based evaluation, Findings of EMNLP 2025](https://aclanthology.org/2025.findings-emnlp.1242.pdf)
16. [Grandjean, Kreutter, Reymond, Data augmentation in a triple transformer loop retrosynthesis model](https://pubs.rsc.org/en/content/articlepdf/2025/dd/d5dd00465a)
17. [Vaucher et al., Combining high-quality, humanly curated data with language models, ACS Fall 2022](https://d3ccyth396mz21.cloudfront.net/publications/combining-high-quality-humanly-curated-data-with-language-models-the-dawn-of-on-demand-machine-learning-models-for-digital-chemistry)
18. [snu-micc/uspto-revisit: LLM-based curation of USPTO reaction data](https://github.com/snu-micc/uspto-revisit)

---
*Initially written Oct 22, 2026*

Topic: 物质世界与数学 › 化学 › 有机物 › Organic reactions, structure and reference › Organic reactions and synthetic methods › Organic reactions overview

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/uspto-reaction-dataset

English original: https://www.edgepedia.org/uspto-reaction-dataset
