Contrastive Learning Relies More on Spatial Inductive Bias Than Supervised Learning: An Empirical Study

Yuanyi Zhong, Haoran Tang, Jun-Kun Chen, Yu-Xiong Wang
2/14/2026

No official code found. Best implementation: HaoranTang/cl_spatial_inductive_bias (4 stars, MIT, last commit 2023-10-15).

Abstract

Though self-supervised contrastive learning (CL) has shown its potential to achieve state-of-the-art accuracy without any supervision, its behavior still remains under-investigated. Different from most previous work that understands CL from learning objectives, we focus on an unexplored yet natural aspect: the spatial inductive bias which seems to be implicitly exploited via data augmentations in CL. We design an experiment to study the reliance of CL on such spatial inductive bias, by destroying the global or local spatial structures of an image with global or local patch shuffling, and comparing the performance drop between experiments on original and corrupted dataset to quantify the reliance on certain inductive bias. We also use the uniformity of feature space to further research how CL-pre-trained models behave with the corrupted dataset. Our results and analysis show that CL has a much higher reliance on spatial inductive bias than SL, regardless of specific CL algorithm or backbones, opening a new direction for studying the behavior of CL.

DOISemantic Scholar

Code Implementations(1)

MIT

[ICCV 2023] Official code of Contrastive Learning Relies More on Spatial Inductive Bias Than Supervised Learning: An Empirical Study

42Shell, PythonSep 27, 20233 years agoMIT
contrastive-learning

Cite this paper

@article{zhong2026contrastive,
  title  = {Contrastive Learning Relies More on Spatial Inductive Bias Than Supervised Learning: An Empirical Study},
  author = {Yuanyi Zhong and Haoran Tang and Jun-Kun Chen and Yu-Xiong Wang},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01496},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01496},
  journal = {ICCV 2023 2023}
}

Discussion