Skip to main content
QUICK REVIEW

[论文解读] Chain-of-Thought Prompt Distillation for Multimodal Named Entity Recognition and Multimodal Relation Extraction

Feng Chen, Yujian Feng|arXiv (Cornell University)|Jun 25, 2023
Topic ModelingComputer Science被引用 8
一句话总结

论文将大语言模型的链式推理提炼为一个紧凑的学生模型,用于多模态命名实体识别(NER)和关系抽取(MRE),通过条件提示蒸馏和多粒度CoT提示实现,达到SOTA并具备更好的可解释性与泛化能力。

ABSTRACT

Multimodal Named Entity Recognition (MNER) and Multimodal Relation Extraction (MRE) necessitate the fundamental reasoning capacity for intricate linguistic and multimodal comprehension. In this study, we explore distilling the reasoning ability of large language models (LLMs) into a more compact student model by generating a extit{chain of thought} (CoT) -- a sequence of intermediate reasoning steps. Specifically, we commence by exemplifying the elicitation of such reasoning ability from LLMs through CoT prompts covering multi-grain (noun, sentence, multimodality) and data-augmentation (style, entity, image) dimensions. Subsequently, we present a novel conditional prompt distillation method to assimilate the commonsense reasoning ability from LLMs, thereby enhancing the utility of the student model in addressing text-only inputs without the requisite addition of image and CoT knowledge. Extensive experiments reveal that our approach attains state-of-the-art accuracy and manifests a plethora of advantages concerning interpretability, data efficiency, and cross-domain generalization on MNER and MRE datasets.

研究动机与目标

  • 说明显式推理在处理多模态NER与MRE任务中的必要性。
  • 提出一种通过CoT提示与条件提示机制将LLM推理蒸馏到小模型的方法。
  • 引入多粒度CoT提示与多模态数据增强以提升低资源与跨领域性能。

提出的方法

  • 通过多粒度提示(名词、句子、多模态性)和数据增强提示(风格、实体、图像)综合LLMs的CoT知识。
  • 对每个样本查询LLMs以获得CoT知识,并形成知识增强输入 [TXT; IMG; c]。
  • 提出条件提示蒸馏(CPD),生成一个可学习的条件提示p并用于形成提示增强输入 [TXT; p]。
  • 以蒸馏目标函数进行训练,通过KL散度对齐知识增强视角与提示增强视角,并对金标标签进行NLL训练。
  • 使用BLIP2生成图像描述,并在知识增强视角和提示增强视角上对文本编码器进行训练。

实验结果

研究问题

  • RQ1LLMs的CoT知识在蒸馏到较小模型后,是否能提升多模态NER与MRE?
  • RQ2多粒度CoT提示和数据增强是否提升MNER/MRE的跨域与低资源性能?
  • RQ3条件提示蒸馏是否比多视角对齐在将CoT知识转移到学生模型时更有效?
  • RQ4图像描述质量与LLM提示的质量如何影响下游的NER/MRE性能?
  • RQ5不同数据增强策略对泛化的影响如何?

主要发现

  • 所提出的CoTPD方法与CPD在MNER和MRE上的性能显著优于基线和检索知识方法。
  • LLMs的CoT知识相较于检索知识(如Wiki、Retri),在Twitter2015与MNRE数据集上提供了实质性增益。
  • 多粒度CoT知识(名词、句子、多模态性)对不同任务有不同贡献,名词有利于NER,句子有助于RE。
  • 数据增强的CoT知识(风格、实体、图像)在低资源和跨域场景中主要提供帮助,与多粒度CoT互补。
  • 条件提示蒸馏优于多视角对齐与无条件/前缀提示,在将CoT知识有效转移到更小模型方面表现出色。
  • 在五个数据集上,该方法达到行业最先进水平,并在可解释性、数据有效性和跨域泛化方面显示出提升。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。