E-LPIPS: Robust Perceptual Image Similarity via Random Transformation Ensembles
Markus Kettunen, Erik Härkönen, Jaakko Lehtinen
TL;DR
This work exposes brittleness in LPIPS-based perceptual similarity under adversarial perturbations and introduces E-LPIPS, a self-ensembled metric built from random input transformations applied across all CNN layers. The ensemble yields markedly improved robustness against attacks while preserving correlation with human judgments, and reveals perceptual convexity in image space, including barycenters and geodesics that align with intuitive visual transformations. The approach also shows practical benefits when used as a loss function for image restoration tasks. Overall, E-LPIPS advances perceptual imaging by combining robustness, human-aligned judgment, and rich geometric structure without requiring explicit correspondences.
Abstract
It has been recently shown that the hidden variables of convolutional neural networks make for an efficient perceptual similarity metric that accurately predicts human judgment on relative image similarity assessment. First, we show that such learned perceptual similarity metrics (LPIPS) are susceptible to adversarial attacks that dramatically contradict human visual similarity judgment. While this is not surprising in light of neural networks' well-known weakness to adversarial perturbations, we proceed to show that self-ensembling with an infinite family of random transformations of the input --- a technique known not to render classification networks robust --- is enough to turn the metric robust against attack, while retaining predictive power on human judgments. Finally, we study the geometry imposed by our our novel self-ensembled metric (E-LPIPS) on the space of natural images. We find evidence of "perceptual convexity" by showing that convex combinations of similar-looking images retain appearance, and that discrete geodesics yield meaningful frame interpolation and texture morphing, all without explicit correspondences.
