LH2Face: Loss function for Hard High-quality Face

Fan Xie, Yang Wang, Yikang Jiao, Zhenyu Yuan, Congxi Chen +1 more
6/30/2025
cs.CV

No confident code implementation found for this paper.

Abstract

In current practical face authentication systems, most face recognition (FR) algorithms are based on cosine similarity with softmax classification. Despite its reliable classification performance, this method struggles with hard samples.

Show full abstract

A popular strategy to improve FR performance is incorporating angular or cosine margins. However, it does not take face quality or recognition hardness into account, simply increasing the margin value and thus causing an overly uniform training strategy. To address this problem, a novel loss function is proposed, named Loss function for Hard High-quality Face (LH2Face). Firstly, a similarity measure based on the von Mises-Fisher (vMF) distribution is stated, specifically focusing on the logarithm of the Probability Density Function (PDF), which represents the distance between a probability distribution and a vector. Then, an adaptive margin-based multi-classification method using softmax, called the Uncertainty-Aware Margin Function, is implemented in the article. Furthermore, proxy-based loss functions are used to apply extra constraints between the proxy and sample to optimize their representation space distribution. Finally, a renderer is constructed that optimizes FR through face reconstruction and vice versa. Our LH2Face is superior to similiar schemes on hard high-quality face datasets, achieving 49.39% accuracy on the IJB-B dataset, which surpasses the second-place method by 2.37%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xie2025lhface,
  title  = {LH2Face: Loss function for Hard High-quality Face},
  author = {Fan Xie and Yang Wang and Yikang Jiao and Zhenyu Yuan and Congxi Chen and Chuanxin Zhao},
  year   = {2025},
  eprint = {2506.23555},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.23555v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.23555.svg)](https://codeofpaper.com/paper/2506.23555)

Discussion