Papers › From Static to Dynamic: Adapting Landmark-Aware Image Models for Facial Expression...

From Static to Dynamic: Adapting Landmark-Aware Image Models for Facial Expression Recognition in Videos

9 Dec 2023arXiv:2312.05447archive 2025-07-28

Yin Chen, Jia Li, Shiguang Shan, Meng Wang, Richang Hong

Dynamic facial expression recognition (DFER) in the wild is still hindered by data limitations, e.g., insufficient quantity and diversity of pose, occlusion and illumination, as well as the inherent ambiguity of facial expressions. In contrast, static facial expression recognition (SFER) currently shows much higher performance and can benefit from more abundant high-quality training data. Moreover, the appearance features and dynamic dependencies of DFER remain largely unexplored. To tackle these challenges, we introduce a novel Static-to-Dynamic model (S2D) that leverages existing SFER knowledge and dynamic information implicitly encoded in extracted facial landmark-aware features, thereby significantly improving DFER performance. Firstly, we build and train an image model for SFER, which incorporates a standard Vision Transformer (ViT) and Multi-View Complementary Prompters (MCPs) only. Then, we obtain our video model (i.e., S2D), for DFER, by inserting Temporal-Modeling Adapters (TMAs) into the image model. MCPs enhance facial expression features with landmark-aware features inferred by an off-the-shelf facial landmark detector. And the TMAs capture and model the relationships of dynamic changes in facial expressions, effectively extending the pre-trained image model for videos. Notably, MCPs and TMAs only increase a fraction of trainable parameters (less than +10\%) to the original image model. Moreover, we present a novel Emotion-Anchors (i.e., reference samples for each emotion category) based Self-Distillation Loss to reduce the detrimental influence of ambiguous emotion labels, further enhancing our S2D. Experiments conducted on popular SFER and DFER datasets show that we achieve the state of the art.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.05447")

Code

Syntology Ran 7 of 14 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 7 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

FER-LMC/S2D officialmentioned in paperpytorchApache-2.0 report
msa-lmc/s2d officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 7 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

7ran
7unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from FER-LMC/S2D. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

crop_clip FER-LMC/S2D/datasets/functional.py official repository ran Apache-2.0 (permissive) · bc39b8ed5fefa7eb · report
get_resize_sizes FER-LMC/S2D/datasets/functional.py official repository ran Apache-2.0 (permissive) · 2b53e457d5632b4e · report
resize_clip FER-LMC/S2D/datasets/functional.py official repository ran Apache-2.0 (permissive) · 981936c73d3cdd12 · report
shear_x FER-LMC/S2D/datasets/rand_augment.py official repository ran Apache-2.0 (permissive) · e866e1196986f728 · report
shear_y FER-LMC/S2D/datasets/rand_augment.py official repository ran Apache-2.0 (permissive) · 7b2503c99c9447fb · report
train_class_batch FER-LMC/S2D/engine_for_finetuning.py official repository ran Apache-2.0 (permissive) · 6b9b585439223637 · report
translate_x_rel FER-LMC/S2D/datasets/rand_augment.py official repository ran Apache-2.0 (permissive) · 323759f906fbb394 · report
build_dataset FER-LMC/S2D/datasets/datasets.py official repository unverified Apache-2.0 (permissive) · f00a047305ea9335 · report
build_pretraining_dataset FER-LMC/S2D/datasets/datasets.py official repository unverified Apache-2.0 (permissive) · 55b44eaa04001d35 · report
feature2token FER-LMC/S2D/model_finetuning.py official repository unverified Apache-2.0 (permissive) · e35ba287fd7fef0b · report
get_loss_scale_for_deepspeed FER-LMC/S2D/engine_for_finetuning.py official repository unverified Apache-2.0 (permissive) · 29416043c7035e7c · report
spatial_sampling FER-LMC/S2D/datasets/kinetics.py official repository unverified Apache-2.0 (permissive) · 7e49117a60f3b108 · report
tensor_normalize FER-LMC/S2D/datasets/kinetics.py official repository unverified Apache-2.0 (permissive) · 14b3b13b2e7ee844 · report
token2feature FER-LMC/S2D/model_finetuning.py official repository unverified Apache-2.0 (permissive) · dafcc70e40e4a867 · report

Tasks

Dynamic Facial Expression RecognitionFacial Expression RecognitionFacial Expression Recognition (FER)

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Facial Expression Recognition (FER) AffectNet S2D Accuracy (7 emotion) 67.62 #10 of 50 Archive leaderboard report
Facial Expression Recognition (FER) AffectNet S2D Accuracy (8 emotion) 63.06 #10 of 50 Archive leaderboard report
Facial Expression Recognition (FER) RAF-DB S2D Overall Accuracy 92.57 #5 of 35 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections