arXiv:2610.16849cs.CVOct 2026

Manuscript Offprint

arXiv:2610.16849

A Multi-Task Deep Learning Framework for Pose-Invariant Face Recognition and Facial Landmark Localization

Ali Ashkeyev, Zukhra Abdiakhmetova

Ali Ashkeyev

Faculty of Information Technology

Kazakh-British Technical University

Almaty, Kazakhstan

Email: ashkeyevli@gmail.com

Zukhra Abdiakhmetova, PhD, Assoc. Prof.

Faculty of Information Technology and Artificial Intelligence

Abai Kazakh National Pedagogical University

Almaty, Kazakhstan

Email: z.abdiakhmetova@abaiuniversity.edu.kz

Abstract—Face recognition systems often experience performance degradation under large pose variations due to changes in facial appearance and visibility of discriminative features. This study presents a multi-task deep learning framework that jointly addresses pose-invariant face recognition and facial landmark localization within a unified architecture.

To enable simultaneous optimization of identity recognition and facial structure learning, the original Cross-Pose Labeled Faces in the Wild (CPLFW) dataset was adapted into a multi-task learning dataset by associating facial images with identity labels and five-point landmark annotations. The proposed framework consists of two task-specific branches operating on a common facial input: a ResNet50-based branch for identity recognition and an EfficientNetV2B0-based branch with spatial attention for facial landmark localization. The two objectives are jointly optimized using a weighted multi-task loss, allowing the model to learn complementary semantic and spatial facial representations.

The proposed framework was evaluated on the prepared CPLFW-based multi-task dataset. Unlike the original CPLFW benchmark, which focuses primarily on identity recognition, the proposed dataset adaptation incorporates five-point facial landmark annotations to enable joint recognition and localization learning. Experimental results demonstrate that the model achieves a validation recognition accuracy of 81.58% and a facial landmark localization mean squared error of 96.38. The results indicate that combining identity classification and landmark regression within a single optimization framework provides an effective approach for learning robust facial representations under cross-pose conditions.

The proposed method demonstrates the potential of multi-task learning and attention-based feature refinement for unconstrained facial analysis.

Index Terms—face recognition, facial landmark localization, multi-task learning, pose invariance, spatial attention.

I. INTRODUCTION

Face recognition has become an important biometric technology for identity verification, access control, surveillance, and security applications. Early face recognition systems primarily relied on handcrafted representations and statistical dimensionality-reduction techniques. Principal Component Analysis (PCA), for example, formed the basis of the Eigenfaces approach, in which facial images are represented in a lower-dimensional eigenspace [1]. Other approaches, including Linear Discriminant Analysis (LDA) and Fisherface-based methods [2], Local Binary Patterns (LBP) [3], and Gabor-based representations [4], further improved facial feature extraction. Nevertheless, traditional methods remain sensitive to variations in illumination, expression, occlusion, and particularly head pose, which limits their reliability in unconstrained environments.

Convolutional Neural Networks (CNNs) improved face recognition technologies. This approach allows for hierarchical and discriminative facial representations learn from image data. There are several examples of CNN such as DeepFace, FaceNet and ArcFace. Introduction of DeepFace combines deep representations with facial alignment [5]. The embedding-based approach where distances between facial representations correspond to identity similarity was shown in FaceNet [6], while ArcFace shows how differences between facial features can be learned through an additive angular margin loss [7]. The wider context of representation-learning methods can be found in following works. According to a review by Masi et al., the main components of deep face recognition are face preprocessing, network architectures, and training objectives [8], while Wan et al. investigated the combination of CNN and subspace learning [9].

Changes in head orientation can significantly alter both the appearance of a face and the visibility of its key components. Under non-frontal poses, facial regions such as the eyes, nose, and mouth may be distorted or partially hidden, increasing intra-class variation between images of the same individual. The problem becomes more difficult when pose variations occur together with illumination changes, low image resolution, facial expressions, or partial occlusion. This challenge is particularly important in real-world applications such as surveillance and biometric authentication, where frontal facial images cannot always be guaranteed.

In previous research works multi-task learning (MTL) showed good performance on jointly addressing face detection, landmark localization, pose estimation, gender classification, and other facial analysis tasks [10]–[13]. This is because MTL optimizes facial analysis tasks within a unified framework.

For example, it was combined face detection, landmark localization, pose estimation, and gender recognition within a single deep multi-task architecture in HyperFace approach [10]. Structural information provided by facial landmark localization helps to solve face recognition problems in dynamic environment, because landmarks can describe spatial positions of key facial features and help to recognize facial geometry.

In pose variations, visibility of key facial features can be significantly changed, while attention mechanisms address these challenges by emphasizing key regions instead of treating all parts of an image equally. The research work that investigated spatial and channel-wise mechanisms to improve feature representation and robustness under changing conditions [14]–[16] motivated to include spatial attention mechanism to proposed work.

Multi-task facial analysis frameworks usually merge face recognition branch with additional features like identification of gender, age or facial expression. This study proposes a MTL framework for pose-invariant face recognition and facial landmark localization, because optimized identity recognition and facial landmark localization for pose invariance are not explored fully. Proposed architecture uses ResNet50 for the identity recognition branch and EfficientNetV2B0 for facial landmark localization, while spatial attention mechanism was used to emphasize informative facial regions to help task-specific components learn discriminative identity representations and facial landmark positions. To show good merged performance of identity classification and landmark regression in framework it combined identity-related semantic information with structural facial information. For training and evaluating it was used augmented dataset derived from the Cross-Pose Labeled Faces in the Wild (CPLFW) dataset. The dataset contains photographs of people, mostly famous figures, from different angles and facial poses, and is labeled with their names, which well aligns dataset with the objective of this study [17].

The main contributions of this work are: (1) the development of a multi-task framework that jointly learns facial identity recognition and landmark localization; (2) the integration of spatial attention to emphasize informative facial regions under pose variations; and (3) the experimental evaluation of a dual-branch deep learning architecture designed to learn both semantic identity and structural facial representations from cross-pose facial data. The experimental results demonstrate that both tasks can be learned within the proposed framework, achieving a validation recognition accuracy of 81.58% and a validation landmark localization mean squared error (MSE) of 96.38 pixel 2^{2}.

The structure of this research paper is organized in following way. Proposed methodology, including related methods, architecture, dataset preparation, and training strategy was illustrated in Section II called Methods, while Section III shows experimental results and Section IV discusses these findings and limitations. The conclusion of this study and future research are shown in Section V.

References (40)