# 慢特征分析

慢特征分析（Slow feature analysis, SFA）是一种无监督学习算法，它从快速变化的输入信号中提取缓慢变化的特征，使输出能够捕捉快速变化的时间流中稳定的潜在成因。<sup>[1](http://var.scholarpedia.org/article/Slow_feature_analysis)</sup> 它将缓慢原则形式化：由于物体和其他外部成因在秒级时间尺度上变化，而初级感觉信号（如单个视网膜受体响应）变化得快得多，因此缓慢变化的特征往往对平移、缩放、旋转或变焦等干扰性变换具有不变性。<sup>[2](https://doi.org/10.1162/089976603322297331)</sup> 该算法保证在选定的函数族内找到最优解，并返回大量按缓慢程度排序的去相关输出特征。<sup>[3](https://doi.org/10.1162/089976602317318938)</sup> 它被用于机器学习和计算神经科学，从视觉皮层模型到海马位置细胞模型和脑机接口。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 目标 | 最小化每个输出的时间变化 \( \Delta(y) = \langle \dot{y}^2 \rangle \)，满足零均值、单位方差和去相关约束<sup>[3](https://doi.org/10.1162/089976602317318938)</sup> |
| 解法 | 非线性展开、球化（白化），然后求时间导数协方差矩阵最小特征值对应的特征向量<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup> |
| 复杂度 | 对于 \( N \) 个样本和 \( I \) 个输入维度，为 \( O(NI^2 + I^3) \)<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> |
| 保证 | 在选定函数空间内最优；输出按缓慢程度（\( \Delta \) 值）排序<sup>[3](https://doi.org/10.1162/089976602317318938)</sup> |
| 主要局限 | 非线性展开导致的维数灾难；对噪声敏感<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup> |
| 基准示例 | 使用三次多项式展开在 MNIST 上达到 1.5% 错误率，接近 LeNet-5 的 0.95%<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> |
| 神经科学用途 | V1 中的复杂细胞感受野、海马中的位置细胞<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> |

## 工作原理

给定一个可能高维的输入信号 \( \mathbf{x}(t) \)，SFA 寻找瞬时函数 \( g_j(\mathbf{x}) \)，使其输出 \( y_j(t) = g_j(\mathbf{x}(t)) \) 最小化 delta 值 \( \Delta(y_j) = \langle \dot{y}_j(t)^2 \rangle_t \)，即导数平方的时间平均值。<sup>[6](https://link.springer.com/article/10.1007/s10994-019-05860-9)</sup> 约束 \( \langle y \rangle = 0 \) 和 \( \langle y^2 \rangle = 1 \) 防止了平凡的常数解。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup> 对于球化信号上的线性输出 \( y = \mathbf{a}^T \mathbf{z} \)，目标变为 \( \mathbf{a}^T \langle \dot{\mathbf{z}} \cdot \dot{\mathbf{z}}^T \rangle \mathbf{a} \)，因此最优权重是时间导数协方差矩阵最小特征值对应的归一化特征向量，通过 PCA 求得。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup>

高阶分量 \( y_i \) 与所有低阶分量正交，满足 \( \langle y_i \cdot y_j \rangle = 0 \)（\( j = 1, \ldots, i-1 \)），对应第二小及更大的特征值；特征值即为提取特征的 \( \Delta \) 值。<sup>[7](https://ar5iv.labs.arxiv.org/html/0911.4397)</sup> 对该优化问题的理论分析刻画了算法的最优自由响应。<sup>[2](https://doi.org/10.1162/089976603322297331)</sup>

## 实现步骤

算法分四步进行。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup>

1. 用一组固定的可能非线性函数（如多项式）展开输入信号，得到展开信号 \( \tilde{\mathbf{z}}(t) \)。<sup>[3](https://doi.org/10.1162/089976602317318938)</sup>
2. 对展开信号进行球化，即仿射归一化 \( \mathbf{z}(t) := \mathbf{S}(\tilde{\mathbf{z}}(t) - \langle \tilde{\mathbf{z}} \rangle) \)，使其均值为零、协方差矩阵为单位矩阵；球化矩阵 \( \mathbf{S} \) 由训练数据上的 PCA 确定。<sup>[3](https://doi.org/10.1162/089976602317318938)</sup>
3. 计算球化信号的时间导数，求其协方差矩阵 \( \langle \dot{\mathbf{z}} \cdot \dot{\mathbf{z}}^T \rangle \) 最小特征值对应的归一化特征向量。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup>
4. 将球化信号投影到这些特征向量上，得到缓慢输出信号。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup>

另一种表述将白化步骤和标准特征值问题合并为一个广义特征值问题。<sup>[8](https://www.frontiersin.org/journals/computational-neuroscience/articles/10.3389/fncom.2015.00051/full)</sup> 在软件实现中，训练时间主要由 PCA 计算主导，并且由于 SFA 必须在选择最慢分量之前对全部输出分量范围执行 PCA，因此无法预先利用所需输出数量的信息。<sup>[9](https://sklearn-sfa.readthedocs.io/en/latest/user_guide.html)</sup>

## 起源

SFA 最初是在脊椎动物视觉系统中无监督学习不变性的抽象模型背景下开发的，详见 Laurenz Wiskott 和 [Terrence J. Sejnowski](https://www.edgepedia.org/zh/terrence-j-sejnowski) 的论文《慢特征分析：不变性的无监督学习》，发表于 2002 年的《神经计算》。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup><sup> • </sup><sup>[3](https://doi.org/10.1162/089976602317318938)</sup> 随后 2003 年《神经计算》发表了由 Laurenz Wiskott 撰写的最优自由响应理论分析。<sup>[2](https://doi.org/10.1162/089976603322297331)</sup> 从时间相干性中提取不变表示的基本思想已被多位研究者追求过。<sup>[2](https://doi.org/10.1162/089976603322297331)</sup> 已发表的文献指出，缓慢原则可能最早被形式化，在线学习规则随后不久被开发出来。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup><sup> • </sup><sup>[6](https://link.springer.com/article/10.1007/s10994-019-05860-9)</sup>

## 变体

**非线性 SFA** 可通过显式非线性展开后接线性 SFA 获得，也可通过核隐式获得；显式形式的复杂度为 \( O(NI^2 + I^3) \)。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> 核 SFA 需要大小为 \( O(n^2) \) 的核矩阵，其中 \( n \) 为训练样本数，这对大型训练集不可行，促使了基于样本子集的稀疏近似。<sup>[10](https://hannes.nickisch.org/papers/conferences/boehmer11regSKSFA.pdf)</sup>

**增量 SFA** 使 SFA 适应高维输入流和片段式、非平稳设置；由 Varun Raj Kompella、Matthew Luciw 和 Juergen Schmidhuber 在 2011 年的一篇 arXiv 论文中报道。<sup>[11](https://doi.org/10.48550/arxiv.1112.2113)</sup> 一些后来的文献将同一工作引用为 Kompella 等人（2012），因此不同来源的引用年份不同。<sup>[6](https://link.springer.com/article/10.1007/s10994-019-05860-9)</sup>

**基于图和保信息的 SFA** 将缓慢性与基于 PCA 的重建相结合以减少信息损失；所得节点算法称为保信息 GSFA（iGSFA），网络版本称为分层 iGSFA（HiGSFA）。<sup>[6](https://link.springer.com/article/10.1007/s10994-019-05860-9)</sup>

## 应用

SFA 最初为在灵长类视觉系统模型中学习不变性而开发，随后被用于学习复杂细胞感受野和海马中的位置细胞。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> 由 SFA 模块组成的分层网络可作为视觉系统的简单模型，其中同一无结构网络学习平移、大小、旋转和对比度不变性，而分层应用的 SFA 从简单细胞输出中提取视差和运动等复杂细胞调谐特性。<sup>[3](https://doi.org/10.1162/089976602317318938)</sup> 非线性 SFA 特征与 V1 皮层中的复杂细胞有许多共同特征，缓慢原则的应用包括变换不变的目标检测和网格细胞的自组织——网格细胞是啮齿动物大脑中用于导航的结构。<sup>[12](https://link.springer.com/article/10.1007/s10994-022-06299-1)</sup>

在海马建模中，缓慢原则已被应用于机器人智能体的位置野形成；此后 SFA 已被证明能在开阔场地和其他环境中重现合理的位置野放电。<sup>[8](https://www.frontiersin.org/journals/computational-neuroscience/articles/10.3389/fncom.2015.00051/full)</sup> 在神经科学之外，SFA 能以高精度估计非平稳时间序列的驱动力（至多相差一个常数偏移和一个缩放因子），<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup> 而将线性 SFA 应用于听觉辨别任务期间的 63 电极 EEG 数据，随后进行 Fisher 判别分析，为脑机接口提取了人类听觉感知。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> 在基准测试中，使用三次多项式对两样本迷你序列应用 SFA，并对最慢的九个特征使用高斯分类器，在 MNIST 上达到 1.5% 错误率，接近 LeNet-5 的 0.95%。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup>

## 局限与替代方法

**噪声敏感性。** 向帐篷映射时间序列添加高斯白噪声后，真实驱动力与估计驱动力之间的相关性从 \( r = 0.96 \) 分别降至约 0.94、0.90 和 0.71（对应 10%、20% 和 50% 噪声），对逻辑映射也观察到类似的退化。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup> 尽管如此，SFA 仍能在广泛参数范围内检测缓慢驱动力或其子分量，即使存在混沌运动，且提取的信号可能比驱动力更慢。<sup>[7](https://ar5iv.labs.arxiv.org/html/0911.4397)</sup><sup> • </sup><sup>[16](https://www.gm.th-koeln.de/~konen/Publikationen/BIOMA10-howslow.pdf)</sup>

**展开选择与维数。** 最严重的局限是维数灾难：单项式或其他基函数的数量随嵌入向量维数快速增长，不过高维问题可以分层处理。<sup>[5](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)</sup> 展开函数的选择至关重要：如果过于简单则无法解决问题，如果过于复杂则可能过拟合训练数据而无法泛化。<sup>[4](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)</sup> 核 SFA 容易过拟合，并因其单位方差约束而表现出数值不稳定性，正则化可以改善这种不稳定性。<sup>[10](https://hannes.nickisch.org/papers/conferences/boehmer11regSKSFA.pdf)</sup>

**与其他方法的关系。** SFA 与谱嵌入方法有强关联，可视为流形学习的一种高效参数化方法。<sup>[9](https://sklearn-sfa.readthedocs.io/en/latest/user_guide.html)</sup> 一种相关的基于核的慢特征提取表述在长时间段内最大化输出方差，同时在较短时间段内最小化它；在线性情况下，这可以通过在同一突触上生物合理的 Hebbian 和反 Hebbian 学习混合来实现。<sup>[13](https://papers.nips.cc/paper_files/paper/2002/file/db116b39f7a3ac5366079b1d9fe249a5-Paper.pdf)</sup> 在现代自监督目标中，Jure Zbontar 及其同事于 2021 年报道的 Barlow Twins 追求类似的冗余减少目标：它避免负对、梯度停止和移动平均权重更新，并在低数据量情况下的半监督分类中于 ImageNet 上优于先前方法。<sup>[14](https://proceedings.mlr.press/v139/zbontar21a.html)</sup><sup> • </sup><sup>[15](https://doi.org/10.48550/arxiv.2103.03230)</sup>

## References

1. [Slow feature analysis - Scholarpedia](http://var.scholarpedia.org/article/Slow_feature_analysis)
2. [Laurenz Wiskott (2003). Slow Feature Analysis: A Theoretical Analysis of Optimal Free Responses. Neural Computation.](https://doi.org/10.1162/089976603322297331)
3. [Laurenz Wiskott, Terrence J. Sejnowski (2002). Slow Feature Analysis: Unsupervised Learning of Invariances. Neural Computation.](https://doi.org/10.1162/089976602317318938)
4. [Slow Feature Analysis: Perspectives for Technical Applications of a Versatile Learning Algorithm](https://www.ini.rub.de/upload/file/1470692853_bfab89724462883439af/PREPRINT_SFA_Perspectives_for_Technical_Applications.pdf)
5. [Estimating Driving Forces of Nonstationary Time Series with Slow Feature Analysis](https://ar5iv.labs.arxiv.org/html/cond-mat/0312317)
6. [Improved graph-based SFA: information preservation complements the slowness principle (Machine Learning, Springer)](https://link.springer.com/article/10.1007/s10994-019-05860-9)
7. [How slow is slow? SFA detects signals that are slower than the driving force](https://ar5iv.labs.arxiv.org/html/0911.4397)
8. [Modeling place field activity with hierarchical slow feature analysis (Frontiers in Computational Neuroscience)](https://www.frontiersin.org/journals/computational-neuroscience/articles/10.3389/fncom.2015.00051/full)
9. [User guide: contents, sklearn-sfa 0.1.4 documentation](https://sklearn-sfa.readthedocs.io/en/latest/user_guide.html)
10. [Regularized Sparse Kernel Slow Feature Analysis](https://hannes.nickisch.org/papers/conferences/boehmer11regSKSFA.pdf)
11. [Kompella, Varun Raj, Luciw, Matthew, Schmidhuber, Juergen (2011). Incremental Slow Feature Analysis: Adaptive and Episodic Learning from High-Dimensional Input Streams. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1112.2113)
12. [Autoencoding slow representations for semi-supervised data-efficient regression (Machine Learning, 2022)](https://link.springer.com/article/10.1007/s10994-022-06299-1)
13. [Kernel-Based Extraction of Slow Features: Complex Cells Learn Disparity and Translation Invariance from Natural Images (NIPS 2002)](https://papers.nips.cc/paper_files/paper/2002/file/db116b39f7a3ac5366079b1d9fe249a5-Paper.pdf)
14. [Barlow Twins: Self-Supervised Learning via Redundancy Reduction (ICML 2021)](https://proceedings.mlr.press/v139/zbontar21a.html)
15. [Zbontar, Jure and colleagues (2021). Barlow Twins: Self-Supervised Learning via Redundancy Reduction. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2103.03230)
16. [gm.th-koeln.de](https://www.gm.th-koeln.de/~konen/Publikationen/BIOMA10-howslow.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 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/slow-feature-analysis

English original: https://www.edgepedia.org/slow-feature-analysis
