Recent advancements enlarge the capabilities of large language models (LLMs) in zero-shot image-to-text generation and understanding by integrating multi-modal inputs. However, such success is typically limited to English scenarios due to the lack of large-scale and high-quality non-English multi-modal resources, making it extremely difficult to establish competitive counterparts in other languages. In this paper, we introduce the Ziya-Visual series, a set of bilingual large-scale vision-language models (LVLMs) designed to incorporate visual semantics into LLM for multi-modal dialogue. Composed of Ziya-Visual-Base and Ziya-Visual-Chat, our models adopt the Querying Transformer from BLIP-2, further exploring the assistance of optimization schemes such as instruction tuning, multi-stage training and low-rank adaptation module for visual-language alignment. In addition, we stimulate the understanding ability of GPT-4 in multi-modal scenarios, translating our gathered English image-text datasets into Chinese and generating instruction-response through the in-context learning method. The experiment results demonstrate that compared to the existing LVLMs, Ziya-Visual achieves competitive performance across a wide range of English-only tasks including zero-shot image-text retrieval, image captioning, and visual question answering. The evaluation leaderboard accessed by GPT-4 also indicates that our models possess satisfactory image-text understanding and generation capabilities in Chinese multi-modal scenario dialogues. Code, demo and models are available at ~\url{https://huggingface.co/IDEA-CCNL/Ziya-BLIP2-14B-Visual-v1}.
翻译:近期研究通过整合多模态输入,提升了大型语言模型(LLM)在零样本图像到文本生成与理解方面的能力。然而,由于缺乏大规模、高质量的非英语多模态资源,此类成功通常局限于英语场景,导致在其他语言中建立具有竞争力的同类模型极为困难。本文介绍Ziya-Visual系列,这是一组双语大规模视觉语言模型(LVLMs),旨在将视觉语义融入LLM以实现多模态对话。该系列包含Ziya-Visual-Base与Ziya-Visual-Chat,采用BLIP-2中的Querying Transformer,并进一步探索指令微调、多阶段训练及低秩适配模块等优化方案对视觉-语言对齐的帮助。此外,我们激发GPT-4在多模态场景中的理解能力,将收集的英文图像-文本数据集翻译为中文,并通过上下文学习方法生成指令-回复对。实验结果表明,与现有LVLMs相比,Ziya-Visual在包括零样本图像-文本检索、图像描述及视觉问答等广泛英文任务中取得了有竞争力的性能。经GPT-4评估的排行榜也证实,我们的模型在中文多模态场景对话中具备令人满意的图像-文本理解与生成能力。代码、演示及模型可在~\url{https://huggingface.co/IDEA-CCNL/Ziya-BLIP2-14B-Visual-v1}获取。