A Unified Compression Framework for Efficient Speech-Driven Talking-Face Generation

Bo-Kyeong Kim, Jaemin Kang, Daeun Seo, Hancheol Park, Shinkook Choi, Hyoung-Kyu Song, Hyungshin Kim, Sungsu LimarXiv 2023

Abstract

Synthesizing photorealistic face frames from speech and facial identity is a core technology for virtual humans, yet modern models like Wav2Lip entail high computational burdens that hinder edge deployment. This study presents a unified compression framework to develop a lightweight generator by removing redundant residual blocks and reducing channel widths. We introduce a stable knowledge distillation (KD) scheme that avoids unstable adversarial learning, alongside a selective mixed-precision quantization method (INT8/FP16). Our approach reduces parameters and MACs by 28× and achieves up to a 19× speedup on edge GPUs while maintaining high visual fidelity and lip synchronization.

Introduction: The Efficiency Challenge in Talking-Face Synthesis

Speech-driven talking-face generation has massive potential in entertainment and digital human creation. However, state-of-the-art models often rely on complex Generative Adversarial Networks (GANs) that demand significant memory and processing power. As shown in the comparison of computational costs, standard talking-face generators are significantly heavier than common image classification models, making real-time execution on edge devices like the NVIDIA Jetson nearly impossible. The challenge lies in compressing these models without losing the fine-grained lip movements and visual realism essential for believability.

Methodology

The proposed framework utilizes a three-stage pipeline to achieve extreme compression without sacrificing performance.

1. Compact Generator Design

Starting with the Wav2Lip architecture, the authors aggressively pruned the model by reducing convolutional channels to one-fourth of the original size and removing all residual blocks. This design stems from the observation that since the model receives rich face-related information from the input, the added complexity of residual blocks is largely redundant.

2. Stable Knowledge Distillation (KD)

Training small GANs is notoriously difficult due to the instability of maintaining a Nash equilibrium between a tiny generator and a powerful discriminator. To bypass this, the framework employs a teacher-student KD approach without adversarial learning for the student. The student model is trained to mimic the teacher’s intermediate features and final outputs using a combination of structural similarity (SSIM), perceptual, and style losses.

The proposed knowledge distillation framework showing the architectural differences between the original teacher and the compact student generator.

3. Mixed-Precision Post-Training Quantization

While 8-bit integer (INT8) quantization offers massive speed boosts, it often degrades GAN visual quality. Through sensitivity analysis, the authors identified specific layers—primarily the decoder's output block—that are highly sensitive to precision loss. By keeping these "boundary layers" in 16-bit float (FP16) while converting the rest to INT8, the model maintains quality while reaping the performance benefits of quantization.

Key Results and Insights

The framework was validated using the LRS3 dataset. The resulting "Lite Wav2Lip" model reduced parameters from 36.3M to 1.3M and MACs from 6.21G to 0.22G—a total reduction of approximately 28×. On an NVIDIA Jetson Xavier NX, the mixed-precision model achieved a 19.9× speedup.

Qualitative comparison between the teacher model and various student configurations, demonstrating that the final optimized student (Student 3) retains high visual and lip-sync quality.

Crucially, the model maintained a Lip-Sync Confidence (LSE-C) score of 8.04, actually outperforming the original teacher model (7.78) in synchronization while keeping the visual quality (FID) very close to the baseline. This suggests that the distillation process can effectively filter out noise or inefficiencies in the original teacher's representations.

Conclusion

This unified framework demonstrates that strategic architectural pruning, stable distillation, and mixed-precision quantization can bring high-quality talking-face generation to edge hardware. Future work may focus on automating the mixed-precision search and adapting the framework to more diverse generator architectures.

Summary updated

BibTeX
@misc{kim2023unified,
  author = {Bo-Kyeong Kim and Jaemin Kang and Daeun Seo and Hancheol Park and Shinkook Choi and Hyoung-Kyu Song and Hyungshin Kim and Sungsu Lim},
  title = {{A Unified Compression Framework for Efficient Speech-Driven Talking-Face Generation}},
  year = {2023},
  eprint = {2304.00471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.00471},
}
Figure