Latent Space Translation via Semantic Alignment

Valentino Maiorca, Luca Moschella, Antonio Norelli, Marco Fumero, Francesco Locatello +1 more
2/12/2026

No official code found. Best implementation: Flegyas/latent-translation (9 stars, last commit 2023-11-14).

Abstract

While different neural models often exhibit latent spaces that are alike when exposed to semantically related data, this intrinsic similarity is not always immediately discernible. Towards a better understanding of this phenomenon, our work shows how representations learned from these neural modules can be translated between different pre-trained networks via simpler transformations than previously thought. An advantage of this approach is the ability to estimate these transformations using standard, well-understood algebraic procedures that have closed-form solutions. Our method directly estimates a transformation between two given latent spaces, thereby enabling effective stitching of encoders and decoders without additional training. We extensively validate the adaptability of this translation procedure in different experimental settings: across various trainings, domains, architectures (e.g., ResNet, CNN, ViT), and in multiple downstream tasks (classification, reconstruction). Notably, we show how it is possible to zero-shot stitch text encoders and vision decoders, or vice-versa, yielding surprisingly good classification performance in this multimodal setting.

View on arXivView PDF

Code Implementations(1)

90Oct 31, 20232 years ago

Similar Papers

Cite this paper

@article{maiorca2026latent,
  title  = {Latent Space Translation via Semantic Alignment},
  author = {Valentino Maiorca and Luca Moschella and Antonio Norelli and Marco Fumero and Francesco Locatello and E. Rodolà},
  year   = {2026},
  eprint = {2311.00664},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.00664},
  journal = {NEURIPS 2023 2023}
}

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/2311.00664.svg)](https://codeofpaper.com/paper/2311.00664)

Discussion