From CNNs to Shift-Invariant Twin Models Based on Complex Wavelets

Hubert Leterme, Kévin Polisano, Valérie Perrier, Karteek Alahari
12/1/2022
cs.CVcs.AIeess.IV

Official code: hubert-leterme/wcnn (0 stars, Python, Apache-2.0, last commit 2025-01-15).

Abstract

We propose a novel method to increase shift invariance and prediction accuracy in convolutional neural networks. Specifically, we replace the first-layer combination "real-valued convolutions + max pooling" (RMax) by "complex-valued convolutions + modulus" (CMod), which is stable to translations, or shifts.

Show full abstract

To justify our approach, we claim that CMod and RMax produce comparable outputs when the convolution kernel is band-pass and oriented (Gabor-like filter). In this context, CMod can therefore be considered as a stable alternative to RMax. To enforce this property, we constrain the convolution kernels to adopt such a Gabor-like structure. The corresponding architecture is called mathematical twin, because it employs a well-defined mathematical operator to mimic the behavior of the original, freely-trained model. Our approach achieves superior accuracy on ImageNet and CIFAR-10 classification tasks, compared to prior methods based on low-pass filtering. Arguably, our approach's emphasis on retaining high-frequency details contributes to a better balance between shift invariance and information preservation, resulting in improved performance. Furthermore, it has a lower computational cost and memory footprint than concurrent work, making it a promising solution for practical implementation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

H. Leterme, K. Polisano, V. Perrier, and K. Alahari, “From CNNs to Shift-Invariant Twin Models Based on Complex Wavelets,” in 2024 32nd European Signal Processing Conference (EUSIPCO), 2024.

00PythonFeb 17, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{leterme2022from,
  title  = {From CNNs to Shift-Invariant Twin Models Based on Complex Wavelets},
  author = {Hubert Leterme and Kévin Polisano and Valérie Perrier and Karteek Alahari},
  year   = {2022},
  eprint = {2212.00394},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00394}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.00394.svg)](https://codeofpaper.com/paper/2212.00394)

Discussion