Disentangling Identity from Attributes in Generative Models

456 concepts333 papers1 proposal

When a generative model synthesizes a human face or an object, it compresses a vast web of visual features into a low-dimensional latent vector. In a standard, unconstrained latent space, these features are deeply entangled. If you attempt to alter a single attribute—such as adding a smile or increasing a person's age—the identity of the subject often shifts downstream. The nose changes shape, the jawline alters, and the original person is lost.

To achieve true control, generative frameworks must decouple identity (the invariant structural core of a subject) from attributes (transient or stylistic modifications like expression, pose, lighting, or clothing). Achieving this requires moving beyond simple data fitting to restructuring how networks encode, anchor, and navigate latent spaces.

Architectural Partitioning: Splitting the Bottleneck

The most intuitive way to prevent identity and attributes from tangling is to physically separate them at the architectural level. Instead of forcing a single encoder to map an entire image into a monolithic latent vector, the architecture is split into distinct pipelines.

Input Image ---> [ Identity Encoder ] ---> Identity Vector \
                                                            ---> [ Generator ] ---> Edited Image
Target Style --> [ Attribute Encoder] ---> Attribute Vector /

In Attribute-controlled face photo synthesis from simple line drawing, Qi Guo et al. demonstrate this by partitioning the latent space of a Variational Auto-Encoder (VAE) into two distinct vectors: one for explicit semantic attributes and another for residual stylistic information like lighting and background. Similarly, Zhilin Zheng et al. show in Disentangling Latent Space for VAE by Label Relevant/Irrelevant Dimensions that splitting the latent space into label-relevant (identity) and label-irrelevant (style) components allows a model to swap an identity into a target image while preserving the original pose and background.

This works because it creates an informational bottleneck. By routing specific types of information through designated channels, the generator learns to treat them as independent conditional inputs. For instance, Zhifei Zhang et al. leverage this in Age Progression/Regression by Conditional Adversarial Autoencoder by feeding an identity-preserving latent vector alongside a conditional age label into a generator. Because the generator receives the age explicitly from an external label, it does not need to extract it from—or alter—the core identity vector.

Anchoring Identity with Pre-trained Priors

While splitting the architecture helps, how do we guarantee that the "identity" vector actually isolates identity and remains invariant to style? Modern frameworks solve this by anchoring the identity space using frozen, pre-trained feature extractors that have already learned to ignore transient attributes.

For example, face recognition networks (like ArcFace) are trained on millions of images to output the exact same embedding for a specific person, regardless of their expression, age, or lighting. In Arc2Face: A Foundation Model for ID-Consistent Human Faces, Alexandros Lattas et al. use these pre-trained face recognition embeddings as the primary conditioning signal for a diffusion model. Because the embedding itself is mathematically blind to pose and expression, the generative model is forced to decouple identity from those transient attributes.

A similar strategy applies to text-guided manipulation. In PERSE: Personalized 3D Generative Avatars from A Single Portrait, Hyunsoo Cha et al. condition a 3D avatar latent space using CLIP features to separate identity-specific information from modifiable facial attributes. By anchoring the underlying geometry to an identity-preserving prior, localized visual edits (like adding a beard or changing a hairstyle) can be executed via text prompts without distorting the subject's underlying facial structure.

Geometric Constraints and Latent Trajectories

Even when latent spaces are partitioned, standard training can leave the boundaries between dimensions highly curved and interdependent. If you interpolate along a straight line to increase an attribute like "smile," you may inadvertently drift into regions that alter identity. To fix this, researchers enforce geometric constraints directly on the latent manifold.

One approach is to enforce mathematical orthogonality between different feature vectors. If the vector representing identity and the vector representing an attribute are strictly orthogonal, a change in the attribute coordinate will have zero projection onto the identity coordinate. Ankita Shukla et al. introduce this in PrOSe: Product of Orthogonal Spheres Parameterization for Disentangled Representation Learning, demonstrating that parameterizing latent spaces as a product of orthogonal spheres prevents mutual interference during attribute transfer.

Entangled Space:               Orthogonal Space:
     Identity                       Identity
        ^                              ^
         \  (Drift)                    |
          \                            |
           +---> Attribute             +-------> Attribute

Alternatively, instead of forcing the space to be linear, models can discover non-linear paths that follow the natural geometry of the manifold. In WarpedGANSpace: Finding non-linear RBF paths in GAN latent space, Christos Tzelepis et al. use Radial Basis Functions (RBFs) to warp latent traversal paths. By adapting these paths to the local geometry, they isolate specific properties (like facial expressions) without leaking into unrelated features like identity or background.

Granular and Tokenized Control

Global latent vectors often struggle to isolate highly localized features; changing a lip shape might inadvertently alter the eyes because a single vector governs the entire face. To achieve finer control, recent work shifts from global vector manipulation to granular, tokenized, or channel-wise representations.

In Accurate 3D Face Reconstruction with Facial Component Tokens, Fei Yu introduces a transformer-based framework called TokenFace, which represents distinct facial attributes—such as shape, expression, and lighting—as independent learnable tokens. This structural disentanglement prevents changes in a transient attribute like pose from bleeding into identity-defining structural features.

For image reenactment and editing, operating within the channel-wise style space of a generative network offers similar benefits. Christos Tzelepis et al. demonstrate in StyleMask: Disentangling the Style Space of StyleGAN2 for Neural Face Reenactment that manipulating individual style channels rather than integrated latent vectors allows specific attributes like head pose or expression to be isolated. Because these channels map to highly localized spatial and semantic regions, edits remain contained, leaving the underlying identity completely intact.

History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_identity_attribute_disentanglement_c89eb53f,
  title = {identity-attribute disentanglement},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/identity-attribute-disentanglement/rdr_c89eb53fdb6a4044ababa8afd286a466},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_identity_attribute_disentanglement_c89eb53f_v1,
  title = {identity-attribute disentanglement},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/identity-attribute-disentanglement/rdr_c89eb53fdb6a4044ababa8afd286a466/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake