Understanding and Simplifying Perceptual Distances
Dan Amir, Yair Weiss
Abstract
Perceptual metrics based on features of deep Convolutional Neural Networks (CNNs) have shown remarkable success when used as loss functions in a range of computer vision problems and significantly outperform classical losses such as L1 or L2 in pixel space. The source of this success remains somewhat mysterious, especially since a good loss does not require a particular CNN architecture nor a particular training method. In this paper we show that similar success can be achieved even with losses based on features of a deep CNN with random filters. We use the tool of infinite CNNs to derive an analytical form for perceptual similarity in such CNNs, and prove that the perceptual distance between two images is equivalent to the maximum mean discrepancy (MMD) distance between local distributions of small patches in the two images. We use this equivalence to propose a simple metric for comparing two images which directly computes the MMD between local distributions of patches in the two images. Our proposed metric is simple to understand, requires no deep networks, and gives comparable performance to perceptual metrics in a range of computer vision tasks.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6f81abba-c0ff-464a-ada2-046e182e749bCited by top-tier papers7
- DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic DataStephanie Fu, Netanel Tamir, Shobhita Sundaram, Lucy Chai et al.NeurIPS 2023 · 413 citations
- Temporal Context Matters: Enhancing Single Image Prediction with Disease Progression RepresentationsAishik Konwer, Xuan Xu, Joseph Bae, Chao Chen et al.CVPR 2022 · 22 citations
- TexTile: A Differentiable Metric for Texture TileabilityCarlos Rodríguez-Pardo, Dan Casas, Elena Garces, Jorge Lopez-MorenoCVPR 2024 · 11 citations
- A Sample-Level Evaluation and Generative Framework for Model Inversion AttacksHaoyang Li, Li Bai, Qingqing Ye, Haibo Hu et al.AAAI 2025 · 4 citations
- Perceptual Scales Predicted by Fisher Information MetricsJonathan Vacher, Pascal MamassianICLR 2024 · 3 citations
Builds on1
Related papers
- Generic Perceptual Loss for Modeling Structured Output DependenciesYifan Liu, Hao Chen, Yu Chen, Wei Yin et al.CVPR 2021
- On the relation between statistical learning and perceptual distancesAlexander Hepburn, Valero Laparra, Raúl Santos-Rodríguez, Johannes Ballé et al.ICLR 2022 · 22 citations
- Discernible Image CompressionZhaohui Yang, Yunhe Wang, Chang Xu, Peng Du et al.ACM MM 2020 · 25 citations
- Deep Self-Dissimilarities as Powerful Visual FingerprintsIdan Kligvasser, Tamar Rott Shaham, Yuval Bahat, Tomer MichaeliNeurIPS 2021 · 10 citations
- Maximum Mean Discrepancy Test is Aware of Adversarial AttacksRuize Gao, Feng Liu, Jingfeng Zhang, Bo Han et al.ICML 2021 · 77 citations
