Saved in:
Bibliographic Details
Main Authors: Linse, Christoph, Brückner, Beatrice, Martinetz, Thomas
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.16897
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929554224840704
author Linse, Christoph
Brückner, Beatrice
Martinetz, Thomas
author_facet Linse, Christoph
Brückner, Beatrice
Martinetz, Thomas
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_16897
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing Generalization in Convolutional Neural Networks through Regularization with Edge and Line Features
Linse, Christoph
Brückner, Beatrice
Martinetz, Thomas
Computer Vision and Pattern Recognition
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.
title Enhancing Generalization in Convolutional Neural Networks through Regularization with Edge and Line Features
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.16897