Orthonormal Convolutions for the Rotation Based Iterative Gaussianization

Valero Laparra, Alexander Hepburn, J. Emmanuel Johnson, Jesús MaloarXiv 2022

TL;DR

Rotation-Based Iterative Gaussianization (RBIG) is a powerful tool for density estimation, but it traditionally fails to scale to high-dimensional images. This paper introduces Convolutional RBIG, which replaces dense rotations with orthonormal convolutions, enabling efficient Gaussianization and information-theoretic analysis of complex visual data.

What Problem Does This Paper Address?

Gaussianization is the process of transforming a complex data distribution into a simple, standard normal distribution. RBIG is a popular iterative method for this, used for tasks like calculating mutual information or detecting anomalies. However, RBIG relies on linear rotations (like PCA or ICA) that are "dense"—meaning every input dimension interacts with every output dimension.

For a standard image, the number of dimensions is massive (e.g., a $256 \times 256$ image has over 65,000 dimensions). Learning and applying a dense rotation matrix for such data is computationally impossible. Consequently, RBIG has historically been limited to small image patches or isolated pixels. The authors aim to bridge this gap by bringing the efficiency of convolutional neural networks to the RBIG framework.

Methods

The core innovation is the Orthonormal Convolution. In standard RBIG, each layer consists of a marginal Gaussianization step followed by an orthonormal rotation. To make this work for images, the authors propose that the rotation $R$ should be a convolution $C$.

To ensure the convolution is orthonormal (meaning it preserves the "energy" of the signal and is easily invertible), they treat each convolutional layer as a "mini-autoencoder." They train the filters by minimizing the reconstruction error between the input $x$ and a reconstructed version $\hat{x}$ created by applying the convolution and then its transpose: $$\hat{x} = C^T \cdot C \cdot x$$ If the reconstruction error is zero, the transformation is perfectly orthonormal.

Furthermore, they introduce two types of regularization in their cost function:

  1. Weight Sparsity ($L_1$ on filters): Leads to cleaner, less noisy kernels.
  2. Activity Sparsity ($L_1$ on activations): Forces the model to find a domain where the data is more independent, which is a key goal of the RBIG framework.

Datasets

The models were primarily trained and evaluated using:

  • CIFAR-10: Used for general training and to visualize the emergence of filters.
  • Texture Datasets: Specific (unnamed) texture images were used to demonstrate the model's capability as a texture synthesizer.

Key Insights and Ideas

  • Biological Mimicry: When the authors enforced sparsity on the activations, the model naturally learned filters that look remarkably like those in the human visual system: achromatic center-surround filters and color-opponent (red-green, yellow-blue) directions. Learned filters showing center-surround and color-opponent properties
  • Layer-by-Layer Simplicity: Unlike many modern "Normalizing Flows" that require complex, simultaneous optimization of all parameters, Convolutional RBIG can be trained one layer at a time. This makes it easier to train and interpret.
  • Information Theory as a Guide: The reduction in Multi-Information (MI) provides a clear mathematical criterion for model depth. If adding a new layer doesn't significantly reduce the MI, the researcher knows the model has reached its limit. MI reduction across layers with different regularization
Fig. 1. Filters obtained in the first layer using stride 1. We used filter size 7×7 and different combinations of regulariza- tion, see Eq.3. Positive and negative versions of the filters are shown at the top and bottom in each panel. Enforcing sparse activity leads to center-surround filters with clear red-green / yellow-blue opponent directions.
Fig. 2. Accumulated MI reduction on validation with differ- ent combinations of regularization.

Key Results

  • Effective Gaussianization: The method successfully reduces mutual information in high-dimensional image data. The combination of weight and activity sparsity proved to be the most effective configuration for this reduction.
  • Texture Synthesis: The model can act as a generative tool. By taking Gaussian noise and running it backward through the learned layers, the authors synthesized textures that improved in quality as more layers were added to the model. Texture synthesis quality improving with MI reduction
  • Complex Feature Emergence: By using larger strides (e.g., stride 4), the model was able to learn more complex, localized, and oriented receptive fields beyond simple center-surround patterns, similar to features found in the primary visual cortex. Filters obtained with stride 4 showing oriented features
Fig. 3. Accumulated MI reduction on train (blue) and val- idation (orange) with a synthesized image corresponding to inverting a Gaussian noise sample after the output of each block. The original texture is shown over the plot.
Fig. 4. Learning multiple filters allows the emergence of im- age features beyond center-surround. Here filters obtained in the first convolutional layer using stride 4 and sparse activity.

Limitations and Future Work

The authors note that the orthonormality is "quasi-orthonormal" because it is enforced through a reconstruction loss rather than being a hard mathematical constraint of the architecture itself. While this makes training flexible, it means the inverse is an approximation (though a very good one if the loss is low).

Future work could explore more sophisticated "blocks" of layers or different types of non-linearities to capture even higher-order statistical dependencies in natural images. The authors also suggest that this framework opens new doors for using RBIG's unique statistical properties (like easy Jacobian computation) in large-scale deep learning tasks.

Summary updated

Abstract

In this paper we elaborate an extension of rotation-based iterative Gaussianization, RBIG, which makes image Gaussianization possible. Although RBIG has been successfully applied to many tasks, it is limited to medium dimensionality data (on the order of a thousand dimensions). In images its application has been restricted to small image patches or isolated pixels, because rotation in RBIG is based on principal or independent component analysis and these transformations are difficult to learn and scale. Here we present the \emph{Convolutional RBIG}: an extension that alleviates this issue by imposing that the rotation in RBIG is a convolution. We propose to learn convolutional rotations (i.e. orthonormal convolutions) by optimising for the reconstruction loss between the input and an approximate inverse of the transformation using the transposed convolution operation. Additionally, we suggest different regularizers in learning these orthonormal convolutions. For example, imposing sparsity in the activations leads to a transformation that extends convolutional independent component analysis to multilayer architectures. We also highlight how statistical properties of the data, such as multivariate mutual information, can be obtained from \emph{Convolutional RBIG}. We illustrate the behavior of the transform with a simple example of texture synthesis, and analyze its properties by visualizing the stimuli that maximize the response in certain feature and layer.
BibTeX
@misc{laparra2022orthonormal,
  author = {Valero Laparra and Alexander Hepburn and J. Emmanuel Johnson and Jesús Malo},
  title = {{Orthonormal Convolutions for the Rotation Based Iterative Gaussianization}},
  year = {2022},
  eprint = {2206.03860},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.03860},
}
Figure