NLX-GPT:视觉和视觉语言任务中的自然语言解释模型
NLX-GPT: A Model for Natural Language Explanations in Vision and Vision-Language Tasks
摘要:
自然语言解释(NLE)模型旨在通过生成对人类友好的、高层次的、细粒度的自然语言语句来解释黑箱系统的决策过程。当前的NLE模型解释了视觉或视觉语言模型(也称为,任务模型),例如,VQA模型,经由语言模型(也称为,解释模型),例如,谷丙转氨酶除了任务模型所需的额外记忆资源和推理时间外,任务模型和解释模型是完全独立的,这使得解释与预测答案的推理过程分离。我们引入了NLX-GPT,这是一种通用的、紧凑的、忠实的语言模型,可以同时预测答案和解释答案。我们首先对图像-标题对的大规模数据进行预训练,以便对图像进行一般性理解,然后将答案与解释一起制定为文本预测任务。没有区域建议,也没有任务模型,我们得到的整体框架获得更好的评价分数,包含更少的参数,是15 $\times$比目前的SoA模型快。然后,我们解决了评估解释的问题,这些解释在很多时候可能是通用的,有数据偏见的,可以有几种形式。因此,我们设计了两个新的评估措施:(1)解释预测和(2)检索为基础的攻击,一个自我评估框架,不需要标签。代码在:https://github.com/fawazsammani/nlxgpt。
英文摘要:
Natural language explanation (NLE) models aim at explaining the decision-making process of a black box system via generating natural language sentences which are human-friendly, high-level and fine-grained. Current NLE models explain the decision-making process of a vision or vision-language model (a.k.a., task model), e.g., a VQA model, via a language model (a.k.a., explanation model), e.g., GPT. Other than the additional memory resources and inference time required by the task model, the task and explanation models are completely independent, which disassociates the explanation from the reasoning process made to predict the answer. We introduce NLX-GPT, a general, compact and faithful language model that can simultaneously predict an answer and explain it. We first conduct pre-training on large scale data of image-caption pairs for general understanding of images, and then formulate the answer as a text prediction task along with the explanation. Without region proposals nor a task model, our resulting overall framework attains better evaluation scores, contains much less parameters and is 15$\times$ faster than the current SoA model. We then address the problem of evaluating the explanations which can be in many times generic, data-biased and can come in several forms. We therefore design 2 new evaluation measures: (1) explain-predict and (2) retrieval-based attack, a self-evaluation framework that requires no labels. Code is at: https://github.com/fawazsammani/nlxgpt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。