Feature Learning in Image Hierarchies using Functional Maximal Correlation

Bo Hu, Yuheng Bu, José C. PríncipearXiv 2023 · DOI · arXiv

Introduction

Self-supervised learning (SSL) has revolutionized computer vision by enabling models to learn from vast amounts of unlabeled data. However, the field faces two persistent challenges: the "feature collapse" problem and the "black box" nature of deep neural networks. Feature collapse occurs when a model learns to output identical representations for all inputs to minimize loss, a shortcut that researchers typically avoid through complex engineering like momentum encoders or massive batch sizes. Furthermore, quantifying why a specific layer learns a particular feature remains difficult.

This paper introduces the Hierarchical Functional Maximal Correlation Algorithm (HFMCA). By framing feature learning as a statistical dependence problem rather than simple similarity matching, HFMCA provides a mathematically grounded approach to SSL that ensures diversity in learned features and offers unprecedented interpretability.

Methods: The HFMCA Framework

HFMCA extends the Functional Maximal Correlation Algorithm to hierarchical image structures. The core innovation lies in treating a Convolutional Neural Network (CNN) as a function approximator for a series of density ratio decompositions.

Key Technical Components

  • Density Ratio Decomposition: The algorithm decomposes the ratio of joint and marginal probability densities into a spectrum (dependence strength) and orthonormal basis functions (the features).
  • Orthonormality by Design: Unlike standard SSL methods, HFMCA uses a log-determinant-based cost function. This naturally enforces that learned features are uncorrelated and diverse, preventing feature collapse without requiring the architectural "tricks" common in SimCLR or MoCo.
  • The Telescoping Property: The authors prove that global statistical dependence within an image can be represented as a sum of local dependencies between neighboring hierarchical levels (e.g., pixels to patches, patches to views). This allows the model to learn complex global features by aggregating local statistical information.
The HFMCA framework decomposes image hierarchies into a probabilistic system aligned with CNN topologies.

Key Insights: Internal Representations and Interpretability

One of the most significant contributions of this work is the ability to "look under the hood" of the learning process. By analyzing the spectrum of internal representations, the researchers uncovered several key insights into how networks evolve during training.

The "Engine Room" of the CNN

Spectrum analysis across network layers revealed that the middle layers are the primary drivers of discrimination. These layers project data into smaller subspaces to isolate statistically significant features. Interestingly, when comparing supervised and self-supervised models, the internal representations eventually converge to remarkably similar states, particularly in how they identify object boundaries and critical semantic components.

Spectrum analysis across CNN layers for unsupervised, supervised, and self-supervised learning paradigms.

Visualizing Statistical Significance

By propagating density ratios from the top layers back to the input, the authors could visualize what the model prioritizes. For instance, in images of vehicles, the model consistently highlights wheels and the car-to-ground interface—features that are statistically essential for defining the category "car."

Experimental Results

The researchers evaluated HFMCA on the CIFAR-10 and CIFAR-100 benchmarks, comparing it against established SSL frameworks like SimCLR, MoCo, Barlow Twins, and VICReg.

  • Blazing Fast Convergence: HFMCA demonstrated exceptional efficiency, achieving 81.8% accuracy on CIFAR-10 in just 20 epochs. In the same timeframe, MoCo and SimCLR trailed significantly at 57.2% and 46.7%, respectively.
  • State-of-the-Art Performance: After 800 epochs, HFMCA reached a peak accuracy of 90.7%, outperforming more complex established methods.
  • Robustness and Efficiency: The model maintained high performance and avoided feature collapse even under extreme data augmentations (cropping, color jittering, grayscale). Furthermore, because orthonormality is baked into the loss function, HFMCA remains effective even with small batch sizes (e.g., 64) and standard backbones like ResNet-18.

Conclusion and Future Directions

HFMCA offers a principled, statistically-driven alternative to heuristic-based self-supervised learning. By leveraging the telescoping property of image hierarchies, it achieves faster convergence and better interpretability than its predecessors.

Future work aims to scale this hierarchical approach to massive datasets like ImageNet and explore the "telescoping property" as a potential alternative to standard error backpropagation. Such an advancement could mitigate long-standing issues like vanishing gradients by transmitting statistical dependence signals directly through the network hierarchy.

Summary updated

Abstract

This paper proposes the Hierarchical Functional Maximal Correlation Algorithm (HFMCA), a hierarchical methodology that characterizes dependencies across two hierarchical levels in multiview systems. By framing view similarities as dependencies and ensuring contrastivity by imposing orthonormality, HFMCA achieves faster convergence and increased stability in self-supervised learning. HFMCA defines and measures dependencies within image hierarchies, from pixels and patches to full images. We find that the network topology for approximating orthonormal basis functions aligns with a vanilla CNN, enabling the decomposition of density ratios between neighboring layers of feature maps. This approach provides powerful interpretability, revealing the resemblance between supervision and self-supervision through the lens of internal representations.
BibTeX
@misc{hu2023feature,
  author = {Bo Hu and Yuheng Bu and José C. Príncipe},
  title = {{Feature Learning in Image Hierarchies using Functional Maximal Correlation}},
  year = {2023},
  eprint = {2305.20074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.20074},
}
Figure