ActFER: Agentic Facial Expression Recognition via Active Tool-Augmented Visual Reasoning

Shifeng Liu, Zhengye Zhang, Sirui Zhao, Xinglong Mao, Zhehan Kan, Zhixiang Wei, Shiwei Wu, Chaoyou Fu, Tong Xu, Enhong ChenarXiv 2026

TL;DR

ActFER transforms facial expression recognition (FER) from a passive, single-pass classification task into an active, agentic exploration. By dynamically utilizing visual tools to zoom into key facial regions and reasoning through a visual Chain-of-Thought, ActFER significantly improves emotion and Action Unit (AU) detection, particularly for subtle and easily confused expressions.

What Problem Does This Paper Address?

Recognizing human emotions from facial expressions is inherently nuanced. While a broad facial pattern provides a baseline, accurate interpretation often hinges on fine-grained, localized muscle movements—known in psychology as Action Units (AUs).

Current Multimodal Large Language Models (MLLMs) applied to FER follow a passive paradigm: they perform single-pass reasoning over static, externally preprocessed, or cropped images. This setup makes them brittle when encountering raw, "in-the-wild" images and leaves them incapable of actively deciding when and where to look closer to resolve ambiguity (e.g., distinguishing a polite smile from a sarcastic smirk). ActFER addresses this gap by reframing FER as an active, tool-augmented visual reasoning problem.

Figure 1: Comparison of FER paradigms. Previous methods rely on passive reasoning over fixed inputs, while ActFER performs tool-augmented agentic inspection.

Methods

The authors introduce ActFER, an agentic framework operating on an iterative thought-action-observation loop.

1. The Agentic Pipeline

Given a raw image, the agent interacts with its environment using a specialized tool library:

  • Face Detection-Alignment: Invokes InsightFace to detect landmarks and normalize the face into a standardized view, establishing spatial coordinates for four key regions: forehead-eyebrow, eye-periorbital, nose, and mouth-chin.
  • Adaptive Zoom-In: Crops and magnifies specific regions of interest (ROIs) to expose subtle visual evidence.
  • Structured Output: Executes a visual Chain-of-Thought (CoT) that explicitly maps local visual observations to specific AUs, using them as an interpretable bridge to predict the final emotion label.
Figure 2: Overall architecture of ActFER. The agent combines tool-augmented visual reasoning, perceptual tools, FACS-grounded hierarchical inference, and two-stage SFT+UC-GRPO optimization.

2. Utility-Calibrated GRPO (UC-GRPO)

Training an agent to use tools adaptively is challenging because zooming isn't always beneficial; it can introduce noise or waste computational budget on clear, unambiguous faces. To train this behavior, the authors developed UC-GRPO, an extension of Group Relative Policy Optimization tailored for agentic FER:

  • AU-Grounded Dense Rewards: Instead of relying solely on a sparse final emotion label, the reward function incorporates instance-level AU F1 scores. This ensures the model is rewarded for capturing correct facial mechanics even if the final emotion classification is incorrect.
  • Query-Conditional Contrastive Utility Estimation: Within a single rollout group, the algorithm directly compares the performance of trajectories that chose to zoom against those that did not. This enables sample-aware dynamic credit assignment.
  • Emotion-Aware EMA Calibration: To smooth out noisy sample-level updates, the algorithm maintains an Exponential Moving Average (EMA) of zoom utility across different emotion categories. Emotions that historically benefit from close inspection (like subtle contempt) are modulated to penalize missed zoom opportunities more heavily.

Datasets

The framework was trained and evaluated using a mix of well-established affective computing benchmarks:

  • Training & Evaluation (FERBench): Data was curated and split from AffectNet, FERPlus, RAF-DB, and SFEW2.0. The final curated set included 48K samples for Supervised Fine-Tuning (SFT) and 6.8K samples for Reinforcement Learning (RL), balanced to emphasize low-resource emotions.
  • Zero-Shot Transfer Evaluation: The DISFA dataset was used to test the model's ability to generalize to unseen data for zero-shot AU detection.

Key Insights and Ideas

  • Active Perception Beats Static Scaling: Simply feeding higher-resolution images or static multi-crop patches into an MLLM is less effective than allowing the model to dynamically choose its focus. ActFER demonstrates that giving an MLLM agency over its visual inputs yields better downstream reasoning.
  • Policy Collapse Prevention: Naive RL training often causes tool-use policies to collapse into binary extremes—either zooming in on every single image or never zooming at all. The contrastive utility estimation and emotion-wise EMA calibration in UC-GRPO are critical to maintaining a balanced, sample-dependent inspection policy.
Figure 5: Training-time emotion accuracy for three utility- calibration variants. Full ActFER attains the best late-stage accuracy plateau, while removing EMA or utility calibration results in policy collapse during the later stage of training.

Key Results

ActFER (built on a Qwen3VL-4B backbone) consistently outperformed both general-purpose MLLMs and specialized passive FER baselines:

  • Overall Performance: Achieved 73.89% Accuracy and 67.45% macro-F1 on FERBench, outperforming the strongest passive baseline (ExpLLM) by substantial margins.
  • Subtle Emotion Mastery: The model achieved a massive breakthrough on contempt—a notoriously subtle and low-resource emotion category—boosting the F1 score to 51.00% compared to the previous best baseline of 20.49%.
Figure 4: Emotion-wise comparison between ActFER-SFT and ActFER on FERBench. Bars denote the proportion of invoking zoom, and lines denote the per-emotion F1.
  • Zero-Shot AU Detection: On the DISFA dataset, ActFER achieved a state-of-the-art zero-shot average AU F1 score of 58.2%, representing a +20.1% improvement over its base model.

Limitations and Future Work

While the paper demonstrates impressive gains, a few limitations remain apparent:

  • Computational Overhead: The iterative thought-action-observation loop requires multiple forward passes per image, increasing inference latency compared to traditional single-pass models.
  • Upstream Dependency: The agent's performance is tightly coupled with the accuracy of its initial perceptual tools (e.g., face detection and alignment). If the initial landmark detection fails in extreme poses or poor lighting, downstream adaptive zooming cannot recover effectively.

Future work could explore optimizing the interaction budget or distilling the agent's multi-turn active reasoning capabilities back into a faster, single-pass model.

Summary updated

BibTeX
@misc{liu2026actfer,
  author = {Shifeng Liu and Zhengye Zhang and Sirui Zhao and Xinglong Mao and Zhehan Kan and Zhixiang Wei and Shiwei Wu and Chaoyou Fu and Tong Xu and Enhong Chen},
  title = {{ActFER: Agentic Facial Expression Recognition via Active Tool-Augmented Visual Reasoning}},
  year = {2026},
  eprint = {2604.08990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.08990},
}
Figure