# FastICA

FastICA 是一种用于独立成分分析（ICA）的定点迭代算法，能够从源信号的线性混合中恢复出统计独立的源信号。给定建模为 \( X = A \cdot S \) 的观测数据，其中 \( S \) 的各行包含独立成分（每行一个时间序列，各列为样本），\( A \) 为线性混合矩阵，该算法估计一个解混矩阵 \( W \)，使得 \( S = W \cdot K \cdot X \)，其中 \( K \) 为白化矩阵。<sup>[1](https://scikit-learn.org/stable/modules/generated/fastica-function.html)</sup> 该方法由阿波·许韦里宁（Aapo Hyvärinen）和埃尔基·奥亚（Erkki Oja）于 1997 年在《神经计算》（Neural Computation）上报道。<sup>[2](https://doi.org/10.1162/neco.1997.9.7.1483)</sup> 它兼具快速收敛、稳健性以及无需调节步长参数的设计，这使其成为应用最广泛的 ICA 算法之一，并成为 scikit-learn 中的参考实现。<sup>[3](https://raw.githubusercontent.com/mlresearch/v267/main/assets/ricci25a/ricci25a.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 产出 | 一个作用于白化后数据的解混矩阵 \( W \)，满足 \( S = W \cdot K \cdot X \)，其中 \( WK \) 为从 \( X = A \cdot S \) 中恢复独立成分的总解混矩阵<sup>[1](https://scikit-learn.org/stable/modules/generated/fastica-function.html)</sup> |
| 提出者 | 阿波·许韦里宁与埃尔基·奥亚，《神经计算》，1997 年<sup>[2](https://doi.org/10.1162/neco.1997.9.7.1483)</sup> |
| 核心更新 | \( w^{+} = E\{x\,g(w^{T}x)\} - E\{g'(w^{T}x)\}w \)，然后归一化为单位范数<sup>[4](https://www.cs.helsinki.fi/u/ahyvarin/papers/TNN99new.pdf)</sup> |
| 收敛性 | 峰度单单元情形下为三次收敛；一般对比函数下至少为二次收敛<sup>[5](https://courses.ece.ucsb.edu/ECE594/594C_F10Madhow/fastica_analysis_06.pdf)</sup> |
| 速度声明 | 通常比基于梯度的 ICA 算法快 10 到 100 倍<sup>[2](https://doi.org/10.1162/neco.1997.9.7.1483)</sup> |
| 预处理 | 迭代前进行中心化（去均值）与白化<sup>[6](https://asap.ite.tul.cz/wp-content/uploads/sites/3/2016/04/TNN.pdf)</sup> |
| 常用默认值 | fun='logcosh'，algorithm='parallel'，max_iter=200，tol=0.0001<sup>[1](https://scikit-learn.org/stable/modules/generated/fastica-function.html)</sup> |

## 工作原理

ICA 寻求一种线性变换，使输出各成分之间的统计依赖性最小化；该问题的一个早期表述利用互信息的累积量展开，出现在科蒙（Comon）1994 年发表于《信号处理》（Signal Processing）的论文中，该文还将 ICA 定位为主成分分析超越二阶独立性的推广。<sup>[7](https://www.gipsa-lab.grenoble-inp.fr/~pierre.comon/FichiersPdf/como94-SP.pdf)</sup> FastICA 通过最大化非高斯性来求解这一优化问题。对于白化数据，学习规则寻找一个单位向量 \( w \)，使得投影 \( w^{T}x \) 最大化非高斯性，其度量方式为负熵 \( J(w^{T}x) \) 的近似；负熵定义为具有相同协方差矩阵的高斯随机变量的微分熵减去 \( w^{T}x \) 的微分熵。在 \( w \) 的范数约束为 1 的条件下，每一个这样的最大非高斯投影都等于其中一个独立成分。<sup>[8](https://www.cs.helsinki.fi/u/ahyvarin/papers/NN00new.pdf)</sup> 由于在不知道源分布的情况下无法计算微分熵，FastICA 使用基于负熵最大熵近似的对比函数，其导数 \( g \) 取诸如 \( g_{1}(u) = \tanh(a_{1}u) \) 的形式。<sup>[4](https://www.cs.helsinki.fi/u/ahyvarin/papers/TNN99new.pdf)</sup> 在 \( W \) 的正交归一约束下，估计出的各成分互不相关，而最大化负熵近似则驱使它们趋向独立。<sup>[9](https://stat.ethz.ch/CRAN/web/packages/fastICA/refman/fastICA.html)</sup> 该更新规则将梯度项与牛顿近似项结合起来；这一形式由许韦里宁提出，作为一种近似牛顿法，用于最大化非高斯性代价函数。<sup>[10](http://users.ics.aalto.fi/zyuan/dissertation/article-3.pdf)</sup> 在基于峰度的算法中，对于白化数据和单位范数 \( w \)，黑塞矩阵近似为 \( E\{(w^{T}xx^{T}w)xx^{T}\} \approx E\{(w^{T}x)^{2}\}E\{xx^{T}\} \approx (w^{T}w)I = I \)，因此该分解是一种近似而非普遍恒等式，于是 FastICA 成为一种具有固定步长的近似牛顿算法。<sup>[11](https://webusers.i3s.unice.fr/~zarzoso/biblio/ica07.pdf)</sup>

## 实现方法

迭代之前有两个预处理步骤。第一，中心化：减去均值向量 \( m = E\{x\} \)，使数据成为零均值，从而简化算法；在中心化数据上估计出混合矩阵后，再将均值加回。<sup>[12](https://www.cambridge.org/core/books/independent-component-analysis/fast-ica-by-a-fixedpoint-algorithm-that-maximizes-nongaussianity/FA46BF320248836E1445F1524CB830D2)</sup> 第二，白化：去除样本均值，并对数据进行去相关和缩放，例如 \( Z = C^{-1/2}(X - \text{mean}) \)。<sup>[6](https://asap.ite.tul.cz/wp-content/uploads/sites/3/2016/04/TNN.pdf)</sup> 白化选择一个变换 \( V \)，满足 \( E[(Vx)(Vx)^{T}] = VCV^{T} = I \)，其中 \( C = E\{xx^{T}\} \)；此后，解混问题就简化为估计一个正交矩阵 \( W \)，使得 \( y = W\tilde{x} \) 的各成分近似独立。<sup>[13](https://arxiv.org/html/2604.22125)</sup>

单单元迭代的流程如下：选取一个初始随机权重向量 \( w \)；更新 \( w^{+} = E\{x\,g(w^{T}x)\} - E\{g'(w^{T}x)\}w \)；令 \( w = w^{+}/\|w^{+}\| \)；重复直至收敛。<sup>[8](https://www.cs.helsinki.fi/u/ahyvarin/papers/NN00new.pdf)</sup> 非线性函数 \( g \) 是对比函数 \( G \) 的导数，三种标准选择为：\( g_{1}(u) = \tanh(a_{1}u) \)，其中 \( 1 \le a_{1} \le 2 \)；\( g_{2}(u) = u\exp(-a_{2}u^{2}/2) \)，其中 \( a_{2} \approx 1 \)；以及 \( g_{3}(u) = u^{3} \)（峰度）。<sup>[4](https://www.cs.helsinki.fi/u/ahyvarin/papers/TNN99new.pdf)</sup> 一种稳定化变体引入了步长 \( \mu \)：\( w^{+} = w - \mu[E\{x\,g(w^{T}x)\} - \beta w]/[E\{g'(w^{T}x)\} - \beta] \)，其中 \( \mu = 1 \) 即恢复原算法，而 0.1 或 0.01 这样的小值能带来更确定的收敛。<sup>[4](https://www.cs.helsinki.fi/u/ahyvarin/papers/TNN99new.pdf)</sup>

## 起源

FastICA 由许韦里宁与奥亚在《神经计算》1997 年第 9 卷第 1483 至 1492 页的《一种用于独立成分分析的快速定点算法》（"A Fast Fixed-Point Algorithm for Independent Component Analysis"）一文中报道。<sup>[2](https://doi.org/10.1162/neco.1997.9.7.1483)</sup> 1997 年的论文将该算法用于盲源分离与特征提取，严格证明了其收敛性，并表明收敛速度为三次，比较结果显示它通常比基于梯度的算法快 10 到 100 倍。<sup>[2](https://doi.org/10.1162/neco.1997.9.7.1483)</sup> 这两位作者后来的论文引入了一族新的 ICA 对比函数，基于微分熵的最大熵近似，将科蒙的信息论方法与投影寻踪相结合。<sup>[4](https://www.cs.helsinki.fi/u/ahyvarin/papers/TNN99new.pdf)</sup> 该方法与最大似然或信息最大化估计密切相关，既可以推导为 ICA 数据模型最大似然估计的定点算法，也可以推导为近似牛顿迭代。<sup>[14](https://www.ee.columbia.edu/~dpwe/papers/HyvO99-icatut.pdf)</sup> 许韦里宁与奥亚 2000 年发表于《神经网络》（Neural Networks）的教程对该算法及其性质的阐述做了系统整理。<sup>[8](https://www.cs.helsinki.fi/u/ahyvarin/papers/NN00new.pdf)</sup>

## 变体

FastICA 有两种正交化变体。在紧缩（单单元）方法中，各成分逐个求出，每个权重向量都约束为与先前求出的向量正交；在对称 FastICA 中，所有单单元迭代并行运行，随后通过 \( W \leftarrow (W^{+}W^{+T})^{-1/2}W^{+} \) 施加正交化。<sup>[6](https://asap.ite.tul.cz/wp-content/uploads/sites/3/2016/04/TNN.pdf)</sup> 对称更新本身为 \( W^{+} \leftarrow g(WZ)Z^{T} - \text{diag}[g'(WZ)1_{N}]W \)，其中 \( g \) 与 \( g' \) 按元素作用。<sup>[6](https://asap.ite.tul.cz/wp-content/uploads/sites/3/2016/04/TNN.pdf)</sup> 原始 MATLAB 包将这两种方法分别暴露为 'symm' 和 'defl'。<sup>[15](https://github.com/aludnam/MATLAB/blob/master/FastICA_25/fastica.m)</sup> 改进与扩展的变体包括 EFICA——对于 \( \alpha > 2 \) 的广义高斯源 \( GG(\alpha) \)，它以约为标准对称 FastICA 三倍的[计算](https://www.edgepedia.org/zh/computation)代价达到克拉美-罗下界<sup>[6](https://asap.ite.tul.cz/wp-content/uploads/sites/3/2016/04/TNN.pdf)</sup>——以及一个复值变体，和一个用于[独立向量分析](https://www.edgepedia.org/zh/independent-vector-analysis)、名为 FastIVA 的扩展。<sup>[16](https://link.springer.com/article/10.1186/s13634-025-01260-5)</sup> 亚里·米耶蒂宁（Jari Miettinen）及其同事于 2016 年在《信号处理》上报道了一种平方对称 FastICA 估计量。<sup>[17](https://doi.org/10.1016/j.sigpro.2016.08.028)</sup> 实现版本可见于原始 MATLAB 包、R 的 fastICA 包<sup>[9](https://stat.ethz.ch/CRAN/web/packages/fastICA/refman/fastICA.html)</sup>、scikit-learn（除默认的 'svd' 求解器外，它还提供一种 'eigh' 白化求解器，在 n_samples ≥ n_features 时更节省内存<sup>[18](https://scikit-learn.org/stable/modules/generated/sklearn.decomposition.FastICA)</sup>）以及 MNE。<sup>[19](https://mne.tools/dev/generated/mne.preprocessing.ICA.html)</sup>

## 应用

ICA 在神经影像中被常规用于去除伪迹、识别功能网络，以及对来自众多传感器的测量数据进行可解释的分解——这些测量中重叠的贡献来自潜在的神经活动、生理伪迹与测量噪声。<sup>[20](https://export.arxiv.org/pdf/2607.21901)</sup> 具有稳健且快速全局收敛性的利用先验信息的快速 ICA/IVA 算法于 2025 年的一篇 EURASIP 期刊文章中问世，并在说话人提取以及从功能磁共振成像数据中提取脑网络方面得到演示。<sup>[16](https://link.springer.com/article/10.1186/s13634-025-01260-5)</sup> FastICA 仍是 MNE 中的默认 ICA 方法，此外还可选用信息最大化（Infomax）和 Picard，其中 'fastica' 的 'auto' 最大迭代次数设为 1000。<sup>[19](https://mne.tools/dev/generated/mne.preprocessing.ICA.html)</sup> 它仍是 scikit-learn 中的参考实现，其 fastica 函数暴露的默认值为 algorithm='parallel'、whiten='unit-variance'、fun='logcosh'、max_iter=200、tol=0.0001 以及 whiten_solver='svd'。<sup>[1](https://scikit-learn.org/stable/modules/generated/fastica-function.html)</sup>

## 局限与替代方法

ICA 各成分只能确定到符号、尺度与排序的不确定性：每个成分只能估计到一个乘性标量因子的程度，且成分的排序无法确定。<sup>[21](https://royalsocietypublishing.org/doi/10.1098/rsta.2011.0534)</sup> 与大多数 ICA 算法一样，FastICA 从随机起点出发进行局部优化，因此可能陷入不良的局部最优，无法保证找到全局最优。<sup>[21](https://royalsocietypublishing.org/doi/10.1098/rsta.2011.0534)</sup> 符号翻转现象使分析进一步复杂化，它导致 FastICA 映射在单位球面上不连续；此外该算法还存在伪定点解。<sup>[22](https://arxiv.org/pdf/1408.6693v1.pdf)</sup> 在一项性能分析中，从随机初始化出发运行对称 FastICA 一万次，平均有 1 到 100 次运行停留在伪解上，这些伪解可通过异常低的实际信干比加以识别，其比例取决于模型维数、停止规则与数据长度；后来有人提出一种鞍点检验，以消除向此类侧向极小值的收敛。<sup>[5](https://courses.ece.ucsb.edu/ECE594/594C_F10Madhow/fastica_analysis_06.pdf)</sup> 收敛性保证的范围也比最初“快 10 到 100 倍”的说法所暗示的更窄：三次收敛是在峰度代价函数配合单单元算法的情况下证明的，而对于一般代价函数，收敛速度至少为二次；对称算法在峰度下的三次收敛则在后续工作中得到证明。<sup>[5](https://courses.ece.ucsb.edu/ECE594/594C_F10Madhow/fastica_analysis_06.pdf)</sup> 实际速度还有更多需要注意之处：基于 SVD 的预白化阶段开销约为 \( 2K^{2}T \) 次浮点运算；基于峰度的 FastICA 的速度在很大程度上取决于预白化，有时还取决于初始化；在一项针对 \( K \) 个单位功率 BPSK 源的无噪声酉随机混合、样本数 \( T = 150 \) 的基准测试中，不进行预白化的 RobustICA 取得了最快的最佳性能。<sup>[11](https://webusers.i3s.unice.fr/~zarzoso/biblio/ica07.pdf)</sup> 在替代方法中，自然梯度法与 FastICA 并列，是最受欢迎的 ICA 优化器。<sup>[21](https://royalsocietypublishing.org/doi/10.1098/rsta.2011.0534)</sup>

## References

1. [sklearn.decomposition.fastica, scikit-learn 1.9.1 documentation](https://scikit-learn.org/stable/modules/generated/fastica-function.html)
2. [Aapo Hyvärinen, Erkki Oja (1997). A Fast Fixed-Point Algorithm for Independent Component Analysis. Neural Computation.](https://doi.org/10.1162/neco.1997.9.7.1483)
3. [Feature learning from non-Gaussian inputs: the case of Independent Component Analysis in high dimensions (PMLR v267, 2025)](https://raw.githubusercontent.com/mlresearch/v267/main/assets/ricci25a/ricci25a.pdf)
4. [Fast and Robust Fixed-Point Algorithms for Independent Component Analysis](https://www.cs.helsinki.fi/u/ahyvarin/papers/TNN99new.pdf)
5. [Performance Analysis of the FastICA Algorithm and Cramér–Rao Bounds for Linear ICA](https://courses.ece.ucsb.edu/ECE594/594C_F10Madhow/fastica_analysis_06.pdf)
6. [Independent Component Analysis Attaining the Cramér-Rao Lower Bound (EFICA)](https://asap.ite.tul.cz/wp-content/uploads/sites/3/2016/04/TNN.pdf)
7. [Independent component analysis, a new concept? (Comon, Signal Processing 1994)](https://www.gipsa-lab.grenoble-inp.fr/~pierre.comon/FichiersPdf/como94-SP.pdf)
8. [Independent Component Analysis: Algorithms and Applications (Hyvärinen & Oja, Neural Networks 13(4-5):411-430, 2000)](https://www.cs.helsinki.fi/u/ahyvarin/papers/NN00new.pdf)
9. [Help for package fastICA (R documentation)](https://stat.ethz.ch/CRAN/web/packages/fastICA/refman/fastICA.html)
10. [Erkki Oja and Zhijian Yuan. The FastICA Algorithm revisited: convergence](http://users.ics.aalto.fi/zyuan/dissertation/article-3.pdf)
11. [LNCS 4666 - Comparative Speed Analysis of FastICA](https://webusers.i3s.unice.fr/~zarzoso/biblio/ica07.pdf)
12. [Fast ICA by a fixed-point algorithm that maximizes non-Gaussianity (chapter of Independent Component Analysis: Principles and Practice, CUP 2001)](https://www.cambridge.org/core/books/independent-component-analysis/fast-ica-by-a-fixedpoint-algorithm-that-maximizes-nongaussianity/FA46BF320248836E1445F1524CB830D2)
13. [FastICA with Learned Scores from the Empirical Characteristic Function (arXiv preprint, 2026)](https://arxiv.org/html/2604.22125)
14. [Independent Component Analysis: A Tutorial (Hyvärinen & Oja, 1999/2000)](https://www.ee.columbia.edu/~dpwe/papers/HyvO99-icatut.pdf)
15. [FastICA 2.5 MATLAB package (fastica.m source)](https://github.com/aludnam/MATLAB/blob/master/FastICA_25/fastica.m)
16. [Fast algorithms for informed independent component/vector extraction (EURASIP Journal on Advances in Signal Processing, 2025)](https://link.springer.com/article/10.1186/s13634-025-01260-5)
17. [Jari Miettinen and colleagues (2016). The squared symmetric FastICA estimator. Signal Processing.](https://doi.org/10.1016/j.sigpro.2016.08.028)
18. [FastICA, scikit-learn 1.9.0 documentation](https://scikit-learn.org/stable/modules/generated/sklearn.decomposition.FastICA)
19. [mne.preprocessing.ICA, MNE 1.13.0.dev documentation](https://mne.tools/dev/generated/mne.preprocessing.ICA.html)
20. [AdaptICA: Data-Adaptive Transformation Learning for Independent Component Analysis (arXiv preprint, 2026)](https://export.arxiv.org/pdf/2607.21901)
21. [Independent component analysis: recent advances (Hyvärinen, Royal Society Phil. Trans. A)](https://royalsocietypublishing.org/doi/10.1098/rsta.2011.0534)
22. [A study of the fixed points and spurious solutions of the FastICA algorithm](https://arxiv.org/pdf/1408.6693v1.pdf)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/fastica

English original: https://www.edgepedia.org/fastica
