用拓扑分析揭示预测编码网络的表征压缩规律
Topological Simplification in Predictive Coding Networks

- 通过层间持久同调分析表征拓扑变化
- 模型越大、简化越晚,重建误差越低
- 比传统MLP更晚简化,体现双向动态优势
我们使用定量的逐层持久同调分析,研究预测编码网络(PCNs)中学习表征的拓扑结构。在合成分类数据集(测试准确率≥99.9%)和MNIST数据集(测试准确率≥95%)上训练表现良好的PCNs,测量不同架构与激活函数下各层拓扑特征的变化。发现较小的PCN比大型模型更早坍缩连通分量(斯皮尔曼相关系数ρ∈[0.72, 0.79]),模型大小以各隐藏层宽度之和衡量。同时观察到简化发生深度与重构误差呈强负相关(ρ = -0.58),即简化越晚,重构越好。种子级自举比较显示,不同架构与激活函数下,PCNs始终比匹配的MLP晚3.6层才坍缩连通分量。结果表明,持久同调为理解PCNs中的压缩-重构权衡提供了有效量化视角,且模型容量与预测编码推理的循环双向动力学共同决定该权衡在各层的实现时机。
原文摘要 · Abstract (English)
We study the topology of learned representations in predictive coding networks (PCNs), a neuro-inspired bidirectional architecture, using a quantitative layer-wise persistent homology analysis. We train well-performing PCNs on a synthetic classification dataset ($\geq 99.9\%$ test accuracy) and on MNIST ($\geq 95\%$ test accuracy), and measure how topological features change across layers for different architectures and activation functions. We find that smaller PCNs collapse connected components across layers earlier than larger models (Spearman $\unicode{x1D70C} \in [0.72, 0.79]$ across activations), with model size measured as the sum of hidden-layer widths. We also observe a strong negative correlation ($\unicode{x1D70C} = -0.58$) between the depth at which simplification occurs and reconstruction error; i.e., architectures that simplify later reconstruct better. Finally, a seed-level bootstrap comparison across architectures and activations shows that PCNs consistently collapse connected components later than matched MLPs, with an average difference of $3.6$ layers. These results suggest that persistent homology offers a useful quantitative lens on the compression--reconstruction tradeoff in PCNs, and that both model capacity and the recurrent, bidirectional dynamics of predictive coding inference shape when this tradeoff is resolved across layers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。