Presented at the CVPR 2021 NTIRE workshop, ASNA introduces a sophisticated deep learning approach to Full-Reference Image Quality Assessment (IQA). By combining an attention-aware "Siamese-Difference" architecture with a novel differentiable ranking loss, the authors created a metric that aligns much more closely with human perception than traditional tools like PSNR or SSIM, particularly when evaluating high-fidelity images generated by Generative Adversarial Networks (GANs).
The Challenge of Perceptual Quality
In image restoration tasks like super-resolution or denoising, GANs are the current state-of-the-art for producing "sharp" results. However, traditional mathematical metrics like PSNR (Peak Signal-to-Noise Ratio) often penalize these images. Because PSNR relies on Mean Squared Error (MSE), it requires pixels to be in the exact same coordinates as the original. If a GAN generates a sharp texture but shifts it slightly, PSNR treats it as a massive error.
ASNA aims to solve this by acting as a "perceptual" metric—one that correlates with the Mean Opinion Score (MOS) provided by human observers. The challenge lies in building a model that ignores mathematically large but perceptually tiny shifts while catching subtle, annoying artifacts.
The ASNA Architecture
The authors propose the Attention-based Siamese-Difference Neural Network (ASNA), which features three primary innovations:
- Siamese-Difference Architecture: Unlike standard Siamese networks that process images in parallel, ASNA extracts features from both the reference and distorted images, calculates the absolute difference between those feature maps, and feeds those differences into a decoding network. This forces the model to focus specifically on what changed.
- Dual Attention Mechanism: The decoder uses Spatial Attention to identify where quality drops and Channel-wise Attention to identify which types of features (like edges or textures) are most degraded.
- Surrogate Ranking Loss: Optimizing for ranking accuracy (Spearman’s Rank Correlation Coefficient, or SRCC) is usually impossible with standard gradient descent because sorting is non-differentiable. ASNA uses a "surrogate" network to predict the rank of scores, allowing a ranking-based penalty to be included directly in the loss function.
Key Insights and Visualizations
A core strength of ASNA is its human-like focus. Visualization via Grad-CAM shows that the network prioritizes complex textures and edges—the same areas where humans are most likely to notice artifacts—while ignoring flat, uninformative regions.
Results and Performance
ASNA demonstrated superior performance across several benchmarks:
- NTIRE 2021 Challenge: Ranked 9th overall in the Perceptual IQA track.
- Superior Correlation: On the PIPAL dataset (the gold standard for GAN distortions), ASNA achieved a PLCC (Pearson) of 0.83 and an SRCC (Spearman) of 0.82. For comparison, traditional PSNR scored a dismal 0.29 and 0.26, respectively.
- Generalization: The model remained competitive on classic benchmarks like TID 2013 and LIVE, proving it is robust against traditional distortions like JPEG compression.
Conclusion and Future Work
While ASNA is computationally heavier than simple metrics like SSIM, it represents a significant leap in aligning machine judgment with human vision. Future research may involve refining the attention mechanisms further or utilizing ASNA as a loss function itself to train more perceptually accurate image restoration models.
Summary updated