NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semantic Vector Arithmetic in 3D Latent Spaces

23 concepts19 papers1 proposal

Modifying a 3D object—whether it is a mesh, a point cloud, or a volumetric grid—is traditionally a tedious geometric task. If you want to add armrests to a 3D model of a chair, you cannot simply click a button; you must manually model the new geometry, align it, and stitch the vertices together while ensuring the final mesh remains physically plausible.

This difficulty stems from the fact that raw 3D representations are discrete, irregular, and highly non-linear. However, a powerful paradigm shift has emerged: by training deep generative models to compress 3D shapes into continuous, low-dimensional latent spaces, complex geometric modifications can be reduced to simple vector arithmetic. In these learned spaces, moving along a straight line can seamlessly add an armrest, lengthen a garment's sleeve, or morph a sedan into an airplane.

Why Latent Spaces Become Linear

To understand why vector arithmetic works, we must look at how generative networks are forced to organize information. When an autoencoder or a Generative Adversarial Network (GAN) is trained on a large collection of 3D objects, its goal is to compress a high-dimensional shape into a compact vector (the latent code) and then reconstruct it perfectly.

To minimize reconstruction error across a highly diverse dataset, the network cannot afford to scatter shapes randomly throughout the latent space. Instead, it must discover the underlying factors of variation—the shared geometric rules that govern the dataset. The network naturally maps continuous variations in physical geometry to continuous trajectories in the latent space.

Early foundational work by Jiajun Wu et al. in Learning a Probabilistic Latent Space of Object Shapes via 3D Generative-Adversarial Modeling demonstrated that a 3D GAN learns an unsupervised, semantically structured latent space. The authors discovered that specific directions in this space correspond directly to geometric transformations or the addition of object parts. Similarly, the TL-embedding network introduced by Rohit Girdhar et al. in Learning a Predictable and Generative Vector Representation for Objects showed that forcing a unified embedding space to bridge 2D images and 3D voxels yields a smooth, continuous geometry space where intermediate points represent physically plausible structures.

Because the space is continuous and smooth, the relationships between attributes become linear. If the latent space has successfully disentangled "chair-ness" from "has armrests," then the presence of armrests becomes a directional vector that can be applied universally.

The Mechanics of Shape Arithmetic

The mathematical formulation of this concept is strikingly simple and mirrors the famous word embedding analogy ($\vec{v}_{\text{king}} - \vec{v}_{\text{man}} + \vec{v}_{\text{woman}} = \vec{v}_{\text{queen}}$). In 3D shape arithmetic, if you take the latent vector of a chair with armrests ($\vec{z}_{\text{armchair}}$) and subtract the vector of a standard chair ($\vec{z}_{\text{chair}}$), you isolate the semantic concept of "armrest" as a displacement vector:

$$\vec{\Delta} = \vec{z}_{\text{armchair}} - \vec{z}_{\text{chair}}$$

Adding $\vec{\Delta}$ to the latent vector of a completely different object, such as a sleek modern stool, yields a new latent vector. When passed through the network's decoder, this vector synthesizes a stool modified with matching armrests.

[ Latent Code A: Chair with Arms ]  ───  [ Latent Code B: Plain Chair ]
                                      │
                                      ▼
                           Vector Δ = "Add Armrests"
                                      │
                                      ▼
[ Latent Code C: Plain Stool ]  ──────┴───►  [ Latent Code D: Stool with Arms ]

This linear property holds true across various 3D modalities:

Even when operating with 2D-centric architectures, this 3D linearity can be exploited. Alara Dirik et al. developed XDGAN: Multi-Modal 3D Shape Generation in 2D Space, which represents 3D meshes as 2D "geometry images." By identifying linear directions within a StyleGAN3 latent space, they achieved real-time modification of 3D features like shape proportions and stylistic traits.

Smooth Interpolation and Topological Flexibility

A major challenge in traditional 3D modeling is morphing one shape into another when they have different topologies—for instance, transforming a solid sphere into a torus (a donut shape with a hole). In a discrete mesh representation, this requires tearing the surface and re-indexing vertices.

Latent space arithmetic bypasses this entirely through interpolation. Because the latent space is continuous, taking a weighted average of two latent codes ($\vec{z}_{\text{interp}} = (1-t)\vec{z}_A + t\vec{z}_B$) maps a smooth path through the space.

When decoding along this path, the network synthesizes intermediate geometries that gracefully transition between disparate topologies. Matthias Fey leveraged this property in Adversarial Generation of Continuous Implicit Shape Representations by training GANs to output continuous Signed Distance Functions (SDFs). Moving through this implicit latent space allows thin structures (like airplane tails or chair legs) to materialize or dissolve smoothly without topological breaking points.

Similarly, Kaizhi Yang et al. showed in Unsupervised Learning for Cuboid Shape Abstraction via Joint Segmentation from Point Clouds that a variational framework can smoothly interpolate between primitive-based designs, maintaining structural integrity throughout the transition. To handle shapes that lack consistent mesh connectivity, Sara Hahner et al. introduced Unsupervised Representation Learning for Diverse Deformable Shape Collections, utilizing functional maps to build a shared latent space where vector operations transfer complex deformations across entirely different object categories.

From Global Vectors to Localized Handles

While global vector arithmetic is powerful, it can occasionally suffer from unwanted entanglement—for example, adding armrests might inadvertently alter the shape of the chair's legs. To solve this, recent research focuses on structuring the latent space to provide localized, part-aware control.

One approach is to explicitly decompose the latent space into a hierarchy of parts. In SDM-NET: Deep Generative Network for Structured Deformable Mesh, Lin Gao et al. structured a two-level Variational Autoencoder to jointly encode global structure and local geometry. Because the latent space captures part-level parameters, users can perform arithmetic on a single component while the system automatically maintains global symmetry and structural plausibility. For highly complex topologies like clothing, Xipeng Chen developed Structure-Preserving 3D Garment Modeling with Neural Sewing Machines, which uses hierarchical graphs within a unified latent space to seamlessly transition between different garment types (e.g., turning a skirt into a jumpsuit).

Another strategy involves preserving spatial or point-to-point correspondences during the mapping process. Jaeyeon Kim et al. introduced PointInverter: Point Cloud Reconstruction and Editing via a Generative Model with Shape Priors, which uses a global-to-local latent code refinement. By perturbing only the relevant subset of local latent codes, users can perform localized geometric manipulations without affecting the rest of the shape. Taking this further, Zhaoyang Lyu et al. developed Controllable Mesh Generation Through Sparse Latent Point Diffusion Models (SLIDE), which distributes latent points across a shape's structure. These points act as implicit functional handles, enabling localized geometric interpolation and part-swapping without requiring pre-defined semantic labels.

[ Global Latent Space ] ──────► Modifies entire shape uniformly (e.g., style, scale)
[ Localized Latent Points ] ──► Acts as spatial handles (e.g., stretch backrest only)

For complex, high-frequency geometries like hair, Alessandro Pepe et al. demonstrated in GroomGen: A High-Quality Generative Hair Model Using Hierarchical Latent Representations that a structured frequency-domain latent space allows specific attributes (like bangs or curliness) to be added or removed via vector arithmetic while preserving the intricate details of individual strands.

Compositional and Instruction-Guided Editing

The latest evolution of this research direction moves toward fully compositional and text-guided manipulation. Instead of manually calculating vector offsets, networks can now discover or navigate these linear paths automatically.

In AutoPartGen: Autoregressive 3D Part Generation and Discovery, Minghao Chen et al. leveraged the additive properties of a discrete tokenized latent space. They showed that simply concatenating sets of latent tokens results in the geometric union of the represented surfaces, allowing for compositional object construction and decomposition without specialized architectural changes.

Ultimately, these linear latent spaces can be mapped to natural language instructions. In Shap-Editor: Instruction-guided Latent 3D Editing in Seconds, Minghao Chen et al. trained a feed-forward network to operate directly within the latent space of a 3D generator (Shap-E). By feed-forwarding text instructions into learned transformation vectors, the model applies consistent style or attribute transfers instantly.

By transforming the chaotic, discrete world of 3D geometry into a smooth, linear vector space, latent space arithmetic turns complex modeling challenges into simple operations. The underlying generative network handles the heavy lifting of maintaining physical plausibility, symmetry, and realistic detail, leaving the user free to create through the elegant language of vector addition.

Key Foundational Work

Learning a Probabilistic Latent Space of Object Shapes via 3D Generative-Adversarial Modeling (2016) — contributed 2 concept elements to this direction.
Learning a Predictable and Generative Vector Representation for Objects (2016) — contributed 2 concept elements to this direction.
Learning Representations and Generative Models for 3D Point Clouds (2018) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_latent_space_arithmetic_2aa0da44,
  title = {latent space arithmetic},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/latent-space-arithmetic/rdr_2aa0da4432dc4a13b3bbc426f993cf65},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_latent_space_arithmetic_2aa0da44_v1,
  title = {latent space arithmetic},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/latent-space-arithmetic/rdr_2aa0da4432dc4a13b3bbc426f993cf65/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake