Data Leakage and Evaluation Issues inMicro-Expression Analysis 阅读笔记

IEEE Transactions on Affective Computing上的一篇文章,做微表情识别,阅读完做个笔记。本文讨论了Data Leakage对模型准确度评估的影响,及如何融合多个微表情数据集,从而提升模型的准确度。工作量非常饱满,很认真,并且开源了,赞一个。

摘要:

data leakage

数据泄漏指的是在模型训练过程中,模型学到了在测试集中不应该知道的信息,从而导致在测试时性能过于乐观或不准确。这可能是因为在训练集中包含了来自测试集的信息,导致模型在真正面对未见过的数据时无法准确泛化。

fragmented

碎片化指的是评估协议或方法的分散、零散,导致评估过程不一致或无法比较不同模型的性能。这可能包括使用不同的标准、数据集划分方式或评估指标,使得研究结果难以复现或比较,降低了研究的可靠性。

To this end,we go through common pitfalls,propose a new standardized evaluation protocol using facial action units withover 2000 micro-expression samples,and provide an open source library that implements the evaluation protocols in a standardized manner.

为了解决这个问题,作者梳理了常见的陷阱,提出了一个新的标准化评估协议,使用了超过2000个微表情样本的面部动作单元,并提供了一个实现标准化评估协议的开源库。

1.简介

However,recently,we have spotted aworrying trend with extremely high yet unreliable perfor-mances reaching close to perfect performance and potentialissues during evaluation when analyzing available sourcecode.

然而,最近我们注意到了一个令人担忧的趋势,即出现了极高但不可靠的性能,接近完美表现,并在分析可用源代码时出现了潜在的评估问题。

Data leakage refers to using information from the testing data during the training procedure,giving an overly optimisticevaluation result.

数据泄露是指在训练过程中利用测试数据中的信息,给出过于乐观的评估结果。

The concern with data leakage is that it creates a misleading understanding of the capabilities ofmodels.

对数据泄露的担忧在于,它造成了对模型能力的误导性理解。

The use of different datasets with varying evaluation strategies and different numberof emotions,subjects and samples creates more confusion and difficulties.

使用不同的数据集、不同的评估策略以及不同数量的情感、受试者和样本,会导致更多的混淆和困难。

To act towards more united protocols,we propose a new protocol,CD6ME,that consists of six ME datasets with over 2000 samples.

为了实现更加统一的协议,我们提出了一个新的协议CD6ME,该协议由6个超过2000个样本的ME数据集组成。

By combining the datasets and using AUs,problems with the inconsistency of the labels can be largely alleviated,as the datasets are annotated by standardized FACS(facial actioncoding system)[38]certified coders.

通过组合数据集和使用AUs,可以在很大程度上缓解标签不一致的问题,因为数据集由标准化的FACS(面部动作编码系统) [ 38 ]认证的编码员进行注释。

MEB imple-ments tedious data loading routines,standardized trainingpipelines and multiple dif

ferent models from the ME lit-erature.

MEB 实现了繁琐的数据加载例程、标准化的训练流程以及来自微表情文献的多种不同模型。

本文的贡献:

Common pitfalls found in the ME literature areshowcased and discussed.

展示和讨论了ME文献中发现的常见缺陷。

A new composite cross-dataset action unit classifica-tion protocol for ME analysis is proposed.

提出了一种新的用于ME分析的复合跨数据集动作单元分类协议。

Comprehensive analysis is performed that comparesaction units and emotions in MEs.

综合分析比较了MEs中的动作单元和情感。

2.基础内容

The typical framework of a micro-expressionanalysis system consists of two phases:spotting and recog-nition.

典型的微表情分析系统框架包括两个阶段:定位 和 识别。

In the spotting phase,unsegmented videos are givenas inputs and the task is to spot a temporal sequence duringwhich an ME is occurring.

在定位阶段,给定未分割的视频作为输入,任务是识别发生ME的时间序列。

In the recognition phase,the pre-segmented video clip is classified to an emotioncategory such as happiness,sadness,surprise,etc.

在识别阶段,将预分割后的视频剪辑分类为快乐、悲伤、惊讶等情感类别。

The FACS(facial action coding system)[38]is a taxonomy offine-grained facial configurations.

FACS(面部动作编码系统) [ 38 ]是一个细粒度面部结构的分类法。

AUs(action units)

AUs(动作单元) 作为对面部肌肉运动进行编码的基本单元。

AUs can b econsidered as sign judgement of the face[49],as opposed to emotional labels that attempt to convey the meaning.Due to this difference,automatic AU systems can be applied to a wider set of applications such as pain detection and analysis of nonaffective facial expressions[49].

AUs可被视为对面部的标志性判断[49],与试图传达情感含义的情感标签形成对比。由于这种差异,自动AU系统可应用于更广泛的应用,如疼痛检测和非情感面部表情分析[49]。

Each AU can be given five different intensity levels(and one forneutral)denoted by an uppercase letter from A to E,whereA is a trace and E is maximum[38].

每个AU可以具有五个不同的强度级别(以及一个中性级别),用大写字母A到E表示,其中A是微弱的迹象,E是最大强度[38]。

Most datasets usea different set of emotion inducing videos.

大多数数据集使用了不同的情绪诱发视频集。数据集之间差异也较大

Compared to the onset and apex frames,the offset frameis more ambiguous as faces do not necessarily fully return to a relaxed state.

相对于起始框架和顶点框架,偏移框架更加模糊,因为面孔并不一定完全回到放松状态,这是一个难点。

Different annotation strategies create a discrepancy between the datasets and makes comparison between the datasets inconsistent.

不同的标注策略会造成数据集之间的差异,使得数据集之间的比较不一致。

这个是衡量两个数据集类别之间差异的函数

The measure is between zero and one,where one means complete agreement.

该测度介于0和1之间,其中1表示完全一致。

Objective classes[39]based on action units have been suggested to avoid this problem.More recently,directly using action units[43]have also been suggested.

基于动作单元的目标类[ 39 ]被提出以避免这一问题。最近,直接使用动作单元[ 43 ]也被提出。

However,a large meta study of facial expressions[10]suggests that there is no one-to-one mapping between facial movements and emotions.

然而,一项关于面部表情的大型元研究[ 10 ]表明,面部动作与情绪之间并不存在一一对应的映射关系。

This supports the findings of the meta-study[10]and that there are no one-to-one mappings between AUs and self-reported emotions for MEs.

这支持了元研究[ 10 ]的发现,即对于情绪智力而言,AU与自我报告的情绪之间不存在一对一的映射关系。

These inconsistencies makes training on emotions difficult,especially with small datasets.

这些不一致性使得对情绪的训练变得困难,特别是在小数据集的情况下。

This means that we cannot expect models to perform with an accuracy of 100% as the ground-truth labels contain noise.

意味着,由于真实标签包含噪声,我们不能期望模型以100 %的准确率运行。

3.微表情识别的评估问题

These include data leakage,imprecise use ofthe F1-Score and evaluation strategies.

这些问题包括数据泄露、F1 - Score的使用不精确以及评价策略等。

In data leakage,information from the testing data leaks to the training data that is used to train the model,leading to overly optimistic evaluation.

在数据泄露中,测试数据中的信息泄露到用于训练模型的训练数据中,导致评估结果过于乐观。

early stopping

在机器学习中,早停(Early Stopping)是一种用于防止过拟合的技术。它通过在模型在验证数据集上性能不再提高时停止训练,以防止模型在训练数据上学习到噪声而失去泛化能力。通常,训练过程中监测验证集上的性能指标,一旦性能不再提高或开始下降,就停止训练。

Using information from the test data during training can lead to a large positive bias,but the positive bias is misleading and not representative of the generalizable performance,especially when a fold isjust a single subject.

在训练过程中使用测试数据的信息可能导致较大的正向偏差,但这种正向偏差是误导性的,不代表可泛化的性能,特别是当一个折叠只是一个单独的主体时。

The experiments show that using early stopping with test data can create a large positive bias,while using the validation data shows barely no impact.

实验表明,使用测试数据提前停止会产生较大的正偏差,而使用验证数据则几乎没有影响。

To avoid the above issue,the pre-training should be done using additional data not part of the evaluation data or the pre-training should be done inside the individual folds.

为避免上述问题,预训练应该使用不包含在评估数据中的额外数据,或者预训练应该在各个交叉验证折叠内完成。

If the evaluation is done with the same dataset that the generative model was trained on,a data leak may occur.

如果使用与生成模型训练相同的数据集进行评估,可能会出现数据泄露的情况。

A dummy model that always predicts the class with the most common occurrence could achieve good performance with accuracy.Use of F1-Score is a standard practice in the ME recognition task[40].

一个始终预测具有最常见出现的类别的虚拟模型可能会在准确率上取得良好的性能。在微表情识别任务中,使用F1-Score是一种标准做法[40]。

F1-Score 的计算方式。

The F1-Score can be generalized to a multi-class setting by a few different strategies.

F1-Score可以通过几种不同的策略推广到多类别设置。

样本不均衡是的计算方法

One should be aware that when computing the F1-Score as noted by Opitz and Burst[35],the averaging can be done in two ways,as shown in Equation 4 or by first aggregating over the classes to compute precision and recalland using Equation 2 to compute the F1-Score.

值得注意的是,在计算Opitz和Burst [ 35 ]所指出的F1 - Score时,可以通过两种方式进行平均,如公式4所示,或者通过先聚合类来计算精确率和召回率,以及使用公式2来计算F1 - Score。

A common pitfall is to compute the F1-Score in each foldseparately and aggregate the results together.

一个常见的陷阱是在每个折叠中单独计算F1-Score,然后将结果聚合在一起。

As can be seen,both micro-and weighted F1give a positive bias as they do not take the class imbalanceinto account.While averaging over the folds leads to asignificant negative bias.

如图所示,微观和加权F1都产生了正偏差,因为它们没有考虑类别不平衡。而在折叠上进行平均导致了显著的负偏差。

    

They split the validation strategies to three categories 1)person dependent evaluation(PDE),2)person independent evaluation(PIE)and 3)cross domain evaluation(CDE).

他们将验证策略分为三类:1 )个体依赖性评价( PDE ),2 )个体独立性评价( PIE )和3 )跨领域评价( CDE )。三种策略依次从简单到难。

In addition to different evaluation strategies,the number of samples and the number of used emotions may be differ-ent across articles.

除了不同的评价策略之外,不同文章的样本数量和使用的情感数量也可能不同。

4.CD6ME

However,dif-ferent works use changing subsets with different numberof emotions and samples.Add this to the common pitfalls discussed in the previous section and the comparison of different works is extremely difficult.

不同的研究使用不同数量情感和样本的不同子集。结合前面讨论的常见问题,不同研究的比较变得极其困难。

The use of AUs allows us to combine the datasets as the annotation of AUs is standardized by hav-ing the annotators be qualified FACS coders.

使用AUs允许我们结合这些数据集,因为AUs的注释是由合格的FACS编码器标准化的。

The trainingand testing is repeated for n D times,where n D refers to the number of datasets.

训练和测试重复n D次,其中n D为数据集的个数。

In AU detection an unsegmented video clip is given with frame level labels.The task is to predict a binary multi-label whether an AU exists for each frame separately.

在AU检测中,一个未分割的视频片段被赋予帧级标签。其任务是预测一个二元多标签是否对每一帧单独存在一个AU。

In AU classification a pre-segmented video clip is given with a single binary multi-label[78].The task is to predict whether an AU exists for the whole clip.

在AU分类中,一个预分割的视频片段被赋予一个单一的二进制多标签[ 78 ]。任务是预测整个剪辑中是否存在一个AU。

5.实验

Optical strain

光学应变(Optical Strain)是指在图像中检测物体表面的形变和变化的一种方法。在计算机视觉中,特别是在分析运动或变形时,光学应变常用于表示物体或场景中的局部形状变化。

As mentioned previously,data leakage and evaluation issues are largely affected,which made reproduc-ing results difficult.

如前所述,数据泄露和评估问题在很大程度上受到影响,导致结果难以再现。

By combining the above together in this paper,we are able to evaluate methods in a more realistic setting,while providing increased perfor-mance by using additional data.

通过在本文中将上述内容结合在一起,我们能够在更现实的情境中评估方法,同时通过使用额外的数据提高性能。

Multiple AUs may occurat different times,using only the apex may therefore miss one or more AUs.

不同的AUs可能在不同的时间发生,仅使用顶点可能会错过一个或多个AUs。

The resultsin Table 6 show promising results for the use of RGB asinput when using large composite data.

在使用大型组合数据时,使用RGB作为输入的效果令人鼓舞。

As shown by our work,significant gains can be obtained without touching the models.

可以在不改变模型的情况下获得显著的增益。

Although the cross-dataset is a more realis-tic setting,the data is still from a laboratory setting,which limits the applicability for in-the-wild scenarios.

尽管跨数据集是一个更真实的设置,但数据仍来自实验室环境,这限制了在野外场景中的适用性。

Another limitation is the need for data which requires capturing spontaneous subtle facial-expressions from human subjectsand accurate labor intensive annotations.

另一个限制是需要捕捉人类主体的自发微妙面部表情并进行准确且繁重的注释。

6.结论

we point out common pitfalls such as data leakage and fragmented use of evaluation protocols in micro-expression recognition.

我们指出了微表情识别中常见的数据泄露和评估协议碎片化使用等缺陷。

We propose a new benchmark,CD6ME,that uses a cross-dataset protocol for generalized evaluation.

我们提出了一个新的基准CD6ME,它使用一个跨数据集协议来进行广义评估。

Action units are used instead ofemotional classes for a more objective and consistent label.

使用动作单元代替情感类,以获得更加客观和一致的标签。

A micro-expression analysis library,MEB,with the implementation of data loading routines,training loops and several commonly used micro-expression models,is introduced and openly shared.

引入了一个微表情分析库MEB,其中包括数据加载例程、训练循环以及一些常用的微表情模型的实现,并进行了开放共享。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://xiahunao.cn/news/2815110.html

如若内容造成侵权/违法违规/事实不符,请联系瞎胡闹网进行投诉反馈,一经查实,立即删除!

相关文章

信息学竞赛CSP中组合数学知识进阶及经典题目

组合数学 组合数卷积(范德蒙德卷积) ∑ i 0 k ( n i ) ( m k − i ) ( n m k ) \sum_{i0}\limits^k\dbinom{n}{i}\dbinom{m}{k-i}\dbinom{nm}{k} i0∑k​(in​)(k−im​)(knm​) 组合意义:有 n n n 个红球以及 m m m 蓝球,…

线上故障的排查清单

线上故障主要会包括CPU、磁盘、内存以及网络问题,而大多数故障可能会包含不止一个层面的问题,所以进行排查时候尽量四个方面依次排查一遍。 同时例如 jstack、jmap 等工具也是不囿于一个方面的问题的,基本上出问题就是df、free、top 三连&am…

全网最详细Python自动化测试(从零搭建完整python自动化测试框架)

🍅 视频学习:文末有免费的配套视频可观看 🍅 关注公众号:互联网杂货铺,回复1 ,免费获取软件测试全套资料,资料在手,涨薪更快 自动化测试介绍 自动化测试(Automated Testing)&#x…

基于java Springboot实现课程评分系统设计和实现

基于java Springboot实现课程评分系统设计和实现 博主介绍:多年java开发经验,专注Java开发、定制、远程、文档编写指导等,csdn特邀作者、专注于Java技术领域 作者主页 央顺技术团队 Java毕设项目精品实战案例《1000套》 欢迎点赞 收藏 ⭐留言 文末获取源…

SpringMVC 学习(五)之域对象

目录 1 域对象介绍 2 向 request 域对象共享数据 2.1 通过 ServletAPI (HttpServletRequest) 向 request 域对象共享数据 2.2 通过 ModelAndView 向 request 域对象共享数据 2.3 通过 Model 向 request 域对象共享数据 2.4 通过 map 向 request 域对象共享数据 2.5 通过…

Ant for Blazor做单个表的增删查改

Ant for Blazor做单个表的增删查改 2024年02月27日花了一天时间弄出来了,基本弄好了,vs2022blazor servernet8,引用的AntDesign版本是0.17.4 代码里的model和repository是用自己牛腩代码生成器生成的东西,sqlsugar的,记得在prog…

分布式一致性算法-Paxos翻译和注解

Paxos是解决不可靠处理器(不可靠是指处理器可能故障)网络中一致性问题(consensus)的一个协议族。一致性(或者共识)是在一组参与者之间对一个结果达成共识的过程。当参与者或者它们的交互媒介可能发生故障的时候,这个问…

幻兽帕鲁(Palworld 1.4.11.5.0)私有服务器搭建(docker版)

文章目录 说明客户端安装服务器部署1Panel安装和配置docker服务初始化设置设置开机自启动设置镜像加速 游戏服务端部署游戏服务端参数可视化配置 Palworld连接服务器问题总结 服务端升级(1.5.0) 说明 服务器硬件要求:Linux系统/Window系统&a…

JS总览-JS高级程序设计4-学习笔记

JS简史 1995年 JS 问世,彼时其主要任务是替代服务器端语言处理输入验证 1995年网景公司的 Brendan Eich 开发了一个脚注Live Script的脚步语言,后来网景公司与 Sun 公司结盟,更名 Live Script 为 Java Script 由于微软发布 IE3 时包含了自己…

iMazing 3.0.0.3 for mac 中文破解版2024最新图文安装教程

我们刚刚发布了iMazing 3.0.0.3 for mac 中文版本。Windows和macOS用户现在都可以试驾并体验iPhone管理的未来。 备受期待的第一个Windows版本得益于过去几个月macOS测试版的所有改进,使其成为一个稳定的初始版本。 我们的开发团队创造了一种无缝的外观和体验&#…

关于uniapp小程序的分包问题

开发uniapp小程序时,在打包上传代码时会出现超出2M的打包限制不能上传,那么我们该怎么做呢? 1.对于图片,将图片从后端服务取,尽量不要放在静态资源,图片体积会影响打包大小。 2.使用分包,tabb…

LNMP 架构

PHP(Hypertext Preprocessor 超文本预处理器)是通用服务器端脚本编程语言,主要用于web开发实现动态web页面,也是最早实现将脚本嵌入HTML源码文档中的服务器端脚本语言之一。同时,php还提供了一个命令行接口,因此,其也可…

哪个牌子的电视盒子好用?2024超强电视盒子排名

最近很多朋友问我电视盒子的相关问题,就目前来说,电视盒子的地位依然是不可取代的。我近来要发布的测评内容是哪个牌子的电视盒子好用,耗时两周进行对比后整理了电视盒子排名,看看哪些电视盒子是最值得入手的吧。 NO.1——泰捷新品…

安装极狐GitLab Runner并测试使用

本文继【新版极狐安装配置详细版】之后继续 1. 添加官方极狐GitLab 仓库: 对于 RHEL/CentOS/Fedora: curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" | sudo bash2. 安装最新版本的极狐G…

ChatGPT提示词工程师AI大神吴恩达2023年视频课程学习实践

前言 刚才看了一个视频系列教程,很短,但收获很大,毕竟是一手知识来源,吴恩达大神亲自讲解,他说的话,我都信。这里写个笔记,顺便把知识点实践一下。视频可以去B站上搜索 吴恩达 prompt &#xf…

log4j 基础使用入门教程

一、Log4j介绍 在项目中,不管是开发人员写代码还是测试人员写的测试代码一般都需要做一些日志来记录项目的行为,以便更好的跟踪项目中的一些交互和问题。 Log4j ( Logger For Java ) , Java 日志的记录包。 官方网站 。Log4j 是 Apache 的一个开源项目…

C++之标准库中string的底层实现方式

目录 1、Eager Copy(深拷贝) 2、COW(Copy-On-Write)写时复制 2.1写时复制的实现 3、SSO(Short String Optimization)短字符串优化 4、最佳策略 5、线程安全性 我们都知道, std::string的一些基本功能和用法了,但它底层到底是如何实现的…

李沐动手学习深度学习——3.4练习

理解极大似然估计 很巧妙的解释了为什么使用均方误差,因为均方误差是一种似然估计的变种,而对于逻辑回归softmax而言,更好的解释了其中存在exp 1. 我们可以更深入地探讨指数族与softmax之间的联系。 1. 计算softmax交叉熵损失l(y, ˆy)的二阶…

【C++历练之路】map与set的必备使用指南

W...Y的主页 😊 代码仓库的分享💕 🍔序言: C作为一门历史悠久且功能强大的编程语言,其标准模板库(STL)为开发者提供了一套丰富的数据结构和算法,极大地促进了软件开发的效率和质量…

Python打发无聊时光:10.用flask创造按键控制的网页小游戏

游戏介绍: 《秦蓝大冒险》是一款简单而紧张的追逐游戏。在这个游戏中,玩家将控制一名名叫“吕千”的角色,试图在一个封闭的空间内逃避一个名为“秦蓝”的追逐者。随着时间的推移,“秦蓝”会不断追踪玩家的位置,努力捕捉到他。 游…