[论文解读] LAMM: Language-Assisted Multi-Modal Instruction-Tuning Dataset, Framework, and Benchmark
LAMM 引入一个开源的多模态指令调优数据集、框架和用于图像与点云任务的基准,提供统一界面下的训练与评估 MLLMs,并附带开源代码。
Large language models have emerged as a promising approach towards achieving general-purpose AI agents. The thriving open-source LLM community has greatly accelerated the development of agents that support human-machine dialogue interaction through natural language processing. However, human interaction with the world extends beyond only text as a modality, and other modalities such as vision are also crucial. Recent works on multi-modal large language models, such as GPT-4V and Bard, have demonstrated their effectiveness in handling visual modalities. However, the transparency of these works is limited and insufficient to support academic research. To the best of our knowledge, we present one of the very first open-source endeavors in the field, LAMM, encompassing a Language-Assisted Multi-Modal instruction tuning dataset, framework, and benchmark. Our aim is to establish LAMM as a growing ecosystem for training and evaluating MLLMs, with a specific focus on facilitating AI agents capable of bridging the gap between ideas and execution, thereby enabling seamless human-AI interaction. Our main contribution is three-fold: 1) We present a comprehensive dataset and benchmark, which cover a wide range of vision tasks for 2D and 3D vision. Extensive experiments validate the effectiveness of our dataset and benchmark. 2) We outline the detailed methodology of constructing multi-modal instruction tuning datasets and benchmarks for MLLMs, enabling rapid scaling and extension of MLLM research to diverse domains, tasks, and modalities. 3) We provide a primary but potential MLLM training framework optimized for modality extension. We also provide baseline models, comprehensive experimental observations, and analysis to accelerate future research. Our baseline model is trained within 24 A100 GPU hours, framework supports training with V100 and RTX3090 is available thanks to the open-source society.
研究动机与目标
- 激发对能够同时处理视觉与语言的开放、透明的多模态大模型的需求。
- 提供一个大规模的图像与三维点云指令调优数据集,具备丰富、细粒度的注释。
- 建立一个开放的基准与评估协议,以量化在二维和三维视觉任务上的零-shot与微调性能。
- 提出一个模块化的训练框架,能够扩展到其他模态与任务。
- 展示使用该框架和数据集训练的基线模型,以加速在 MLLMs 领域的开源研究。
提出的方法
- 构建一个包含 186,098 对图像-语言对的图像-语言指令调优数据集,以及一个包含 10,262 对点云-语言对的数据集。
- 通过 GPT-API 生成带有系统消息、上下文学习对和查询的指令-应答模板,以获得接近真实标签的注释。
- 将视觉任务注释转换为指令-应答对,以提升 MLLMs 的指令理解能力。
- 提出一个训练框架,使每种模态拥有专用的编码器、投影器和模态特定的 LoRA 适配器,并共享一个通用 LLM。
- 使用 4 张 A100 GPU,端到端训练一个基线 MLLM(Vicuna-13B),采用模态特定投影和 LoRA。
- 使用一个包含 2D 和 3D 任务的新基准进行评估,其中包括传统指标、二元定位指标,以及基于 GPT 的评估指标。
实验结果
研究问题
- RQ1开源的 MLLMs 在多样化的 2D 和 3D 视觉任务上,采用统一的指令调优方法进行零-shot 的表现如何?
- RQ2一个模块化的多模态指令调优框架是否能扩展到除了图像和点云之外的其他模态?
- RQ3基于 GPT 的评估指标是否与多模态生成与推理任务的任务真实标签表现相关?
主要发现
- LAMM 在若干 2D 视觉任务上实现了强零-shot 基线,但在精确定位和计数方面存在显著差距,经过微调后有所改善。
- 对图像任务的微调显著提升性能(例如 CIFAR10 精度从 37.9 提升到 91.2)。
- 3D 视觉任务在微调中显示出显著提升(例如 ScanNet 目标检测从 9.3 提升到 11.89;ScanQA VQA 从 26.54 提升到 99.89)。
- 在某些情况下,基于 GPT 的评估指标在字幕/描述的相关性和准确性分数上可能高于以 BLEU 为基础的指标。
- Binary Locating Metric 显示 LAMM 基线相较于某些基线在定位能力上有所提升,尽管精确度低于一些传统方法。
- 该数据集和框架具有可扩展性,数据量增加时性能提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。