cs.LGMay 30, 2026

Learning Transfers: Kan Extensions for Neural Invariants

Authors: Luciano Melodia

Organizations: Friedrich-Alexander Universität Erlangen-Nürnberg

Abstract

Transfer learning presumes that a representation learned on source tasks carries structure that remains usable on related target tasks. Standard evaluations probe this through target accuracy or distributional discrepancy, yet leave unspecified which structural invariant is meant to transfer. We supply that invariant categorically. A source task category A\mathcal A, a target task category B\mathcal B, and a task-change functor J:ABJ:\mathcal A\to\mathcal B determine, for every invariant-valued source representation F:AVF:\mathcal A\to\mathcal V, the universal transferred invariant LanJF\operatorname{Lan}J F. Given a target invariant G:BVG:\mathcal B\to\mathcal V, we define the transfer discrepancy CompJ(F,G)=supbOb(B)dV((LanJF)(b),G(b))\operatorname{Comp}J(F,G)=\sup{b\in\operatorname{Ob}(\mathcal B)} d{\mathcal V}\bigl((\operatorname{Lan}_J F)(b),G(b)\bigr), evaluating transfer not by an objectwise comparison of source and target, but by comparing the target invariant against the one forced by the prescribed task transformation. We prove finite cokernel formulas for (LanJF)(b)(\operatorname{Lan}_J F)(b) in chain complexes and persistence modules, indexed by the comma category JbJ\downarrow b. For persistence-valued finite-type one-parameter invariants, the discrepancy is computed exactly by bottleneck distances between barcodes. Controlled experiments on neural latent point clouds then test whether the score recovers the correct task functor and flags representation collapses that preserve classification accuracy while destroying transfer-relevant topology.

Explore similar work

CardsList
  1. Topological Signatures of Grokking

    May 7, 2026Yifan Tang, Qiquan Wang, Inés García-Redondo +1Persistent HomologyGrokking