GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gurayozgur/ATTN-FIQA: The official implementation of the paper "ATTN-FIQA: Interpretable Attention-based Face Image Quality Assessment with Vision Transformers", accepted at FG2026.

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
backbones
backbones
 
 
evaluation
evaluation
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 

Repository files navigation

ATTN-FIQA: Interpretable Attention-based Face Image Quality Assessment with Vision Transformers

This repository contains the official implementation of the paper "ATTN-FIQA: Interpretable Attention-based Face Image Quality Assessment with Vision Transformers", accepted at FG2026.

Poster

ATTN-FIQA Poster

Overview

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.

Key Features

  • 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

Empirical Validation on SynFIQA

ATTN-FIQA SynFIQA quality distribution
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.

Attention Visualization on Controlled Conditions

ATTN-FIQA controlled conditions attention visualization
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.

Error-versus-Discard Performance

ATTN-FIQA EDC curves at FNMR@FMR=1e-3
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.

Pretrained Models

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.pt
  • vits_wf4m_arcface.pt

Usage

  1. Configure dataset/model paths in the corresponding script files.
  2. Run quality extraction and visualization scripts from the evaluation/ directory.
  3. Run ERC evaluation scripts to reproduce quality-performance analyses.

Citation

@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}
}

License

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.

About

The official implementation of the paper "ATTN-FIQA: Interpretable Attention-based Face Image Quality Assessment with Vision Transformers", accepted at FG2026.

fg2026.ieee-biometrics.org/

Topics

face-image-quality-assessmentface-recognitionfiqavision-transformervit

Resources

Readme
License
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.