Skip to main content
QUICK REVIEW

[Paper 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 Science8 citations
TL;DR

The paper distills chain-of-thought reasoning from large language models into a compact student model for multimodal NER and relation extraction via conditional prompt distillation and multi-grain CoT prompts, achieving state-of-the-art results and better interpretability and generalization.

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.

Motivation & Objective

  • Motivate the need for explicit reasoning to handle multimodal NER and MRE tasks.
  • Propose a method to distill LLM reasoning into a small model using CoT prompts and a conditional prompt mechanism.
  • Introduce multi-grain CoT prompts and multimodal data augmentation to improve low-resource and cross-domain performance.

Proposed method

  • Synthesize CoT knowledge from LLMs via multi-grain prompts (noun, sentence, multimodality) and data-augmentation prompts (style, entity, image).
  • Query LLMs to obtain CoT knowledge per sample and form a knowledge-enhanced input [TXT; IMG; c].
  • Propose conditional prompt distillation (CPD) where a learnable conditional prompt p is generated and used to form a prompt-enhanced input [TXT; p].
  • Train with a distillation objective that aligns the knowledge-enhanced view and the prompt-enhanced view via KL divergence, plus NLL on gold labels.
  • Use BLIP2 to generate image captions and train with a text encoder on both knowledge-enhanced and prompt-enhanced views.

Experimental results

Research questions

  • RQ1Can CoT knowledge from LLMs improve multimodal NER and MRE when distilled into a smaller model?
  • RQ2Do multi-grain CoT prompts and data augmentation improve cross-domain and low-resource performance in MNER/MRE?
  • RQ3Is conditional prompt distillation more effective than multi-view alignment for transferring CoT knowledge to a student model?
  • RQ4How does the quality of image-captioning and LLM prompts affect downstream NER/MRE performance?
  • RQ5What is the impact of different data augmentation strategies on generalization?

Key findings

  • The proposed CoTPD method with CPD significantly improves MNER and MRE performance over baselines and retrieved-knowledge methods.
  • CoT knowledge from LLMs provides substantial gains beyond retrieved knowledge, e.g., improvement over Wiki and Retri baselines on Twitter2015 and MNRE datasets.
  • Multi-grain CoT knowledge (noun, sentence, multimodality) contributes differently per task, with noun benefiting NER and sentence aiding RE.
  • Data augmentation CoT knowledge (style, entity, image) mainly helps in low-resource and cross-domain settings, complementing multi-grain CoT.
  • Conditional prompt distillation outperforms multi-view alignment and unconditional/prefix prompts, enabling effective transfer of CoT knowledge to a smaller model.
  • On five datasets, the approach achieves state-of-the-art results and shows gains in interpretability, data efficiency, and cross-domain generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.