Model Stitching by Functional Latent Alignment

Ioannis Athanasiadis, Anmar Karmush, Michael Felsberg
5/26/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Evaluating functional similarity involves quantifying the degree to which independently trained neural networks learn functionally similar representations. Reliably inferring the functional similarity of these networks remains an open problem with far-reaching implications for AI. Model stitching has emerged as a promising paradigm, where an optimal affine transformation aligns two models to solve a task, with the stitched model serving as a proxy for functional similarity. In this work, we draw inspiration from the knowledge distillation literature and propose Functional Latent Alignment (FuLA) as a novel optimality condition for model stitching. We revisit previously explored functional similarity testbeds and introduce a new one, based on which FuLA emerges as an overall more reliable method of functional similarity. Specifically, our experiments in (a) adversarial training, (b) shortcut training and, (c) cross-layer stitching, reveal that FuLA is less prone to artifacts tied to training on task cues while achieving non-trivial alignments that are missed by stitch-level matching.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{athanasiadis2025model,
  title  = {Model Stitching by Functional Latent Alignment},
  author = {Ioannis Athanasiadis and Anmar Karmush and Michael Felsberg},
  year   = {2025},
  eprint = {2505.20142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20142v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.20142.svg)](https://codeofpaper.com/paper/2505.20142)

Discussion