How Shift Equivariance Impacts Metric Learning for Instance Segmentation
Not on the map. Why?
Abstract (arXiv)
Metric learning has received conflicting assessments concerning its suitability for solving instance segmentation tasks. It has been dismissed as theoretically flawed due to the shift equivariance of the employed CNNs and their respective inability to distinguish same-looking objects. Yet it has been shown to yield state of the art results for a variety of tasks, and practical issues have mainly been reported in the context of tile-and-stitch approaches, where discontinuities at tile boundaries have been observed. To date, neither of the reported issues have undergone thorough formal analysis. In our work, we contribute a comprehensive formal analysis of the shift equivariance properties of encoder-decoder-style CNNs, which yields a clear picture of what can and cannot be achieved with metric learning in the face of same-looking objects. In particular, we prove that a standard encoder-decoder network that takes d-dimensional images as input, with l pooling layers and pooling factor f, has the capacity to distinguish at most fdl same-looking objects, and we show that this upper limit can be reached. Furthermore, we show that to avoid discontinuities in a tile-and-stitch approach, assuming standard batch size 1, it is necessary to employ valid convolutions in combination with a training output window size strictly greater than fl, while at test-time it is necessary to crop tiles to size n· fl before stitching, with n≥ 1. We complement these theoretical findings by discussing a number of insightful special cases for which we show empirical results on synthetic data.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 14 Jan 2021.
Builds on
18 of 30 references.
References · 18
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2016Group Equivariant Convolutional Networkscited by 1,165
- 2019Making Convolutional Networks Shift-Invariant Againcited by 391
- 2018An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solutioncited by 307
- 2018Why do deep convolutional networks generalize so poorly to small image transformations?cited by 198
- 2018Cell Detection with Star-convex Polygonscited by 183
- 2020On Translation Invariance in CNNs: Convolutional Layers can Exploit Absolute Spatial Locationcited by 142
- 2017Semantic Instance Segmentation with a Discriminative Loss Functioncited by 118
- 2019Instance Segmentation by Jointly Optimizing Spatial Embeddings and Clustering Bandwidthcited by 89
- 2017Superhuman Accuracy on the SNEMI3D Connectomics Challengecited by 64
- 2020Mind the Pad -- CNNs can Develop Blind Spotscited by 41
- 2018Tiling and Stitching Segmentation Output for Remote Sensing: Basic Challenges and Recommendationscited by 24
6 more
- 2018Semi-convolutional Operators for Instance Segmentationcited by 22
- 2019Instance Segmentation of Biological Images Using Harmonic Embeddingscited by 14
- 2020Instance Segmentation of Biomedical Images with an Object-aware Embedding Learned with Local Constraintscited by 12
- 2020Probabilistic Deep Learning for Instance Segmentationcited by 6
- 2020An Auxiliary Task for Learning Nuclei Segmentation in 3D Microscopy Imagescited by 5
- 2018Instance Segmentation by Deep Coloringcited by 3
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 1; 2025: 2; 2026: 2.
7 papers.
- 2024Learning Image Priors through Patch-based Diffusion Models for Solving Inverse Problemscited by 20
- 2022Panoptic segmentation with highly imbalanced semantic labelscited by 5
- 2025Tiling artifacts and trade-offs of feature normalization in the segmentation of large biological imagescited by 4
- 2025ShapeEmbed: a self-supervised learning framework for 2D contour quantificationcited by 4
- 2023Dual-level Interaction for Domain Adaptive Semantic Segmentationcited by 1
- 2026Stitching and dimensionality effects on large artificially generated volume datasetscited by 0
- 2026SWITi: Quantifying and Reducing Tiling Artifacts with Sliding Window Inner Tilingcited by 0
- 2026SWITi: Quantifying and Reducing Tiling Artifacts with Sliding Window Inner Tiling21 Jul 2026
- 2026Stitching and dimensionality effects on large artificially generated volume datasets18 Jun 2026
- 2025ShapeEmbed: a self-supervised learning framework for 2D contour quantification1 Jul 2025
- 2025Tiling artifacts and trade-offs of feature normalization in the segmentation of large biological images25 Mar 2025
- 2024Learning Image Priors through Patch-based Diffusion Models for Solving Inverse Problems4 Jun 2024
- 2023Dual-level Interaction for Domain Adaptive Semantic Segmentation16 Jul 2023
- 2022Panoptic segmentation with highly imbalanced semantic labels3 Mar 2022