当前位置:网站首页>Improving Multimodal Accuracy Through Modality Pre-training and Attention
Improving Multimodal Accuracy Through Modality Pre-training and Attention
2022-07-06 14:53:00 【Rainylt】
paper:
发现多模态模型不同模态的收敛速度不一致,于是各自单独预训练,再用attention(非self-attn)得到不同模态的权重,乘上权重后concat->FC->logits
首先讲一下这里的attention。不是self-attention那种Q*K的机制,而是直接把三个模态的feature concat后,过FC得到权重:
H为三个模态(v, a, t)的feature,shape为(3,m)。输出三个模态的权重
根据作者观察发现,直接训多模态模型,不同模态的Loss下降速度不一致(收敛速度):
三个图是不同数据集,第二个和第三个数据集还稍微好点,第一个数据集就text收敛太快。
看不同模态的权重:
可以看到第一个数据集在预训练之前text占了大部分权重,也许因为它比较重要,也可能是因为他的feature更优质。在预训练后video赶了上来,说明video之前只是feature没怎么训好而已。
三个模态,谁更重要其实是要视具体情况而定的:
这里三种模态都能表现出害怕
这里text和audio能表现出惊讶,但img就不行,表情比较平淡(其实不好说)
这个例子比较好,他虽然嘴上在道歉,但是实际上却在大笑,应该是一种开心的情绪,所以这里应该是audio占主导
本文提出的attention权重和这些重要性是能够对应上的:
边栏推荐
猜你喜欢
leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
Build op-tee development environment based on qemuv8
Unity3d minigame-unity-webgl-transform插件转换微信小游戏报错To use dlopen, you need to use Emscripten‘s...问题
2022年6月国产数据库大事记-墨天轮
[Digital IC hand tearing code] Verilog burr free clock switching circuit | topic | principle | design | simulation
ZABBIX proxy server and ZABBIX SNMP monitoring
云原生技术--- 容器知识点
Management background --4, delete classification
Oracle-控制文件及日志文件的管理
硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
随机推荐
void关键字
【编译原理】做了一半的LR(0)分析器
MySQL数据库基本操作-DML
LeetCode刷题(十一)——顺序刷题51至55
Applet system update prompt, and force the applet to restart and use the new version
在IPv6中 链路本地地址的优势
pytorch_YOLOX剪枝【附代码】
新手程序员该不该背代码?
volatile关键字
Memorabilia of domestic database in June 2022 - ink Sky Wheel
Daily question 1: force deduction: 225: realize stack with queue
Classic sql50 questions
That's why you can't understand recursion
Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
【踩坑合辑】Attempting to deserialize object on CUDA device+buff/cache占用过高+pad_sequence
2500 common Chinese characters + 130 common Chinese and English characters
config:invalid signature 解决办法和问题排查详解
China 1,4-cyclohexanedimethanol (CHDM) industry research and investment decision-making report (2022 Edition)
自制J-Flash烧录工具——Qt调用jlinkARM.dll方式
3DMax指定面贴图