Sparkles: Unlocking Chats Across Multiple Images for Multimodal Instruction-Following Models

Yupan Huang, Zaiqiao Meng, Fangyu Liu, Yixuan Su, Nigel Collier +1 more
8/31/2023
cs.CVcs.CL

Official code: HYPJUDY/Sparkles (45 stars, BSD-3-Clause, last commit 2024-06-14).

Abstract

Large language models exhibit enhanced zero-shot performance on various tasks when fine-tuned with instruction-following data. Multimodal instruction-following models extend these capabilities by integrating both text and images. However, existing models such as MiniGPT-4 and LLaVA face challenges in maintaining dialogue coherence in scenarios involving multiple images. A primary reason is the lack of a specialized dataset for this critical application. To bridge these gaps, we introduce SparklesDialogue, the first machine-generated dialogue dataset tailored for word-level interleaved multi-image and text interactions. Furthermore, we construct SparklesEval, a GPT-assisted benchmark for quantitatively assessing a model's conversational competence across multiple images and dialogue turns. We then present SparklesChat, a multimodal instruction-following model for open-ended dialogues across multiple images. Our experiments validate the effectiveness of training SparklesChat with SparklesDialogue based on MiniGPT-4 and LLaVA-v1.5, which enhances comprehension across multiple images and dialogue turns, and does not compromise single-image understanding capabilities. Qualitative evaluations further demonstrate SparklesChat's generality in handling real-world applications. All resources related to this study are publicly available at https://github.com/HYPJUDY/Sparkles.

View on arXivView PDF

Code Implementations(1)

HYPJUDY/SparklesOfficial100%
BSD-3-Clause

Sparkles: Unlocking Chats Across Multiple Images for Multimodal Instruction-Following Models

451Shell, PythonSep 1, 20232 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{huang2023sparkles,
  title  = {Sparkles: Unlocking Chats Across Multiple Images for Multimodal Instruction-Following Models},
  author = {Yupan Huang and Zaiqiao Meng and Fangyu Liu and Yixuan Su and Nigel Collier and Yutong Lu},
  year   = {2023},
  eprint = {2308.16463},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.16463v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.16463.svg)](https://codeofpaper.com/paper/2308.16463)

Discussion