arXiv:2609.10278cs.CVSep 2026

Manuscript Offprint

arXiv:2609.10278

FreqFLD: Towards All-in-One Facial Landmark Detection via Frequency Modulation

Shun Ren, Kaijie Jin, Shengkai Hu, Beihang Song, Hang Sun, Wenwen Min, Youfa Liu, Jun Wan

Abstract

Recent progress in deep learning has significantly advanced facial landmark detection. However, most existing methods process features in a spatial-domain manner under a dataset-specific training paradigm, which overlooks the fact that facial landmark detection is inherently geometry-driven and sensitive to frequency variations, thereby limiting cross-dataset generalization under complex scenarios and hindering the development of a facial landmark detection model. To address this issue, we propose FreqFLD, a frequency-modulated framework towards All-in-One facial landmark detection. Specifically, FreqFLD introduces a Frequency Modulation Module (FreqMoM) to explicitly induce the frequency prior by decoupling and modulating low- and high-frequency components, which is then injected into subsequent feature modeling to enable balanced modeling of global facial structure and local landmark details. Furthermore,

*Corresponding author: Shengkai Hu and Beihang Song. Email addresses: renshun@ctgu.edu.cn (Shun Ren), 1059657014@qq.com (Kaijie Jin), shengkaihu@stu.zuel.edu.cn (Shengkai Hu), bhs605906@whu.edu.cn (Beihang Song), sunhang0418@whu.edu.cn (Hang Sun), minwenwen@ynu.edu.cn (Wenwen Min), liuyfa1991@whu.edu.cn (Youfa Liu), N2409681J@e.ntu.edu.sg (Jun Wan)

Preprint submitted to Elsevier

September 10, 2026

FreqFLD employs a Frequency-Modulated Mixture-of-Experts (FreqMoE), with expert selection adaptively conditioned on frequency-modulated priors, enabling flexible modeling of heterogeneous facial landmark patterns under diverse and challenging scenarios. To regularize frequency-consistent modeling under the All-in-One paradigm, we further introduce a Frequency-Consistent Routing (FreqCR) loss, which constrains the routing and assignment of frequency-aware experts to promote balanced expert utilization across diverse facial scenarios, thereby enabling stable expert specialization and achieving robust facial landmark detection. Extensive experiments demonstrate that the proposed FreqFLD achieves comparable performance on popular datasets. The code is available at: https://github.com/jkj1059657014/FreqFLD.

Keywords: Facial Landmark Detection, Heatmap regression, All-in-One, Frequency Learning, Multi-Dataset Training

1. INTRODUCTION

Facial landmark detection (FLD), also known as face alignment, is a fundamental task in computer vision that aims to localize semantically consistent keypoints (e.g., eyes, nose tip, mouth corners, etc.) for facial geometry and structure. It serves as a critical prerequisite for a wide range of downstream applications, including face recognition [1, 2], expression recognition [3, 4], 3D face reconstruction [5, 6] and virtual avatar generation [7, 8].

With the advancement of deep learning, most existing FLD methods follow a dataset-specific training paradigm [9, 10, 11, 12], where models are independently optimized for individual benchmarks. While such a paradigm has achieved impressive performance on single datasets, it often suffers from limited generalization across datasets and incurs considerable computational and maintenance costs due to repeated training. A comparison across various FLD benchmarks indicates that, despite variations in the number of annotated landmarks (68 for 300W, 19 for AFLW, 29 for COFW, and 98 for WFLW), all datasets describe the same fundamental facial geometry. In particular, overlapping semantic landmarks

Figure

Figure 1: The proposed FreqFLD facilitates unified learning across multiple facial landmark detection datasets with heterogeneous annotation schemes and demonstrates comparable performance.

across different datasets span a shared geometric subspace, which is repeatedly learned by dataset-specific models. This structural redundancy suggests that a unified representation can be learned across heterogeneous datasets, thereby motivating a unified architecture for FLD. Moreover, to improve cross-domain generalization, more recently, inspired by advances in low-level image restoration [13, 14, 15, 16, 17], and fine-grained visual understanding [18, 19, 20], the All-in-One paradigm has been explored to handle multiple degradations within a single framework. However, extending these paradigms to FLD inevitably exacerbates feature conflicts induced by large variations in facial pose, expression, and occlusion.

More recently, mixture-of-experts (MoE) architectures [21, 22, 23, 24] have been explored within the All-in-One paradigm as an effective mechanism to alleviate feature conflicts by employing multiple specialized experts to model heterogeneous data distributions through adaptive routing. However, extending existing MoE frameworks to FLD presents non-trivial challenges. On the one hand, traditional individual experts are primarily based on spatial-domain feature modeling, which limits their ability to capture the intrinsic geometric structure of faces. On the other hand, unconstrained expert routing leads to unstable specialization, resulting in expert imbalance or inconsistent assignment of facial patterns across experts, which further compromises training stability and generalization performance. These limitations are further exacerbated under multi-dataset joint training in the All-in-One paradigm.

Motivated by these observations, we propose FreqFLD, a frequency-modulated All-in-One framework for robust FLD. FreqFLD incorporates a FreqMoM that explicitly decomposes input features into complementary low- and high-frequency components. By separately modeling low-frequency structural information and high-frequency landmark-sensitive details, FreqMoM constructs frequency-disentangled priors. Furthermore, we introduce a FreqMoE, in which expert routing is adaptively conditioned on frequency-modulated priors. By guiding expert selection with frequency-aware structural cues, FreqMoE promotes consistent expert specialization across datasets, enabling different experts to capture heterogeneous facial patterns while preserving shared geometric structure, thereby mitigating feature conflicts induced by diverse facial conditions. To further regularize frequency-consistent expert specialization under the All-in-One paradigm, we propose a FreqCR loss. By constraining expert assignment to remain aligned with frequency-aware structural cues, FreqCR stabilizes expert routing dynamics and prevents expert imbalance during training, leading to more stable optimization and improved cross-dataset generalization. By jointly integrating FreqMoM, FreqMoE, and FreqCR, FreqFLD achieves coherent frequency-aware representation learning and stable expert specialization under heterogeneous facial statistics, leading to comparable FLD performance (Fig. 1). The main contributions of this work are summarized as follows:

(1) We propose FreqFLD, a frequency-modulated All-in-One framework for FLD, which alleviates cross-dataset feature conflicts by integrating frequency-aware representation learning with expert-based modeling. The proposed FreqFLD achieves competitive FLD performance compared with dataset-specific training methods.

(2) We introduce the Frequency Modulation Module (FreqMoM) and the Frequency-Modulated Mixture-of-Experts (FreqMoE), two complementary components that respectively enable frequency-disentangled feature modeling and frequency-conditioned expert specialization, facilitating robust facial structure modeling under diverse facial conditions.

(3) We propose a Frequency-Consistent Routing (FreqCR) loss to regularize expert routing, promoting stable and frequency-consistent specialization under the All-in-One paradigm.

References (49)