This repository contains the official implementation of the paper "ATTN-FIQA: Interpretable Attention-based Face Image Quality Assessment with Vision Transformers", accepted at FG2026.
ATTN-FIQA is a training-free Face Image Quality Assessment (FIQA) method that uses pre-softmax self-attention scores from pre-trained Vision Transformer (ViT) face recognition models.
Unlike existing approaches that require multiple forward passes, backpropagation, or additional training, ATTN-FIQA computes quality from a single forward pass by aggregating raw attention responses from the final transformer block.
The method is based on the hypothesis that high-quality face images produce stronger and more focused query-key alignments, while degraded images (e.g., blur, occlusion, illumination issues) lead to weaker and more diffuse attention patterns.
- Training-Free: No fine-tuning, no extra FIQA-specific training, and no architectural modifications
- Single Forward Pass: Efficient inference with minimal overhead
- Interpretable: Attention maps indicate which facial regions contribute to quality estimation
- Model-Agnostic for ViTs: Applicable to pre-trained ViT-based FR backbones
- Comprehensive Evaluation: Validated across multiple benchmark datasets and FR models
Figure 1: Empirical validation of ATTN-FIQA on SynFIQA. Distribution of ATTN-FIQA scores across 11 quality groups (Q0-Q9 and Ref), showing monotonic score increase from lowest-quality degraded images to reference images.
Figure 2: Attention visualization for controlled quality conditions using ViT-S/WebFace4M/AdaFace. High-quality images exhibit focused, high-magnitude attention on discriminative regions, while degraded conditions show diffuse, low-magnitude attention.
Figure 3: EDCs for FNMR@FMR=1e-3 comparing ATTN-FIQA with state-of-the-art methods across eight benchmark datasets and four face recognition models. ATTN-FIQA is shown with solid red curves.
Place the required pre-trained model files in the pretrained/ directory. Commonly used checkpoints in this repository include:
Download the pretrained ViT-B face recognition model from CVL-Face and place it in the pretrained/ directory:
minchul_cvlface_adaface_vit_base_webface4m.pt
Download the pretrained ViT-S face recognition model from here and place it in the pretrained/ directory:
vits_wf4m_adaface.ptvits_wf4m_arcface.pt
- Configure dataset/model paths in the corresponding script files.
- Run quality extraction and visualization scripts from the
evaluation/directory. - Run ERC evaluation scripts to reproduce quality-performance analyses.
@inproceedings{DBLP:conf/fgr/OzgurCCKHADB26,
author = {Guray Ozgur and
Tahar Chettaoui and
Eduarda Caldeira and
Jan Niklas Kolf and
Marco Huber and
Andrea Atzori and
Naser Damer and
Fadi Boutros},
title = {{ATTN-FIQA:} Interpretable Attention-based Face Image Quality Assessment
with Vision Transformers},
booktitle = {20th {IEEE} International Conference on Automatic Face and Gesture
Recognition, {FG} 2026, Kyoto, Japan, May 25-29, 2026},
pages = {1--10},
publisher = {{IEEE}},
year = {2026},
url = {https://doi.org/10.1109/FG67764.2026.11557043},
doi = {10.1109/FG67764.2026.11557043},
timestamp = {Wed, 24 Jun 2026 21:15:24 +0200},
biburl = {https://dblp.org/rec/conf/fgr/OzgurCCKHADB26.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
This project is licensed under the terms of the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license. Copyright (c) 2026 Fraunhofer Institute for Computer Graphics Research IGD Darmstadt For more details, please take a look at the LICENSE file.
