arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.12960cs.CV

FaceXFormer:一种用于面部分析的统一Transformer

FaceXFormer: A Unified Transformer for Facial Analysis

Kartik Narayan, Vibashan VS, Rama Chellappa, Vishal M. Patel

AI总结:

FaceXFormer提出统一Transformer框架,通过可学习任务token和双向交叉注意力解码器FaceX,在单一模型中实时完成十项面部分析任务并达到领先性能。

摘要:

在这项工作中,我们提出了FaceXFormer,这是一种端到端的统一Transformer模型,能够在单一框架内执行十项面部分析任务。这些任务包括人脸解析、关键点检测、头部姿态估计、属性预测、年龄、性别和种族估计、面部表情识别、人脸识别以及人脸可见性判断。传统的面部分析方法依赖于任务特定的架构和预处理技术,限制了可扩展性和集成性。相比之下,FaceXFormer采用基于Transformer的编码器-解码器架构,其中每项任务被表示为一个可学习的token,从而在统一模型内实现无缝的多任务处理。为了提高效率,我们引入了FaceX,这是一种轻量级解码器,具有新颖的双向交叉注意力机制,该机制联合处理人脸token和任务token,以学习鲁棒且泛化的面部表征。我们在十个不同的面部感知数据集上训练FaceXFormer,并在多个基准上将其与专用模型和多任务模型进行评估,展示了最先进或具有竞争力的性能。此外,我们分析了FaceXFormer各个组件对性能的影响,评估了在“in-the-wild”真实场景下的鲁棒性,并进行了计算性能评估。据我们所知,FaceXFormer是第一个能够处理十项面部分析任务同时保持33.21 FPS实时性能的模型。代码:https://github.com/Kartik-3004/facexformer

英文摘要:

In this work, we introduce FaceXFormer, an end-to-end unified transformer model capable of performing ten facial analysis tasks within a single framework. These tasks include face parsing, landmark detection, head pose estimation, attribute prediction, age, gender, and race estimation, facial expression recognition, face recognition, and face visibility. Traditional face analysis approaches rely on task-specific architectures and pre-processing techniques, limiting scalability and integration. In contrast, FaceXFormer employs a transformer-based encoder-decoder architecture, where each task is represented as a learnable token, enabling seamless multi-task processing within a unified model. To enhance efficiency, we introduce FaceX, a lightweight decoder with a novel bi-directional cross-attention mechanism, which jointly processes face and task tokens to learn robust and generalized facial representations. We train FaceXFormer on ten diverse face perception datasets and evaluate it against both specialized and multi-task models across multiple benchmarks, demonstrating state-of-the-art or competitive performance. Additionally, we analyze the impact of various components of FaceXFormer on performance, assess real-world robustness in "in-the-wild" settings, and conduct a computational performance evaluation. To the best of our knowledge, FaceXFormer is the first model capable of handling ten facial analysis tasks while maintaining real-time performance at 33.21 FPS. Code: https://github.com/Kartik-3004/facexformer

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑