Papers › An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solution

An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solution

9 Jul 2018NeurIPS 2018 12arXiv:1807.03247archive 2025-07-28

Rosanne Liu, Joel Lehman, Piero Molino, Felipe Petroski Such, Eric Frank, Alex Sergeev, Jason Yosinski

Few ideas have enjoyed as large an impact on deep learning as convolution. For any problem involving pixels or spatial representations, common intuition holds that convolutional neural networks may be appropriate. In this paper we show a striking counterexample to this intuition via the seemingly trivial coordinate transform problem, which simply requires learning a mapping between coordinates in (x,y) Cartesian space and one-hot pixel space. Although convolutional networks would seem appropriate for this task, we show that they fail spectacularly. We demonstrate and carefully analyze the failure first on a toy problem, at which point a simple fix becomes obvious. We call this solution CoordConv, which works by giving convolution access to its own input coordinates through the use of extra coordinate channels. Without sacrificing the computational and parametric efficiency of ordinary convolution, CoordConv allows networks to learn either complete translation invariance or varying degrees of translation dependence, as required by the end task. CoordConv solves the coordinate transform problem with perfect generalization and 150 times faster with 10--100 times fewer parameters than convolution. This stark contrast raises the question: to what extent has this inability of convolution persisted insidiously inside other tasks, subtly hampering performance from within? A complete answer to this question will require further investigation, but we show preliminary evidence that swapping convolution for CoordConv can improve models on a diverse set of tasks. Using CoordConv in a GAN produced less mode collapse as the transform between high-level spatial latents and pixels becomes easier to learn. A Faster R-CNN detection model trained on MNIST showed 24% better IOU when using CoordConv, and in the RL domain agents playing Atari games benefit significantly from the use of CoordConv layers.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1807.03247")

Code

Syntology Ran 4 of 5 code samples harvested from 3 repositories linked to this paper; 1 has no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · fixture could not drive it.

By repository: community (archive-listed): 5 samples from 3 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

24 repositories listed; official and paper-mentioned ones first.

uber-research/coordconv officialmentioned in papermentioned on GitHubtfNOASSERTION report
Lamikins/public_exp mentioned on GitHubMIT report
Wizaron/coord-conv-pytorch mentioned on GitHubpytorchGPL-3.0 report
ZwX1616/mxnet-CoordConv mentioned on GitHubtf report
bllfpc/TTokDak mentioned on GitHub report
czero69/acomoeye-NN mentioned on GitHubtf report
gnouhp/PyTorch-CoordConv mentioned on GitHubpytorch report
iankuoli/DFNet_TF2 mentioned on GitHubtf report
mkocabas/CoordConv-pytorch mentioned on GitHubpytorch report
mng827/curve-gcn-cardiac-mr mentioned on GitHubpytorch report
pauldebryas/SND_trackers_My_data mentioned on GitHubpytorch report
pskugit/custom-conv2d mentioned on GitHubpytorch report
tlikhomanenko/optimize-coordconv mentioned on GitHubpytorchMIT report
uam-biometrics/Transformer-Networks mentioned on GitHubpytorch report
vicsesi/PyTorch-STN mentioned on GitHubpytorch report
walsvid/CoordConv mentioned on GitHubpytorch report
woans0104/project_review mentioned on GitHub report
woans0104/sk_project mentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

5 samples harvested; 4 ran; 2 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
2ran · fixture could not drive it
1unverified

Licence: 0 of the 5 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv2d_xy pskugit/custom-conv2d/models/customconv.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 6e54892b8ee65a9b · report
cross_entropy_one_hot walsvid/CoordConv/experiments/train_and_test.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · e87d38f37b0003c5 · report
get_xy_map pskugit/custom-conv2d/models/customconv.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 94048a250871edde · report
myconv2d pskugit/custom-conv2d/models/customconv.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 27b1d77123c49fc4 · report
getKerasModel felixriese/CNN-SoilTextureClassification/cnn_models.py community (archive-listed) unverified MIT (permissive) · b9863b731d3a7ef3 · report

Tasks

Atari GamesImage ClassificationTranslation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification ImageNet CoordConv ResNet-50 Top 1 Accuracy 75.74% #936 of 1060 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: CoordConv

1x1 ConvolutionA2CAdamApe-XAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionCoordConvDCGANFaster R-CNNGlobal Average PoolingKaiming InitializationMax PoolingPrioritized Experience ReplayRPNReLUResidual BlockResidual ConnectionRoIPoolSoftmaxStep DecayWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections