# 解耦表示学习

解耦表示学习训练生成模型或自监督模型，使每个潜变量只响应数据中一个潜在的变化因子，而对其他因子保持不变。解耦的潜空间可分解为若干独立子空间，每个子空间只受一个生成因子的作用影响，不受其余因子影响。<sup>[1](https://ar5iv.labs.arxiv.org/html/1812.02230)</sup> 其目标是得到坐标可以被单独解读和控制的表示——这一框架由 Bengio、Courville 和 Vincent 于 2013 年在表示学习文献中推广开来。<sup>[2](https://doi.org/10.1109/tpami.2013.50)</sup>

| 关键事实 | 详情 |
|---|---|
| 形式化定义 | 若一个表示可分解为若干独立子空间，每个子空间只受对称群分解中单个子群的作用影响，则该表示是解耦的<sup>[1](https://ar5iv.labs.arxiv.org/html/1812.02230)</sup> |
| 主要目标函数族 | 提高 KL 项权重（beta-VAE、CCI-VAE）、总相关惩罚（FactorVAE、TC-VAE）、聚合后验匹配（DIP-VAE-I/II）<sup>[3](https://arxiv.org/pdf/1905.12614v4.pdf)</sup> |
| 不可能性结果 | 若模型和数据两方面都缺乏归纳偏置，无监督解耦从根本上不可能实现<sup>[4](http://proceedings.mlr.press/v97/locatello19a.html)</sup> |
| 基准研究的规模 | 在八个数据集上超过 14,000 个模型<sup>[5](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)</sup>；复现需在 NVIDIA P100 硬件上约 2.52 GPU 年<sup>[4](http://proceedings.mlr.press/v97/locatello19a.html)</sup> |
| 标准基准 | dSprites、Color/Noisy/Scream-dSprites、SmallNORB、Cars3D 和 Shapes3D，打包于 disentanglement_lib<sup>[6](https://github.com/google-research/disentanglement_lib)</sup> |
| 实用选择 | UDR 给出无监督的模型选择分数，与公平性的平均 Spearman 相关为 0.8，与强化学习数据效率的相关为 0.56<sup>[3](https://arxiv.org/pdf/1905.12614v4.pdf)</sup> |

## 工作原理

在操作层面，当改变一个生成因子（物体的位置、尺度或颜色）只改变一个潜坐标或子空间、而其余保持不变时，模型就是解耦的。Higgins 及其同事给出了形式化版本：给定对称群到子群的分解，若一个向量表示可分解为若干独立子空间，其中每个子空间只受单个子群的作用影响、不受其他子群影响，则该表示是解耦的。<sup>[1](https://ar5iv.labs.arxiv.org/html/1812.02230)</sup><sup> • </sup><sup>[22](https://arxiv.org/abs/1812.02230)</sup>

大多数变分方法通过变分自编码器的[证据下界](https://www.edgepedia.org/zh/evidence-lower-bound)（ELBO）来实现这一点。像 beta-VAE 那样提高 KL 项的权重，或直接惩罚总相关，都会把潜变量推向统计独立。<sup>[7](https://www.mdpi.com/1424-8220/23/4/2362)</sup> 所综述的各目标函数，其区别恰恰在于修改 ELBO 的哪一部分。<sup>[4](http://proceedings.mlr.press/v97/locatello19a.html)</sup>

## 实现方法

按目标函数的修改方式，变分方法族分为三类：beta-VAE 和 CCI-VAE 提高 KL 项的权重；FactorVAE 和 TC-VAE 引入总相关惩罚；DIP-VAE-I 和 DIP-VAE-II 惩罚边缘（聚合）后验与因子化先验（通常是各向同性单位高斯）的偏离。<sup>[3](https://arxiv.org/pdf/1905.12614v4.pdf)</sup> InfoGAN 走的是另一条路：它是生成对抗网络的信息论扩展，最大化一小部分潜变量与观测之间的互信息，使用一个可高效优化的变分下界，且完全以无监督方式进行。<sup>[8](https://proceedings.neurips.cc/paper_files/paper/2016/file/7c9d0b1f96aebd7b5eca8c3edaa19ebb-Paper.pdf)</sup>

评估依赖带真值因子的数据集和定量指标。BetaVAE 指标把解耦度量为线性分类器预测某一固定变化因子索引的准确率；FactorVAE 指标使用多数投票分类器；互信息差（MIG）针对每个因子，度量与该因子互信息最高和次高的两个潜坐标所对应的互信息值之差，并将其归一化。<sup>[5](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)</sup> MIG、DCI 解耦度、模块度和 SAP 都估计一个关联变化因子与潜在编码的矩阵，再在不同解耦概念下将其聚合为一个分数。<sup>[5](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)</sup> 由于没有标签时无法用监督指标做模型选择，UDR 分数无需真值即可对训练好的模型排序，但要求在每个超参数设置下使用多个随机种子训练模型，并在这些模型之间做两两比较。<sup>[3](https://arxiv.org/pdf/1905.12614v4.pdf)</sup>

## 起源

这一术语和框架可追溯到 2013 年 Y. Bengio、A. Courville 和 P. Vincent 发表于《IEEE 模式分析与机器智能汇刊》的综述《表示学习：综述与新视角》，该文将解耦确立为学习表示的一个目标。<sup>[2](https://doi.org/10.1109/tpami.2013.50)</sup> 更早的统计学前身包括 PCA、ICA 和 SVD，它们能在线性设定下识别潜在因子，但无法捕捉极高维数据中的因子。<sup>[7](https://www.mdpi.com/1424-8220/23/4/2362)</sup> 随后两种无监督深度学习方法同时且独立地出现：[Xi Chen](https://www.edgepedia.org/zh/xi-chen) 及其同事于 2016 年报告的 InfoGAN，<sup>[9](https://doi.org/10.48550/arxiv.1606.03657)</sup> 以及基于 VAE 的 beta-VAE 方法。<sup>[1](https://ar5iv.labs.arxiv.org/html/1812.02230)</sup>

## 变体

FactorVAE 由 Hyunjik Kim 和 Andriy Mnih 于 2018 年报告，用一个对抗训练的密度比估计器惩罚总相关。<sup>[10](https://doi.org/10.48550/arxiv.1802.05983)</sup> Ricky T. Q. Chen 及其同事的 beta-TCVAE（同样是 2018 年）用一个可处理但有偏的蒙特卡洛估计器惩罚同一量。<sup>[11](https://doi.org/10.48550/arxiv.1802.04942)</sup> AnnealedVAE 逐步增大瓶颈容量，而 beta-VAE 在同一族内提高 KL 项的权重。<sup>[4](http://proceedings.mlr.press/v97/locatello19a.html)</sup>

约自 2021 年起，该领域向可辨识性和因果性扩展。[Bernhard Schölkopf](https://www.edgepedia.org/zh/bernhard-scholkopf) 及其同事的综述《走向因果表示学习》（《IEEE 会刊》，2021 年）将解耦重新表述为恢复因果变量。<sup>[12](https://doi.org/10.1109/jproc.2021.3058954)</sup> Sébastien Lachapelle 及其同事于 2021 年提出机制稀疏正则化，作为非线性 ICA 的新原则，<sup>[13](https://doi.org/10.48550/arxiv.2107.10098)</sup> Kartik Ahuja 及其同事于 2022 年报告了干预式[因果表示学习](https://www.edgepedia.org/zh/causal-representation-learning)。<sup>[14](https://doi.org/10.48550/arxiv.2209.11924)</sup> Aneesh Komanduri 及其同事于 2023 年报告的 ICM-VAE，以因果相关的观测标签为监督学习因果解耦表示，用基于流的微分同胚映射对因果机制建模。<sup>[15](https://doi.org/10.48550/arxiv.2306.01213)</sup> 扩散骨干网络也随之而来：一个面向基于扩散模型的解耦的学习理论框架，通过条件 \( I(\hat{Z}; \hat{G}) \le \epsilon \) 和 \( I(\hat{Z}, \hat{G}; X) \ge I(Z, G; X) - \nu \) 定义了 \( (\epsilon, \nu) \)-解耦，并证明了在独立子空间模型上、以梯度下降训练的扩散模型具有有限样本全局收敛性。<sup>[16](https://proceedings.neurips.cc/paper_files/paper/2025/file/00bd71667563acfea40499ad76229894-Paper-Conference.pdf)</sup>

## 应用

InfoGAN 展示了可控生成：它在 MNIST 上将书写风格与数字形状解耦，在 3D 渲染图像上将姿态与光照解耦，在 SVHN 上将背景数字与中心数字解耦，并在 CelebA 上发现了发型、眼镜和情绪等概念。<sup>[8](https://proceedings.neurips.cc/paper_files/paper/2016/file/7c9d0b1f96aebd7b5eca8c3edaa19ebb-Paper.pdf)</sup> 在强化学习中，UDR 分数与 COBRA 智能体的数据效率相关达 0.56，UDR 排名最好的模型比排名最差的模型达到 90% 成功率所需的步数减少约 66%。<sup>[3](https://arxiv.org/pdf/1905.12614v4.pdf)</sup>

## 局限与替代方案

核心局限是一个定理：Locatello 及其同事（2018）证明，若模型和数据两方面都缺乏归纳偏置，无监督解耦从根本上不可能实现。<sup>[17](https://doi.org/10.48550/arxiv.1811.12359)</sup> 他们的大规模研究（期刊版扩展到八个数据集上超过 14,000 个模型）发现：解耦良好的模型似乎无法在无监督下被识别；随机种子和超参数比模型选择更重要；解耦程度的提高似乎并不降低下游任务的样本复杂度。<sup>[4](http://proceedings.mlr.press/v97/locatello19a.html)</sup><sup> • </sup><sup>[5](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)</sup> 这一结果与非线性 ICA 中的不可辨识性一致——这是自 1950 年代 Darmois 构造以来就已知的问题：学习寻求独立性的非线性模型，会得到与真实因子无关的任意表示。<sup>[5](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)</sup><sup> • </sup><sup>[18](https://doi.org/10.1016/j.patter.2023.100844)</sup>

指标是第二个弱点。不同指标对什么应被视为解耦并不总是一致，且在估计上表现出系统性差异，<sup>[5](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)</sup> 而若干指标隐含地把不相关变量（对角协方差）等同于独立变量，这对诸如 \( Y = X^{2} \) 这样的依赖关系并不成立。<sup>[19](https://arxiv.org/abs/2304.02335)</sup>

在更强的假设下存在替代方案。当数据是时间序列或观测到辅助变量时，非线性 ICA 变得可辨识，此时 TCL 等自监督方法可证明是一致的，而变分（基于 VAE 的）方法依赖近似，不太可能具有统计一致性。<sup>[18](https://doi.org/10.1016/j.patter.2023.100844)</sup> 数据流形的局部等距性加上因子的非高斯性也足够：Hessian Eigenmaps 与 fastICA 的组合在无限数据极限下保证恢复解耦表示，在 StyleGAN 构造的流形上，这一谱方法找到了正确的潜在因子，而深度自编码器基线则没有。<sup>[20](https://papers.nips.cc/paper/2021/file/29586cb449c90e249f1f09a0a4ee245a-Paper.pdf)</sup> 对于具有加性高斯噪声和线性混合的因果模型，潜在因果因子可从纯观测数据中被识别到逐层变换的程度，但若无额外假设，进一步的解耦无法实现。<sup>[21](https://arxiv.org/pdf/2410.23620)</sup>

## References

1. [Towards a Definition of Disentangled Representations (Ridgeway & Mozer)](https://ar5iv.labs.arxiv.org/html/1812.02230)
2. [Y. Bengio, A. Courville, P. Vincent (2013). Representation Learning: A Review and New Perspectives. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2013.50)
3. [Unsupervised Model Selection for Variational Disentangled Representation Learning (UDR)](https://arxiv.org/pdf/1905.12614v4.pdf)
4. [Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations (Locatello et al., ICML 2019)](http://proceedings.mlr.press/v97/locatello19a.html)
5. [Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations and their Evaluation (JMLR journal version)](https://www.jmlr.org/papers/volume21/19-976/19-976.pdf)
6. [google-research/disentanglement_lib](https://github.com/google-research/disentanglement_lib)
7. [Unsupervised Learning of Disentangled Representation via Auto-Encoding: A Survey (Sensors, 2023)](https://www.mdpi.com/1424-8220/23/4/2362)
8. [InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets (Chen et al., NeurIPS 2016)](https://proceedings.neurips.cc/paper_files/paper/2016/file/7c9d0b1f96aebd7b5eca8c3edaa19ebb-Paper.pdf)
9. [Chen, Xi and colleagues (2016). InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1606.03657)
10. [Kim, Hyunjik, Mnih, Andriy (2018). Disentangling by Factorising. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1802.05983)
11. [Chen, Ricky T. Q. and colleagues (2018). Isolating Sources of Disentanglement in Variational Autoencoders. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1802.04942)
12. [Bernhard Scholkopf and colleagues (2021). Toward Causal Representation Learning. Proceedings of the IEEE.](https://doi.org/10.1109/jproc.2021.3058954)
13. [Lachapelle, Sébastien and colleagues (2021). Disentanglement via Mechanism Sparsity Regularization: A New Principle for Nonlinear ICA. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2107.10098)
14. [Ahuja, Kartik and colleagues (2022). Interventional Causal Representation Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2209.11924)
15. [Komanduri, Aneesh and colleagues (2023). Learning Causally Disentangled Representations via the Principle of Independent Causal Mechanisms. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2306.01213)
16. [Can Diffusion Models Disentangle? A Theoretical Perspective (NeurIPS 2025)](https://proceedings.neurips.cc/paper_files/paper/2025/file/00bd71667563acfea40499ad76229894-Paper-Conference.pdf)
17. [Locatello, Francesco and colleagues (2018). Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1811.12359)
18. [Nonlinear independent component analysis for principled disentanglement in unsupervised deep learning (Patterns, 2023)](https://doi.org/10.1016/j.patter.2023.100844)
19. [Correcting Flaws in Common Disentanglement Metrics](https://arxiv.org/abs/2304.02335)
20. [When is Unsupervised Disentanglement Possible? (NeurIPS 2021)](https://papers.nips.cc/paper/2021/file/29586cb449c90e249f1f09a0a4ee245a-Paper.pdf)
21. [Identifiability Guarantees for Causal Disentanglement from Purely Observational Data](https://arxiv.org/pdf/2410.23620)
22. [Towards a Definition of Disentangled Representations](https://arxiv.org/abs/1812.02230)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Titles A to H

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/disentangled-representation-learning

English original: https://www.edgepedia.org/disentangled-representation-learning
