FlatFace: Improve Face Recognition by Sharpness-aware Minimization

Read full text
Authors: Tanapat Ratchatorn, Masayuki Tanaka
Cited by: 1

Abstract

Margin-based Face Recognition (FR) has achieved remarkable performance by learning discriminative feature representations that ensure high intra-class compactness and inter-class separability. While most state-of-the-art methods focus on developing margin-based loss functions, improving model generalization performance is equally critical, especially under open-set conditions where test identities are absent from training data. Recent developments in learning algorithms have highlighted the sharpness of the loss surface as a key factor in reducing the generalization gap. Building on this, Sharpness-Aware Minimization (SAM) introduced a weight perturbation step to enhance generalization performance, with Adaptive Adversarial Cross-Entropy (AACE) further refining SAM by modifying the perturbation step. Inspired by those researches, we propose FlatFace, a novel training framework for face recognition that adopts weight perturbation into the training process. FlatFace consists of two key steps: the perturbation step, which perturbs model parameters in both the feature extractor and class weights toward the worst-case scenario, and the weight updating step, which uses the loss gradient at the perturbed feature extractor and class weights to update the parameters. By guiding the model toward flatter minima, Flat-Face improves generalization performance and accuracy, particularly for open-set face recognition tasks. Empirical experiments confirm its effectiveness, demonstrating reduced generalization gaps and enhanced overall performance.

Fields of Study & Subjects

Face recognition and analysis Face and Expression Recognition Domain Adaptation and Few-Shot Learning

Publication details

Journal / source
Electronic Imaging
Publisher
Society for Imaging Science & Technology
Volume
38
Issue
6
Pages
278–1
Publication date
1 March 2026