[论文解读] SurgicalGPT: End-to-End Language-Vision GPT for Visual Question Answering in Surgery
SurgicalGPT 提出了一种端到端可训练的视觉-语言 GPT(LV-GPT)模型,通过将视觉标记(经可学习视觉分词器提取,并嵌入标记类型与姿态信息)整合到 GPT-2 主干网络中,实现在机器人外科手术中的视觉问答(VQA)。通过在输入序列中先排列词标记,再排列视觉标记,该模型利用 GPT 强大的语言生成能力,提升 VQA 性能,在 EndoVis18-VQA 和 Cholec80-VQA 上相比最先进模型准确率提高 3–5%,并通过优化的标记排序与嵌入策略获得进一步提升。
Advances in GPT-based large language models (LLMs) are revolutionizing natural language processing, exponentially increasing its use across various domains. Incorporating uni-directional attention, these autoregressive LLMs can generate long and coherent paragraphs. However, for visual question answering (VQA) tasks that require both vision and language processing, models with bi-directional attention or models employing fusion techniques are often employed to capture the context of multiple modalities all at once. As GPT does not natively process vision tokens, to exploit the advancements in GPT models for VQA in robotic surgery, we design an end-to-end trainable Language-Vision GPT (LV-GPT) model that expands the GPT2 model to include vision input (image). The proposed LV-GPT incorporates a feature extractor (vision tokenizer) and vision token embedding (token type and pose). Given the limitations of unidirectional attention in GPT models and their ability to generate coherent long paragraphs, we carefully sequence the word tokens before vision tokens, mimicking the human thought process of understanding the question to infer an answer from an image. Quantitatively, we prove that the LV-GPT model outperforms other state-of-the-art VQA models on two publically available surgical-VQA datasets (based on endoscopic vision challenge robotic scene segmentation 2018 and CholecTriplet2021) and on our newly annotated dataset (based on the holistic surgical scene dataset). We further annotate all three datasets to include question-type annotations to allow sub-type analysis. Furthermore, we extensively study and present the effects of token sequencing, token type and pose embedding for vision tokens in the LV-GPT model.
研究动机与目标
- 为解决缺乏鲁棒的、端到端可训练的多模态模型,以联合处理外科图像与自然语言问题,实现视觉问答。
- 通过以保持上下文连贯性并提升答案生成质量的方式整合视觉标记,克服标准 GPT 模型中单向注意力机制的局限性。
- 减少对外科专家对程序性问题回答的依赖,实现在机器人外科环境中自动化、上下文感知的 VQA。
- 引入一个新的外科-VQA 数据集(PSI-AVA-VQA),附带详细的问答类型标注,以支持子类型分析与模型评估。
- 研究在基于 GPT 的架构中,标记排序、视觉标记类型与姿态嵌入对 VQA 性能的影响。
提出的方法
- 在 GPT-2 基础上扩展,引入可学习视觉分词器(ResNet-18、Swin-T 或 ViT),以提取并嵌入视觉特征为视觉标记。
- 引入视觉标记类型嵌入,以区分视觉标记与语言标记,并引入姿态嵌入以编码图像块的空间位置。
- 在输入序列中将词标记排在视觉标记之前,以契合 GPT 的自回归特性,模拟人类推理过程:先理解问题,再从图像中推理。
- 采用多模态 Transformer 解码器,通过交叉注意力机制同时关注语言与视觉标记,实现联合表征学习。
- 使用微调后的 GPT-2 主干网络,并添加视觉专用嵌入,端到端在外科 VQA 数据集上进行训练。
- 通过消融研究评估标记排序、视觉标记类型与姿态嵌入(带与不带位置编码)对模型性能的影响。
实验结果
研究问题
- RQ1在基于 GPT 的模型中,词标记与视觉标记的序列排序如何影响 VQA 性能?
- RQ2视觉标记类型与姿态嵌入对外科 VQA 准确率与鲁棒性有何影响?
- RQ3基于 GPT 的模型能否通过可学习视觉分词器有效整合视觉输入,从而在外科 VQA 中超越现有视觉-语言模型?
- RQ4在某些网络结构变体中,使用零位置嵌入(而非学习的位置编码)是否能提升性能?
- RQ5LV-GPT 模型在多样化的外科 VQA 数据集(包括新标注的数据集)上泛化能力如何?
主要发现
- LV-GPT 模型在 EndoVis18-VQA 和 Cholec80-VQA 上分别取得 0.6811 和 0.9429 的 F1 分数,相比最先进模型准确率提升 3–5%。
- 将词标记排在视觉标记之前,使模型性能提升 2–4%,证明在自回归 GPT 模型中输入顺序的重要性。
- 使用自定义视觉标记嵌入(C-VE)结合视觉标记类型与零位置嵌入(VT-TY + VT-ZPE)时性能最佳,尤其在 ViT 变体中表现突出。
- 出人意料的是,零位置嵌入(ZPE)在 LV-GPT 模型中优于学习的位置编码,尤其在 PSI-AVA-VQA 数据集上表现更优,提示在 Swin/ViT + GPT 层中使用双重位置编码可能具有负面作用。
- 消融研究证实,VT-TY + VT-ZPE 搭配 C-VE 在 EndoVis18-VQA 上取得最高 F1 分数 0.6811,表明模态特定嵌入的最优融合。
- 新提出的 PSI-AVA-VQA 数据集附带问答类型类别标注,支持子类型分析,并揭示在使用优化的标记化与嵌入策略时,工具定位与程序性问题类型的性能显著提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。