探索视觉语言模型中融合策略的权衡,发现越早融合越快但准确率越低。
Exploring Fusion Strategies for Multimodal Vision-Language Systems
- 在不同阶段融合图像与文本数据,比较早期、中期、晚期融合的效果。
- 晚期融合准确率最高(92.1%),早期融合延迟最低(45ms)。
- 适合对速度敏感或资源受限场景,如移动端实时应用。
现代机器学习模型常结合多路输入数据以更准确地捕捉决策信息。在多模态学习中,数据融合策略的选择需权衡准确率与延迟:在模型架构的不同阶段进行融合会影响性能表现。为验证这一权衡,我们基于混合BERT与视觉网络的框架,研究了两种视觉网络(MobileNetV2和ViT)在三种融合阶段(早期、中期、晚期)的表现。实验在CMU MOSI数据集上进行,并在NVIDIA Jetson Orin AGX上评估推理延迟。结果表明,晚期融合达到最高准确率(92.1%),而早期融合实现最低延迟(45ms)。本文详细描述三种模型架构,分析准确率与延迟之间的权衡,结论为:越早融合,推理越快,但准确率下降。
原文摘要 · Abstract (English)
Modern machine learning models often combine multiple input streams of data to more accurately capture the information that informs their decisions. In multimodal machine learning, choosing the strategy for fusing data together requires careful consideration of the application's accuracy and latency requirements, as fusing the data at earlier or later stages in the model architecture can lead to performance changes in accuracy and latency. To demonstrate this tradeoff, we investigate different fusion strategies using a hybrid BERT and vision network framework that integrates image and text data. We explore two different vision networks: MobileNetV2 and ViT. We propose three models for each vision network, which fuse data at late, intermediate, and early stages in the architecture. We evaluate the proposed models on the CMU MOSI dataset and benchmark their latency on an NVIDIA Jetson Orin AGX. Our experimental results demonstrate that while late fusion yields the highest accuracy, early fusion offers the lowest inference latency. We describe the three proposed model architectures and discuss the accuracy and latency tradeoffs, concluding that data fusion earlier in the model architecture results in faster inference times at the cost of accuracy.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。