FaceLiVTv2: An Improved Hybrid Architecture for Efficient Mobile Face Recognition
Organizations: Department of Electro-Optics, National Formosa University, Taiwan · Department of Electrical Engineering University of Muhammadiyah Malang, Indonesia · Department of Electrical Engineering, National Taipei University, Taiwan · College of Artificial Intelligence and Green Energy, National Yang Ming Chiao Tung University, Taiwan
Abstract
Lightweight face recognition is increasingly important for deployment on edge and mobile devices, where strict constraints on latency, memory, and energy consumption must be met alongside reliable accuracy. Although recent hybrid CNN-Transformer architectures have advanced global context modeling, striking an effective balance between recognition performance and computational efficiency remains an open challenge. In this work, we present FaceLiVTv2, an improved version of our FaceLiVT hybrid architecture designed for efficient global--local feature interaction in mobile face recognition. At its core is Lite MHLA, a lightweight global token interaction module that replaces the original multi-layer attention design with multi-head linear token projections and affine rescale transformations, reducing redundancy while preserving representational diversity across heads. We further integrate Lite MHLA into a unified RepMix block that coordinates local and global feature interactions and adopts global depthwise convolution for adaptive spatial aggregation in the embedding stage. Under our experimental setup, results on LFW, CA-LFW, CP-LFW, CFP-FP, AgeDB-30, and IJB show that FaceLiVTv2 consistently improves the accuracy-efficiency trade-off over existing lightweight methods. Notably, FaceLiVTv2 reduces mobile inference latency by 22% relative to FaceLiVTv1, achieves speedups of up to 30.8% over GhostFaceNets on mobile devices, and delivers 20-41% latency improvements over EdgeFace and KANFace across platforms while maintaining higher recognition accuracy. These results demonstrate that FaceLiVTv2 offers a practical and deployable solution for real-time face recognition. Code is available at https://github.com/novendrastywn/FaceLiVT.
Figures & tables
| Methods | Context | Low | High | Fast Inference | Approach | ||
|---|---|---|---|---|---|---|---|
| Global | Local | Comp. | Acc. | Edge | Mobile | ||
| MobileFaceNet [ 6 ] | ✗ | ✓ | ✓ | ✗ | ✓ | ✓ | Lightweight CNN optimized for mobile face recognition using depthwise separable convolutions [ 7 ] . |
| GhostFaceNet [ 8 ] | ✗ | ✓ | ✓ | ✗ | ✓ | ✓ | CNN-based face recognition model leveraging ghost modules [ 9 ] to reduce redundancy. |
| TransFace [ 10 ] | ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | Vanilla Vision Transformer [ 11 ] for face recognition with patch-level data augmentation. |
| EdgeFace [ 3 ] | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | EdgeNext [ 12 ] -based architecture with low-rank linear layer. |
| KANFace [ 5 ] | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | Hybrid EdgeFace-based [ 3 ] architecture incorporating Kolmogorov–Arnold Networks [ 13 ] for enhanced representation. |
| CNN : | Convolutional Neural Network. |
| FR : | Face Recognition |
| FFN : | Feed Forward Network |
| GDConv : | Global Depthwise Convolution |
| MHSA : | Multi-Head Self-Attention |
| MHLA : | Multi-Head Linear Attention |
| MLP : | Multi Layer Perceptron |
| Component | MHSA | MHLA (v1) | Lite MHLA (v2) |
|---|---|---|---|
| Q,K,V + Out Proj. | – | – | |
| Token Interaction | |||
| ( and ) | (MLP) | (Linear Proj.) | |
| Nonlinearity | softmax | GELU | - |
| Normalization | LayerNorm | LayerNorm | Affine Transf. |
| Total |
| Stage | Layer | Res. | Kernel | FaceLiVTv2 Channels | ||||
|---|---|---|---|---|---|---|---|---|
| Size | XS | S | M | L | ||||
| Input | Image | - | 1 | - | - | - | - | |
| Stem | Conv | 3 3 | 1 | 16 | 24 | 28 | 32 | |
| Conv | 3 3 | 1 | 32 | 48 | 56 | 64 | ||
| Stage-1 | RepMix Enc. | 3 3 | 3 | 32 | 48 | 56 | 64 | |
| Downsampling | 3 3 | 1 | 64 | 96 | 112 | 128 | ||
| Model | Year | Param | FLOPs | Training | LFW | CA- | CP- | CFP | Age | Mean | IJB (FAR@ ) | Latency | |
| (M) | (M) | Dataset | LFW | LFW | -FP | DB30 | Acc(%) | B | C | ( ) | |||
| Large-Scale FR Models (FLOPs 1G) | |||||||||||||
| ResNet200-TopoFR [ 27 ] | ’24 | 118.8 | 23.5G | Glint360K | 99.87 | - | - | 99.45 | 98.82 | - | 97.84 | 96.56 | 12.24 |
| TransFace-L [ 34 , 10 ] | ’25 | 271.6 | 25.4G | Glint360K | 99.85 | - | - | 99.37 | 98.66 | - | 96.73 | 97.85 | OOM |
| TransFace-B [ 34 , 10 ] | ’25 | 124.5 | 11.5G | Glint360K | 99.85 | - | - | 99.24 | 98.62 | - | 96.46 | 97.59 | 18.20 |
| TransFace-S [ 34 , 10 ] | ’25 | 86.7 | 5.8G | Glint360K | 99.85 | - | - | 98.96 | 98.56 | - | 96.12 | 97.45 | 14.31 |
| Model | Mean | ONNX Latency (ms) | ||
|---|---|---|---|---|
| Acc(%) | GPU | CPU | Jetson-(GPU/CPU) | |
| KANFace-0.5 [ 5 ] | 96.63 | 1.96 | 6.19 | 7.12 / 20.47 |
| FaceLiVTv1-M [ 15 , 16 ] | 96.25 | 1.83 | 3.61 | 7.04 / 13.65 |
| EdgeFace-S [ 3 ] | 96.16 | 1.84 | 2.90 | 6.85 / 11.16 |
| SwiftFaceFormer-L1 [ 4 ] | 95.83 | 1.36 | 4.51 | 5.53 / 10.85 |
| SwiftFaceFormer-S [ 4 ] | 95.74 | 1.28 | 2.53 | 5.28 / 8.18 |
| Model | FLOP | Rank | |||
|---|---|---|---|---|---|
| (M) | 1 | 5 | 20 | 50 | |
| VGGFace [ 30 ] | - | 30.4 | - | 40.4 | 42.7 |
| CenterFace [ 30 ] | - | 32.1 | - | 44.5 | 48.4 |
| MobileFaceNet [ 19 ] from [ 18 ] | 440 | 42.3 | 44.6 | 47.1 | 50.2 |
| ShuffleFaceNet-1.5 [ 33 , 19 ] from [ 18 ] | 577 | 50.2 | 52.4 | 54.5 | 55.3 |
| VarGFaceNet [ 20 ] from [ 18 ] | 1022 | 52.8 | 54.1 | 56.3 | 58.2 |
| Architectural | Param | FLOPs | LFW | CA-LFW | CP-LFW | CFP-FP | AgeDB-30 | Mean Acc | Latency |
| Ablation | (M) | (M) | (%) | (%) | (%) | (%) | (%) | (%) | (ms) |
| FaceLiVTv1-S (Baseline) | 5.9 | 237 | 99.70 | 95.63 | 90.70 | 95.10 | 96.60 | 95.55 | 0.47 |
| Adjust Dim , Depth , & MLP | 6.5 (10%) | 203 (14%) | 99.70 (+0.00) | 95.63 (+0.00) | 91.53 (+0.83) | 95.73 (+0.63) | 97.05 (+0.45) | 95.92 (+0.37) | 0.67 (42%) |
| GAP GDConv Recog. Head | 7.4 (25%) | 210 (11%) | 99.72 (+0.02) | 95.75 (+0.12) | 91.20 (+0.50) | 96.12 (+1.02) | 97.03 (+0.43) | 95.96 (+0.40) | 0.73 (55%) |
| Separate Combined RepMix | 7.4 (25%) | 211 (11%) | 99.73 (+0.03) | 95.87 (+0.24) | 91.22 (+0.52) | 96.15 (+1.05) | 97.23 (+0.63) | 96.00 (+0.45) | 0.74 (57%) |
| MHLA LiteMHLA | 4.6 (22%) | 179 (24%) | 99.78 (+0.08) | 95.93 (+0.30) | 92.45 (+1.75) | 97.47 (+2.37) | 97.82 (+1.22) | 96.69 (+1.14) | 0.52 (10%) |
| Block Config. | Param | FLOPs | LFW | CA | CP | CFP | Age | Lat |
|---|---|---|---|---|---|---|---|---|
| [4-Stages] | (M) | (M) | LFW | LFW | FP | DB30 | (ms) | |
| [R, R, R, R] | 4.52 | 175 | 99.73 | 95.88 | 92.07 | 97.19 | 97.67 | 0.50 |
| [R, R, RL, RL] | 4.62 | 179 | 99.78 | 95.93 | 92.45 | 97.47 | 97.82 | 0.54 |
| [RL, RL, RL, RL] | 12.47 | 279 | 99.80 | 95.99 | 92.54 | 97.57 | 97.83 | 1.36 |
| Loss Function | LFW | CA | CP | CFP | Age |
|---|---|---|---|---|---|
| LFW | LFW | FP | DB30 | ||
| ArcFace [ 17 ] | 99.75 | 95.75 | 91.63 | 96.63 | 97.65 |
| CosFace [ 23 ] | 99.78 | 95.93 | 92.45 | 97.47 | 97.82 |
| Ablations | Param | FLOPs | LFW | CA | CP | CFP | Age | Lat |
|---|---|---|---|---|---|---|---|---|
| (M) | (M) | LFW | LFW | FP | DB30 | (ms) | ||
| Baseline | 4.62 | 179 | 99.78 | 95.93 | 92.45 | 97.47 | 97.82 | 0.54 |
| w/o Res Rep | 4.62 | 179 | 99.78 | 95.93 | 92.45 | 97.47 | 97.82 | 0.63 |
| w/o fused BN | 4.65 | 183 | 99.78 | 95.93 | 92.45 | 97.47 | 97.82 | 0.62 |
| w/o | 4.62 | 179 | 99.72 | 95.65 | 92.23 | 97.40 | 97.68 | 0.54 |
| Ablations | Param | FLOPs | LFW | CA | CP | CFP | Age | Lat |
|---|---|---|---|---|---|---|---|---|
| (M) | (M) | LFW | LFW | FP | DB30 | (ms) | ||
| Normalization | ||||||||
| Layer Norm | 4.58 | 179 | 99.68 | 95.70 | 90.90 | 95.75 | 97.05 | 0.55 |
| Affine | 4.62 | 179 | 99.78 | 95.93 | 92.45 | 97.47 | 97.82 | 0.54 |
| Activation Function | ||||||||
| GELU | 4.62 | 179 | 99.76 | 95.90 | 92.38 | 97.44 | 97.79 | 0.55 |
| Num | Param | FLOPs | LFW | CA | CP | CFP | Age | Lat |
|---|---|---|---|---|---|---|---|---|
| Head | (M) | (M) | LFW | LFW | FP | DB30 | (ms) | |
| 1 | 4.55 | 179 | 99.70 | 95.87 | 91.88 | 97.20 | 97.75 | 0.49 |
| 2 | 4.58 | 179 | 99.75 | 95.77 | 92.07 | 97.36 | 97.72 | 0.52 |
| (+0.05) | (-0.10) | (+0.19) | (+0.16) | (-0.03) | (6% ) | |||
| 3 | 4.59 | 179 | 99.75 | 95.80 | 92.77 | 97.36 | 97.97 | 0.53 |
| (+0.05) | (-0.07) | (+0.89) | (+0.16) | (+0.22) | (8% ) |
| Num | IJB-B | IJB-C | ||
|---|---|---|---|---|
| Head | FAR@ | FAR@ | FAR@ | FAR@ |
| 1 | 38.38 | 93.62 | 59.31 | 94.89 |
| 2 | 38.10 (-0.28) | 93.89 (+0.27) | 70.96 (+11.65) | 95.50 (+0.61) |
| 3 | 41.76 (+3.38) | 93.96 (+0.34) | 75.45 (+16.14) | 95.56 (+0.67) |
| 4 | 41.97 (+3.59) | 94.51 (+0.89) | 80.22 (+20.91) | 95.99 (+1.10) |
| 5 | 39.53 (+1.15) | 94.26 (+0.64) | 62.97 (+3.66) | 95.67 (+0.78) |
| Hyperparameters | Config |
|---|---|
| optimizer | AdamW |
| learning rate | 0.006 |
| image resolution | 112 112 |
| batch size | 384 |
| LR schedule | polynomial |
| warmup epochs | 0 |
| Model | IJB-B | IJB-C | ||||
|---|---|---|---|---|---|---|
| MobileFaceNet [ 19 ] | 87.9 | 92.8 | 95.6 | 92.2 | 94.7 | 96.6 |
| ShuffleFaceNet-1.5 [ 19 ] | 86.5 | 92.3 | 95.2 | 91.3 | 94.3 | 96.3 |
| EdgeFace-S(0.5) [ 3 ] | - | 93.6 | - | - | 95.6 | - |
| ResNet50-ArcFace [ 17 ] | 80.5 | 89.9 | 94.5 | 86.1 | 92.1 | 96.0 |
| EdgeFace-XS(0.6) [ 3 ] | - | 92.7 | - | - | 94.8 | - |
| Category | Operation Type | Description and Runtime Characteristic |
|---|---|---|
| Compute Operations | ||
| Tensor MatMul | Linear projections and matrix multiplications | Dominated by arithmetic FLOPs and executed on Tensor Cores or ALUs. These operations are highly compute-bound and critical in attention and fully connected layers. |
| convolution | fully, depthwise and pointwise convolutions | Performs spatial feature extraction using high multiply–accumulate (MAC) operations. Generally compute-intensive but cache-friendly and efficient on GPUs or NPUs. |
| Pooling | Global or average pooling operations | Aggregates spatial information into compact representations. Has moderate compute cost with minimal memory overhead. |
| Activation | Non-linear activation or attention weighting (GELU, ReLU, Softmax) | Introduces non-linearity or attention weighting in neural modules. Arithmetic-dominated and often fused into preceding compute kernels for efficiency. |
| Memory Operations | ||
| Model | Year | Param | FLOPs | Training | LFW | CFP | Age | Mean | IJB (FAR@ ) | Latency | |
| (M) | (M) | Dataset | -FP | DB30 | Acc(%) | B | C | ( ) | |||
| Large-Scale FR Models (FLOPs 1G) | |||||||||||
| ResNet200-TopoFR [ 27 ] | ’24 | 118.8 | 23.5G | Glint360K | 99.87 | 99.45 | 98.82 | 99.38 | 97.84 | 96.56 | 12.24 |
| TransFace-L [ 34 ] | ’25 | 271.6 | 25.4G | Glint360K | 99.85 | 99.37 | 98.66 | 99.29 | 96.73 | 97.85 | OOM |
| TransFace-B [ 34 ] | ’25 | 124.5 | 11.5G | Glint360K | 99.85 | 99.24 | 98.62 | 99.24 | 96.46 | 97.59 | 18.20 |
| TransFace-S [ 10 ] | ’23 | 86.7 | 5.8G | Glint360K | 99.85 | 98.91 | 98.50 | 99.09 | 96.05 | 97.33 | 14.31 |
Face Recognition
Face recognition matches or identifies people from facial images, videos, and biometric representations across changing conditions.
See all 108 papers