TL;DR
While prior work shows that different neural networks learn similar hidden representations (activations), this paper shows that they also learn universal encodings (weights). By factorizing convolutions into fixed spatial filters and learned channel-mixing operations, the authors find that CNN weight covariance eigenvectors are remarkably consistent across distinct natural image datasets and random initializations.
What Problem Does This Paper Address?
Deep convolutional neural networks (CNNs) transfer well across visual tasks, but we still lack a fundamental understanding of why. Most interpretability research analyzes representations—the activations produced by feeding images through a network. However, analyzing encodings—the learned weights themselves—has proven much harder.
Because intermediate network layers operate in arbitrary, randomly oriented coordinate bases (set by the random initialization of previous neurons), comparing raw weight matrices across two networks directly is typically like comparing apples and oranges. This work asks: Do distinct CNNs trained on different datasets and tasks learn the same underlying functions in their weights?
Methods
To compare weights across networks, the authors propose a multi-step framework:
- Space-Channel Factorization: Standard 2D convolutions entangle spatial filtering and channel mixing. The authors decompose each layer into a depthwise convolution with fixed, frozen spatial filters followed by a trainable $1 \times 1$ pointwise (channel-mixing) convolution.
- Representation Alignment (Procrustes): To resolve basis shuffling between two networks, they compute an orthogonal alignment matrix $A$ minimizing $\mathbb{E}[\|A\phi(x) - \phi'(x)\|^2]$ over activations $\phi(x)$ and $\phi'(x)$ (the orthogonal Procrustes problem). This matrix $A$ rotates the input basis of one network's channel weights to match the other.
- Weight Covariance Comparison: Instead of comparing individual neurons one-to-one, they treat neurons as samples from a distribution and compare the covariance of channel weights.
- Optimal Eigenvalue Shrinkage: Because empirical channel covariances are high-dimensional and noisy (due to a finite number of neurons / spiked covariance model), they apply asymptotic eigenvalue shrinkage to extract the true "learned" low-rank subspace from the initialization noise.
- Normalized Bures-Wasserstein Metric: They evaluate covariance similarity using a metric derived from the Bures-Wasserstein distance (optimal transport between centered Gaussians), normalized between a random baseline and resampled finite-sample bounds.
Datasets
The authors evaluate their approach on:
- ImageNet (standard $224 \times 224$ and downsampled to $32 \times 32$ resolution for cross-dataset parity).
- ImageNet Subsets: ImageNet100a and ImageNet100b (two disjoint 100-class subsets of ImageNet).
- CIFAR-10 and CIFAR-100 ($32 \times 32$ resolution).
- CIFAR-5 (the first 5 classes of CIFAR-10).
- No new public benchmark datasets were introduced.
Key Insights and Ideas
- Universal Spatial Eigenvectors: For all layers $l \ge 2$, diagonalizing the spatial covariance of CNN filters yields a nearly identical, canonical set of low-dimensional 2D spatial patterns. This canonical set appears regardless of filter size ($3 \times 3$, $5 \times 5$, $7 \times 7$), image resolution, dataset, or depth.
- Spatial Filters Emerge Even with Random Labels: Training a CNN to fit pure random labels recovers essentially the same spatial eigenvectors, indicating that spatial filters reflect symmetries of image domain data rather than semantic task labels.
- Universal Channel Encodings Across Datasets: After freezing spatial filters to these canonical eigenvectors and aligning representation coordinate frames, the learned channel-mixing weight eigenvectors still show significant alignment across distinct datasets (e.g., ImageNet subsets vs. CIFAR) across early and intermediate layers.
- Two Distinct Encoding Regimes: While true-label tasks share universal channel encodings with each other, networks trained on random labels converge to a completely different encoding strategy. Yet, different seeds of random-label tasks align closely with each other, suggesting discrete universality classes governed by label structure/noise.
Key Results
- Spatial Redundancy: Freezing depthwise spatial filters to just the first 5 universal eigenvectors (and their negations, $K=10$ filters total) allows a factorized VGG network to retain competitive classification performance.
- Subspace Dimensionality & Depth: The effective rank ($r_{\text{eff}}$) of learned channel covariances systematically increases with layer depth and dataset complexity (e.g., ImageNet100 exhibits higher effective rank than CIFAR-100).
- Quantitative Cross-Dataset Similarity:
- Weight covariance similarity between independent networks trained on the same data starts near $1.0$ at early layers and remains above $0.8$ through layer 5.
- Networks trained on disjoint datasets (e.g., CIFAR-10 vs. ImageNet subsets) maintain strong normalized covariance similarity (ranging from $\sim 0.4$ to $0.8$) through the first 4–5 convolutional layers before diverging at the final task-specific classifier layers.
- True-label vs. random-label encodings show very low overall similarity, with only a small residual correlation baseline of $\sim 0.2$.
Limitations and Future Work
- Architectural Scope: The study is focused primarily on VGG-like architectures without residual connections or attention blocks, leaving open whether similar weight-space universality holds in modern Vision Transformers (ViTs) or ResNets.
- Individual Channel Semantics: While spatial eigenvectors are visually interpretable (resembling derivative and harmonic filters), the channel eigenvectors remain abstract statistical subspaces that are not individually characterized.
- Cross-Layer Weight Sharing: The authors hypothesize that intermediate layers might implement similar functions across depth (which could allow weight-sharing across layers), but this was not verified.
- Future Directions: Applying this framework to understand learning trajectories during training, the impact of adversarial training, generative tasks vs. discriminative tasks, and explicitly designing networks that maximize encoding universality.
Summary updated