arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.01544cs.CVcs.CL
收藏

预训练纯文本Transformer中的多模态神经元

Multimodal Neurons in Pretrained Text-Only Transformers

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);MIT KFG(麻省理工学院知识未来小组);Northeastern University(东北大学)

Sarah Schwettmann, Neil Chowdhury, Samuel Klein, David Bau, Antonio Torralba

AI总结:

该研究针对纯文本预训练Transformer的跨模态泛化能力溯源问题,通过自监督视觉编码器加线性投影构建视觉增强的冻结文本Transformer,发现模态转换发生在网络深层,提出了多模态神经元识别方法,证实其对特定视觉概念起作用且对图像字幕生成有因果影响。

摘要:

语言模型展现出将在一种模态中学习的表征泛化到其他模态下游任务的卓越能力。我们能否将这种能力追溯到单个神经元?我们研究了以下场景:通过自监督视觉编码器和在图像到文本任务上学习的单个线性投影层,为冻结的文本Transformer增添视觉能力。投影层的输出无法直接解码为描述图像内容的语言;相反,我们发现模态之间的转换发生在Transformer的更深层内部。我们提出了一种识别“多模态神经元”的流程,这类神经元可将视觉表征转换为对应的文本,并解码它们注入模型残差流的概念。在一系列实验中,我们表明多模态神经元可跨输入对特定视觉概念起作用,并且对图像字幕生成具有系统性的因果影响。

英文摘要:

Language models demonstrate remarkable capacity to generalize representations learned in one modality to downstream tasks in other modalities. Can we trace this ability to individual neurons? We study the case where a frozen text transformer is augmented with vision using a self-supervised visual encoder and a single linear projection learned on an image-to-text task. Outputs of the projection layer are not immediately decodable into language describing image content; instead, we find that translation between modalities occurs deeper within the transformer. We introduce a procedure for identifying "multimodal neurons" that convert visual representations into corresponding text, and decoding the concepts they inject into the model's residual stream. In a series of experiments, we show that multimodal neurons operate on specific visual concepts across inputs, and have a systematic causal effect on image captioning.

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

↑