TagGPT:大型语言模型是零样本多模态标记器
TagGPT: Large Language Models are Zero-shot Multimodal Taggers
AI总结:
提出全自动化零样本多模态打标签系统TagGPT,利用LLM提示工程提取并过滤标签,支持生成式与选择性两种匹配方案,在公开数据集上验证了其有效性与泛化能力。
摘要:
在当今互联网时代的搜索引擎和推荐系统等应用中,标签对于促进多媒体内容的有效分发至关重要。近期,大型语言模型(LLMs)在广泛的任务中展现出了令人瞩目的能力。在本研究中,我们提出了TagGPT,这是一个能够以完全零样本的方式进行标签提取和多模态打标签的全自动化系统。我们的核心洞察是,通过精心的提示工程,LLMs能够根据多模态数据的文本线索(例如OCR、ASR、标题等)提取并推理出合适的标签。具体而言,为了自动构建一个能够反映特定应用中用户意图和兴趣的高质量标签集,TagGPT通过提示LLMs从一系列原始数据中预测大规模候选标签,并通过频率和语义进行过滤。对于需要打标签以进行分发的新实体,TagGPT引入了两种零样本打标签的备选方案,即一种与标签集进行后期语义匹配的生成式方法,以及另一种在提示中进行早期匹配的选择性方法。值得注意的是,TagGPT提供了一个系统级的解决方案,基于一个配备了预训练LLM(此处使用GPT-3.5)和句子嵌入模型(此处使用SimCSE)的模块化框架,这些组件可以无缝替换为您想要的任何更先进的模型。TagGPT适用于现代社交媒体中的各种模态数据,并在广泛的应用中展现出强大的泛化能力。我们在公开可用的数据集(即Kuaishou和Food.com)上评估了TagGPT,并证明了与现有的话题标签和现成的打标签器相比,TagGPT的有效性。项目页面:https://github.com/TencentARC/TagGPT。
英文摘要:
Tags are pivotal in facilitating the effective distribution of multimedia content in various applications in the contemporary Internet era, such as search engines and recommendation systems. Recently, large language models (LLMs) have demonstrated impressive capabilities across a wide range of tasks. In this work, we propose TagGPT, a fully automated system capable of tag extraction and multimodal tagging in a completely zero-shot fashion. Our core insight is that, through elaborate prompt engineering, LLMs are able to extract and reason about proper tags given textual clues of multimodal data, e.g., OCR, ASR, title, etc. Specifically, to automatically build a high-quality tag set that reflects user intent and interests for a specific application, TagGPT predicts large-scale candidate tags from a series of raw data via prompting LLMs, filtered with frequency and semantics. Given a new entity that needs tagging for distribution, TagGPT introduces two alternative options for zero-shot tagging, i.e., a generative method with late semantic matching with the tag set, and another selective method with early matching in prompts. It is well noticed that TagGPT provides a system-level solution based on a modular framework equipped with a pre-trained LLM (GPT-3.5 used here) and a sentence embedding model (SimCSE used here), which can be seamlessly replaced with any more advanced one you want. TagGPT is applicable for various modalities of data in modern social media and showcases strong generalization ability to a wide range of applications. We evaluate TagGPT on publicly available datasets, i.e., Kuaishou and Food.com, and demonstrate the effectiveness of TagGPT compared to existing hashtags and off-the-shelf taggers. Project page: https://github.com/TencentARC/TagGPT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。