# Contextual Convolutional Neural Networks

Source: [Contextual Convolutional Neural Networks](<https://www.sota2.com/research/paper/68fa6a8d1e209131cea28bb2>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T03:34:00.728Z

Authors: Ionut Cosmin Duta, Mariana Iuliana Georgescu, Radu Tudor Ionescu

Published: 2021-08-17T00:42:11.000Z

## Abstract

We propose contextual convolution (CoConv) for visual recognition. CoConv is a direct replacement of the standard convolution, which is the core component of convolutional neural networks. CoConv is implicitly equipped with the capability of incorporating contextual information while maintaining a similar number of parameters and computational cost compared to the standard convolution. CoConv is inspired by neuroscience studies indicating that (i) neurons, even from the primary visual cortex (V1 area), are involved in detection of contextual cues and that (ii) the activity of a visual neuron can be influenced by the stimuli placed entirely outside of its theoretical receptive field. On the one hand, we integrate CoConv in the widely-used residual networks and show improved recognition performance over baselines on the core tasks and benchmarks for visual recognition, namely image classification on the ImageNet data set and object detection on the MS COCO data set. On the other hand, we introduce CoConv in the generator of a state-of-the-art Generative Adversarial Network, showing improved generative results on CIFAR-10 and CelebA. Our code is available at https://github.com/iduta/coconv.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Image Classification on ImageNet 1K (val) (Top-1 & Top-5 Error)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-top-1-and-top-5-error.md>): Image Classification; ImageNet-1k (val); Top-1 Error: 20.97.

- [Image Generation on CIFAR-10 (IS, FID)](<https://www.sota2.com/research/sota/image-generation-on-cifar-10-is-fid.md>): Image Generation; CIFAR-10; FID: 19.66.

- [Image Generation on CelebA (MS-SSIM, SWD)](<https://www.sota2.com/research/sota/image-generation-on-celeba-ms-ssim-swd.md>): Image Generation; CelebA; MS-SSIM: 0.2875.

- [Object Detection on MS COCO (val)](<https://www.sota2.com/research/sota/object-detection-on-ms-coco-val.md>): Object Detection; MS-COCO (val); mAP: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2108.07387>)

[PDF](<https://arxiv.org/pdf/2108.07387.pdf>)

[Implementation](<https://github.com/iduta/coconv>)
