Brain-inspired $L_p$-Convolution benefits large kernels and aligns better with visual cortex

Jea Kwon, Sungjun Lim, Kyungwoo Song, C. Justin Lee

TL;DR

Researchers have introduced $L_p$-convolution, a novel method that uses flexible, trainable masks to bridge the gap between artificial square kernels and the circular, sparse connectivity of the biological brain. This approach solves the "large kernel problem" in Convolutional Neural Networks (CNNs), improves model robustness, and creates neural representations that align significantly better with the actual human and mouse visual cortex.

What Problem Does This Paper Address?

Convolutional Neural Networks (CNNs) were originally inspired by the visual cortex, but modern architectures have drifted away from their biological roots. While biological neurons have sparse, roughly circular, and Gaussian-distributed connectivity, standard CNNs use dense, rigid, rectangular kernels.

This discrepancy creates a practical engineering hurdle known as the large kernel problem. In theory, larger kernels should allow a network to see more context, similar to how Vision Transformers (ViTs) operate. However, simply increasing kernel size in traditional CNNs often leads to a drop in performance because the model becomes too "dense" and overfits to noise. The authors ask: Can we fix large kernels by making them behave more like biological receptive fields?

Comparison of biological and artificial receptive fields, and the proposed MPND framework.

Methods

The authors introduce $L_p$-convolution, which overlays a soft, trainable mask (an $L_p$-mask) onto standard convolutional weights.

The core of this mask is the Multivariate $p$-generalized Normal Distribution (MPND). This mathematical framework is incredibly flexible:

  • By changing the parameter $p$, the mask can transition from a diamond shape ($p=1$) to a circle/Gaussian ($p=2$) to a square ($p \to \infty$).
  • By training a covariance matrix ($C$), the mask can rotate, scale, or stretch into horizontal and vertical ellipses.
Illustration of Lp-convolution applying flexible masks to standard kernels.

Unlike standard pruning or dropout, this creates "Gaussian structured sparsity." The network doesn't just turn off random pixels; it learns an optimal, biologically-plausible shape for each channel's connection, focusing the "attention" of the kernel on the most relevant spatial areas.

Datasets

The study evaluates $L_p$-convolution across a wide range of benchmarks:

  • Image Classification: CIFAR-100 and TinyImageNet.
  • Transfer Learning: Oxford Flowers, Describable Textures (DTD), Oxford Pets, FGVC Aircraft, and UCF101.
  • Modern Architectures: Evaluated on RepLKNet (which uses kernels up to $31 \times 31$) and ConvNeXt.
  • Biological Alignment: Neural activity data from the Allen Brain Observatory, featuring recordings from the mouse visual cortex (V1) in response to natural scenes.
  • Logic Tasks: A $9 \times 9$ Sudoku-solving challenge to test "conformational adaptability."

Key Insights and Ideas

  • Artificial Networks "Want" to be Biological: When the authors analyzed standard pre-trained networks like AlexNet, they found that as the models learned, their effective receptive fields naturally shifted from rigid squares toward lower $p$-values (closer to the biological Gaussian distribution).
  • Conformational Adaptability: In the Sudoku task, the $L_p$-masks actually learned to stretch into long horizontal and vertical shapes. This allowed the kernels to "see" entire rows or columns simultaneously, proving the masks can adapt to the specific geometry of a problem.
  • The $p=2$ Sweet Spot: The authors found that setting $p=2$ (the Gaussian condition) consistently yielded the best alignment with real brain data. This suggests that the "Gaussian" nature of our own brains isn't an accident—it's an efficient way to represent visual information.
  • Efficiency Gains: $L_p$-convolution allows older architectures to punch above their weight. For example, an Lp2-AlexNet achieved performance comparable to a much newer ViT-16x16 on TinyImageNet, but with significantly fewer parameters and lower computational cost.

Key Results

  • Performance Boost: On CIFAR-100, applying $L_p$-masks to large kernels improved accuracy across all tested models (AlexNet, VGG, ResNet, ConvNeXt). For instance, VGG-16 jumped from 64.82% (standard large kernel) to 72.88% with $L_p$-convolution.
  • Modern Scaling: Integrating $L_p$-convolution into RepLKNet (a state-of-the-art large-kernel model) improved Top-1 accuracy on TinyImageNet from 66.2% to 67.1% with negligible computational overhead.
  • Robustness: $L_p$-models showed significantly higher resilience to image corruptions (noise, blur, etc.) compared to standard CNNs.
  • Brain Alignment: Using Representational Similarity Analysis (RSA), the authors proved that $L_p$-CNNs (especially at $p=2$) have internal "thought patterns" that are statistically more similar to the mouse visual cortex than standard CNNs.

Limitations and Future Work

The authors acknowledge that the optimal initial value for $p$ ($p_{init}$) can vary depending on the specific model architecture, requiring some hyperparameter tuning. Additionally, while the method is compatible with existing frameworks, the current implementation involves a dynamic mask generation step that could be further optimized for hardware-level acceleration.

Future work may explore applying these biologically-inspired constraints to other areas, such as the attention maps in Vision Transformers, to see if "biological sparsity" can benefit non-convolutional models as well.

Summary updated

BibTeX
@inproceedings{kwon2025brain,
  author = {Jea Kwon and Sungjun Lim and Kyungwoo Song and C. Justin Lee},
  title = {{Brain-inspired $L\_p$-Convolution benefits large kernels and aligns better with visual cortex}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
}
Figure