Skip to main content
QUICK REVIEW

[Paper Review] Towards Understanding Learning Representations: To What Extent Do Different Neural Networks Learn the Same Representation

Liwei Wang, Lunjia Hu|arXiv (Cornell University)|Oct 28, 2018
Domain Adaptation and Few-Shot LearningComputer Science4 references33 citations
TL;DR

This paper proposes a rigorous subspace matching framework to quantify similarity between representations learned by two identical deep neural networks trained from different random initializations. Using activation vectors and a decomposition theory of maximum and simple matches, the method reveals that convolutional layers exhibit surprisingly low representation similarity, challenging the assumption that networks learn equivalent features across training runs.

ABSTRACT

It is widely believed that learning good representations is one of the main reasons for the success of deep neural networks. Although highly intuitive, there is a lack of theory and systematic approach quantitatively characterizing what representations do deep neural networks learn. In this work, we move a tiny step towards a theory and better understanding of the representations. Specifically, we study a simpler problem: How similar are the representations learned by two networks with identical architecture but trained from different initializations. We develop a rigorous theory based on the neuron activation subspace match model. The theory gives a complete characterization of the structure of neuron activation subspace matches, where the core concepts are maximum match and simple match which describe the overall and the finest similarity between sets of neurons in two networks respectively. We also propose efficient algorithms to find the maximum match and simple matches. Finally, we conduct extensive experiments using our algorithms. Experimental results suggest that, surprisingly, representations learned by the same convolutional layers of networks trained from different initializations are not as similar as prevalently expected, at least in terms of subspace match.

Motivation & Objective

  • To develop a systematic, theory-driven approach for quantifying representation similarity in deep neural networks.
  • To investigate whether networks with identical architecture but different initializations learn similar intermediate representations.
  • To characterize the structural granularity of similarity—whether it is local (neuron-to-neuron) or distributed (cluster-level).
  • To determine whether subspace matches serve as a valid metric for representation similarity in deep networks.

Proposed method

  • Model neuron representations using activation vectors over a fixed set of inputs, capturing input-output behavior.
  • Define representation similarity via subspace matching between sets of neurons, where subspaces are spanned by activation vectors.
  • Introduce the concept of 'maximum match' to capture overall similarity and 'simple match' as irreducible minimal similarity units.
  • Prove the Decomposition Theorem: every match can be uniquely decomposed into simple matches, enabling structural analysis.
  • Develop efficient algorithms, including randomized and iterative methods, to compute maximum and simple matches.
  • Apply the framework to analyze trained ResNet and VGG networks on CIFAR-10 and ImageNet using varying similarity thresholds (ε).

Experimental results

Research questions

  • RQ1To what extent do two identical deep neural networks trained from different initializations learn the same intermediate representations?
  • RQ2Is the similarity between representations local (neuron-to-neuron) or distributed (cluster-level)?
  • RQ3Does the maximum match between activation subspaces reflect the true structural similarity of learned representations?
  • RQ4How do the sizes and distributions of simple matches reveal the fine-grained structure of representation similarity?
  • RQ5Does high test accuracy imply high representation similarity in intermediate layers?

Key findings

  • The maximum match similarity between convolutional layers of differently initialized networks is very low, often close to zero, especially in deeper layers.
  • High similarity in output-layer representations is not due to intrinsic feature sharing but results from alignment to the same output targets.
  • Input-layer similarity is also low in fine-grained structure, despite shared input distribution, indicating limited local neuron-level correspondence.
  • The distribution of simple match sizes shows very few small matches (e.g., single neurons), suggesting no significant local similarity across networks.
  • The observed low similarity contradicts the common assumption that identical architectures learn equivalent representations across training runs.
  • The results suggest that current understanding of representation learning is limited and that subspace matching may not fully capture semantic similarity, raising fundamental questions about interpretability and metric choice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.