Learning the Irreducible Representations of Commutative Lie Groups

Taco Cohen, Max Welling

TL;DR

This paper introduces Toroidal Subgroup Analysis (TSA), a novel probabilistic model for learning disentangled and invariant representations of data by leveraging Lie group theory. TSA offers a principled way to decompose complex data transformations into fundamental components, leading to more robust and interpretable representations, particularly for tasks like image classification.

What Problem Does This Paper Address?

The field of deep learning has achieved remarkable success in learning hierarchical representations of data. However, a precise mathematical understanding of what constitutes a "good" representation, particularly concerning notions like invariance and disentanglement, remains elusive. While invariance (e.g., an object's identity remaining the same despite rotation) is crucial for many tasks, disentangling (separating distinct factors of variation in data, like object identity, position, and lighting) is key to achieving true robustness and interpretability. Existing methods often struggle to precisely define and learn these properties, especially for complex, unobserved transformations. This paper aims to bridge this gap by applying fundamental principles from physics, specifically Weyl's principle related to symmetries, to the problem of representation learning.

Methods

The core of this paper is the Toroidal Subgroup Analysis (TSA) model. TSA is built upon the idea of using commutative Lie groups, specifically maximal tori, to model symmetries in data.

  • Weyl's Principle: The paper borrows a principle from physics that states the elementary components of a system are given by the irreducible representations of its symmetry group. This is applied to data, suggesting that disentangled representations correspond to these irreducible representations.
  • Probabilistic Modeling: TSA models data transformations using a probabilistic framework. For a pair of data points $(x, y)$ related by a transformation $\rho_\phi = W R(\phi) W^T$, where $W$ is an orthogonal matrix and $R(\phi)$ is a block-diagonal rotation matrix representing the Lie group, the model learns the distribution of the transformation parameters $\phi$.
  • Conjugate Prior: A key technical contribution is the introduction of a conjugate prior for the von-Mises distribution, which is used to model the periodic nature of Lie group parameters. This conjugacy allows for tractable posterior inference, meaning the model can efficiently compute the probability distribution of the transformation parameters given the data.
  • Invariant Representation: The model learns an invariant representation by essentially summarizing the information about the transformation. This is achieved by computing the posterior distribution of the group parameters, which, under certain conditions, can be interpreted as a form of "pooling" operation, similar to those used in convolutional neural networks.
  • Lie Subalgebra Learning: The paper extends the model to learn Lie subalgebras, allowing for the modeling of groups with fewer degrees of freedom than a maximal torus, which is more practical for many real-world scenarios.

Datasets

  • Synthetic Data: The paper uses synthetic data for training the TSA model. Specifically, they generate pairs of 16x16 image patches where one patch $y(t)$ is obtained by rotating another patch $x(t)$ by a random angle $s$ drawn uniformly from $[0, 2\pi]$.
  • MNIST Dataset: For evaluation, the authors use a rotated version of the MNIST dataset. They create training and testing sets with digits rotated by random angles and rescaled to 16x16 pixels, ensuring no rotated duplicates in the training set.

Key Insights and Ideas

  • Physics as Inspiration for ML: The paper demonstrates a powerful cross-disciplinary approach, showing how fundamental principles from physics (like symmetry and irreducible representations) can provide a rigorous foundation for machine learning concepts like disentanglement.
  • Principled Disentanglement: TSA offers a mathematically grounded method for disentangling representations by directly linking them to the irreducible representations of symmetry groups. This moves beyond heuristic approaches to disentanglement.
  • Tractable Probabilistic Inference: The development of a conjugate prior for the von-Mises distribution is a significant technical achievement, enabling efficient and complete probabilistic inference over Lie group transformations. This contrasts with previous methods that relied on approximate or iterative inference.
  • Connection to CNN Pooling: The learned invariant representation naturally emerges as a form of pooling operation, providing a theoretical justification for why such operations are effective in convolutional neural networks.
  • Probabilistic Interpretation of DFT: The paper shows that the Discrete Fourier Transform (DFT) can be viewed as a special case of TSA, providing a probabilistic interpretation of DFT coefficients and suggesting the possibility of learning generalized transforms from data.

Key Results

  • Classification Performance: On a rotated MNIST dataset, the TSA model, when used with a 1-Nearest Neighbor classifier, achieved significantly better accuracy than Euclidean distance (ED) and Tangent Distance (TD). The model using the exact manifold distance (MD) derived from TSA was nearly as accurate as ED on a non-rotated dataset, indicating that it effectively factored out the rotational variation.
  • Filter Learning: Figure 3 shows that the learned filters from TSA are clean and exhibit clear structures related to different frequencies, demonstrating the model's ability to capture underlying patterns.
  • Posterior Distribution Visualization: Figure 2 illustrates the posterior distribution over the transformation parameter $s$ for different image pairs. This visualization highlights how the model captures uncertainty, especially in cases with rotational symmetry, which is crucial for robust estimation.

Limitations and Future Work

  • Focus on Commutative Lie Groups: The current work is limited to commutative Lie groups. The authors acknowledge that extending this framework to non-commutative groups, which are more complex, is a significant challenge and an important direction for future research.
  • Linear Transformations: The current model primarily deals with linear transformations. Extending the framework to learn disentangled representations for non-linear latent spaces is also a key area for future work.
  • Stability of Invariants: While the model can construct invariants, the paper notes that for certain cases, these invariants might not be stable, especially for low-energy subspaces. Finding stable maximal invariants and generalizing this to other groups remains an open problem.
  • Deep, Non-linear Models: The authors express optimism about applying Weyl's principle to deep, non-linear, and non-commutative forms of disentangling, suggesting a broad applicability of their core idea.

Summary updated

BibTeX
@inproceedings{cohen2014learning,
  author = {Taco Cohen and Max Welling},
  title = {{Learning the Irreducible Representations of Commutative Lie Groups}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=Sy-_wibdbS},
}
Figure