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

面向文本-图像分类的记忆启发式时序提示交互

Memory-Inspired Temporal Prompt Interaction for Text-Image Classification

Zhejiang University(浙江大学);Ritsumeikan University(立命馆大学)

Xinyao Yu, Hao Sun, Ziwei Niu, Rui Qin, Zhenjia Bai, Yen-Wei Chen, Lanfen Lin

AI总结:

针对大规模预训练多模态模型微调成本高的问题,提出受人类记忆启发的时序提示交互策略MITP,通过中间层提示交互实现高效模态对齐,以极少参数和内存占用在文本-图像分类任务上取得竞争力结果。

摘要:

近年来,大规模预训练多模态模型(LMM)普遍兴起,可整合视觉与语言模态,在各类自然语言处理和计算机视觉任务中取得了显著成效。然而,LMM 规模不断扩大,导致针对下游任务微调这些模型的计算成本极高。因此,学界开始研究基于提示的交互策略,以更高效地实现模态对齐。在此背景下,我们受人类记忆策略启发,提出了一种新颖的基于提示的多模态交互策略,名为 Memory-Inspired Temporal Prompt Interaction(MITP,记忆启发式时序提示交互)。我们提出的方法仿照人类记忆策略分为两个阶段:获取阶段,以及巩固与激活阶段。我们利用中间层的时序提示模拟获取阶段,借助基于相似度的提示交互模拟记忆巩固,采用提示生成策略模拟记忆激活。本文的核心优势在于,我们在中间层对提示向量进行交互,以实现模态间充分的信息交换,同时压缩了可训练参数和内存占用。我们在多个数据集上取得了具有竞争力的结果,内存占用相对较小,可训练参数为 2.0M(约为预训练基础模型的 1%)。

英文摘要:

In recent years, large-scale pre-trained multimodal models (LMM) generally emerge to integrate the vision and language modalities, achieving considerable success in various natural language processing and computer vision tasks. The growing size of LMMs, however, results in a significant computational cost for fine-tuning these models for downstream tasks. Hence, prompt-based interaction strategy is studied to align modalities more efficiently. In this contex, we propose a novel prompt-based multimodal interaction strategy inspired by human memory strategy, namely Memory-Inspired Temporal Prompt Interaction (MITP). Our proposed method involves in two stages as in human memory strategy: the acquiring stage, and the consolidation and activation stage. We utilize temporal prompts on intermediate layers to imitate the acquiring stage, leverage similarity-based prompt interaction to imitate memory consolidation, and employ prompt generation strategy to imitate memory activation. The main strength of our paper is that we interact the prompt vectors on intermediate layers to leverage sufficient information exchange between modalities, with compressed trainable parameters and memory usage. We achieve competitive results on several datasets with relatively small memory usage and 2.0M of trainable parameters (about 1% of the pre-trained foundation model).

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

↑