Relational Visual Similarity

Thao Nguyen, Sicheng Mo, Krishna Kumar Singh, Yilin Wang, Jing Shi +4 more
12/8/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: thaoshibe/relsim (90 stars, last commit 2026-04-08).

Abstract

Humans do not just see attribute similarity -- we also see relational similarity. An apple is like a peach because both are reddish fruit, but the Earth is also like a peach: its crust, mantle, and core correspond to the peach's skin, flesh, and pit. This ability to perceive and recognize relational similarity, is arguable by cognitive scientist to be what distinguishes humans from other species. Yet, all widely used visual similarity metrics today (e.g., LPIPS, CLIP, DINO) focus solely on perceptual attribute similarity and fail to capture the rich, often surprising relational similarities that humans perceive. How can we go beyond the visible content of an image to capture its relational properties? How can we bring images with the same relational logic closer together in representation space? To answer these questions, we first formulate relational image similarity as a measurable problem: two images are relationally similar when their internal relations or functions among visual elements correspond, even if their visual attributes differ. We then curate 114k image-caption dataset in which the captions are anonymized -- describing the underlying relational logic of the scene rather than its surface content. Using this dataset, we finetune a Vision-Language model to measure the relational similarity between images. This model serves as the first step toward connecting images by their underlying relational structure rather than their visible appearance. Our study shows that while relational similarity has a lot of real-world applications, existing image similarity models fail to capture it -- revealing a critical gap in visual computing.

View on arXivView PDF

Code Implementations(1)

thaoshibe/relsimCommunity74%

πŸ‘ relsim: Relational Visual Similarity | pip install relsim 🌍 (CVPR 2026)

902Jinja, ShellNov 18, 20256 months agoNOASSERTION
cvprcvpr2026image-analogiesimage-analogyimage-metrics+8 more

Similar Papers

Cite this paper

@article{nguyen2025relational,
  title  = {Relational Visual Similarity},
  author = {Thao Nguyen and Sicheng Mo and Krishna Kumar Singh and Yilin Wang and Jing Shi and Nicholas Kolkin and Eli Shechtman and Yong Jae Lee and Yuheng Li},
  year   = {2025},
  eprint = {2512.07833},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.07833v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.07833.svg)](https://codeofpaper.com/paper/2512.07833)

Discussion