The Geometry of Meaning in Neural Manifolds
Organizations: Department of Computer Science, Faculty of Information Engineering, Informatics, and Statistics, Sapienza University of Rome
Abstract
Just as different languages express the same concept through different words, neural networks express similar functions through incompatible coordinate systems. Different architectures, random initializations, and optimization trajectories produce incompatible parameterizations in extrinsic coordinates, obscuring functional relationships between independently trained models. When models independently solve similar tasks on related data, do their learned representations share exploitable structure despite incompatible coordinates? This thesis shows that semantic correspondence is a fundamental primitive revealing shared geometric structure beneath incompatible parameterizations. By identifying which elements refer to the same semantic content, correspondence breaks the symmetry of arbitrary implementation choices, anchoring incompatible systems to a shared semantic frame and revealing the intrinsic geometry that enables zero-shot transformation between independently trained models. Building on this principle, fourteen contributions explore correspondence-based alignment across zero-shot model stitching, cross-modal translation, policy transfer, activation steering, and neural decoding. They span domains (vision, language, reinforcement learning, neuroscience), architectures (CNNs, Transformers, graph networks), and scales (from small supervised models to billion-parameter generative systems). Each exploits different geometric properties (angular, metric, spectral, sparse, or distributional), yet all instantiate the same principle. It extends beyond artificial systems: fMRI data show that different human brains processing identical stimuli exhibit alignable geometric structure. By revealing intrinsic geometric structure beneath extrinsic parameterization, semantic correspondence transforms model isolation into interoperability.
Figures & tables
| Property | Parallel ( ) | Coupled ( ) |
|---|---|---|
| How is used | Independently per space | Both sides together |
| ( and separate) | (paired) | |
| Output space | Auxiliary coordinates | Target extrinsic coordinates |
| (defined by structure) | (native to ) | |
| Decoder compatibility | Requires auxiliary decoder | Direct reuse of target decoder |
| Modularity | High (one-to-many) | Lower (pairwise) |
| Image Classification | Graph Node Classification | ||||||
|---|---|---|---|---|---|---|---|
| \gls mnist | \glsxtrshort fmnist | \gls cifart | \gls cifarh | \gls cora | CiteSeer | PubMed | |
| Relative | |||||||
| Absolute | |||||||
| \gls mnist | \glsxtrshort fmnist | \gls cifart | \gls cifarh | MSE ↓ | |||
|---|---|---|---|---|---|---|---|
| AE | Abs. | Non-Stitch. | |||||
| Stitch. | |||||||
| Rel. | Non-Stitch. | ||||||
| Stitch. | |||||||
| VAE | Abs. | Non-Stitch. | |||||
| Stitch. |
| Absolute | Relative | ||||||
|---|---|---|---|---|---|---|---|
| Translated | Wikipedia | ||||||
| Decoder | Encoder | FScore | MAE | FScore | MAE | FScore | MAE |
| en | en | ||||||
| es | |||||||
| fr | |||||||
| ja | |||||||
| \gls trec | \gls dbpedia | \gls amazon | |||
|---|---|---|---|---|---|
| Coarse | Fine | ||||
| Abs. | Non-Stitch | ||||
| Stitch | |||||
| Rel. | Non-Stitch | ||||
| Stitch | |||||
| \gls cifarh | \gls imagenet1k | ||||
| Decoder | Encoder | Absolute | Relative | Absolute | Relative |
| rexnet-100 | rexnet-100 | ||||
| vit-base-patch16-224 | - | - | |||
| vit-base-resnet50-384 | - | - | |||
| vit-small-patch16-224 | - | - | |||
| vit-base-patch16-224 | rexnet-100 | - | - | ||
| Similarity | Isotropic | Orthogonal | Translation | Permutation | Affine | Linear | Manifold |
|---|---|---|---|---|---|---|---|
| Function | Scaling | Transf. | Transf. | Transf. | Isometry | ||
| Absolute | |||||||
| Cosine | |||||||
| Euclidean ( ) | |||||||
| Manhattan ( \gls l1) | |||||||
| Chebyshev ( \gls linf) |
| Text | Graph | |||
|---|---|---|---|---|
| ALBERT | GCN | |||
| Projection | \gls dbpedia↑ | \gls trec↑ | \gls cora ↑ | Stitching Index ↑ |
| \glsentrylong cos | 0.71 | |||
| \glsentrylong eu | 0.58 | |||
| \gls l1 | 0.58 | |||
| \gls linf | 1.00 | |||
| Accuracy ↑ | |||||
|---|---|---|---|---|---|
| Encoder | Projection | \gls cifarh | \gls cifart | \gls mnist | \gls fmnist |
| CViT-B/32 | \glsentrylong cos | ||||
| \glsentrylong eu | |||||
| \gls l1 | |||||
| \gls linf | |||||
| \glsentrylong cos, \glsentrylong eu, \gls l1, \gls linf | |||||
| Vision | Text | Graph | |
|---|---|---|---|
| Aggregation | RViT-B/16 | BERT-C | GCN |
| Concat* | |||
| MLP+SelfAttention | |||
| MLP+Sum | |||
| SelfAttention |
| Projection | Aggregation | Accuracy ↑ |
|---|---|---|
| \glsentrylong cos | - | 0.50 |
| \glsentrylong eu | - | |
| \gls l1 | - | |
| \gls linf | - | |
| \glsentrylong cos, \glsentrylong eu, \gls l1, \gls linf | SelfAttention | |
| \glsentrylong cos, \glsentrylong eu, \gls l1, \gls linf | MLP+Sum | 0.45 |
| Src | Tgt | Jaccard | MRR | Cosine | |
|---|---|---|---|---|---|
| GT | ViT-base | ViT-small | |||
| ViT-small | ViT-base | ||||
| Seed | ViT-base | ViT-small | |||
| ViT-small | ViT-base | ||||
| AO | ViT-base | ViT-small | |||
| ViT-small | ViT-base |
| Hyperparameter | Retrieval | Zero-shot stitching |
|---|---|---|
| Random seed | 0 , 1 , 2 , 3 , 4 | 0 , 1 , 2 , 3 , 4 |
| Number of anchors to approximate | 300 | 300 |
| Number of seed anchors | 15 | 15 |
| Number of optimization steps | 250 | 125 |
| Learning Rate | 0.02 | 0.05 |
| Optimizer | Adam | Adam |
| GT | Seed | AO | |||||
|---|---|---|---|---|---|---|---|
| Dec. | Enc. | Fscore | MAE | Fscore | MAE | Fscore | MAE |
| en | es | 0.51 0.01 | 0.67 0.02 | 0.44 0.01 | 0.80 0.01 | 0.48 0.01 | 0.70 0.02 |
| es | en | 0.50 0.02 | 0.72 0.04 | 0.41 0.01 | 0.92 0.02 | 0.46 0.01 | 0.76 0.02 |
| Method | Dataset size | ImageNet | CIFAR-100 | Pets | ImageNet v2 |
|---|---|---|---|---|---|
| CLIP ( Radford et al., 2021 ) | 400M (private) | 68.6 | 68.7 | 88.9 | - |
| CLIP ( Radford et al., 2021 ) | 15M (public) | 31.3 | - | - | - |
| LiT ( Zhai et al., 2022 ) | 10M (public) | 66.9 | - | - | - |
| CLIP † | 901M (private) | 50.6 | 47.9 | 70.3 | 43.3 |
| LiT ( Zhai et al., 2022 ) | 901M (private) | 70.1 | 70.9 | 88.1 | 61.7 |
| ASIF (sup vis. encoder) | 1.6M (public) | 60.9 ∗ | 50.2 | 81.5 | 52.2 |
| Controller | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Visual Variations (standard task) | Task Variations (green) | ||||||||
| green | red | blue | slow | scrambled | no idle | ||||
| Encoder | green | S. Abs | 175 304 | 167 226 | 79 | 148 328 | 106 217 | 213 201 | |
| S. R3L | 781 108 | 787 62 | 794 61 | 268 14 | 781 126 | 824 82 | |||
| red | S. Abs | 157 248 | 43 205 | 22 112 | 83 191 | 138 244 | 252 228 | ||
| S. R3L | 810 52 | 776 92 | 803 58 | 476 430 | 790 72 | 817 69 | |||
| V1 | V2 | V3 | V4 | |
|---|---|---|---|---|
| T1 | 3h | 3h | 3h | 3h |
| T2 | 4h | 4h | 4h | 4h |
| T3 | 3h | 3h | 3h | 3h |
| T4 | 3h | 3h | 3h | 3h |
| Enc. | Dec. | Absolute | XLM-R | IRP |
|---|---|---|---|---|
| en | en | 1.00 | 1.00 | 0.97 |
| es | en | 0.00 | 0.99 | 0.97 |
| fr | en | -0.02 | 0.99 | 0.97 |
| ja | en | 0.03 | 0.99 | 0.97 |
| Accuracy | |||||||
| zero-shot | absolute | non-stitch | available | ||||
| Vision | \gls mnist | 8 | 0.65 | 20 | |||
| \gls fmnist | 8 | 0.65 | 20 | ||||
| \gls cifart | 8 | 0.75 | 20 | ||||
| \gls cifarh (coarse) | 8 | 0.70 | 20 | ||||
| \gls cifarh (fine) | 8 | 0.75 | 20 | ||||
| Dataset | no-stitch | absolute | relative | affine | linear | l-ortho | ortho | |
|---|---|---|---|---|---|---|---|---|
| Vision | \gls cifart | |||||||
| \gls cifarh- C | ||||||||
| \gls cifarh- F | ||||||||
| \gls fmnist | ||||||||
| \gls mnist | ||||||||
| Text | \gls trec |
| Dataset | no-stitch | absolute | relative | affine | linear | l-ortho | ortho | |
|---|---|---|---|---|---|---|---|---|
| Vision | \gls cifart | |||||||
| \gls cifarh- C | ||||||||
| \gls cifarh- F | ||||||||
| \gls fmnist | ||||||||
| \gls mnist | ||||||||
| Text | \gls trec |
| \gls mnist | \gls fmnist | \gls cifart | \gls cifarh | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lcos | lmse | rmse | lcos | lmse | rmse | lcos | lmse | rmse | lcos | lmse | rmse | |
| absolute | 0.09 | 0.27 | 0.14 | 0.17 | 0.23 | 0.23 | 0.30 | 0.29 | 0.34 | 0.34 | 0.53 | 0.40 |
| affine | 0.94 | 0.08 | 0.02 | 0.94 | 0.06 | 0.03 | 0.96 | 0.03 | 0.05 | 0.96 | 0.04 | 0.05 |
| linear | 0.92 | 0.09 | 0.02 | 0.93 | 0.07 | 0.04 | 0.94 | 0.03 | 0.05 | 0.94 | 0.04 | 0.06 |
| l-ortho | 0.79 | 0.14 | 0.02 | 0.78 | 0.12 | 0.05 | 0.85 | 0.05 | 0.06 | 0.84 | 0.07 | 0.07 |
| ortho | 0.90 | 0.10 | 0.02 | 0.90 | 0.08 | 0.04 | 0.94 | 0.03 | 0.06 | 0.93 | 0.04 | 0.06 |
| BLIP-L | OpenCLIP-L | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dataset | U | U|T | S | R | H | B | O | U | U|T | S | R | H | B | O |
| CIFAR-10 | 0.94 | 0.94 | 0.93 | 0.56 | 0.93 | 0.94 | 0.96 | 0.96 | 0.96 | 0.96 | 0.59 | 0.94 | 0.97 | 0.98 |
| CIFAR-100 | 0.70 | 0.71 | 0.72 | 0.33 | 0.69 | 0.71 | 0.75 | 0.80 | 0.78 | 0.79 | 0.38 | 0.76 | 0.82 | 0.84 |
| Cars | 0.67 | 0.68 | 0.71 | 0.27 | 0.66 | 0.72 | 0.77 | 0.92 | 0.92 | 0.93 | 0.39 | 0.89 | 0.93 | 0.93 |
| DTD | 0.52 | 0.54 | 0.54 | 0.27 | 0.50 | 0.55 | 0.61 | 0.59 | 0.59 | 0.59 | 0.29 | 0.54 | 0.63 | 0.69 |
| EuroSAT | 0.49 | 0.53 | 0.53 | 0.24 | 0.37 | 0.50 | 0.92 | 0.64 | 0.64 | 0.67 | 0.34 | 0.55 | 0.64 | 0.95 |
| BLIP-L | CLIP-L | OpenCLIP-L | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dataset | Lin | RD | RD ∗ | RD Y | Lin | RD | RD ∗ | RD Y | Lin | RD | RD ∗ | RD Y |
| CIFAR-10 | 0.97 | 0.97 | 0.97 | 0.96 | 0.97 | 0.98 | 0.98 | 0.97 | 0.98 | 0.98 | 0.98 | 0.98 |
| CIFAR-100 | 0.82 | 0.83 | 0.81 | 0.74 | 0.85 | 0.86 | 0.85 | 0.80 | 0.88 | 0.88 | 0.87 | 0.85 |
| DTD | 0.79 | 0.77 | 0.76 | 0.58 | 0.81 | 0.80 | 0.79 | 0.63 | 0.84 | 0.84 | 0.83 | 0.69 |
| EuroSAT | 0.95 | 0.98 | 0.98 | 0.83 | 0.97 | 0.99 | 0.98 | 0.95 | 0.97 | 0.98 | 0.98 | 0.94 |
| GTSRB | 0.87 | 0.87 | 0.84 | 0.59 | 0.92 | 0.92 | 0.92 | 0.77 | 0.94 | 0.92 | 0.92 | 0.78 |
| L18.H27 (“Politics”) | L24.H20 (“Nationality”) | L25.H14 (“Months”) | L30.H28 (“Numbers”) |
|---|---|---|---|
| COVID | British | December | 9 |
| Soviet | American | July | 1 |
| Obama | European | April | 3 |
| Biden | German | October | 7 |
| Clinton | English | February | five |
| L18.H27 (“Politics”) | L24.H20 (“Nationality”) | L25.H14 (“Months”) | L30.H28 (“Numbers”) |
|---|---|---|---|
| vaccine | American | Sunday | 8 |
| Covid | Americans | breakfast | u |
| pandemic | California | Oct | u |
| COVID | America | October | n |
| Soviet | American | February | 9 |
| 8 heads | 16 heads | 32 heads | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Dataset | SOMP | LL | Rand. | SOMP | LL | Rand. | SOMP | LL | Rand. |
| RTP | 0.83 | 0.67 | 0.66 | ||||||
| TET | 0.81 | 0.68 | 0.49 | ||||||
| Model | Method | #Params | Tox | Tox | PPL WIK | MMLU |
|---|---|---|---|---|---|---|
| Qwen2.5-1.5B | None | - | 3.00_{\color[rgb]{0.5,0.5,0.5}{\,0.54}} | 23.09_{\color[rgb]{0.5,0.5,0.5}{\,0.67}} | 13.67_{\color[rgb]{0.5,0.5,0.5}{\,0.00}} | 60.95_{\color[rgb]{0.5,0.5,0.5}{\,0.00}} |
| LoFIT-RL | 0.86M | 0.37_{\color[rgb]{0.5,0.5,0.5}{\,0.06}} | 4.36_{\color[rgb]{0.5,0.5,0.5}{\,0.00}} | 14.12_{\color[rgb]{0.5,0.5,0.5}{\,0.07}} | 59.74_{\color[rgb]{0.5,0.5,0.5}{\,0.14}} | |
| Prompt | - | 4.07_{\color[rgb]{0.5,0.5,0.5}{\,0.38}} | 21.02_{\color[rgb]{0.5,0.5,0.5}{\,1.44}} | 13.65_{\color[rgb]{0.5,0.5,0.5}{\,0.00}} | 60.96_{\color[rgb]{0.5,0.5,0.5}{\,0.00}} | |
| Chinese Astron. Astrophys. ⋆ | 0.043M | 1.15_{\color[rgb]{0.5,0.5,0.5}{\,0.37}} | 5.77_{\color[rgb]{0.5,0.5,0.5}{\,2.14}} | {\color[rgb]{1,0,0}19.30}_{\color[rgb]{0.5,0.5,0.5}{\,2.76}} | {\color[rgb]{1,0,0}37.67}_{\color[rgb]{0.5,0.5,0.5}{\,6.95}} | |
| ReFT ⋆ | 0.39M | 2.57_{\color[rgb]{0.5,0.5,0.5}{\,0.60}} | 18.17_{\color[rgb]{0.5,0.5,0.5}{\,3.04}} | 15.58_{\color[rgb]{0.5,0.5,0.5}{\,0.52}} | 58.84_{\color[rgb]{0.5,0.5,0.5}{\,0.23}} | |
| ITI | 0.043M | 1.87_{\color[rgb]{0.5,0.5,0.5}{\,0.21}} | 18.16_{\color[rgb]{0.5,0.5,0.5}{\,0.62}} | 12.39_{\color[rgb]{0.5,0.5,0.5}{\,0.09}} | 60.88_{\color[rgb]{0.5,0.5,0.5}{\,0.08}} |
| Intervened Layers | # Modules | IMGScore | CLIPScore |
|---|---|---|---|
| unet - all layer norms | 256 | ||
| unet.transformer - all FeedForward | 70 | ||
| unet attentions - K and Q projections | 280 | ||
| unet attentions - V projections | 140 | ||
| unet attentions - in projections | 11 | ||
| unet.resnet - all layer norms | 34 |
Neural Representation Geometry
Neural representation geometry studies how learned features are arranged and how that structure relates to model behavior and performance.
See all 256 papers