What Do Language Models Hear? Probing for Auditory Representations in Language Models

Jerry Ngo, Yoon Kim
2/26/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ngo2024what,
  title  = {What Do Language Models Hear? Probing for Auditory Representations in Language Models},
  author = {Jerry Ngo and Yoon Kim},
  year   = {2024},
  eprint = {2402.16998},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.16998v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.16998.svg)](https://codeofpaper.com/paper/2402.16998)

Discussion