arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03512cs.CL
收藏

构建多模态AI聊天机器人

Building Multimodal AI Chatbots

Princeton University(普林斯顿大学)

Min Young Lee

AI总结:

针对开放域对话中单模态回复生成器易生成与图像矛盾内容的问题,本研究提出结合ViT与BERT、GPT-2/DialoGPT的双多模态模型聊天机器人系统,在PhotoChat数据集上多项自动与人工评估指标均优于基线。

摘要:

本研究旨在创建一款能与人类对话并分享相关照片的多模态AI系统。早期研究局限于围绕图像中特定物体或场景的对话,近期研究虽已将图像融入开放域对话,但这些研究的回复生成器是单模态的,仅接受文本输入而不处理图像输入,因此容易生成与对话中分享的图像相矛盾的回复。\n为此,本研究提出一套完整的聊天机器人系统,采用两个多模态深度学习模型:一个能理解文本的图像检索器,以及一个能理解图像的回复生成器。图像检索器由ViT(视觉Transformer)和BERT实现,可根据对话历史和图像数据库选出最相关的图像。回复生成器由ViT和GPT-2/DialoGPT实现,可结合对话历史和最新检索到的图像生成合适的回复。\n两个模型均在PhotoChat(一个每轮对话都会分享一张照片的开放域对话数据集)上进行训练和评估。自动评估结果显示,在对1000张图像排序时,所提出的图像检索器Recall@1/5/10为0.1/0.3/0.4,MRR为0.2,性能优于现有基线模型VSE++和SCAN。所提出的回复生成器PPL为16.9,BLEU-1/2为0.13/0.03,Distinct-1/2为0.97/0.86,同样超过基线模型Divter,其中PPL显著降低42.8,BLEU-1/2分别提升0.07和0.02。\n在1-5分李克特量表的人工评估中,这套完整的多模态聊天机器人系统图像贴合度得分为4.3,趣味性得分为4.3,均高于其他聊天机器人变体,同时流畅度(4.1分)、连贯性(3.9分)和拟人度(3.1分)也具备竞争力。源代码可在以下链接获取:https://github.com/minniie/multimodal_chat.git。

英文摘要:

This work aims to create a multimodal AI system that chats with humans and shares relevant photos. While earlier works were limited to dialogues about specific objects or scenes within images, recent works have incorporated images into open-domain dialogues. However, their response generators are unimodal, accepting text input but no image input, thus prone to generating responses contradictory to the images shared in the dialogue. Therefore, this work proposes a complete chatbot system using two multimodal deep learning models: an image retriever that understands texts and a response generator that understands images. The image retriever, implemented by ViT and BERT, selects the most relevant image given the dialogue history and a database of images. The response generator, implemented by ViT and GPT-2/DialoGPT, generates an appropriate response given the dialogue history and the most recently retrieved image. The two models are trained and evaluated on PhotoChat, an open-domain dialogue dataset in which a photo is shared in each session. In automatic evaluation, the proposed image retriever outperforms existing baselines VSE++ and SCAN with Recall@1/5/10 of 0.1/0.3/0.4 and MRR of 0.2 when ranking 1,000 images. The proposed response generator also surpasses the baseline Divter with PPL of 16.9, BLEU-1/2 of 0.13/0.03, and Distinct-1/2 of 0.97/0.86, showing a significant improvement in PPL by -42.8 and BLEU-1/2 by +0.07/0.02. In human evaluation with a Likert scale of 1-5, the complete multimodal chatbot system receives higher image-groundedness of 4.3 and engagingness of 4.3, along with competitive fluency of 4.1, coherence of 3.9, and humanness of 3.1, when compared to other chatbot variants. The source code is available at: https://github.com/minniie/multimodal_chat.git.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑