WAVPROMPT: Towards Few-Shot Spoken Language Understanding with Frozen Language Models

Heting Gao, Junrui Ni, Kaizhi Qian, Yang Zhang, Shiyu Chang +1 more
3/29/2022
eess.AScs.AIcs.CL

Official code: Hertin/WavPrompt (37 stars, Python, last commit 2022-06-30).

Abstract

Large-scale auto-regressive language models pretrained on massive text have demonstrated their impressive ability to perform new natural language tasks with only a few text examples, without the need for fine-tuning. Recent studies further show that such a few-shot learning ability can be extended to the text-image setting by training an encoder to encode the images into embeddings functioning like the text embeddings of the language model.

Show full abstract

Interested in exploring the possibility of transferring the few-shot learning ability to the audio-text setting, we propose a novel speech understanding framework, WavPrompt, where we finetune a wav2vec model to generate a sequence of audio embeddings understood by the language model. We show that WavPrompt is a few-shot learner that can perform speech understanding tasks better than a naive text baseline. We conduct detailed ablation studies on different components and hyperparameters to empirically identify the best model configuration. In addition, we conduct a non-speech understanding experiment to show WavPrompt can extract more information than just the transcriptions. Code is available at https://github.com/Hertin/WavPrompt

View on arXivView PDF

Code Implementations(1)

Hertin/WavPromptOfficial100%
375Python, ShellApr 7, 20224 years ago

Similar Papers

Cite this paper

@article{gao2022wavprompt,
  title  = {WAVPROMPT: Towards Few-Shot Spoken Language Understanding with Frozen Language Models},
  author = {Heting Gao and Junrui Ni and Kaizhi Qian and Yang Zhang and Shiyu Chang and Mark Hasegawa-Johnson},
  year   = {2022},
  eprint = {2203.15863},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15863}
}

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/2203.15863.svg)](https://codeofpaper.com/paper/2203.15863)

Discussion