arXiv:2410.14225cs.CLcs.AI2024-10中稿 · ACM MM 2024被引 12

用知识增强提示提升少样本多模态实体关系抽取效果

Few-Shot Joint Multimodal Entity-Relation Extraction via Knowledge-Enhanced Cross-modal Prompt Model

  • 通过动态提示让大模型生成背景知识补足数据不足
  • 在少样本数据上实现微宏平均F1均优于基线方法
  • 适合需要少标注数据的多模态信息提取场景

联合多模态实体关系抽取(JMERE)旨在从社交媒体图文对中提取实体及其关系。现有方法依赖大量标注数据,但精细的多模态数据标注成本高。为此,我们构建了符合原始数据分布的多样化少样本多模态数据集。针对少样本下信息不足的问题,提出知识增强跨模态提示模型(KECPM)。该模型分两阶段:(1)知识摄入阶段,基于语义相似性引导ChatGPT生成相关背景知识,并通过自省机制优化;(2)知识增强语言模型阶段,将辅助知识与原始输入融合,使用Transformer模型对齐JMERE输出格式。在基于JMERE数据集构建的少样本数据集上进行广泛评估,结果表明其在微平均和宏平均F1上均优于强基线。同时通过定性分析与案例研究验证了模型有效性。

原文摘要 · Abstract (English)

Joint Multimodal Entity-Relation Extraction (JMERE) is a challenging task that aims to extract entities and their relations from text-image pairs in social media posts. Existing methods for JMERE require large amounts of labeled data. However, gathering and annotating fine-grained multimodal data for JMERE poses significant challenges. Initially, we construct diverse and comprehensive multimodal few-shot datasets fitted to the original data distribution. To address the insufficient information in the few-shot setting, we introduce the \textbf{K}nowledge-\textbf{E}nhanced \textbf{C}ross-modal \textbf{P}rompt \textbf{M}odel (KECPM) for JMERE. This method can effectively address the problem of insufficient information in the few-shot setting by guiding a large language model to generate supplementary background knowledge. Our proposed method comprises two stages: (1) a knowledge ingestion stage that dynamically formulates prompts based on semantic similarity guide ChatGPT generating relevant knowledge and employs self-reflection to refine the knowledge; (2) a knowledge-enhanced language model stage that merges the auxiliary knowledge with the original input and utilizes a transformer-based model to align with JMERE's required output format. We extensively evaluate our approach on a few-shot dataset derived from the JMERE dataset, demonstrating its superiority over strong baselines in terms of both micro and macro F$_1$ scores. Additionally, we present qualitative analyses and case studies to elucidate the effectiveness of our model.

少样本学习多模态抽取知识增强

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。