Deep feature response discriminative calibration

Wenxiang Xu, Tian Qiu, Linyun Zhou, Zunlei Feng, Mingli Song, Huiqiong Wang

Abstract: This paper introduces ResCNet, a novel architecture designed to improve deep learning performance by calibrating feature responses based on their statistical distribution. Observing that neural responses typically follow a Gaussian distribution, the authors developed a "Response Calibration Layer" (RC Layer) that weights features according to their confidence levels. This approach significantly boosts accuracy on standard benchmarks like ImageNet and CIFAR-100 by prioritizing "typical" signals over anomalous activations.

Introduction

In Deep Neural Networks (DNNs), feature responses—the numerical outputs of neurons—are the fundamental units of information. While architectures like ResNet and SENet have significantly advanced feature processing, they often remain "blind" to the underlying statistical distribution of these values. Current techniques typically scale feature values uniformly or apply channel-wise attention, failing to account for feature distinctiveness. ResCNet addresses this by questioning whether an extreme outlier response should be trusted as much as a typical one, introducing a layer of discriminative power to separate signal from noise.

The Gaussian Assumption and Empirical Motivation

The core innovation of ResCNet is the Response Calibration (RC) Layer. The authors' empirical analysis demonstrates that after a model converges, the response values of a single convolutional kernel roughly follow a Gaussian (Normal) distribution. This observation aligns with the Central Limit Theorem, as a neuron's output is essentially a weighted sum of many independent inputs.

Violin plots showing that convolutional kernel responses follow a Gaussian distribution after convergence.

The RC Layer learns two parameters for every convolutional kernel: the mean ($\mu$) and the standard deviation ($\sigma$). Using the Gaussian probability density function, the model calculates a weight for each response. Responses closer to the mean receive higher weights (higher confidence), while outliers are penalized.

Architecture and Integration

The RC Layer is a plug-and-play module. The authors propose two primary integration schemes: a Serial Scheme, where calibration is added to the residual branch, and a Parallel Scheme (GCLU), which acts as a learnable activation function generalizing GELU.

Comparison of the architectural blocks for ResNet, SENet, and the proposed ResCNet.

As shown in the figure above, ResCNet modifies the standard residual block by incorporating the RC Layer to calibrate the output of the residual function $f(x)$ before the final summation. This allows the model to prioritize "typical" signals, making it more robust to anomalous activations compared to standard attention mechanisms.

Key Results

ResCNet consistently outperforms baseline models across multiple benchmarks:

  • CIFAR-100: ResCNet-50 achieved 80.87% accuracy, surpassing both ResNet-50 (80.79%) and SENet-50 (80.68%). With advanced training techniques like Mixup, it reached a record 86.31% for a 50-layer variant.
  • ImageNet: ResCNet-50 achieved a Top-1 accuracy of 76.92%, outperforming the official ResNet-50 (76.13%) and SENet-50 (76.71%).
  • Convergence: Training curves indicate that ResCNet models maintain lower error rates throughout the entire training process, suggesting superior convergence properties.

Conclusion

ResCNet bridges classical statistics and modern deep learning by introducing a distributional perspective to feature calibration. While it introduces some parameter overhead, the consistent performance gains and the flexibility of the GCLU activation function demonstrate its potential. Future work may extend this statistical approach to non-convolutional layers and other optimization domains beyond feature response calibration.

Summary updated

BibTeX
@inproceedings{xu2024deep,
  author = {Wenxiang Xu and Tian Qiu and Linyun Zhou and Zunlei Feng and Mingli Song and Huiqiong Wang},
  title = {{Deep feature response discriminative calibration}},
  booktitle = {Neurocomputing},
  year = {2024},
}
Figure