Papers
Topics
Authors
Recent
Search
2000 character limit reached

Tri-Factor Disentanglement in Latent Representations

Updated 17 December 2025
  • Tri-factor disentanglement is the process of decomposing sequential data into two distinct static factors and one dynamic factor, enabling unsupervised learning of independent generative sources.
  • The methodology utilizes a Structured Koopman Autoencoder that applies linear latent dynamics and a spectral loss to enforce clear separation between static and dynamic components.
  • Quantitative evaluations on benchmarks, such as Sprite and MUG, demonstrate high accuracy in factor isolation and robust disentanglement performance.

Tri-factor disentanglement refers to the decomposition of observed sequential data, such as video frames, into three or more mutually independent semantic components in a latent representation: typically, two distinct static factors (static₁, static₂) and one dynamic factor. This methodology generalizes beyond the conventional dichotomy of static versus dynamic representations and enables unsupervised and interpretable modeling of complex datasets comprising multiple latent generative sources. The Structured Koopman Autoencoder framework provides the first fully unsupervised approach for such multifactor disentanglement by introducing a strong inductive bias in the form of linearly-evolving latent dynamics, operationalized through the Koopman operator perspective (Berman et al., 2023).

1. Latent Representation Organization

In tri-factor disentanglement using Structured Koopman Autoencoders, a video sequence or time series of length TT with frames in Rm\mathbb{R}^m is encoded via a deep encoder χenc\chi_{\text{enc}} to yield a latent tensor ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}, where bb is batch size and kk is total latent dimensionality. The kk-dimensional latent code at time jj, zjz_j, is explicitly partitioned as a concatenation: zj=[zj(s1)zj(s2)zj(d)]z_j = [ z_j^{(s_1)} \mid z_j^{(s_2)} \mid z_j^{(d)} ] with Rm\mathbb{R}^m0, Rm\mathbb{R}^m1, and Rm\mathbb{R}^m2, where Rm\mathbb{R}^m3. In the Sprite benchmark, Rm\mathbb{R}^m4 is used with Rm\mathbb{R}^m5 static dimensions and Rm\mathbb{R}^m6 dynamic dimensions. For explicit tri-factorization, subsets such as Rm\mathbb{R}^m7 and Rm\mathbb{R}^m8 are assigned for distinct static factors, and the remainder for dynamics.

2. Koopman Latent Dynamics and Linearization Assumption

A foundational assumption is that, in the latent embedding, frame-to-frame evolution adheres to linear dynamics as prescribed by Koopman theory. Specifically, there exists a matrix Rm\mathbb{R}^m9 such that

χenc\chi_{\text{enc}}0

where χenc\chi_{\text{enc}}1 is the latent code at timestep χenc\chi_{\text{enc}}2. This χenc\chi_{\text{enc}}3 is computed for each batch via least-squares minimization. Defining χenc\chi_{\text{enc}}4 (χenc\chi_{\text{enc}}5) as the stack of all “past” latents and χenc\chi_{\text{enc}}6 as all “future” ones, χenc\chi_{\text{enc}}7 is obtained by

χenc\chi_{\text{enc}}8

where χenc\chi_{\text{enc}}9 denotes the pseudoinverse. This enables the dynamics and statics in the latent space to be distinguished structurally via the spectral content of ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}0.

3. Spectral Loss and Factor Decomposition

To enforce separation between static and dynamic latent factors, a spectral penalty is imposed on the eigenvalues ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}1 of ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}2. Eigenvalues with ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}3 correspond to static directions (no change across time), while ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}4 identifies dynamic modes. Letting the first ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}5 eigenvalues index static latent subspaces and the final ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}6 index dynamics, the loss has the structure: ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}7

ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}8

ZRb×(T+1)×kZ \in \mathbb{R}^{b \times (T+1) \times k}9

with bb0, and bb1 controlling the annular gap around bb2 to force clear spectral separation. This design creates two disjoint subspaces in the spectrum of bb3, corresponding precisely to static (clustered at bb4) and dynamic (separated by margin bb5) factors.

4. Model and Training Procedure

The architecture consists of a deep convolutional encoder, differentiable Koopman module, and LSTM-based decoder. The encoder applies five strided convolutional layers (kernel size 4, stride 2, progressively increasing channels) each followed by BatchNorm and LeakyReLU, producing features that are mapped via a unidirectional LSTM to yield temporal codes. The Koopman module computes bb6 using batchwise SVD-based pseudoinverse of latent codes. Decoding is performed by an LSTM followed by five transposed convolutional layers, producing pixel outputs with a final sigmoid activation.

Three losses are optimized jointly:

  • Reconstruction loss: bb7
  • Prediction (dynamics) loss: bb8
  • Spectral loss: bb9 as above

The total objective is

kk0

Empirically, kk1, kk2, kk3, and kk4 yield effective disentanglement after kk5800 epochs with Adam optimization (learning rate kk6). No additional regularization beyond the spectral term is needed, though small Gaussian noise or blur may be added to kk7 to regularize kk8.

5. Post-hoc Identification and Swapping of Latent Factors

After training, kk9 is eigendecomposed as kk0, producing kk1 eigenvectors kk2. Any latent code kk3 can be written as

kk4

where kk5 are projections onto dual eigenvectors. To empirically identify and validate the semantic content of static₁ and static₂, the static subspace (kk6 dimensions) is partitioned into index sets kk7 (static₁) and kk8 (static₂) by inspecting which eigensubsets control specific factors (e.g., hair color vs. skin color). This can be automated via classifier-driven subset selection or performed manually for low-dimensional statics.

Under factorial swap, for any two sequences kk9: jj0 which, after decoding, yields a sequence with static₁ taken from jj1 and static₂/dynamics preserved from jj2. The isolation of factors is quantitatively measured using pretrained classifiers (e.g., hair-swap accuracy), yielding jj3 static₁ accuracy with other factors at chance, as well as visualization via t-SNE embeddings which produce sharply separated jj4 grids corresponding to all factor combinations.

6. Quantitative and Qualitative Evaluation

The proposed model’s tri-factor disentanglement is validated on the Sprites dataset through several means:

Methodology Metric Observed Result
Hair swap accuracy Top-1 (judge network) 90.59%
Skin/motion after swap Top-1 (judge network) jj516% (chance)
Two-factor benchmark Static accuracy (Sprites) 100%
Two-factor benchmark Inception/inter-entropy (Sprites) Best-in-class
Two-factor benchmark Static accuracy (MUG) jj6
Two-factor benchmark Intra-entropy (MUG) Best-in-class

Latent-space visualization confirms clear combinatorial clustering, indicating that the three factors are indeed disentangled.

7. Significance, Limitations, and Outlook

Tri-factor disentanglement with Structured Koopman Autoencoders operates fully unsupervised, requiring no labels, paired data, or contrastive losses—relying solely on the inductive bias that the sequence's true generative dynamics are linearizable in an appropriate latent space. The spectral penalty on the latent Koopman operator's eigenspectrum enables arbitrary multi-factor decomposition by simply allocating eigenvalue blocks for static versus dynamic factors and partitioning the static block post hoc. This approach accommodates extension to more than three factors and outperforms prior art on both qualitative and quantitative disentanglement benchmarks in unsupervised settings. A plausible implication is that linearly-structured representation learning may obviate the need for supervision in separating even complex, high-arity factor combinations—provided the basic linearization assumption is valid for the target dataset (Berman et al., 2023).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Tri-factor Disentanglement.