Prompt Tuning of Deep Neural Networks for Speaker-adaptive Visual Speech Recognition

Minsu Kim, Hyung-Il Kim, Yong Man Ro

TL;DR

This paper introduces a parameter-efficient prompt tuning framework to adapt Visual Speech Recognition (VSR) models to unseen speakers using less than five minutes of data. By designing novel prompt strategies for both CNNs and Transformers, the authors achieve significant performance gains while updating less than 0.5% of the model's total parameters.

What Problem Does This Paper Address?

Visual Speech Recognition (VSR), commonly known as lip reading, transcribes speech into text using only visual information from a speaker's face. While deep learning has drastically improved VSR, these models suffer from a major Achilles' heel: speaker dependency. Because everyone's lip shapes, anatomy, and movement dynamics are unique, VSR performance degrades sharply when encountering an "unseen" speaker not present in the training data.

Traditional speaker adaptation techniques—like full model fine-tuning—are impractical. Fine-tuning requires storing a massive, separate copy of the model for every single user, which scales terribly. Furthermore, tuning millions of parameters on just a few minutes of a new user's video quickly leads to severe overfitting. The authors tackle this challenge by asking: Can we adapt a VSR model to a new speaker by keeping the core network frozen and only training a tiny set of speaker-specific "prompts"?

Methods

While prompt tuning is highly popular in Natural Language Processing (NLP), it is typically restricted to Transformer architectures. VSR models, however, generally use a hybrid architecture: a Convolutional Neural Network (CNN) front-end to process spatial video frames, followed by a Transformer back-end to handle temporal context.

To bridge this gap, the authors propose three distinct types of learnable prompts that can be injected at different stages of the network:

  1. Addition Form Prompt (Input-level CNN): A learnable tensor with the same dimensions as an input video frame. It is directly added to every frame of the input video to adjust the raw visual features before they enter the CNN.
  2. Padding Form Prompt (Intermediate-level CNN): Instead of using standard zero-padding or reflection-padding at the boundaries of convolutional layers, the authors replace the padding regions with learnable parameters. As the convolution kernels slide over these boundaries, the speaker-specific prompt directly influences the intermediate feature maps.
  3. Concatenation Form Prompt (Transformer-level): Similar to traditional NLP prefix-tuning, these learnable tokens are concatenated to the encoded visual features along the temporal dimension before being fed into the Transformer back-end.
Fig. 1. Illustration of the proposed prompt tuning for speaker-adaptive VSR. (a) The general architecture of VSR models. (b) Three different types of prompts that can be applied to VSR models: i) addition form, ii) padding form, and iii) concatenation form. They can be jointly utilized to adapt the pre-trained VSR model on the unseen target speaker. We only update the prompts while the pre-trained VSR model is kept frozen.

During adaptation, the entire pre-trained VSR model remains frozen, and only these lightweight prompts are updated via gradient descent.

Datasets

The method was evaluated on two primary datasets:

  • GRID: A standard sentence-level audio-visual dataset consisting of 33 speakers under controlled laboratory conditions.
  • LRW-ID: The authors created this dataset by taking the popular Lip Reading in the Wild (LRW) word-level dataset and using a pre-trained face recognition model to annotate speaker identities. This resulted in a challenging, real-world benchmark featuring 17,580 distinct speakers with high variations in pose and illumination.

Key Insights and Ideas

  • Prompting the Receptive Field: The introduction of learnable padding is a clever way to prompt standard CNNs. Because deep convolutional layers have large receptive fields, modifying the outer padding values allows the prompt's influence to propagate deep into the inner feature maps of the network.
  • Architecture Dictates Prompt Choice: The optimal prompting strategy depends heavily on the front-end depth. For shallow CNNs (like the one used for the GRID dataset), the addition prompt works best because input-level changes easily penetrate the network. For deep CNNs (like the ResNet-18 used for LRW-ID), the padding prompt is significantly more effective because it acts continuously throughout the deep layers.
  • Regularization via Freezing: Freezing the base model acts as an inherent regularizer. When adaptation data is extremely scarce (e.g., 1 minute of video), prompt tuning actually outperforms full fine-tuning because it restricts the optimization space and prevents the model from destroying its generalized lip-reading capabilities.
Detailed look at how addition, padding, and concatenation prompts modify the data flow.

Key Results

  • GRID Dataset: The baseline model had a Word Error Rate (WER) of 12.04% on unseen speakers. Combining all three prompt types (Add+Pad+Cat) with just 5 minutes of adaptation data slashed the WER down to 3.80%, approaching seen-speaker performance.
  • LRW-ID Dataset: With 5 minutes of data, the combination of padding and concatenation prompts (Pad+Cat) boosted word accuracy from a baseline of 87.54% to 89.99%.
  • Parameter Efficiency: The proposed method achieved these results while introducing only a fraction of the parameters required by other methods. For instance, on LRW-ID, the concatenation prompt alone achieved 89.33% accuracy using only 0.15% additional parameters, outperforming traditional speaker-code adaptation methods.

Limitations and Future Work

The primary limitation occurs when adaptation data is highly abundant. The authors note a "crossover point" around the 30% to 50% data mark: if a user provides a large volume of adaptation data, full fine-tuning eventually overtakes prompt tuning in raw accuracy because the frozen weights limit the model's ultimate capacity to adapt.

Future research directions could explore dynamic prompting methods that adapt on-the-fly without explicit offline training phases, or combining prompt tuning with other parameter-efficient techniques like LoRA to find an even better trade-off between parameter size and data scaling.

Summary updated

BibTeX
@article{kim2023prompt,
  author = {Minsu Kim and Hyung-Il Kim and Yong Man Ro},
  title = {{Prompt Tuning of Deep Neural Networks for Speaker-adaptive Visual Speech Recognition}},
  journal = {IEEE TPAMI},
  year = {2023},
  doi = {10.1109/tpami.2024.3484658},
}
Figure