# QSAR模型

定量构效关系（quantitative structure–activity relationship，QSAR）模型是一种统计模型或机器学习模型，它依据化合物分子结构的数值化描述符，预测该化合物的生物活性，或其在物理化学性质与环境归趋方面的性质。其输入为分子描述符或分子表示形式，如片段指纹与分子图；输出为活性数值、类别标签（如活性与非活性），或性质预测值。此类模型与定性构效关系（non-quantitative structure–activity relationship）合称(Q)SAR，用于药物发现、虚拟筛选以及化学品安全监管评估。<sup>[1](https://qsartoolbox.org/file/2020/04/Tutorial_36_Building_QSAR_by-QSAR-Editor.pdf)</sup> 在最一般的形式下，QSAR模型是形如 \( P_{i} = k'(D_{1}, D_{2}, \ldots, D_{n}) \) 的关系式，其中 \( P_{i} \) 为生物活性，\( D_{1} \ldots D_{n} \) 为分子描述符，\( k' \) 为经经验建立的数学变换。<sup>[2](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.17.2010.Best%20Practices%20for%20QSAR%20Model%20Development%2C%20Validation%2C%20and%20Exploitation.pdf?forcedownload=1)</sup>

| 关键事实 | 详情 |
| --- | --- |
| (Q)SAR模型预测什么 | 由化学结构预测化合物的物理化学性质、生物活性与环境归趋性质<sup>[1](https://qsartoolbox.org/file/2020/04/Tutorial_36_Building_QSAR_by-QSAR-Editor.pdf)</sup> |
| 一般模型形式 | \( P_{i} = k'(D_{1}, D_{2}, \ldots, D_{n}) \)，即活性作为描述符的函数<sup>[2](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.17.2010.Best%20Practices%20for%20QSAR%20Model%20Development%2C%20Validation%2C%20and%20Exploitation.pdf?forcedownload=1)</sup> |
| 首个拟合的QSAR方程 | \( \log(1/C) = 4.08\pi - 2.14\pi^{2} + 2.78\sigma + 3.36 \)，据一篇回顾性综述，该方程于1961年7月提出<sup>[3](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.1.2012.Hansch%20analysis%2050%20years%20on.pdf?forcedownload=1)</sup> |
| 常用的可接受性阈值 | \( q^{2} > 0.5 \) 且 \( R^{2} > 0.6 \)；2023年的一项研究又补充了 \( R^{2}_{test} \geq 0.600 \) 与 \( Q^{2}_{LOO} \geq 0.500 \)<sup>[2](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.17.2010.Best%20Practices%20for%20QSAR%20Model%20Development%2C%20Validation%2C%20and%20Exploitation.pdf?forcedownload=1)</sup><sup> • </sup><sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10601054/)</sup> |
| 偶然相关性检验 | Y随机化：在打乱的响应值上重新拟合20–50个模型；若相关性依然存在，则原模型可疑<sup>[5](https://www.ncbi.nlm.nih.gov/books/NBK6353/)</sup> |
| 模型族 | 2D-QSAR、3D-QSAR（CoMFA、CoMSIA）、HQSAR，以及4D–5D扩展<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10601054/)</sup><sup> • </sup><sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7123761/)</sup> |
| 深度模型与经典模型（2026年基准测试） | 在156项比较中，经典机器学习在47.4%的比较里表现最佳，领先于预训练序列模型（28.8%）、图神经网络（21.8%）与基于大语言模型的SAR基线（1.9%）<sup>[7](https://arxiv.org/html/2604.26498v2)</sup> |

## 原理

其基本假设是：生物响应是分子物理化学性质的函数。在Hansch–Fujita表述中，生物响应的速率等于 \( A \cdot C \cdot k_{x} \)，其中 \( A \) 是分子在给定时间间隔内到达作用位点的概率，\( C \) 是细胞外摩尔浓度。<sup>[8](https://doi.org/10.1021/ja01062a035)</sup> 描述符编码了支配转运与结合的那些性质：疏水性参数 \( \pi \) 由辛醇–水分配系数定义，是使用最广的片段常数，衡量取代基相对于氢的疏水特征；Hammett \( \sigma_{m}/\sigma_{p} \) 常数则刻画电子效应。<sup>[5](https://www.ncbi.nlm.nih.gov/books/NBK6353/)</sup> 活性往往存在一个最佳分配系数，超过该值后活性便下降，表现为抛物线型（II型）行为。<sup>[8](https://doi.org/10.1021/ja01062a035)</sup>

最简单的模型是线性的：\( y = a_{0} + a_{1}x_{1} + \ldots + a_{n}x_{n} \)，其中 \( y \) 是所关注的性质，\( a_{0} \) 是截距，\( a_{1} \ldots a_{n} \) 是由训练数据拟合得到的回归系数。<sup>[9](https://d-nb.info/1096332701/34)</sup> 首个拟合方程 \( \log(1/C) = 4.08\pi - 2.14\pi^{2} + 2.78\sigma + 3.36 \) 将一个抛物线型疏水项与一个线性电子项结合在一起。<sup>[3](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.1.2012.Hansch%20analysis%2050%20years%20on.pdf?forcedownload=1)</sup> 现代的实现则以任何能把描述符映射为活性的统计函数或机器学习函数 \( k' \) 取代线性形式。<sup>[2](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.17.2010.Best%20Practices%20for%20QSAR%20Model%20Development%2C%20Validation%2C%20and%20Exploitation.pdf?forcedownload=1)</sup>

## 如何建模

模型构建依次经过描述符列表化、特征选择、参数估计与验证，其中交叉验证（留一法、留组法或k折交叉验证，以及自助法）与Y随机化是标准的验证程序。<sup>[5](https://www.ncbi.nlm.nih.gov/books/NBK6353/)</sup> 由于模型质量既取决于算法，也同样取决于数据，化学结构的整理被视为建模之前不可或缺的一步；已发表的关于整理实践的文献强调，输入结构中的错误会传播到拟合出的模型中。<sup>[10](https://doi.org/10.1021/ci100176x)</sup> 训练集与测试集可通过对实验数据集进行多样性抽样来选取，这一方法由亚历山大·戈尔布赖赫（Alexander Golbraikh）与亚历山大·特罗普沙（Alexander Tropsha）于2002年在《Journal of Computer-Aided Molecular Design》上提出，用于预测性QSAR建模。<sup>[11](https://doi.org/10.1023/a:1020869118689)</sup> 验证通常分为内部验证与外部验证两部分，这一区分由保拉·格拉马蒂卡（Paola Gramatica）于2007年在《QSAR & Combinatorial Science》上提出。<sup>[12](https://doi.org/10.1002/qsar.200610151)</sup> 常被引用的可接受性阈值为 \( q^{2} > 0.5 \) 与 \( R^{2} > 0.6 \)；2023年一项针对克鲁兹蛋白酶（cruzain）抑制剂的收敛型QSAR模型研究又补充了 \( R^{2}_{test} \geq 0.600 \) 与 \( Q^{2}_{LOO} \geq 0.500 \)。<sup>[2](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.17.2010.Best%20Practices%20for%20QSAR%20Model%20Development%2C%20Validation%2C%20and%20Exploitation.pdf?forcedownload=1)</sup><sup> • </sup><sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC10601054/)</sup> 作为对偶然相关性的检验，Y随机化在打乱的响应值上重新拟合20–50个模型，若相关性依然存在，则原模型可疑。<sup>[5](https://www.ncbi.nlm.nih.gov/books/NBK6353/)</sup>

## 起源

定量方法由科温·汉施（Corwin Hansch）及其同事于1962年在《Nature》上引入，那篇论文将苯氧乙酸类的生物活性与Hammett取代基常数及分配系数关联起来。<sup>[13](https://doi.org/10.1038/194178b0)</sup> p-σ-π分析——一种关联生物活性与化学结构的方法——由科温·汉施与藤田稔夫（Toshio Fujita）于1964年发表在《Journal of the American Chemical Society》上。<sup>[8](https://doi.org/10.1021/ja01062a035)</sup> 另一种独立的加和模型——Free-Wilson分析——由斯宾塞·M·弗里（Spencer M. Free）与詹姆斯·W·威尔逊（James W. Wilson）于1964年发表于《Journal of Medicinal Chemistry》。<sup>[14](https://doi.org/10.1021/jm00334a001)</sup> 胡戈·库比尼（Hugo Kubinyi）于1976年将两者结合，提出一种基于Hansch分析与Free-Wilson分析的混合方法，发表于《Journal of Medicinal Chemistry》。<sup>[15](https://doi.org/10.1021/jm00227a004)</sup>

## 变体

三维扩展通过分子的立体场与静电场来比较分子。CoMFA方法学由理查德·D·克拉默（Richard D. Cramer）及其同事于1988年发表在《Quantitative Structure-Activity Relationships》期刊上，其中将交叉验证、自助法与偏最小二乘法同传统QSAR研究中的多元回归作了比较。<sup>[16](https://doi.org/10.1002/qsar.19880070105)</sup> CoMSIA，即比较分子相似性指数分析（comparative molecular similarity indices analysis），由[格哈德·克莱贝](https://www.edgepedia.org/zh/gerhard-klebe)（Gerhard Klebe）与乌特·亚伯拉罕（Ute Abraham）于1999年在《Journal of Computer-Aided Molecular Design》上提出，用于研究氢键性质并对组合库进行打分。<sup>[17](https://doi.org/10.1023/a:1008047919606)</sup> SOMFA，即自组织分子场分析（self-organizing molecular field analysis），由丹尼尔·D·罗宾逊（Daniel D. Robinson）及其同事于1999年发表于《Journal of Medicinal Chemistry》。<sup>[18](https://doi.org/10.1021/jm9810607)</sup> 随后是维度上的扩展：4D-QSAR分析的形式体系由A. J. 霍普芬格（A. J. Hopfinger）及其同事于1997年在《Journal of the American Chemical Society》上描述；<sup>[19](https://doi.org/10.1021/ja9718937)</sup> 从三维概念推进到五维概念的多维QSAR由安杰洛·韦达尼（Angelo Vedani）与马克斯·多布勒（Max Dobler）于2002年在《Quantitative Structure-Activity Relationships》上提出；<sup>[20](https://doi.org/10.1002/1521-3838%28200210%2921:4<382::aid-qsar382>3.0.co;2-l)</sup> 与蛋白质建模相结合的6D-QSAR由安杰洛·韦达尼、马克斯·多布勒与马库斯·A·利尔（Markus A. Lill）于2005年发表于《Journal of Medicinal Chemistry》。<sup>[21](https://doi.org/10.1021/jm050185q)</sup> 机器学习变体包括：作为定量构效关系方法的深度神经网络，由Junshui Ma及其同事于2015年在《Journal of Chemical Information and Modeling》上引入；<sup>[22](https://doi.org/10.1021/ci500747n)</sup> 以dropout（随机失活）训练的人工神经网络，由杰弗里·门登霍尔（Jeffrey Mendenhall）与延斯·迈勒（Jens Meiler）于2016年在《Journal of Computer-Aided Molecular Design》上描述；<sup>[23](https://doi.org/10.1007/s10822-016-9895-2)</sup> 以及用于化学性质预测的[Chemprop](https://www.edgepedia.org/zh/chemprop)软件包，由埃斯特·海德（Esther Heid）及其同事于2023年发表于《Journal of Chemical Information and Modeling》。<sup>[24](https://doi.org/10.1021/acs.jcim.3c01250)</sup> 自动化建模平台包括QSARtuna，由刘易斯·默文（Lewis Mervin）及其同事于2024年发表于《Journal of Chemical Information and Modeling》；<sup>[25](https://doi.org/10.1021/acs.jcim.4c00457)</sup> 以及Uni-QSAR，一个由Zhifeng Gao及其同事于2023年发布的自动机器学习（Auto-ML）工具。<sup>[26](https://doi.org/10.48550/arxiv.2304.12239)</sup>

## 应用

QSAR模型用于药物发现、虚拟筛选与化学品安全监管评估。<sup>[1](https://qsartoolbox.org/file/2020/04/Tutorial_36_Building_QSAR_by-QSAR-Editor.pdf)</sup> 混合方法将QSAR与基于结构的方法耦合起来：渐进对接（progressive docking）——一种用于加速计算机高通量筛选的QSAR/对接混合方法——由阿尔乔姆·切尔卡索夫（Artem Cherkasov）及其同事于2006年发表于《Journal of Medicinal Chemistry》；<sup>[27](https://doi.org/10.1021/jm060961+)</sup> 用于增强基于结构的药物发现的Deep Docking平台由弗朗切斯科·真蒂莱（Francesco Gentile）及其同事于2020年发表于《ACS Central Science》。<sup>[28](https://doi.org/10.1021/acscentsci.0c00229)</sup> QSAR的概念也用于数据集评估：结构–活性景观指数（Structure–Activity Landscape Index）可量化活性悬崖；<sup>[29](https://doi.org/10.1021/ci7004093)</sup> 用于估计一个数据集能否用QSAR建模的可建模性指数（modelability index）由亚历山大·戈尔布赖赫及其同事于2013年发表于《Journal of Chemical Information and Modeling》。<sup>[30](https://doi.org/10.1021/ci400572x)</sup>

## 局限与替代方法

偶然相关性是一种持续存在的风险，Y随机化是检验它的标准诊断手段。<sup>[5](https://www.ncbi.nlm.nih.gov/books/NBK6353/)</sup> 模型表现还取决于算法族的选择：在2026年一项关于AI驱动的分子性质与活性预测中模型规模扩展的基准测试里，经典机器学习在156项比较中有47.4%表现最佳，领先于预训练序列模型（28.8%）、图神经网络（21.8%）与基于大语言模型（LLM）的SAR基线（1.9%）。<sup>[7](https://arxiv.org/html/2604.26498v2)</sup>

## References

1. [OECD (Q)SAR Toolbox v4.4.1 Tutorial 36: Building QSAR by QSAR Editor](https://qsartoolbox.org/file/2020/04/Tutorial_36_Building_QSAR_by-QSAR-Editor.pdf)
2. [Best Practices for QSAR Model Development, Validation, and Exploitation (Tropsha)](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.17.2010.Best%20Practices%20for%20QSAR%20Model%20Development%2C%20Validation%2C%20and%20Exploitation.pdf?forcedownload=1)
3. [Hansch analysis 50 years on (Yvonne Connolly Martin, WIREs Computational Molecular Science 2012)](https://elearning.uniroma1.it/pluginfile.php/1384573/mod_folder/content/0/Sezione%205.0/5.4/5.4.2.2.2.6.1.2012.Hansch%20analysis%2050%20years%20on.pdf?forcedownload=1)
4. [Convergent QSAR Models for the Prediction of Cruzain Inhibitors (2023)](https://pmc.ncbi.nlm.nih.gov/articles/PMC10601054/)
5. [Modeling Structure-Activity Relationships (NCBI Bookshelf)](https://www.ncbi.nlm.nih.gov/books/NBK6353/)
6. [Recent Developments in 3D QSAR and Molecular Docking Studies of Organic and Nanostructures](https://pmc.ncbi.nlm.nih.gov/articles/PMC7123761/)
7. [Do Larger Models Really Win in Drug Discovery? A Benchmark Assessment of Model Scaling in AI Driven Molecular Property and Activity Prediction (arXiv, 2026)](https://arxiv.org/html/2604.26498v2)
8. [Corwin. Hansch, Toshio. Fujita (1964). p-σ-π Analysis. A Method for the Correlation of Biological Activity and Chemical Structure. Journal of the American Chemical Society.](https://doi.org/10.1021/ja01062a035)
9. [A Practical Overview of Quantitative Structure-Activity Relationship (review article)](https://d-nb.info/1096332701/34)
10. [Denis Fourches, Eugene Muratov, Alexander Tropsha (2010). Trust, But Verify: On the Importance of Chemical Structure Curation in Cheminformatics and QSAR Modeling Research. Journal of Chemical Information and Modeling.](https://doi.org/10.1021/ci100176x)
11. [Alexander Golbraikh, Alexander Tropsha (2002). Predictive QSAR modeling based on diversity sampling of experimental datasets for the training and test set selection. Journal of Computer-Aided Molecular Design.](https://doi.org/10.1023/a:1020869118689)
12. [Paola Gramatica (2007). Principles of QSAR models validation: internal and external. QSAR & Combinatorial Science.](https://doi.org/10.1002/qsar.200610151)
13. [CORWIN HANSCH and colleagues (1962). Correlation of Biological Activity of Phenoxyacetic Acids with Hammett Substituent Constants and Partition Coefficients. Nature.](https://doi.org/10.1038/194178b0)
14. [Spencer M. Free, James W. Wilson (1964). A Mathematical Contribution to Structure-Activity Studies. Journal of Medicinal Chemistry.](https://doi.org/10.1021/jm00334a001)
15. [Hugo Kubinyi (1976). Quantitative structure-activity relationships. 2. A mixed approach, based on Hansch and Free-Wilson analysis. Journal of Medicinal Chemistry.](https://doi.org/10.1021/jm00227a004)
16. [Richard D. Cramer and colleagues (1988). Crossvalidation, Bootstrapping, and Partial Least Squares Compared with Multiple Regression in Conventional QSAR Studies. Quantitative Structure-Activity Relationships.](https://doi.org/10.1002/qsar.19880070105)
17. [Gerhard Klebe, Ute Abraham (1999). Comparative Molecular Similarity Index Analysis (CoMSIA) to study hydrogen-bonding properties and to score combinatorial libraries. Journal of Computer-Aided Molecular Design.](https://doi.org/10.1023/a:1008047919606)
18. [Daniel D. Robinson and colleagues (1999). Self-Organizing Molecular Field Analysis: A Tool for Structure−Activity Studies. Journal of Medicinal Chemistry.](https://doi.org/10.1021/jm9810607)
19. [A. J. Hopfinger and colleagues (1997). Construction of 3D-QSAR Models Using the 4D-QSAR Analysis Formalism. Journal of the American Chemical Society.](https://doi.org/10.1021/ja9718937)
20. [Multidimensional QSAR: Moving from three- to five-dimensional concepts (Quantitative Structure-Activity Relationships, 2002)](https://doi.org/10.1002/1521-3838%28200210%2921:4<382::aid-qsar382>3.0.co;2-l)
21. [Angelo Vedani, Max Dobler, Markus A. Lill (2005). Combining Protein Modeling and 6D-QSAR. Simulating the Binding of Structurally Diverse Ligands to the Estrogen Receptor. Journal of Medicinal Chemistry.](https://doi.org/10.1021/jm050185q)
22. [Junshui Ma and colleagues (2015). Deep Neural Nets as a Method for Quantitative Structure–Activity Relationships. Journal of Chemical Information and Modeling.](https://doi.org/10.1021/ci500747n)
23. [Jeffrey Mendenhall, Jens Meiler (2016). Improving quantitative structure–activity relationship models using Artificial Neural Networks trained with dropout. Journal of Computer-Aided Molecular Design.](https://doi.org/10.1007/s10822-016-9895-2)
24. [Esther Heid and colleagues (2023). Chemprop: A Machine Learning Package for Chemical Property Prediction. Journal of Chemical Information and Modeling.](https://doi.org/10.1021/acs.jcim.3c01250)
25. [Lewis Mervin and colleagues (2024). QSARtuna: An Automated QSAR Modeling Platform for Molecular Property Prediction in Drug Design. Journal of Chemical Information and Modeling.](https://doi.org/10.1021/acs.jcim.4c00457)
26. [Gao, Zhifeng and colleagues (2023). Uni-QSAR: an Auto-ML Tool for Molecular Property Prediction. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2304.12239)
27. [Artem Cherkasov and colleagues (2006). Progressive Docking: A Hybrid QSAR/Docking Approach for Accelerating In Silico High Throughput Screening. Journal of Medicinal Chemistry.](https://doi.org/10.1021/jm060961+)
28. [Francesco Gentile and colleagues (2020). Deep Docking: A Deep Learning Platform for Augmentation of Structure Based Drug Discovery. ACS Central Science.](https://doi.org/10.1021/acscentsci.0c00229)
29. [Rajarshi Guha, John H. Van Drie (2008). Structure−Activity Landscape Index: Identifying and Quantifying Activity Cliffs. Journal of Chemical Information and Modeling.](https://doi.org/10.1021/ci7004093)
30. [Alexander Golbraikh and colleagues (2013). Data Set Modelability by QSAR. Journal of Chemical Information and Modeling.](https://doi.org/10.1021/ci400572x)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Machine learning methods › Supervised, unsupervised, and semi-supervised learning

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/qsar-model

English original: https://www.edgepedia.org/qsar-model
