LH2Face: Loss function for Hard High-quality Face
arXiv:2506.23555v4 Announce Type: replace 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. 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 propo — Fan Xie, Yang Wang, Yikang Jiao, Zhenyu Yuan, Congxi Chen, Chuanxin Zhao
View PDF HTML (experimental)
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. 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%.
Subjects:
Computer Vision and Pattern Recognition (cs.CV)
Cite as: arXiv:2506.23555 [cs.CV]
(or arXiv:2506.23555v4 [cs.CV] for this version)
https://doi.org/10.48550/arXiv.2506.23555
arXiv-issued DOI via DataCite
Submission history
From: Fan Xie [view email] [v1] Mon, 30 Jun 2025 06:59:02 UTC (4,592 KB) [v2] Mon, 15 Sep 2025 08:09:27 UTC (8,378 KB) [v3] Mon, 13 Oct 2025 02:05:40 UTC (8,378 KB) [v4] Mon, 30 Mar 2026 02:43:55 UTC (8,378 KB)
Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
More about
researchpaperarxiv
Looking for Help on Building a Cheap/Budget Dedicated AI System
I’ve been getting into the whole AI field over the course of the year and I’ve strictly said to NEVER use cloud based AI (Or under VERY strict and specific circumstances). For example, i was using Opencode’s cloud servers, but only because it was through their own community maintained infrastructure/servers and also it was about as secure as it gets when it comes to cloud AI. But anything else is a hard NO. I’ve been using my main machine (Specs on user) and so far it’s been pretty good. Depending on the model, I can run 30-40B models at about 25-35 tok/s, which for me is completely usable, anything under or close to 10 tok/s is pretty unusable for me. But anyways, that has been great for me, but I’m slowly running into VRAM and GPU limitations, so I think it’s time to get some dedicated h
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.
More in Research Papers

Request for arXiv cs.AI Endorsement – Life-Aligned AI Framework
Hi everyone, I’m preparing to submit a paper to arXiv (cs.AI, with cross-lists to q-bio.PE and physics.soc-ph) and am currently awaiting endorsement from a qualified author. Posting here in case anyone in this community can help or knows someone who can. Title: Life-Aligned AI: A Framework for Grounding Artificial Intelligence in the Empirical Conditions of Flourishing Here’s the main idea: Current alignment approaches work backwards — rules imposed in advance by minds that the systems they constrain may eventually exceed. This paper proposes a different starting point: training AI on living systems — the only adaptive framework continuously pressure-tested across four billion years under conditions of genuine consequence — and letting the operating principles emerge from genuine reasoning




![Thoughts on AI and Research [pdf]](https://d2xsxph8kpxj0f.cloudfront.net/310419663032563854/konzwo8nGf8Z4uZsMefwMr/default-img-robot-hand-JvPW6jsLFTCtkgtb97Kys5.webp)
Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!