arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.07623cs.CV
收藏

SwitchGPT:适配大型语言模型以生成非文本输出

SwitchGPT: Adapting Large Language Models for Non-Text Outputs

The University of Adelaide(阿德莱德大学)

Xinyu Wang, Bohan Zhuang, Qi Wu

AI总结:

本文提出SwitchGPT方法,通过少量数据训练将文本LLM适配为多模态模型,使其能根据指令调用现成模态转换模型生成非文本输出,兼顾复杂指令理解与高质量生成,在多模态场景中实现更高灵活性。

摘要:

大型语言模型(LLMs)主要在基于文本的数据集上进行训练,在通过文本输出理解和执行复杂的语言指令方面展现出卓越的能力。然而,当被要求生成非文本输出时,它们就会显得力不从心。与此同时,模态转换模型(例如文本到图像),尽管能够生成高质量的图像,却缺乏广泛的文本预训练。因此,这些模型只能适应特定的图像描述,而无法理解更复杂的指令。为了弥合这一差距,我们从模态转换的角度提出了一种新颖的方法SwitchGPT,将基于文本的LLM演变为多模态LLM。我们特别采用了一个极小的数据集来指导LLM根据指令识别预期的输出模态。因此,适配后的LLM能够有效地从模型库中调用各种现成的模态转换模型,以生成非文本响应。这避免了通常需要大量配对多模态数据的复杂预训练的必要性,同时继承了LLM的广泛知识和高质量生成模型的能力。为了评估和比较适配后的多模态LLM与传统模型,我们构建了一个多模态指令基准,用于请求多样化的模态输出。实验结果表明,只需最少的训练,LLM就能方便地适应对非文本响应的请求,从而在多模态场景中实现更高的灵活性。代码和数据将在 https://github.com/xinke-wang/SwitchGPT 上发布。

英文摘要:

Large Language Models (LLMs), primarily trained on text-based datasets, exhibit exceptional proficiencies in understanding and executing complex linguistic instructions via text outputs. However, they falter when requests to generate non-text ones. Concurrently, modality conversion models, such as text-to-image, despite generating high-quality images, suffer from a lack of extensive textual pretraining. As a result, these models are only capable of accommodating specific image descriptions rather than comprehending more complex instructions. To bridge this gap, we propose a novel approach, \methodname, from a modality conversion perspective that evolves a text-based LLM into a multi-modal one. We specifically employ a minimal dataset to instruct LLMs to recognize the intended output modality as directed by the instructions. Consequently, the adapted LLM can effectively summon various off-the-shelf modality conversion models from the model zoos to generate non-text responses. This circumvents the necessity for complicated pretraining that typically requires immense quantities of paired multi-modal data, while simultaneously inheriting the extensive knowledge of LLMs and the ability of high-quality generative models. To evaluate and compare the adapted multi-modal LLM with its traditional counterparts, we have constructed a multi-modal instruction benchmark that solicits diverse modality outputs. The experiment results reveal that, with minimal training, LLMs can be conveniently adapted to comprehend requests for non-text responses, thus achieving higher flexibility in multi-modal scenarios. Code and data will be made available at https://github.com/xinke-wang/SwitchGPT.

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

↑