A differentiable surrogate optimization framework for adaptive thresholds in multi-metric face verification
International Journal of Artificial Intelligence
Abstract
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.
Discover Our Library
Embark on a journey through our expansive collection of articles and let curiosity lead your path to innovation.





