MATH · IN · MODELS
structures / Manifolds / Attribute-Induced Embedding Folding

Attribute-Induced Embedding Folding

TOOLoperatornonlinearvectorattribute-indexed tangent vector field, pushed forward through the embedding map; invariance measured as a local alignment energyintermediatehow it's classified →

A continuous, attribute-indexed vector field on an embedding manifold — the pushforward through the embedding map of an attribute's local one-parameter variation. A model achieves invariance to an attribute not by ignoring it but by nonlinearly folding/contracting the space along this field; the amount of folding (an 'invariance energy') is a per-attribute, per-architecture quantity, not a fixed geometric constant.

Replicationcomputed from the corpus — never hand-assigned
1 paper1 architecture class1 domain1 model family
Filled = two or more values reported by papers that share no author — replication. Outlined = two or more values, but all from a single study — breadth, not replication. Grey = a single value. Derived from paper authorship and each model's architecture class, domain and family; it updates itself when a paper is added.

Definition

Let ff be an embedding map and αa,t\alpha_{a,t} a one-parameter family of input transformations along attribute aa (e.g. tt = amount of hair-colour shift), with αa,0\alpha_{a,0} the identity. Define the attribute vector field

v~a(e)=ddtt=0fαa,t(x),va(e)=v~a(e)v~a(e)\tilde v_a(e) = \left.\frac{d}{dt}\right|_{t=0} f\circ\alpha_{a,t}(x), \qquad v_a(e) = \frac{\tilde v_a(e)}{\lVert \tilde v_a(e)\rVert}

at each embedding point e=f(x)e=f(x) — the (normalized) direction in which ee moves under an infinitesimal push along attribute aa. Local invariance energy at ee over a neighbourhood radius ε\varepsilon is then

Ea(ε)=Ee,e:ee<ε[1va(e)va(e)]\mathcal{E}_{a}(\varepsilon) = \mathbb{E}_{e,e' : \lVert e-e'\rVert<\varepsilon}\big[\,1 - v_a(e)^\top v_a(e')\,\big]

— explicitly analogous to the Hamiltonian of an nn-vector spin model, where vav_a plays the role of a local spin: low Ea\mathcal{E}_a means the attribute-induced direction stays coherently aligned across a neighbourhood (an “ordered” local field), high Ea\mathcal{E}_a means it varies erratically (a “disordered” one).

Intuition

A model made invariant to an attribute does not, in general, simply project that attribute’s information away or ignore it in a linear sense — it can instead achieve invariance by nonlinearly warping the space so that the attribute’s effect on the embedding is compressed or twisted rather than removed, “folding and distorting the space” (the paper’s own phrase) much like crumpling a sheet of paper contracts one direction more than others without deleting any point. The invariance energy quantifies exactly how coherent that fold is: a smooth, consistent fold across a neighbourhood gives low energy; an irregular one gives high energy, even for the same nominal degree of invariance measured by the model’s task accuracy.

Relative to manifold-curvature-profile

This is a directional, attribute-driven deformation field, not an intrinsic or extrinsic curvature scalar: Curvature profile of the representation manifold asks “how curved is the manifold at this point, independent of any labeled direction,” while attribute-induced folding asks “how does moving along one specific labeled attribute direction locally behave, and is that behaviour coherent across the space.” The two are compatible and could in principle be computed on the same embedding, but they are different quantities — a manifold could have uniform curvature everywhere while still folding erratically along a particular attribute’s direction, or vice versa.

Key evidence

A two-scale point-cloud structure in face-recognition embedding spaces — coarse inter-identity relations and fine intra-identity attribute-folding — is measurably shaped by interpretable attributes, with the degree of attribute-dependence differing between architectures. Leroy, Mastropietro, Nurisso & Vaccarino (2025) study FaceNet, ArcFace, and AdaFace face-embedding spaces at two explicitly distinct scales: macroscale (how attributes like hair colour or contrast relate different identities’ point clouds to each other, measured via a Kolmogorov-Smirnov statistic KSaKS_a on intra- vs. inter-modality distance distributions — explicitly not discrete sub-clusters, unlike identity itself) and microscale (the attribute vector field and invariance energy defined above, measuring folding within a single identity’s point cloud). FaceNet shows systematically higher KSaKS_a (steeper macroscale attribute-identity dependency) and significantly lower invariance energy across all attributes and scales (less coherent, more irregular folding) than ArcFace and AdaFace, and attribute-specific fine-tuning measurably raises the invariance-energy score for the fine-tuned attribute specifically. No formal named topological object (no stratified manifold, no fiber bundle) is claimed — the multiscale structure is an empirical, physics-inspired measurement framework built directly on point clouds, pairwise distances, and this tangent vector field. See face-recognition-embedding-spaces-show-multiscale-attribute-dependent-structure-differing-between-facenet-and-arcface.

Key papers

  • Leroy, Mastropietro, Nurisso & Vaccarino (2025). Attributes Shape the Embedding Space of Face Recognition Models. arXiv:2507.11372 — origin of the attribute vector field and invariance-energy construction above.

Found in (1 observation · 1 family)

ResNet

Attributes Shape the Embedding Space of Face Recognition Models (2025)measured

A multiscale (macroscale identity-cloud, microscale intra-identity) geometric structure in face-recognition embedding spaces is measurably shaped by interpretable attributes, with FaceNet showing stronger attribute-dependence than ArcFace

Details

Leroy, Mastropietro, Nurisso & Vaccarino (2025) identify a multiscale geometric structure in FaceNet and ArcFace embedding spaces: a macroscale organization of inter-identity point-cloud relations, and a microscale organization within each identity's own point cloud. Both scales are shown to be shaped by interpretable attributes (e.g. hair color, image contrast) via a physics-inspired "invariance energy" alignment metric applied to real pretrained face-recognition models and to fine-tuned variants trained with controlled attribute augmentation. FaceNet shows a higher structural dependency of inter-identity relations on attributes than ArcFace, and fine-tuning on a given attribute measurably increases that model's invariance-metric score specifically for the trained attribute. See [[attribute-induced-embedding-folding]].

models: FaceNet, ArcFace ResNet100 (trained on MS1MV3/IBUG-500K) · method: