LEADER: Lightweight End-to-End Attention-Gated Dual Autoencoder for Robust Minutiae Extraction

Raffaele Cappelli, Matteo Ferrara · 2026

Read LEADER: Lightweight End-to-End Attention-Gated Dual Autoencoder for Robust Minutiae Extraction by Raffaele Cappelli, Matteo Ferrara (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-15493.txt.

Introduction

Cappelli and Ferrara offer a fingerprint tool that runs end to end, with no separate clean-up steps before or after. Their LEADER network reads a raw fingerprint image and returns minutiae, the small ridge details used to match prints, with place, direction, and type. It does this with just 0.9 million weights, helped by a new ground-truth code the authors dub Castle-Moat-Rampart and by two linked autoencoders joined through attention gating.

Tests show top accuracy on plain prints and strong transfer to hard latent prints, with a 34 percent higher F1 score than specialist latent tools on the NIST SD27 set. It ranks first on 47 percent of samples there, and it runs in 15 milliseconds on a GPU. Code and trained weights are public, so others can check and reuse the work.

Catalog record

CREATORRaffaele Cappelli, Matteo Ferrara
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE76 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2602-15493

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

LEADER: Lightweight End-to-End Attention-Gated Dual Autoencoder for Robust Minutiae Extraction Raffaele Cappelli, Matteo Ferrara Abstract Minutiae extraction, a fundamental stage in fingerprint recognition, is increasingly shifting toward deep learning. However, truly end-to-end methods that eliminate separate preprocessing and postprocessing steps remain scarce. This paper introduces LEADER (Lightweight End-to-end Attention-gated Dual autoencodER), a neural network that maps raw fingerprint images to minutiae descriptors, including location, direction, and type. The proposed architecture integrates non-maximum suppression and angular decoding to enable complete end-to-end inference using only 0.9 M parameters. It employs a novel “Castle-Moat-Rampart” ground-truth encoding and a dual-autoencoder structure, interconnected through an attention-gating mechanism. Experimental evaluations demonstrate state-of-the-art accuracy on plain fingerprints and robust cross-domain generalization to latent impressions. Specifically, LEADER attains a 34% higher 𝐅 𝟏 \mathbf{F_{1}} -score on the NIST SD27 dataset compared to specialized latent minutiae extractors. Sample-level analysis on this challenging benchmark reveals an average rank of 2.07 among all compared methods, with LEADER securing the first-place position in 47% of the samples—more than doubling the frequency of the second-best extractor. The internal representations learned by the model align with established fingerprint domain features, such as segmentation masks, orientation fields, frequency maps, and skeletons. Inference requires 15 ms on GPU and 322 ms on CPU, outperforming leading commercial software in computational efficiency. The source code and pre-trained weights are publicly released to facilitate reproducibility. I Introduction Biometric recognition is a cornerstone of modern identity management, with fingerprint identification remaining one of the most widely adopted modalities due to its permanence, uniqueness, and high discriminative power [ 1 ] . At the core of automated fingerprint identification systems (AFIS) lies minutiae extraction, specifically the detection of ridge endings and bifurcations (Fig. 1 a). The spatial distribution, type, and direction of these local features form the basis for high-security fingerprint comparison. However, robust and precise minutiae extraction remains challenging, particularly for latent impressions or low-quality images [ 2 ] . Historically, minutiae extraction relied on multi-stage pipelines involving image enhancement, binarization, and morphological thinning to produce a one-pixel-wide skeleton map [ 1 ] . Although effective on high-quality fingerprints, these traditional methods are prone to false detections and omissions when ridge patterns are degraded. To address these limitations, the field has shifted toward deep learning-based approaches. Early neural methods used sliding-window classifiers or patch-based analysis, which are computationally expensive and often lack global context. More recently, fully convolutional architectures have enabled the processing of entire images in a single forward pass. Despite these advances, state-of-the-art (SOTA) models still require external preprocessing or significant post-inference operations, as summarized in Table I . Moreover, many recent architectures require large parameter counts to maintain accuracy, limiting their suitability for resource-constrained devices. In this paper, we propose LEADER (Lightweight End-to-end Attention-gated Dual autoencodER), a fully convolutional model designed to map raw fingerprint images directly to comprehensive minutiae attributes: location, direction, type, and quality score. This unified approach eliminates handcrafted preprocessing and off-graph postprocessing, while delivering top-tier accuracy with remarkable parameter efficiency. The main contributions of this work are as follows. 1. A fully end-to-end framework that integrates the entire extraction process—including non-maximum suppression (NMS)—into the network, enabling direct readout of complete minutiae attributes. 2. An adaptive ground-truth encoding , termed Castle-Moat-Rampart (CMR), which uses spatially modulated weighting to disambiguate adjacent minutiae and improve localization robustness against labeling jitter. 3. A lightweight model with two autoencoders and a specialized attention gate, achieving high-accuracy minutiae extraction with 0.9 M parameters. 4. A modernized convolutional backbone incorporating separable convolutions, inverse bottlenecks, dilated kernels, and mixed pooling, optimized for accuracy and efficiency [ 3 ] . 5. Cross-domain generalization to latent fingerprints despite training exclusively on non-latent samples, with performance exceeding existing SOTA methods and commercial off-the-shelf (COTS) systems. 6. An interpretability study , showing that LEADER autonomously learns features aligned with traditional fingerprint concepts—such as segmentation masks, orientation fields, frequency maps, and ridge and valley skeletons—without explicit supervision. 7. An integrated open-source package ( pyfing ), including pre-trained weights for immediate reproducibility and further research. Fig. 1: Overview of fingerprint patterns and extraction paradigms. (a) Local ridge structure highlighting a ridge ( \mathrm{a}_{1} ), a valley ( \mathrm{a}_{2} ), a ridge ending ( \mathrm{a}_{3} ), and a bifurcation ( \mathrm{a}_{4} ), with their corresponding directions \theta . (b) Conventional deep learning-based pipeline: the input image ( \mathrm{b}_{1} ) is typically preprocessed ( \mathrm{b}_{2} ) and fed into a neural network to generate heatmaps ( \mathrm{b}_{3} ), requiring off-graph postprocessing to obtain the final minutiae ( \mathrm{b}_{4} ). (c) Traditional extraction workflow: the input image ( \mathrm{c}_{1} ) is enhanced ( \mathrm{c}_{2} ), binarized ( \mathrm{c}_{3} ), and thinned to a ridge skeleton ( \mathrm{c}_{4} ) before connectivity analysis yields the minutiae ( \mathrm{c}_{5} ). The remainder of this paper is organized as follows. Section II reviews the evolution of minutiae extraction methods. Section III describes the proposed LEADER architecture, detailing its cascaded feature extraction, on-graph postprocessing, ground-truth encoding, and multi-task optimization. Section IV presents experimental evaluations, comparative analyses, ablation studies, and interpretability investigations. Section V summarizes the contributions and outlines future directions. Supplementary Material (Appendices A – D ) provides technical notation, architectural specifications, implementation details, training dynamics, and extended sample-level performance analyses, including aggregate ranking statistics and visual comparisons of extraction accuracy. II Related Works Minutiae extraction has evolved from handcrafted morphological pipelines toward sophisticated deep learning architectures. This section reviews the milestones of this progression, from foundational methods to the latest neural approaches. II-A Traditional Methods Earlier solutions are generally categorized into binarization-based frameworks and direct gray-scale approaches. II-A 1 Binarization-based Extraction These classic frameworks rely on a multi-stage sequential process (Fig. 1 c). The workflow begins with image enhancement and ridge-valley binarization, followed by morphological thinning to generate a one-pixel-wide skeleton [ 1 ] . Minutiae are then detected by analyzing local pixel connectivity, typically through the crossing number technique, which identifies ridge endings and bifurcations by counting ridge-to-valley transitions in a 3\times 3 neighborhood [ 1 ] . Although effective for high‑quality fingerprints, this pipeline is notably vulnerable to noise. To mitigate artifacts such as “hairy” skeletons or spurs, regularization via morphological operators or adaptive filtering is often employed. However, these measures frequently fail to eliminate spurious minutiae, necessitating additional heuristic postprocessing that increases computational complexity. II-A 2 Direct Gray-scale Extraction Several methods operate directly on gray-scale intensities to mitigate the information loss and artifacts typical of binarization and thinning. These approaches generally follow one of two strategies. The first is ridge following , exemplified by the algorithm in [ 4 ] , which tracks ridges along the orientation field to detect intensity maxima on orthogonal cross-sections. While this avoids binarization errors, the sequential nature of the process requires precise tuning and lacks robustness in low-quality areas. The second strategy, singularity modeling , treats minutiae as local discontinuities in the ridge flow. Techniques based on parabolic symmetries [ 5 ] or frequency modulation [ 6 ] provide rigorous frameworks but often exhibit lower precision than modern learning-based alternatives. TABLE I: Evolution of deep learning-based minutiae extraction methods and comparison with LEADER. Method Single-pass End-to-end Minutiae direction Minutiae type Parameters (M) Open-source Sankaran et al. (2014) [ 7 ] No 1 No No No

Read the complete text