DeepSpeed-VisualChat: Multi-Round Multi-Image Interleave Chat via Multi-Modal Causal Attention

Zhewei Yao, Xiaoxia Wu, Conglong Li, Minjia Zhang, Heyang Qin +4 more
9/25/2023
cs.CVcs.CL

No official code found. Best implementation: deepspeedai/DeepSpeedExamples (6,846 stars, Apache-2.0, last commit 2026-03-30). 1 more below.

Abstract

Most of the existing multi-modal models, hindered by their incapacity to adeptly manage interleaved image-and-text inputs in multi-image, multi-round dialogues, face substantial constraints in resource allocation for training and data accessibility, impacting their adaptability and scalability across varied interaction realms. To address this, we present the DeepSpeed-VisualChat framework, designed to optimize Large Language Models (LLMs) by incorporating multi-modal capabilities, with a focus on enhancing the proficiency of Large Vision and Language Models in handling interleaved inputs. Our framework is notable for (1) its open-source support for multi-round and multi-image dialogues, (2) introducing an innovative multi-modal causal attention mechanism, and (3) utilizing data blending techniques on existing datasets to assure seamless interactions in multi-round, multi-image conversations. Compared to existing frameworks, DeepSpeed-VisualChat shows superior scalability up to 70B parameter language model size, representing a significant advancement in multi-modal language models and setting a solid foundation for future explorations.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Example models using DeepSpeed

6,8461,129Shell, PythonJan 29, 20206 months agoApache-2.0
kyegomez/MMCACommunity69%
MIT

The open source community's implementation of the all-new Multi-Modal Causal Attention from "DeepSpeed-VisualChat: Multi-Round Multi-Image Interleave Chat via Multi-Modal Causal Attention"

110PythonSep 27, 20232 years agoMIT
artificial-intelligenceattentionattention-is-all-you-needattention-mechanismgpt4+6 more

Cite this paper

@article{yao2023deepspeedvisualchat,
  title  = {DeepSpeed-VisualChat: Multi-Round Multi-Image Interleave Chat via Multi-Modal Causal Attention},
  author = {Zhewei Yao and Xiaoxia Wu and Conglong Li and Minjia Zhang and Heyang Qin and Olatunji Ruwase and Ammar Ahmad Awan and Samyam Rajbhandari and Yuxiong He},
  year   = {2023},
  eprint = {2309.14327},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.14327v3}
}

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/2309.14327.svg)](https://codeofpaper.com/paper/2309.14327)

Discussion