In traditional machine learning, we often represent a dataset as a single matrix where rows represent samples and columns represent features. Standard matrix factorization techniques, like Singular Value Decomposition (SVD) or Non-negative Matrix Factorization (NMF), break this matrix down into low-rank components to uncover hidden, latent structures.
But real-world data rarely fits into a single neat table. Consider a biomedical dataset containing interactions between users and movies, movies and genres, and users and demographic profiles. If you factorize each of these matrices independently, the latent space learned for "movies" in the rating matrix will have absolutely no alignment with the latent space learned for "movies" in the genre matrix. Alternatively, if you concatenate them into a single giant matrix, you introduce massive sparsity, force disparate data types into the same scale, and lose the distinct structural boundaries of each relation.
Shared latent space decomposition solves this alignment problem by factorizing multiple related matrices or tensors simultaneously while forcing them to share latent factor matrices for common entity types.
The Core Mechanism: Tying Latent Dimensions
Collective Matrix Factorization (CMF), introduced by Singh et al., provides a unified approach to relational learning by tying latent parameters together.
Imagine two distinct matrices, $X_1$ (representing relationships between entity type $A$ and entity type $B$) and $X_2$ (representing relationships between entity type $B$ and entity type $C$). Instead of finding independent low-rank approximations, we decompose them simultaneously:
$$X_1 \approx U_A V_B^T$$ $$X_2 \approx V_B W_C^T$$
Crucially, the matrix $V_B$ is exactly the same in both equations. This shared component acts as an information bridge. Any structural pattern learned about entity $B$ from its interactions in $X_1$ automatically propagates to constrain and guide the representation of $B$ in $X_2$. As Singh et al. demonstrated, this simultaneous factorization consistently outperforms single-matrix approaches by capturing correlations across different relational schemas.
Matrix X1 (A x B) Matrix X2 (B x C)
+-----------+ +-----------+
| | | |
| | | |
+-----------+ +-----------+
| |
v v
[Low-Rank Factor UA] [Shared Factor VB] [Low-Rank Factor WC]
+-----------+ +-----------+ +-----------+
| | | | | |
+-----------+ +-----------+ +-----------+
To make this optimization mathematically elegant and guarantee a global optimum, Bouchard proposed organizing these multiple relational tables into a single, massive symmetric block matrix where each sub-block represents a specific interaction between entity types. By defining a "collective nuclear norm" over this block structure, the traditionally non-convex problem of joint factorization is relaxed into a convex one, enabling highly scalable optimization.
Expanding the Architecture: Tri-Factorization and Tensors
Depending on the structure of the data, simple two-factor decomposition ($U V^T$) might not be expressive enough to capture the underlying geometry. Researchers have extended the shared latent space concept into more sophisticated architectures:
Matrix Tri-Factorization
Instead of just decomposing a matrix into two parts, tri-factorization introduces a central association matrix ($X \approx U S V^T$). Here, $U$ and $V$ represent low-rank latent factors or cluster assignments for rows and columns, while $S$ captures the specific interactions between those clusters.
This architecture can be leveraged in two distinct ways:
- Sharing the Association Matrix: Wang et al. utilized collective matrix tri-factorization for domain adaptation by sharing the central association matrix $S$ across source and target domains. This shared component isolates and captures the underlying relationships between feature clusters and example classes that remain invariant across different domains.
- Sharing the Entity Matrices: Conversely, Zitnik et al. designed a data fusion framework where the entity factor matrices ($U$ and $V$) are shared across multiple heterogeneous relation matrices. This forces the model to learn a consistent latent representation of entities across disparate data sources without requiring a "data cleaning tax." For unsupervised feature selection, Zhao et al. utilized a tri-factorization framework to simultaneously learn latent representations for both samples and features, capturing their reciprocal relationships to enable a more compact co-clustering of the data.
Tensor Decompositions
When data involves multi-way interactions (such as Subject-Predicate-Object or User-Hashtag-Time), matrices are replaced by higher-dimensional tensors. Nickel et al. introduced RESCAL, a three-way tensor factorization model that factorizes each relational slice into a product of a shared entity-latent matrix and a relation-specific interaction matrix. By using the exact same latent representation for an entity regardless of whether it acts as a subject or an object, the model captures complex, cascading dependencies across a network.
Similarly, Araújo et al. developed a framework that couples multiple tensors along shared dimensions (such as user and time) to forecast time-evolving networks by fusing primary interactions with contextual social graphs.
Why It Works: Cross-Domain Alignment and Knowledge Transfer
The primary reason shared latent space decomposition works so well is its ability to perform cross-domain alignment. When dealing with heterogeneous data, direct comparisons are often impossible because the features or vocabularies do not overlap.
For instance, in domain adaptation for sentiment analysis, an electronics review might use the word "durable," while a book review uses "engaging." Zhou et al. solved this by identifying "pivots"—features that carry similar sentiment across both domains—and using joint non-negative matrix factorization to map domain-specific vocabularies into a unified latent space. This simultaneous decomposition allows for the identification of universal structures while isolating features unique to each individual domain.
When direct associations are entirely missing, joint matrix factorization can still find hidden links. Yang et al. showed that decomposing multiple association matrices into low-rank latent representations allows for the comparison of multi-typed objects in a shared space, effectively bridging unassociated entities.
This cross-domain propagation is also highly effective for multi-view, multi-instance, multi-label learning, where Xing et al. used collaborative matrix factorization to capture dependencies across different interaction matrices while selectively filtering out noisy data views. In urban planning and population tracking, the authors demonstrated that decomposing data from multiple distinct domains into domain-specific matrices and a single shared consistency matrix successfully captures underlying patterns common to all domains.
Robustness and Real-World Applications
Because real-world relational data is notoriously noisy, standard factorization objectives (like the squared Frobenius norm) can easily be skewed by outliers. To combat this, Liu et al. introduced an $\ell_1$-norm symmetric non-negative matrix tri-factorization framework, swapping the squared error for an $\ell_1$-norm to make multi-relational co-clustering highly resilient to anomalies.
This robustness has made shared latent space decomposition a cornerstone in several complex domains:
- Biomedicine: Analyzing a single gene expression dataset often misses subtle drug dosage effects. Lee et al. demonstrated that forcing a shared sample structure across multiple large-scale gene expression datasets isolates source-specific features while maintaining a unified representation, revealing critical toxicological insights. For predicting drug-target-disease interactions, Zitnik et al. optimized multi-relational tensor decompositions directly for pairwise ranking, ensuring true relationships are prioritized over non-existent ones.
- Natural Language Processing: To improve word classification, Aga et al. forced distributional data (contextual usage) and lexical data (structured knowledge from WordNet) to share the same latent space, seamlessly blending statistical context with formal semantics.
- Entity Relatedness: Sun et al. treated entity relatedness as a joint matrix completion problem involving multiple association matrices for links, taxonomy, and content, ensuring that the inner products of latent vectors across these matrices approximate the observed relationships simultaneously.
- Network Anomaly Detection: In heterogeneous information networks, Gupta et al. used joint matrix factorization to decompose community membership matrices across multiple node types, allowing them to identify "community distribution outliers"—objects that exhibit highly unusual combinations of group memberships.
Key Foundational Work
JAM: Joint Action Matrix Factorization for Summarizing a Temporal Heterogeneous Social Network (2009) — contributed 1 concept elements to this direction.
Relational learning via collective matrix factorization (2008) — contributed 1 concept elements to this direction.