Representation Alignment in Neural Networks

Ehsan Imani, Wei Hu, Martha White
12/15/2021
cs.LGcs.AI

Official code: EhsanEI/rep-align-demo (6 stars, Jupyter Notebook, MIT, last commit 2022-09-17).

Abstract

It is now a standard for neural network representations to be trained on large, publicly available datasets, and used for new problems. The reasons for why neural network representations have been so successful for transfer, however, are still not fully understood.

Show full abstract

In this paper we show that, after training, neural network representations align their top singular vectors to the targets. We investigate this representation alignment phenomenon in a variety of neural network architectures and find that (a) alignment emerges across a variety of different architectures and optimizers, with more alignment arising from depth (b) alignment increases for layers closer to the output and (c) existing high-performance deep CNNs exhibit high levels of alignment. We then highlight why alignment between the top singular vectors and the targets can speed up learning and show in a classic synthetic transfer problem that representation alignment correlates with positive and negative transfer to similar and dissimilar tasks.

View on arXivView PDF

Code Implementations(1)

MIT

Demo for representation alignment in neural networks

61Jupyter NotebookSep 12, 20224 years agoMIT

Similar Papers

Cite this paper

@article{imani2021representation,
  title  = {Representation Alignment in Neural Networks},
  author = {Ehsan Imani and Wei Hu and Martha White},
  year   = {2021},
  eprint = {2112.07806},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07806}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.07806.svg)](https://codeofpaper.com/paper/2112.07806)

Discussion