用检索增强生成解决多模态描述中的跨模态对齐问题
Multimodal RAG Enhanced Visual Description
- 通过线性映射将图像嵌入转为文本,实现无需训练的跨模态检索
- 在两个基准数据集上显著提升图像描述生成效果,优于基线方法
- 轻量无训练设计,适合资源有限场景下的多模态应用
多模态输入的文本描述需要反复优化查询以生成相关图像。尽管在模型规模和数据量方面已有进展,但预训练与微调成本仍高。预训练大模型存在模态间隙,即文本与视觉表示在统一嵌入空间中对齐不佳。虽然微调可缓解此问题,但因需大量领域数据而代价高昂且不切实际。为此,我们提出一种轻量级、无需训练的方法,利用检索增强生成(RAG)通过线性映射跨越模态,计算高效。推理时,该映射作用于由大模型嵌入的图像,从训练集中检索最相近的文本描述,结合指令作为提示输入语言模型,生成新描述。此外,引入迭代蒸馏技术,通过语言模型生成合成描述,优化常用图像描述评估指标。在两个基准多模态数据集上的实验表明,该方法取得显著改进。
原文摘要 · Abstract (English)
Textual descriptions for multimodal inputs entail recurrent refinement of queries to produce relevant output images. Despite efforts to address challenges such as scaling model size and data volume, the cost associated with pre-training and fine-tuning remains substantial. However, pre-trained large multimodal models (LMMs) encounter a modality gap, characterised by a misalignment between textual and visual representations within a common embedding space. Although fine-tuning can potentially mitigate this gap, it is typically expensive and impractical due to the requirement for extensive domain-driven data. To overcome this challenge, we propose a lightweight training-free approach utilising Retrieval-Augmented Generation (RAG) to extend across the modality using a linear mapping, which can be computed efficiently. During inference, this mapping is applied to images embedded by an LMM enabling retrieval of closest textual descriptions from the training set. These textual descriptions, in conjunction with an instruction, cater as an input prompt for the language model to generate new textual descriptions. In addition, we introduce an iterative technique for distilling the mapping by generating synthetic descriptions via the language model facilitating optimisation for standard utilised image description measures. Experimental results on two benchmark multimodal datasets demonstrate significant improvements.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。