# 软独立类比建模

软独立类比建模（SIMCA）是化学计量学中的一种有监督模式识别方法，它为每个类别分别建立一个主成分（PCA）模型，并根据新样本与各模型的拟合程度对其进行分类。国际纯粹与应用化学联合会（IUPAC）将其描述为一种有监督分类方法：对每个类别分别进行主成分分析，然后用各自的接受准则检验每个类模型，因此一个未知样本可能不被任何类别接受，也可能被一个或多个类别接受；它是“不相交主成分分析”的一个例子。<sup>[1](https://goldbook.iupac.org/terms/view/10143)</sup> 由于每个类别是独立建模的，一个样本可以被识别为不属于任何建模类别，也可以属于一个或多个类别，这使SIMCA适用于所关注的类别只是可能遇到的一部分的情形，例如食品与药品真伪鉴别以及工业过程监测。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 方法类型 | 有监督、逐类建模（单类分类器）<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> |
| 提出者 | 斯万特·沃尔德（Svante Wold），《利用不相交主成分模型进行模式识别》，《模式识别》，1976年<sup>[3](https://doi.org/10.1016/0031-3203%2876%2990014-5)</sup> |
| 类模型 | 逐类PCA分解 \( X = T P^{\mathrm{T}} + E \)，包含得分、载荷和残差<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> |
| 所用距离 | 得分距离（平方马氏距离/霍特林 \( T^2 \)）和正交距离（残差平方和，Q/SPE）<sup>[4](https://hal.univ-lille.fr/hal-04996958/document)</sup> |
| 判定规则 | 置信水平 \( 1 - \alpha \) 下的接受域，其中 \( \alpha \) 为预期误拒率<sup>[5](https://orbi.uliege.be/bitstream/2268/294356/1/HAVOHOU_ANALCHIMACTA_2022%20%283%29.pdf)</sup> |
| 每个样本的输出 | 独立地判断属于/不属于每个类别：零个、一个或多个归属<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> |
| 品质因数 | 灵敏度（目标类样本被正确分类的比例）和特异度（真阴性被正确拒绝的比例）<sup>[6](https://academic.oup.com/fqs/article/7698158)</sup> |

## 工作原理

SIMCA将每个类别视为独立的研究对象。对每个类别，拟合一个结构为 \( X = T P^{\mathrm{T}} + E \) 的PCA分解，其中 \( T \) 是得分矩阵，\( P \) 是载荷，\( E \) 是残差。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 拟合得到的模型定义了一个类子空间，对象根据其与该空间的距离进行分类。<sup>[6](https://academic.oup.com/fqs/article/7698158)</sup>

两个距离概括了样本与类模型的关系。得分距离（SD）是主成分空间内的马氏距离，其平方即霍特林 \( T^2 \)；正交距离（OD）是残差平方和，即Q统计量或平方预测误差（SPE），对新样本计算为 \( OD_{\mathrm{new}} = \lVert (I - P P^{\mathrm{T}}) x_{\mathrm{new}} \rVert^2 \)。<sup>[4](https://hal.univ-lille.fr/hal-04996958/document)</sup> 接受域定义在置信水平 \( 1 - \alpha \) 下，其中 \( \alpha \) 是理论第一类错误，即预期误拒率，用于预测新样本与参考类的一致性。<sup>[5](https://orbi.uliege.be/bitstream/2268/294356/1/HAVOHOU_ANALCHIMACTA_2022%20%283%29.pdf)</sup>

在原始表述中，针对每个类模型为新样本计算残差标准差（RSD），并由参考样本的平均残差标准差 \( RSD_{\mathrm{ref}} \) 和选定显著性水平下具有适当自由度的F值 \( F_{\mathrm{crit}} \) 推导出临界值 \( RSD_{\mathrm{crit}} \)。若比值小于1.0，则样本属于该模型；若大于1.0，则不属于。<sup>[7](https://pubs.rsc.org/en/content/articlehtml/2018/ra/c7ra08901e)</sup> 在代谢组学的实现中，也使用F检验来评估样本到模型的距离。<sup>[8](https://link.springer.com/article/10.1186/1471-2105-12-131)</sup>

## 实施方法

建立和评估SIMCA模型包括四个主要步骤：逐类PCA分解、判定或归属规则的定义、模型参数优化以及模型验证。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 在实践中，首先用从目标类成员中随机抽取的、具有代表性的训练集建立PCA模型；然后将任何新数据点投影到该模型中。<sup>[9](https://vbn.aau.dk/ws/portalfiles/portal/762358091/Journal_of_Chemometrics_-_2024_-_Kucheryavskiy_-_A_comprehensive_tutorial_on_Data_Driven_SIMCA_Theory_and_implementation.pdf)</sup>

预处理先于建模：基线漂移、平移或全局强度效应等不需要的信号变化，通过[标准正态变量](https://www.edgepedia.org/zh/standard-normal-variate)变换（SNV）、乘性散射校正（MSC）或导数函数进行校正，预处理方法的选择取决于分析技术，包括质谱、红外、拉曼、X射线荧光、紫外-可见以及色谱数据。<sup>[6](https://academic.oup.com/fqs/article/7698158)</sup> 主成分数可以预先设定，也可以根据解释方差来选择，或通过（双重）交叉验证来确定；<sup>[7](https://pubs.rsc.org/en/content/articlehtml/2018/ra/c7ra08901e)</sup> 一种推荐的规则是取分类灵敏度最接近所设定置信水平 \( 1 - \alpha \) 的最高维数。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 主要的品质因数是灵敏度（目标类样本被正确分类的百分比）和特异度（真阴性被正确拒绝的百分比）。<sup>[6](https://academic.oup.com/fqs/article/7698158)</sup>

## 起源

SIMCA由斯万特·沃尔德在1976年发表于《模式识别》的论文《利用不相交主成分模型进行模式识别》中提出。<sup>[3](https://doi.org/10.1016/0031-3203%2876%2990014-5)</sup> 该论文认为，用独立的PC模型拟合每个类别中的对象，使得基于PC模型的方法（在数据充分的前提下）能够识别给定对象集合中存在的任何模式。<sup>[3](https://doi.org/10.1016/0031-3203%2876%2990014-5)</sup> 后来的综述将SIMCA描述为文献中出现的第一种类建模技术，并且可能是化学计量学中最流行和最广泛使用的方法，<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 并指出它完全由数据驱动，不对数据的统计分布做任何预先假设。<sup>[4](https://hal.univ-lille.fr/hal-04996958/document)</sup>

## 变体

2023年的一篇教程区分了五种算法变体：原始的沃尔德表述、简单SIMCA（Sim-SIMCA）、替代SIMCA（Alt-SIMCA）、组合指数SIMCA（CI-SIMCA）和数据驱动SIMCA（DD-SIMCA）。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 一篇关于SIMCA判定规则的批判性综述使用模拟和真实案例比较了简单、替代、组合指数和数据驱动规则。<sup>[10](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.3250)</sup> 新的变体基本上改变了距离的计算方式。<sup>[6](https://academic.oup.com/fqs/article/7698158)</sup>

经典PCA基于协方差矩阵，对离群值非常敏感；稳健SIMCA（RSIMCA）则采用稳健ROBPCA方法，所产生的主成分不受离群值影响。<sup>[11](https://google.iopscience.iop.org/article/10.1088/1755-1315/187/1/012050)</sup> 通过将稳健PCA方法与基于稳健协方差矩阵的稳健分类规则相结合，也可以获得稳健版本，从而解决高维分类问题。<sup>[12](https://www.sciencedirect.com/science/article/abs/pii/S0169743905000365)</sup> VAE-SIMCA是一种深度学习混合方法，它用变分自编码器替代DD-SIMCA的奇异值分解潜在空间，用于图像异常检测。<sup>[13](https://vbn.aau.dk/ws/portalfiles/portal/778521186/Open_Access_Article.pdf)</sup>

## 应用

当关注点集中在一个或少数几个类别时，SIMCA被认为是理想的选择：食品与药品真伪鉴别以及工业过程监测被列为典型场景，罗季奥诺娃（Rodionova）及其同事指出，判别分析不适用于真伪鉴别，可以用SIMCA的合理运用来替代。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 该方法应用于光谱及其他分析数据类型，包括质谱、红外、拉曼、X射线荧光、紫外-可见以及色谱数据。<sup>[6](https://academic.oup.com/fqs/article/7698158)</sup>

在GC/MS代谢组学中，SIMCA已被用于将未鉴定的峰注释到五个化学类别模型（胺、有机酸、脂肪酸、糖和磷酸糖）；新的测量结果被投影到每个类别的PC空间，并用F检验评估对象到模型的欧几里得距离。<sup>[8](https://link.springer.com/article/10.1186/1471-2105-12-131)</sup> 对于多路过程数据，DD-SIMCA已被应用于多块和Tucker 3 N路格式；在真品和掺假的蓝莓提取物光谱-时间数据上，多块SIMCA有助于变量选择，Tucker 3 SIMCA有助于选择最优模型复杂度并评估单个样本的作用。<sup>[14](https://pubs.acs.org/ancham/article/96/12/4845/85401/Data-Driven-Version-of-Multiway-Soft-Independent)</sup>

## 局限与替代方法

若干论文已经证明，与线性判别分析（LDA）等其他方法相比，SIMCA的性能较差，一篇批判性综述的作者认为，应将其用途保留在将样本归入多个类别或完全不归入任何类别确实重要的情形。<sup>[7](https://pubs.rsc.org/en/content/articlehtml/2018/ra/c7ra08901e)</sup> 这种权衡是结构性的：SIMCA不需要分布假设，而LDA假设每个类别服从正态分布且方差相等；LDA强制将所有样本归入其中一个类别，而SIMCA可以独立地判断每个类别的类内和类外情况，因此一个不属于任何类别的样本可能揭示一个新的类别，也允许多类别归属。<sup>[7](https://pubs.rsc.org/en/content/articlehtml/2018/ra/c7ra08901e)</sup> 在真伪鉴别场景中，偏好可能反转，因为判别分析已被指出是一种不合适的真伪鉴别方法，可以用SIMCA的合理运用来替代。<sup>[2](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)</sup> 与PLS-DA相比，SIMCA模型仅在已知真实类别样本的训练集上训练，以确定新样本是否与该类别一致。<sup>[15](https://pychemauth.readthedocs.io/en/latest/jupyter/learn/simca.html)</sup>

类别重叠是一个已知的难题。当类别严重重叠时，一种基于ROC曲线同时优化模型复杂度和判定阈值的方法，在外部验证中比先验固定阈值具有更好的分类效率；当组间分离清晰时，两种方式的性能同样令人满意。<sup>[16](https://pubs.acs.org/ancham/article/90/18/10738/820086/SIMCA-Modeling-for-Overlapping-Classes-Fixed-or)</sup> 对离群值的敏感性通过上述稳健变体来解决。<sup>[11](https://google.iopscience.iop.org/article/10.1088/1755-1315/187/1/012050)</sup> 已经发表了直接比较研究；一项2018年发表于RSC Advances的研究使用排序差之和与广义成对相关方法，在六个案例研究中发现其他技术在分类上明显优于SIMCA，该研究将SIMCA与包括QDA在内的许多其他方法进行了排名比较。

## References

1. [IUPAC Gold Book, soft independent modelling of class analogy (10143)](https://goldbook.iupac.org/terms/view/10143)
2. [Class modelling by soft independent modelling of class analogy: why, when, how? A tutorial](https://iris.unimore.it/retrieve/4b84ba62-9110-4309-b546-3381dd83b754/ACASIMCATutorial2023_preproof.pdf)
3. [Pattern recognition by means of disjoint principal components models (Pattern Recognition, 1976)](https://doi.org/10.1016/0031-3203%2876%2990014-5)
4. [One class classification (class modelling): State of the art and perspectives](https://hal.univ-lille.fr/hal-04996958/document)
5. [Optimizing the soft independent modeling of class analogy (SIMCA) using statistical prediction regions](https://orbi.uliege.be/bitstream/2268/294356/1/HAVOHOU_ANALCHIMACTA_2022%20%283%29.pdf)
6. [Advancements in food authentication using soft independent modelling of class analogy (SIMCA): a review](https://academic.oup.com/fqs/article/7698158)
7. [Is soft independent modeling of class analogies a reasonable choice for supervised pattern recognition?](https://pubs.rsc.org/en/content/articlehtml/2018/ra/c7ra08901e)
8. [GC/MS based metabolomics: development of a data mining system for metabolite identification by using SIMCA](https://link.springer.com/article/10.1186/1471-2105-12-131)
9. [A comprehensive tutorial on Data Driven SIMCA: Theory and implementation](https://vbn.aau.dk/ws/portalfiles/portal/762358091/Journal_of_Chemometrics_-_2024_-_Kucheryavskiy_-_A_comprehensive_tutorial_on_Data_Driven_SIMCA_Theory_and_implementation.pdf)
10. [Popular decision rules in SIMCA: Critical review](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.3250)
11. [The Comparison of Classification Method between SIMCA and Robust SIMCA (RSIMCA) on Data with Outlier](https://google.iopscience.iop.org/article/10.1088/1755-1315/187/1/012050)
12. [Robust classification in high dimensions based on the SIMCA Method](https://www.sciencedirect.com/science/article/abs/pii/S0169743905000365)
13. [VAE-SIMCA, Data-driven method for building one class classifiers with variational autoencoders](https://vbn.aau.dk/ws/portalfiles/portal/778521186/Open_Access_Article.pdf)
14. [Data-Driven Version of Multiway Soft Independent Modeling of Class Analogy (N-Way DD-SIMCA): Theory and Application](https://pubs.acs.org/ancham/article/96/12/4845/85401/Data-Driven-Version-of-Multiway-Soft-Independent)
15. [Soft Independent Modeling of Class Analogies (SIMCA), pychemauth documentation](https://pychemauth.readthedocs.io/en/latest/jupyter/learn/simca.html)
16. [SIMCA Modeling for Overlapping Classes: Fixed or Optimized Decision Threshold?](https://pubs.acs.org/ancham/article/90/18/10738/820086/SIMCA-Modeling-for-Overlapping-Classes-Fixed-or)

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

Topic: 物质世界与数学 › 化学 › 化学原理与方法 › 分析化学 › 非靶向分析与化学计量学

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/soft-independent-modeling-of-class-analogy

English original: https://www.edgepedia.org/soft-independent-modeling-of-class-analogy
