Skip to main content
QUICK REVIEW

[Paper Review] Selectivity considered harmful: evaluating the causal impact of class selectivity in DNNs

Matthew L. Leavitt, Ari S. Morcos|arXiv (Cornell University)|Mar 3, 2020
Cell Image Analysis TechniquesBiochemistry, Genetics and Molecular Biology68 references21 citations
TL;DR

This paper introduces a differentiable regularizer to directly manipulate class selectivity in deep neural network units, demonstrating that reducing selectivity improves test accuracy (by over 2% on Tiny ImageNet) and that high selectivity is neither necessary nor beneficial for performance. The study challenges the assumption that neuron selectivity reflects functional importance, showing it can even impair generalization.

ABSTRACT

The properties of individual neurons are often analyzed in order to understand the biological and artificial neural networks in which they're embedded. Class selectivity-typically defined as how different a neuron's responses are across different classes of stimuli or data samples-is commonly used for this purpose. However, it remains an open question whether it is necessary and/or sufficient for deep neural networks (DNNs) to learn class selectivity in individual units. We investigated the causal impact of class selectivity on network function by directly regularizing for or against class selectivity. Using this regularizer to reduce class selectivity across units in convolutional neural networks increased test accuracy by over 2% for ResNet18 trained on Tiny ImageNet. For ResNet20 trained on CIFAR10 we could reduce class selectivity by a factor of 2.5 with no impact on test accuracy, and reduce it nearly to zero with only a small ($\sim$2%) drop in test accuracy. In contrast, regularizing to increase class selectivity significantly decreased test accuracy across all models and datasets. These results indicate that class selectivity in individual units is neither sufficient nor strictly necessary, and can even impair DNN performance. They also encourage caution when focusing on the properties of single units as representative of the mechanisms by which DNNs function.

Motivation & Objective

  • To investigate whether class selectivity in individual neurons is functionally necessary or beneficial for deep neural network performance.
  • To address limitations of indirect methods like neuron ablation, which cannot isolate the causal role of selectivity.
  • To develop and apply a direct regularization technique that controls class selectivity as a causal variable in training.
  • To challenge the prevailing assumption that neuron selectivity reflects meaningful functional roles in DNNs.
  • To assess whether high selectivity impedes generalization or is redundant in deep networks.

Proposed method

  • A differentiable regularizer is introduced to the loss function to directly control class selectivity in hidden units.
  • The regularizer penalizes or promotes variance in neuron responses across different input classes, allowing precise manipulation of selectivity.
  • The method is applied during training, enabling controlled experiments on how selectivity affects accuracy and generalization.
  • Experiments are conducted on ResNet18 (Tiny ImageNet) and ResNet20 (CIFAR-10), with ablation studies on specific network layers.
  • Statistical significance is assessed using bootstrapped confidence intervals and Wilcoxon rank-sum tests.
  • The approach avoids confounding factors by ensuring that regularization does not simply rotate selectivity to non-unit axes.

Experimental results

Research questions

  • RQ1Is class selectivity in individual neurons causally linked to improved DNN performance?
  • RQ2Can reducing class selectivity lead to better generalization and higher test accuracy?
  • RQ3Is high class selectivity necessary for effective network function in DNNs?
  • RQ4Does increasing class selectivity impair network performance, even when it is not required?
  • RQ5To what extent is neuron selectivity a redundant or misleading proxy for network functionality?

Key findings

  • Reducing class selectivity in ResNet18 trained on Tiny ImageNet improved test accuracy by over 2%.
  • On CIFAR-10 with ResNet20, class selectivity was reduced by a factor of 2.5 with no drop in test accuracy.
  • Selectivity could be reduced nearly to zero (factor of ~20) with only a 2% decrease in test accuracy.
  • Regularizing to increase class selectivity significantly reduced test accuracy across all models and datasets.
  • The negative impact of increased selectivity was rapid and statistically significant, with p < 6×10⁻⁶ in key comparisons.
  • The results suggest that class selectivity is neither necessary nor sufficient for good performance and may even be detrimental.

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.