Published July 24, 2021 | Version v1
Conference paper Open

Within-layer Diversity Reduces Generalization Gap

  • 1. Faculty of Information Technology and Communication Sci- ences, Tampere University, Tampere, Finland
  • 2. Programme for En- vironmental Information, Finnish Environment Institute, Jyvaskyla, Finland
  • 3. Department of Electrical and Computer Engineering, Aarhus University, Aarhus, Denmark

Description

Neural networks are composed of multiple layers arranged in a hierarchical structure jointly trained with a gradient-based optimization. At each optimization step, neurons at a given layer receive feedback from neurons belonging to higher layers of the hierarchy. In this paper, we propose to complement this traditional ’between-layer’ feedback with additional ’within-layer’ feedback to encourage diversity of the activations within the same layer. To this end, we measure the pairwise similarity between the outputs of the neurons and use it to model the layer’s overall diversity. By penalizing similarities and promoting diversity, we encourage each neuron to learn a distinctive representation and, thus, to enrich the data representation learned within the layer and to increase the total capacity of the model. We theoretically and empirically study how the within-layer activation diversity affects the generalization performance of a neural network and prove that increasing the diversity of hidden activations reduces the generalization gap.

Notes

This work was funded by the NSF-Business Finland Center for Visual and Decision Informatics (CVDI) project AMALIA. Jenni Raitoharju acknowledges funding from the Academy of Finland under project No 324475. Alexandros Iosifidis acknowledges funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 957337 (MARVEL).

Files

26CameraReadyNeural_networks_Diversity_camera_Ready.pdf

Files (447.5 kB)

Additional details

Funding

Advanced machine learning methods for biomonitoring 324475
Academy of Finland
MARVEL – Multimodal Extreme Scale Data Analytics for Smart Cities Environments 957337
European Commission