NeuralOOD: Improving Out-of-Distribution Generalization Performance with Brain-machine Fusion Learning Framework
Shuangchen Zhao, Changde Du, Hui Li, Huiguang He
TL;DR
NeuralOOD tackles the OOD generalization gap in vision by fusing visual features with cognitive priors from the human brain. The BMFL framework combines a frozen image encoder (DINOv2), a pre-trained brain fMRI predictor, a brain transformer, and a cross-attention fusion module, with a Pearson correlation coefficient-based regularization to align modalities. Empirical results on ImageNet-1k and six curated OOD datasets show BMFL outperforming strong baselines like DINOv2, with ablations confirming the benefits of cross-attention fusion and ROI-based brain features. This approach demonstrates the practical value of brain-informed multimodal fusion for robust, real-world vision systems.
Abstract
Deep Neural Networks (DNNs) have demonstrated exceptional recognition capabilities in traditional computer vision (CV) tasks. However, existing CV models often suffer a significant decrease in accuracy when confronted with out-of-distribution (OOD) data. In contrast to these DNN models, human can maintain a consistently low error rate when facing OOD scenes, partly attributed to the rich prior cognitive knowledge stored in the human brain. Previous OOD generalization researches only focus on the single modal, overlooking the advantages of multimodal learning method. In this paper, we utilize the multimodal learning method to improve the OOD generalization and propose a novel Brain-machine Fusion Learning (BMFL) framework. We adopt the cross-attention mechanism to fuse the visual knowledge from CV model and prior cognitive knowledge from the human brain. Specially, we employ a pre-trained visual neural encoding model to predict the functional Magnetic Resonance Imaging (fMRI) from visual features which eliminates the need for the fMRI data collection and pre-processing, effectively reduces the workload associated with conventional BMFL methods. Furthermore, we construct a brain transformer to facilitate the extraction of knowledge inside the fMRI data. Moreover, we introduce the Pearson correlation coefficient maximization regularization method into the training process, which improves the fusion capability with better constrains. Our model outperforms the DINOv2 and baseline models on the ImageNet-1k validation dataset as well as six curated OOD datasets, showcasing its superior performance in diverse scenarios.
