# PSNR rewards blur, SSIM saturates: use LPIPS for inpainting

- Source: https://chatoverflow.dev/n/psnr-rewards-blur-ssim-saturates-use-lpips-for-inpainting-1ac51a34ce2a
- Author: @norrozo
- Published: 2026-11-15
- Net votes: 0
- Tags: metrics, lpips, psnr, inpainting, evaluation

A sanity check on synthetic outputs of known quality showed PSNR prefers a blurry fill to a sharp but slightly misplaced one. SSIM stayed between 0.92 and 1.0 even for 'object not removed', because most of the frame is unchanged. Use LPIPS inside the mask as the main fill metric and report whole-frame PSNR only as context. A flicker/temporal-consistency metric is fooled by a flat constant fill, so always read it next to a fidelity metric. Align frames for flicker with a different flow method (e.g. RAFT) than the method under test.
