Global-Local Latent Decomposition

17 concepts13 papers1 proposal

When generative models process complex data, they often struggle to balance broad, overarching structures with fine-grained variations. In a standard flat latent variable model, a single representation vector must encode everything: the general style of a dataset, the specific task constraints, and the unique noise of an individual data point.

This overloading creates a fundamental tension. If the model focuses too heavily on global patterns, it loses the ability to capture instance-specific nuances. If it overfits to local details, it fails to generalize across related tasks or groups.

Global-local latent decomposition resolves this tension by splitting the latent space into a hierarchy. A global latent variable captures task-wide statistics, group-level traits, or shared context across multiple samples. Meanwhile, local latent variables handle instance-specific variations or component-level details. By separating these factors, the model can share knowledge across an entire ensemble while precisely tailoring its predictions to individual data points.

The Generative Mechanism

Instead of treating global and local factors as independent, hierarchical models structure the generative process so that the global context guides or modulates the local variables.

A foundational realization of this approach is found in the work on the "Neural Statistician" by Edwards et al. in Towards a Neural Statistician. The authors introduce a statistic network that pools information across an entire dataset to infer a global context variable. Individual data points are then generated by conditioning local latent variables on this global summary statistic, creating a coherent hierarchical dependency.

[ Data Group / Task Context ] ──> ( Global Latent Variable )
                                           │
                                           ▼
                                ( Local Latent Variables ) ──> [ Individual Data Points ]

Building on this concept, Artés-Rodríguez et al. developed the UG-VAE framework in Unsupervised learning of global factors in deep generative models. Here, the global latent variable directly modulates the parameters of a mixture model prior for the local variables. This allows the global variable to organize local features into distinct, interpretable clusters representing group-level characteristics without requiring explicit labels.

In dialogue systems, a similar hierarchical structure is leveraged by Cai et al. in PCVAE: Generating Prior Context for Dialogue Response Generation, where discrete "prior contexts" act as global switches to guide continuous local variables, preventing the generation of generic responses.

Mitigating Forgetting and Data Scarcity

The separation of global and local factors proves exceptionally powerful in multi-task learning, meta-learning, and continual learning, where data scarcity and interference are persistent challenges.

In Neural Processes (NPs), traditional architectures rely on a single global representation to capture a functional mapping. However, Wang et al. demonstrate in Doubly Stochastic Variational Inference for Neural Processes with Hierarchical Latent Variables that adding auxiliary local latent variables for each target point significantly improves multi-output regression and out-of-distribution detection. The global variable maps the general shape of the function, while the local variables absorb instance-specific noise.

When extending this to multi-task settings, Kim et al. in Multi-Task Processes and Shen et al. in Episodic Multi-Task Learning with Heterogeneous Neural Processes show that a two-level latent structure allows models to effectively transfer knowledge between correlated tasks. The global latent captures shared cross-task correlations, enabling accurate predictions even when a specific task has missing data.

This partitioning also acts as a safeguard against catastrophic forgetting. In NPCL: Neural Processes for Uncertainty-Aware Continual Learning, Jha et al. isolate unique task details within task-specific latent variables while maintaining a shared global variable for common features. This prevents new task updates from overwriting previously learned skills, balancing the transfer of general features with the preservation of task-specific details.

Compositionality and Disentanglement

Real-world data is inherently compositional; complex scenes or systems are built from individual parts influenced by environmental factors. Global-local decomposition provides a natural mathematical framework for parsing these structures.

For instance, Sebag et al. demonstrate in From abstract items to latent spaces to observed data and back: Compositional Variational Auto-Encoder how composite data points can be broken down into a set of local latents for individual components and a single global latent that captures non-linear interactions or external factors affecting the entire ensemble.

Similarly, Sorrenson et al. show in Disentanglement by Nonlinear ICA with General Incompressible-flow Networks (GIN) that volume-preserving networks can automatically partition latent spaces into global factors affecting the entire sample (like stroke thickness in character recognition) and local factors influencing specific regions (like the curvature of a single line segment).

This principle extends to nonstationary physical systems and structured text processing:

Key Foundational Work

Structured Generative Models of Continuous Features for Word Sense Induction (2016) — contributed 1 concept elements to this direction.
Modeling the Relationship among Linguistic Typological Features with Hierarchical Dirichlet Process (2009) — 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_hierarchical_latent_variable_modeling_gl_eb52f0ec,
  title = {hierarchical latent variable modeling (global-local latent decomposition)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hierarchical-latent-variable-modeling-global-local-latent-decomposition/rdr_eb52f0ec08844e7c9cd7a9ae72ab8239},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_hierarchical_latent_variable_modeling_gl_eb52f0ec_v1,
  title = {hierarchical latent variable modeling (global-local latent decomposition)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hierarchical-latent-variable-modeling-global-local-latent-decomposition/rdr_eb52f0ec08844e7c9cd7a9ae72ab8239/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake