atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

LipSim: A Provably Robust Perceptual Similarity Metric

ICLR 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Biologically inspired robust vision · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that DreamSim-style ViT-ensemble perceptual metrics are vulnerable to adversarial attacks, then distills DreamSim into a 1-Lipschitz SLL-based student and fine-tunes it on NIGHT to get LipSim, a perceptual metric with certified 2AFC scores.

Problem

Perceptual similarity metrics built on neural networks (e.g., DreamSim) are vulnerable to adversarial perturbations, and existing robust perceptual metrics rely on heuristic defenses or loose/expensive randomized smoothing certificates.

Approach

Distill DreamSim's ViT-ensemble embeddings into a 1-Lipschitz SDP-based Lipschitz network followed by an l2-ball projection and cosine distance, so the metric is provably 1-Lipschitz in the reference input; the 2AFC margin then yields closed-form certificates (margin / ||f(x0)-f(x1)||) with no Monte Carlo sampling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace DreamSim with a 1-Lipschitz feature extractor and unit-ball projectionPerceptual metric on NIGHT · NIGHT, ℓ2-APGD ε=0.5 to 3.02AFC score: DreamSim: 46.27, 16.66, 0.93, 0.93; LipSim: 82.89, 79.82, 72.20, 61.84Helped
Use a 1-Lipschitz feature extractor with unit-ball projection instead of DreamSimPerceptual metric on NIGHT · NIGHT, natural imagesnatural 2AFC score: 96.16 -> 85.58Hurt
Increase hinge-loss margin from 0.2 to 0.5 (ablation)LipSim -- DreamSim · NIGHT, certified at 36/255certified 2AFC score: 62.88 -> 66.39Helped
Increase hinge-loss margin from 0.2 to 0.5 (ablation)LipSim -- DreamSim · NIGHT, natural imagesnatural 2AFC score: 85.58 -> 82.89Hurt
Use DreamSim rather than DINO or OpenCLIP as the distillation teacher (ablation)LipSim, margin 0.5 · NIGHT, certified at 36/255certified 2AFC score: DINO: 66.28; OpenCLIP: 64.80; DreamSim: 66.39Helped
Use a 1-Lipschitz LipSim backbone rather than DreamSimPerceptual metric on BAPPS · BAPPS, certifiedcertified 2AFC score: DreamSim: 0.0, 0.0, 0.0; LipSim (margin 0.4): 31.74, 15.19, 7.0Helped
Use LipSim rather than DreamSim for KNN classificationImageNet-style KNN on Imagenette · Imagenette, 10-NN Top 1accuracy: 99.03 -> 85.32Hurt
Use LipSim rather than DreamSim for KNN classificationImageNet-style KNN on Imagenette · Imagenette, 10-NN Top 5accuracy: 99.82 -> 97.20Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k NIGHT BAPPS COCO image retrieval subset Imagenette

Benchmarks: NIGHT BAPPS Imagenette KNN

Metrics: 2AFC score certified 2AFC score adversarial 2AFC score under APGD/PGD/MIA top-1 and top-5 KNN accuracy

Baselines: DreamSim CLIP OpenCLIP DINO R-LPIPS LPIPS

Builds on: DreamSim SDP-based Lipschitz Layers APGD LPIPS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy