A Rainbow in Deep Network Black Boxes

Florentin Guth, Brice Ménard, Gaspar Rochette, Stéphane Mallat
5/29/2023
cs.LGcs.CVeess.SP

No official code found. Best implementation: FlorentinGuth/Rainbow (11 stars, BSD-3-Clause, last commit 2024-10-21).

Abstract

A central question in deep learning is to understand the functions learned by deep networks. What is their approximation class? Do the learned weights and representations depend on initialization? Previous empirical work has evidenced that kernels defined by network activations are similar across initializations. For shallow networks, this has been theoretically studied with random feature models, but an extension to deep networks has remained elusive. Here, we provide a deep extension of such random feature models, which we call the rainbow model. We prove that rainbow networks define deterministic (hierarchical) kernels in the infinite-width limit. The resulting functions thus belong to a data-dependent RKHS which does not depend on the weight randomness. We also verify numerically our modeling assumptions on deep CNNs trained on image classification tasks, and show that the trained networks approximately satisfy the rainbow hypothesis. In particular, rainbow networks sampled from the corresponding random feature model achieve similar performance as the trained networks. Our results highlight the central role played by the covariances of network weights at each layer, which are observed to be low-rank as a result of feature learning.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Code to reproduce experiments in "A Rainbow in Deep Network Black Boxes".

111Python, Jupyter NotebookOct 21, 20242 years agoBSD-3-Clause

Cite this paper

@article{guth2023rainbow,
  title  = {A Rainbow in Deep Network Black Boxes},
  author = {Florentin Guth and Brice Ménard and Gaspar Rochette and Stéphane Mallat},
  year   = {2023},
  eprint = {2305.18512},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18512v3}
}

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/2305.18512.svg)](https://codeofpaper.com/paper/2305.18512)

Discussion