NeuRN: Neuro-inspired Domain Generalization for Image Classification
Hamd Jalil, Ahmed Qazi, Asim Iqbal
TL;DR
This work tackles domain generalization in image classification by introducing NeuRN, a neuro-inspired patch-based normalization layer, and a Needleman-Wunsch–based framework for quantifying architectural similarity among DNNs. NeuRN is applied as a pre-processing layer to yield domain-agnostic feature representations and is evaluated across CNNs, Vision Transformers, and NAS-derived models on digit-domain transfers. Empirical results show consistent cross-domain gains across diverse architectures, with NAS models (SPOS and AutoFormer) also benefiting substantially from NeuRN. The study provides a dual contribution: a quantitative NW-based architectural similarity analysis and a practical neuro-inspired normalization strategy that enhances robustness to domain shifts, pointing toward broader neuro-inspired design principles for generalization.
Abstract
Domain generalization in image classification is a crucial challenge, with models often failing to generalize well across unseen datasets. We address this issue by introducing a neuro-inspired Neural Response Normalization (NeuRN) layer which draws inspiration from neurons in the mammalian visual cortex, which aims to enhance the performance of deep learning architectures on unseen target domains by training deep learning models on a source domain. The performance of these models is considered as a baseline and then compared against models integrated with NeuRN on image classification tasks. We perform experiments across a range of deep learning architectures, including ones derived from Neural Architecture Search and Vision Transformer. Additionally, in order to shortlist models for our experiment from amongst the vast range of deep neural networks available which have shown promising results, we also propose a novel method that uses the Needleman-Wunsch algorithm to compute similarity between deep learning architectures. Our results demonstrate the effectiveness of NeuRN by showing improvement against baseline in cross-domain image classification tasks. Our framework attempts to establish a foundation for future neuro-inspired deep learning models.
