语言模型“听到”了什么?探究语言模型中的听觉表征
What Do Language Models Hear? Probing for Auditory Representations in Language Models
AI总结:
本研究通过线性对比探测头验证,仅文本训练的语言模型仍编码了部分物体的声音基础表征,泛化表现高于随机水平。
摘要:
本研究探讨语言模型是否对物体声音编码了具备意义基础的表征。我们训练了一个线性探测头:给定与某物体相关的音频片段(其声音表征由预训练音频模型提供),该探测头能检索出该物体对应的正确文本表征。探测头通过对比损失训练,使同一物体的语言表征与声音表征相互靠近。训练完成后,测试探测头泛化到训练期间未见过物体的能力。在不同语言模型和音频模型的实验中,我们发现多数情况下探测头的泛化表现高于随机水平,这表明尽管仅在原始文本上训练,语言模型仍对部分物体的声音编码了具身基础知识。
英文摘要:
This work explores whether language models encode meaningfully grounded representations of sounds of objects. We learn a linear probe that retrieves the correct text representation of an object given a snippet of audio related to that object, where the sound representation is given by a pretrained audio model. This probe is trained via a contrastive loss that pushes the language representations and sound representations of an object to be close to one another. After training, the probe is tested on its ability to generalize to objects that were not seen during training. Across different language models and audio models, we find that the probe generalization is above chance in many cases, indicating that despite being trained only on raw text, language models encode grounded knowledge of sounds for some objects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。