# 平行因子分析

平行因子分析（PARAFAC）是一种多路分解方法，它将三路或更高阶的数据阵列建模为若干三线性、秩一分量之和，每个分量在每个模式上各用一个载荷向量表示。它被用于心理测量学、化学计量学、信号处理和神经影像学，与同年独立提出的典型分解（CANDECOMP）完全相同；合并后的模型常被称为 CANDECOMP/PARAFAC 或 CP。<sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup><sup> • </sup><sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC2792364/)</sup>

| 关键事实 | 详情 |
|---|---|
| 模型 | \( x_{ijk} = \sum_{r=1}^{R} a_{ir} b_{jr} c_{kr} \)，即 \( R \) 个秩一（外积）分量之和<sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup> |
| 拟合 | 交替最小二乘法（ALS）：固定另外两个载荷矩阵，用线性回归逐一更新每个载荷矩阵<sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup><sup> • </sup><sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup> |
| 默认收敛条件 | 拟合的相对或绝对变化低于 \( 10^{-6} \)；PLS_Toolbox 的默认设置还限制最多 10,000 次迭代和 3,600 秒<sup>[4](https://ucphchemometrics.com/2-basic-parafac-modeling/)</sup><sup> • </sup><sup>[5](https://www.software.eigenvector.com/docarchive/v42/parafac.html)</sup> |
| 唯一性 | 当 Kruskal 的 k-秩条件成立时，本质唯一（至多相差缩放与置换）；与 PCA 不同，无需旋转<sup>[6](https://doi.org/10.1016/0024-3795%2877%2990069-6)</sup><sup> • </sup><sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup> |
| 分量数目 | 核心一致性诊断（CORCONDIA）：接近 100% 为有效，接近 0% 说明分量过多或数据非三线性<sup>[4](https://ucphchemometrics.com/2-basic-parafac-modeling/)</sup> |
| 主要失效模式 | 双因子退化（两因子负相关，Tucker 同余系数接近 −1），常伴随极慢的收敛<sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup><sup> • </sup><sup>[8](https://doi.org/10.1002/cem.1180080207)</sup> |
| 广泛使用的应用 | 将荧光激发–发射矩阵（EEM）分解为纯光谱与浓度<sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup> |

## 工作原理

PARAFAC 将大小为 \( I \times J \times K \) 的三路阵列 \( \underline{\mathbf{X}} \) 分解为 \( R \) 个三线性分量：

\[ x_{ijk} = \sum_{r=1}^{R} a_{ir} b_{jr} c_{kr} + e_{ijk} \]

其中 \( a_{ir} \)、\( b_{jr} \) 和 \( c_{kr} \) 是三个模式上的载荷，\( e_{ijk} \) 是残差。每个分量是每个模式各取一个载荷向量的外积，因此模型是若干秩一张量之和。在荧光分析中，三个载荷分别是估计的激发光谱、发射光谱和相对浓度，因此载荷具有直接的物理意义。<sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup><sup> • </sup><sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup>

其决定性性质是本质唯一性：载荷在缩放与列置换的意义下被唯一确定，无需任何旋转步骤。Kruskal 证明了在载荷矩阵的 k-秩（Kruskal 秩）满足一定条件时三线性分解唯一——k-秩指使任意 \( k \) 列都线性无关的最大 \( k \)；该条件在一种表述中写作严格不等式 \( k_1 + k_2 + k_3 > 2F + 2 \)，在另一种表述中写作非严格不等式 \( k_A + k_B + k_C \geq 2R + 2 \)，已发表的文献对此表述并不一致。<sup>[6](https://doi.org/10.1016/0024-3795%2877%2990069-6)</sup><sup> • </sup><sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup><sup> • </sup><sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup>

## 求解方法

拟合采用交替最小二乘法。在给定另外两个载荷矩阵时，模型对每个载荷矩阵都是线性的，因此算法在三个条件最小二乘更新之间循环。固定 \( \mathbf{B} \) 和 \( \mathbf{C} \) 时，更新利用 Khatri–Rao 积：

\[ \hat{\mathbf{A}} = \mathbf{X}_{(1)} \mathbf{Z} (\mathbf{Z}^{T}\mathbf{Z})^{\dagger}, \quad \mathbf{Z} = \mathbf{C} \odot \mathbf{B} \]

这只需一个 \( R \times R \) 矩阵的伪逆；同样的模式可得到 \( \mathbf{B} \) 和 \( \mathbf{C} \)。<sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup><sup> • </sup><sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup> 当相邻两次迭代之间拟合的相对或绝对变化低于容差时迭代停止，通常两者都取 \( 10^{-6} \)；PLS_Toolbox 的实现增加了线搜索，默认上限为 10,000 次迭代和 3,600 秒，并通过期望最大化处理缺失值（设为 NaN）。<sup>[4](https://ucphchemometrics.com/2-basic-parafac-modeling/)</sup><sup> • </sup><sup>[5](https://www.software.eigenvector.com/docarchive/v42/parafac.html)</sup> 由于 ALS 可能收敛到局部最优，建议从不同的随机起点多次运行。<sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup><sup> • </sup><sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup><sup> • </sup><sup>[5](https://www.software.eigenvector.com/docarchive/v42/parafac.html)</sup>

分量数目通过核心一致性诊断（CORCONDIA）来选择：它由 PARAFAC 载荷重新拟合一个 Tucker3 核心阵列，衡量三线性结构被保留的程度——接近 100% 支持该模型，接近 50% 表明不稳定，接近零或为负值则表明分量过多或数据非三线性。<sup>[4](https://ucphchemometrics.com/2-basic-parafac-modeling/)</sup> 分半验证要求独立的样本子集给出至多相差缩放与置换的相同载荷，提供了独立的检验。<sup>[4](https://ucphchemometrics.com/2-basic-parafac-modeling/)</sup> 在荧光研究中，瑞利散射区域和低于激发波长的发射必须设为缺失值，因为它们不是多线性的。<sup>[9](https://ucphchemometrics.com/2023/05/04/amino-acids-fluorescence-data/)</sup><sup> • </sup><sup>[10](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.790)</sup>

## 起源

三线性模型源自 Cattell 1944 年发表于《心理测量学》（Psychometrika）的因子旋转“平行比例剖面”原理。<sup>[11](https://doi.org/10.1007/bf02288739)</sup> 1970 年，该模型被独立地表述了两次：Harshman 在《加州大学洛杉矶分校语音学工作论文》中将其称为 PARAFAC，把 Cattell 的原理推广到三模式数据，并在所述条件下证明了唯一性；Carroll 和 Chang 在《心理测量学》中把同一模型称为 CANDECOMP，背景是个体差异多维标度。<sup>[12](https://psychology.uwo.ca/faculty/harshman/wpppfac0.pdf)</sup><sup> • </sup><sup>[13](https://doi.org/10.1007/bf02310791)</sup><sup> • </sup><sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup> Tucker 1966 年发表于《心理测量学》的三模式因子分析不具备唯一性，是 Tucker3 家族由之发展而来的更早先驱。<sup>[14](https://doi.org/10.1007/bf02289464)</sup> Kruskal 1977 年发表于《线性代数及其应用》（Linear Algebra and its Applications）的论文建立了三线性分解的秩与唯一性理论。<sup>[6](https://doi.org/10.1016/0024-3795%2877%2990069-6)</sup> 化学计量学的采纳紧随 Bro 1997 年发表于《化学计量学与智能实验室系统》（Chemometrics and Intelligent Laboratory Systems）的教程与应用论文，<sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup> 以及 Paatero 1997 年针对三路 PARAFAC 的加权非负最小二乘算法<sup>[15](https://doi.org/10.1016/s0169-7439%2897%2900031-2)</sup> 和他 1999 年用于 n 路模型的多线性引擎程序。<sup>[16](https://doi.org/10.1080/10618600.1999.10474853)</sup> Mitchell 和 Burdick 1994 年发表于《化学计量学杂志》（Journal of Chemometrics）的分析，将与双因子退化相关的收敛缓慢行为命名为“沼泽”现象。<sup>[8](https://doi.org/10.1002/cem.1180080207)</sup>

## 变体

PARAFAC2 通过允许第一模式的载荷随样本不同而放松了严格的三线性性，\( \mathbf{X}_k = \mathbf{A}_k \mathbf{D}_k \mathbf{B}^{T} + \mathbf{E}_k \)，唯一限制是交叉乘积 \( \mathbf{A}_k^{T}\mathbf{A}_k \) 保持不变，等价地 \( \mathbf{A}_k = \mathbf{P}_k \mathbf{H} \)，其中 \( \mathbf{P}_k \) 正交。这可以处理色谱保留时间的漂移和长度不同的切片，第一个高效的拟合算法是 Kiers、ten Berge 和 Bro 的直接拟合算法，1999 年发表于《化学计量学杂志》。<sup>[17](https://psychology.uwo.ca/faculty/harshman/wpppfac2.pdf)</sup><sup> • </sup><sup>[18](https://doi.org/10.1002/%28sici%291099-128x%28199905/08%2913:3/4<275::aid-cem543>3.0.co;2-b)</sup><sup> • </sup><sup>[19](https://www.software.eigenvector.com/docarchive/v35/parafac2.html)</sup> 受约束的家族包括 PARALIND/CONFAC 和 PARATUCK，它们编码线性依赖与部分唯一性，以及非负张量分解——即对因子施加非负约束的 PARAFAC。<sup>[20](https://link.springer.com/article/10.1186/1687-6180-2014-142)</sup> 软件实现通常提供逐模式的约束，如非负性、单峰性、正交性、指数形状以及通过 B 样条的平滑性。<sup>[5](https://www.software.eigenvector.com/docarchive/v42/parafac.html)</sup>

## 应用

一个广泛使用的应用是荧光激发–发射矩阵的分解，PARAFAC 从中恢复荧光团的纯激发光谱、发射光谱和相对浓度；专门的教程涵盖了 EEM 数据的分量选择、散射处理、离群点检测和验证。<sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup><sup> • </sup><sup>[10](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.790)</sup> PARAFAC2 型分析已成熟应用于存在色谱漂移的非靶向 GC-MS。<sup>[21](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.3501)</sup> 在心理测量学和神经影像学中，潜在函数 PARAFAC 对阿尔茨海默病神经影像学倡议的多维纵向神经认知评分建模，PARAFAC 也被用于诸如大脑半球对双手的控制等心理测量研究。<sup>[22](https://www.cambridge.org/core/journals/psychometrika/article/latent-functional-parafac-for-modeling-multidimensional-longitudinal-data/97EB58664C3ED9878241E49B508CBB06)</sup><sup> • </sup><sup>[1](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)</sup>

## 局限与替代方法

ALS 不保证达到全局最小值，甚至不保证达到驻点，只保证达到目标函数不再下降的点，且结果可能依赖于初始猜测。<sup>[2](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)</sup><sup> • </sup><sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup> 主要的病态是双因子退化：两个因子变得高度负相关，Tucker 同余系数接近 −1（低于 −0.85 是经验性的警告线），解变得无法解释。退化等价于最优解不存在；此时收敛序列发散，因子范数趋于无穷。可以通过约束某一模式的各列正交归一，或约束所有模式非负来防止，这会使准则函数有界并保证最优解存在。<sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup><sup> • </sup><sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC2792364/)</sup>

与在展开阵列上做两路 PCA 相比，PARAFAC 所需参数更少，且避免了旋转不确定性：对于一个 \( 10 \times 100 \times 20 \) 的阵列、五个分量，展开 PCA 需要 10,050 个参数，Tucker3 需要 775 个，PARAFAC 需要 650 个。当因子通过核心阵列相互作用时，Tucker3 是更灵活的替代方案，代价是失去唯一性。在所引用的算法测试问题比较中，ALS 给出了最佳最小二乘拟合，在解的质量重要时更受青睐；而当模型分量过多时，ASD 和 SWATLD 更快，DTLD 最快但拟合很差。<sup>[7](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)</sup><sup> • </sup><sup>[23](https://three-mode.leidenuniv.nl/pdf/f/faberbrohopke2003cils.pdf)</sup>

## References

1. [PARAFAC: Parallel factor analysis (Harshman & Lundy, Computational Statistics & Data Analysis 18, 1994)](https://three-mode.leidenuniv.nl/pdf/h/harshmanlundy1994csda.pdf)
2. [Tensor Decompositions and Applications (Kolda & Bader, SIAM Review 51(3), 2009)](https://www.math.ucdavis.edu/~saito/data/tensor/kolda-bader_tensor-decomp-siamrev.pdf)
3. [On the Non-Existence of Optimal Solutions and the Occurrence of "Degeneracy" in the CANDECOMP/PARAFAC Model (Krijnen, Dijkstra, Stegeman, Psychometrika 2008)](https://pmc.ncbi.nlm.nih.gov/articles/PMC2792364/)
4. [Basic PARAFAC modeling, Chemometrics Research (Rasmus Bro, University of Copenhagen)](https://ucphchemometrics.com/2-basic-parafac-modeling/)
5. [parafac Documentation (Eigenvector Research PLS_Toolbox)](https://www.software.eigenvector.com/docarchive/v42/parafac.html)
6. [Three-way arrays: rank and uniqueness of trilinear decompositions, with application to arithmetic complexity and statistics (Linear Algebra and its Applications, 1977)](https://doi.org/10.1016/0024-3795%2877%2990069-6)
7. [PARAFAC. Tutorial and applications (Bro, Chemometrics and Intelligent Laboratory Systems 38, 1997)](https://www.cs.cmu.edu/afs/cs/Web/People/pmuthuku/mlsp_page/lectures/Parafac.pdf)
8. [Ben C. Mitchell, Donald S. Burdick (1994). Slowly converging parafac sequences: Swamps and two‐factor degeneracies. Journal of Chemometrics.](https://doi.org/10.1002/cem.1180080207)
9. [Amino acid fluorescence data, Chemometrics Research (Rasmus Bro)](https://ucphchemometrics.com/2023/05/04/amino-acids-fluorescence-data/)
10. [Andersen & Bro, Practical aspects of PARAFAC modeling of fluorescence excitation-emission data (Journal of Chemometrics, 2003)](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.790)
11. [Raymond B. Cattell (1944). “Parallel Proportional Profiles” and other Principles for Determining the Choice of Factors by Rotation. Psychometrika.](https://doi.org/10.1007/bf02288739)
12. [Foundations of the PARAFAC procedure: Models and conditions for an "explanatory" multi-modal factor analysis (Harshman, UCLA Working Papers in Phonetics 16, 1970)](https://psychology.uwo.ca/faculty/harshman/wpppfac0.pdf)
13. [J. Douglas Carroll, Jih-Jie Chang (1970). Analysis of Individual Differences in Multidimensional Scaling Via an N-way Generalization of “Eckart-Young” Decomposition. Psychometrika.](https://doi.org/10.1007/bf02310791)
14. [Ledyard R Tucker (1966). Some Mathematical Notes on Three-Mode Factor Analysis. Psychometrika.](https://doi.org/10.1007/bf02289464)
15. [A weighted non-negative least squares algorithm for three-way ‘PARAFAC’ factor analysis (Chemometrics and Intelligent Laboratory Systems, 1997)](https://doi.org/10.1016/s0169-7439%2897%2900031-2)
16. [Pentti Paatero (1999). The Multilinear Engine, A Table-Driven, Least Squares Program for Solving Multilinear Problems, Including the n -Way Parallel Factor Analysis Model. Journal of Computational and Graphical Statistics.](https://doi.org/10.1080/10618600.1999.10474853)
17. [PARAFAC2: Mathematical and technical notes (Harshman, UCLA Working Papers in Phonetics 22, 1972)](https://psychology.uwo.ca/faculty/harshman/wpppfac2.pdf)
18. [4<275::aid cem543>3.0.co (doi.org)](https://doi.org/10.1002/%28sici%291099-128x%28199905/08%2913:3/4<275::aid-cem543>3.0.co;2-b)
19. [PLS_Toolbox Documentation: parafac2](https://www.software.eigenvector.com/docarchive/v35/parafac2.html)
20. [Overview of constrained PARAFAC models (Favier & de Almeida, EURASIP Journal on Advances in Signal Processing, 2014)](https://link.springer.com/article/10.1186/1687-6180-2014-142)
21. [Shift-invariant tri-linearity, A new model for resolving untargeted GC-MS data (Schneider et al., Journal of Chemometrics, 2023)](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/10.1002/cem.3501)
22. [Latent Functional PARAFAC for Modeling Multidimensional Longitudinal Data (Psychometrika)](https://www.cambridge.org/core/journals/psychometrika/article/latent-functional-parafac-for-modeling-multidimensional-longitudinal-data/97EB58664C3ED9878241E49B508CBB06)
23. [Faber, Bro & Hopke, Recent developments in CANDECOMP/PARAFAC algorithms: a critical review and comparison (Chemometrics and Intelligent Laboratory Systems 65, 2003)](https://three-mode.leidenuniv.nl/pdf/f/faberbrohopke2003cils.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Multivariate association and dimension reduction › Titles Mo to W

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/parallel-factor-analysis

English original: https://www.edgepedia.org/parallel-factor-analysis
