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

对比视觉语义预训练放大了自然语言表示的语义

Contrastive Visual Semantic Pretraining Magnifies the Semantics of Natural Language Representations

University of Washington(华盛顿大学)

Robert Wolfe, Aylin Caliskan

摘要:

我们研究对比视觉语义预训练的效果,通过比较GPT-2和CLIP(一个zero-shot多模态图像分类器,它适应GPT-2架构来编码图像字幕)形成的上下文化英语语言表示的几何和语义属性。我们发现,对比视觉语义预训练显着减轻了GPT-2的上下文词嵌入中发现的各向异性,使得CLIP词嵌入的层内自相似性(平均成对余弦相似性)在所有层中均低于0.25,而GPT-2的顶层大于0.95。CLIP词嵌入在词级语义内在评估任务上优于GPT-2,并在RG 65评估中达到了新的基于语料库的最新水平,为0.88。CLIP还形成了句子的细粒度语义表示,并在SemEval-2017语义文本相似性基准测试中获得了Spearman的rho = .73,没有进行微调,而GPT-2的任何层都不大于rho = .45。最后,CLIP句子嵌入的层内自相似性随着层索引的增加而降低,在顶层达到0.25,而使用EOS令牌形成的GPT-2句子嵌入的自相似性逐层增加,并且从未低于0.97。我们的研究结果表明,高各向异性是不是一个不可避免的后果的语境化,视觉语义预训练是有益的,不仅为有序的视觉表示,但也为编码有用的语义表示的语言,无论是在单词水平和句子水平。

英文摘要:

We examine the effects of contrastive visual semantic pretraining by comparing the geometry and semantic properties of contextualized English language representations formed by GPT-2 and CLIP, a zero-shot multimodal image classifier which adapts the GPT-2 architecture to encode image captions. We find that contrastive visual semantic pretraining significantly mitigates the anisotropy found in contextualized word embeddings from GPT-2, such that the intra-layer self-similarity (mean pairwise cosine similarity) of CLIP word embeddings is under .25 in all layers, compared to greater than .95 in the top layer of GPT-2. CLIP word embeddings outperform GPT-2 on word-level semantic intrinsic evaluation tasks, and achieve a new corpus-based state of the art for the RG65 evaluation, at .88. CLIP also forms fine-grained semantic representations of sentences, and obtains Spearman's rho = .73 on the SemEval-2017 Semantic Textual Similarity Benchmark with no fine-tuning, compared to no greater than rho = .45 in any layer of GPT-2. Finally, intra-layer self-similarity of CLIP sentence embeddings decreases as the layer index increases, finishing at .25 in the top layer, while the self-similarity of GPT-2 sentence embeddings formed using the EOS token increases layer-over-layer and never falls below .97. Our results indicate that high anisotropy is not an inevitable consequence of contextualization, and that visual semantic pretraining is beneficial not only for ordering visual representations, but also for encoding useful semantic representations of language, both on the word level and the sentence level.

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

↑