SwinLip: An Efficient Visual Speech Encoder for Lip Reading Using Swin Transformer

Young-Hu Park, Rae‐Hong Park, Hyung‐Min Park · DOI

Abstract

Visual Speech Recognition (VSR), or lip reading, is a computationally intensive task requiring the capture of both fine-grained spatial lip movements and long-range temporal dynamics. Traditional models often rely on heavy ResNet-based backbones that are computationally expensive and limited by local receptive fields. This paper introduces SwinLip, a novel, lightweight visual speech encoder based on a modified Swin Transformer architecture. SwinLip achieves state-of-the-art performance on Mandarin lip-reading benchmarks while reducing computational complexity (FLOPs) by nearly 70% compared to standard ResNet-18 baselines.

Introduction

Lip reading involves interpreting speech from visual sequences of mouth movements. A significant challenge in VSR is distinguishing "homophones"—words that appear visually identical on the lips. Capturing global context, such as jaw and cheek movements, is essential for disambiguation. However, current state-of-the-art models primarily utilize ResNet backbones, which focus on local features and impose high latency, hindering real-time applications like hearing aids or multi-modal speech enhancement.

SwinLip Architecture

SwinLip adapts the Swin Transformer to the specific requirements of VSR, where input resolutions are typically smaller (e.g., 96x96) than standard image classification tasks.

The SwinLip architecture, featuring a 3D Spatio-Temporal Embedding Module, hierarchical Swin Transformer blocks, and a 1D Convolutional Attention Module.

The architecture consists of several key components:

  1. 3D Spatio-Temporal Embedding Module: To prevent the loss of fine-grained spatial details common in aggressive CNN downsampling, this module uses a (3, 5, 5) kernel with a stride of 1, maintaining high spatial resolution for subsequent stages.
  2. Hierarchical Swin Transformer: Redesigned into three stages with adjusted patch sizes (starting at 11x11) to optimize for smaller lip-crop inputs and reduce redundant calculations.
  3. 1D Convolutional Attention Module: Positioned at the end of the encoder, this module targets the temporal dimension to model the rhythmic nature of speech across frames, providing the "temporal glue" necessary for sequence understanding.
  4. Streaming Capability: By removing Multi-Head Self-Attention (MHSA) and Batch Normalization from the final stage, the authors created a "streaming mode" for causal, real-time processing.

Experimental Setup

SwinLip was evaluated across four major benchmarks:

  • LRW (Lip Reading in the Wild): 500-class English word-level dataset.
  • LRW-1000: 1,000-class Mandarin word-level dataset, challenging due to tonal complexities and visually similar syllables.
  • LRS2 & LRS3: Large-scale English sentence-level datasets for continuous speech recognition.

The encoder was tested as a "drop-in" replacement for various backends, including DC-TCN, Bi-GRU, and Conformer encoders.

Results and Discussion

SwinLip demonstrates superior performance and efficiency across all benchmarks.

Accuracy and Performance

On the challenging LRW-1000 dataset, SwinLip achieved a state-of-the-art 59.41% accuracy for visual-only models. On the English LRW dataset, it reached 90.67% accuracy, surpassing the ResNet-18 baseline of 89.52%.

Computational Efficiency

The most significant advantage of SwinLip is its efficiency. It requires only 3.40G FLOPs, a 68% reduction from the 10.67G FLOPs required by ResNet-18. Furthermore, inference latency scales more favorably with sentence length compared to convolutional baselines.

Inference time comparison between SwinLip and ResNet18 baseline across varying sentence lengths.

Conclusion

SwinLip represents a significant step forward in efficient VSR. By leveraging the global modeling capabilities of Swin Transformers and optimizing the architecture for lip-reading data, the authors achieved higher accuracy with a fraction of the computational cost. Future work will focus on multi-modal integration and further edge-device optimization for mobile and wearable technology.

Summary updated

BibTeX
@inproceedings{park2025swinlip,
  author = {Young-Hu Park and Rae‐Hong Park and Hyung‐Min Park},
  title = {{SwinLip: An Efficient Visual Speech Encoder for Lip Reading Using Swin Transformer}},
  booktitle = {Neurocomputing},
  year = {2025},
  doi = {10.1016/j.neucom.2025.130289},
}
Figure