Table of Contents
Fetching ...

Enhancing Generalization in Convolutional Neural Networks through Regularization with Edge and Line Features

Christoph Linse, Beatrice Brückner, Thomas Martinetz

TL;DR

This paper proposes a novel regularization approach to bias Convolutional Neural Networks toward utilizing edge and line features in their hidden layers, using Pre-defined Filter Modules, which convolve input data using a fixed set of 3x3 pre-defined edge and line filters.

Abstract

This paper proposes a novel regularization approach to bias Convolutional Neural Networks (CNNs) toward utilizing edge and line features in their hidden layers. Rather than learning arbitrary kernels, we constrain the convolution layers to edge and line detection kernels. This intentional bias regularizes the models, improving generalization performance, especially on small datasets. As a result, test accuracies improve by margins of 5-11 percentage points across four challenging fine-grained classification datasets with limited training data and an identical number of trainable parameters. Instead of traditional convolutional layers, we use Pre-defined Filter Modules, which convolve input data using a fixed set of 3x3 pre-defined edge and line filters. A subsequent ReLU erases information that did not trigger any positive response. Next, a 1x1 convolutional layer generates linear combinations. Notably, the pre-defined filters are a fixed component of the architecture, remaining unchanged during the training phase. Our findings reveal that the number of dimensions spanned by the set of pre-defined filters has a low impact on recognition performance. However, the size of the set of filters matters, with nine or more filters providing optimal results.

Enhancing Generalization in Convolutional Neural Networks through Regularization with Edge and Line Features

TL;DR

This paper proposes a novel regularization approach to bias Convolutional Neural Networks toward utilizing edge and line features in their hidden layers, using Pre-defined Filter Modules, which convolve input data using a fixed set of 3x3 pre-defined edge and line filters.

Abstract

This paper proposes a novel regularization approach to bias Convolutional Neural Networks (CNNs) toward utilizing edge and line features in their hidden layers. Rather than learning arbitrary kernels, we constrain the convolution layers to edge and line detection kernels. This intentional bias regularizes the models, improving generalization performance, especially on small datasets. As a result, test accuracies improve by margins of 5-11 percentage points across four challenging fine-grained classification datasets with limited training data and an identical number of trainable parameters. Instead of traditional convolutional layers, we use Pre-defined Filter Modules, which convolve input data using a fixed set of 3x3 pre-defined edge and line filters. A subsequent ReLU erases information that did not trigger any positive response. Next, a 1x1 convolutional layer generates linear combinations. Notably, the pre-defined filters are a fixed component of the architecture, remaining unchanged during the training phase. Our findings reveal that the number of dimensions spanned by the set of pre-defined filters has a low impact on recognition performance. However, the size of the set of filters matters, with nine or more filters providing optimal results.

Paper Structure

This paper contains 12 sections, 11 equations, 4 figures, 7 tables.

Figures (4)

  • Figure 1: Samples from the toy dataset with the classes vertical and horizontal.
  • Figure 2: Set of pre-defined filter kernels used in the experiments.
  • Figure 3: Average test accuracy when using nine edge and line detectors that span a variable number of dimensions.
  • Figure 4: Average test accuracy when using a variable number of filters. Left: Flowers dataset. Right: CUB dataset.

Theorems & Definitions (2)

  • proof
  • proof