学习迁移:神经不变量的Kan扩展
Learning Transfers: Kan Extensions of Topological Invariants of Learned Representations
AI总结:
提出用范畴论中的Kan扩展形式化迁移学习中的结构不变量,定义传递差异度量,并在链复形和持久模块中给出有限余核公式,通过瓶颈距离计算持久值不变量,实验验证了该方法能识别正确的任务函子并检测破坏迁移相关拓扑的表征坍塌。
摘要:
迁移学习假设在源任务上学习到的表征携带的结构在相关目标任务上仍然可用。标准评估通过目标准确率或分布差异来探测,但未明确说明哪种结构不变量被迁移。我们以范畴论的方式提供了这一不变量。源任务范畴$\mathcal A$、目标任务范畴$\mathcal B$和任务变化函子$J:\mathcal A\to\mathcal B$决定了,对于每个不变量值的源表征$F:\mathcal A\to\mathcal V$,存在通用的迁移不变量$\operatorname{Lan}_J F$。给定目标不变量$G:\mathcal B\to\mathcal V$,我们定义迁移差异$\operatorname{Comp}_J(F,G)=\sup_{b\in\operatorname{Ob}(\mathcal B)} d_{\mathcal V}\bigl((\operatorname{Lan}_J F)(b),G(b)\bigr)$,该评估不是通过源和目标的对象级比较,而是将目标不变量与由指定任务变换强制得到的不变量进行比较。我们证明了链复形和持久模块中$(\operatorname{Lan}_J F)(b)$的有限余核公式,其索引由逗号范畴$J\downarrow b$给出。对于持久值有限型单参数不变量,差异通过条形码之间的瓶颈距离精确计算。在神经潜在点云上的控制实验测试了该分数是否能恢复正确的任务函子,并检测出那些保持分类准确率但破坏迁移相关拓扑的表征坍塌。
英文摘要:
When a learned representation is reused for a new task, which of its structure should survive? A task is a small category, a change of task is a functor $J$, and the invariants of a trained representation form a functor $F$. The left Kan extension $\operatorname{Lan}_JF$ is the invariant that the source and the change of task force on the target: by its universal property, every comparison of the source with an observed target invariant factors through it. The transfer discrepancy is the largest distance, over the target objects, between this extension and the observed invariant. For persistent homology the extension is a cokernel over comma categories, and a functorial version of the discrepancy, which also compares the maps between target objects, is $1$-Lipschitz under interleavings. On finite samples the discrepancy is a bottleneck distance, computed without approximation. For data glued from two pieces whose exclusive parts lie farther apart than the filtration scale, a Mayer-Vietoris sequence identifies what extending homology loses, while extending chains loses nothing. For a merge of labelled point clouds, the degree-zero discrepancy vanishes if and only if some $1$-Lipschitz classifier has a margin above the filtration scale at every sample point. In experiments on sampled manifolds, trained encoders and pretrained image models, every exact prediction holds on every sample. The discrepancy of truncated invariants recovers a hidden merge of separated parts far above chance and tells the intended target of a merge from a permuted control, but across pretrained models it does not track the accuracy of a linear probe.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。