arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.04749cs.CVcs.MM
收藏

时空Transformer在野外动态人脸表情识别中的应用

Spatio-Temporal Transformer for Dynamic Facial Expression Recognition in the Wild

College of Electrical and Information Engineering, Hunan University(湖南大学电气与信息工程学院)

Fuyan Ma, Bin Sun, Shutao Li

摘要:

以往的动态人脸表情识别方法主要基于卷积神经网络(CNN),其局部操作忽略了视频中的长程依赖关系。为了解决这个问题,我们提出了时空Transformer(STT)捕捉每帧内的歧视性特征和模型帧之间的上下文关系。我们的统一的Transformer捕获并集成了时空依赖关系。具体来说,给定由多个帧组成的图像序列作为输入,我们利用CNN主干将每个帧转换为视觉特征序列。随后,每个块内的空间注意力和时间注意力被联合应用于在序列级学习时空表示。此外,我们提出了紧凑的softmax交叉熵损失,以进一步鼓励学习的特征具有最小的类内距离和最大的类间距离。在两个野外动态面部表情数据集上的实验(即,DFEW和AFEW)表明,我们的方法提供了一种有效的方法,利用空间和时间的依赖性的动态面部表情识别。源代码和培训日志将公开提供。

英文摘要:

Previous methods for dynamic facial expression in the wild are mainly based on Convolutional Neural Networks (CNNs), whose local operations ignore the long-range dependencies in videos. To solve this problem, we propose the spatio-temporal Transformer (STT) to capture discriminative features within each frame and model contextual relationships among frames. Spatio-temporal dependencies are captured and integrated by our unified Transformer. Specifically, given an image sequence consisting of multiple frames as input, we utilize the CNN backbone to translate each frame into a visual feature sequence. Subsequently, the spatial attention and the temporal attention within each block are jointly applied for learning spatio-temporal representations at the sequence level. In addition, we propose the compact softmax cross entropy loss to further encourage the learned features have the minimum intra-class distance and the maximum inter-class distance. Experiments on two in-the-wild dynamic facial expression datasets (i.e., DFEW and AFEW) indicate that our method provides an effective way to make use of the spatial and temporal dependencies for dynamic facial expression recognition. The source code and the training logs will be made publicly available.

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

↑