A differentiable surrogate optimization framework for adaptive thresholds in multi-metric face verification
Face verification systems conventionally rely on fixed, pre-defined thresholds to classify pairs of facial embeddings, a practice that lacks robustness under varying real-world conditions. However, learning adaptive thresholds has been hindered by the non-differentiable nature of the comparison operation, which prevents end-to-end optimization through gradient-based methods. This paper presents a novel framework, termed differentiable surrogate optimization (DSO), to address this limitation. The proposed approach introduces a continuous, margin-based surrogate loss function that acts as a differentiable proxy for the hard decision boundary, thereby enabling a lightweight neural network to learn and dynamically predict context-aware thresholds for multiple similarity metrics, including Euclidean distance, Cosine distance, and Euclidean norm (L2-norm), based on FaceNet embeddings. Experimental results demonstrate that the proposed system effectively learns to produce a broad distribution of context-aware thresholds, whose means align with regions of high-class ambiguity. The framework achieves an area under the curve (AUC) exceeding 0.94 across all metrics, confirming its discriminative capability. These results validate DSO as a feasible and interpretable solution for developing self-adjusting face verification systems.
Authors
- Mona Subagja (ORCID: https://orcid.org/0000-0003-3472-101X)
- Ahmad Zein Al Wafi (ORCID: https://orcid.org/0009-0002-2738-9661)
- Anan Nugroho (ORCID: https://orcid.org/0000-0002-3844-1405)
- Muhammad Iqbal (ORCID: https://orcid.org/0009-0007-2863-2033)
Institutions
- State University of Semarang (ID)
Publication Details
- Journal
- IAES International Journal of Artificial Intelligence
- Published
- 2026-12-01
- DOI
- https://doi.org/10.11591/ijai.v15.i6.pp5581-5591
- Primary Topic
- Face recognition and analysis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Universitas Negeri Semarang