Adaptive Knowledge Distillation Between Text and Speech Pre-Trained Models

Jinjie Ni, Yukun Ma, Wen Wang, Qian Chen, Dianwen Ng, Han Lei, Trung Hieu Nguyen, Chong Zhang, Bin Ma, Erik Cambria

Abstract

This paper introduces Prior-informed Adaptive knowledge Distillation (PAD), a framework designed to bridge the semantic and granularity gaps between text-based language models and self-supervised speech models. By leveraging attention-based significance priors (ASP) and anchor-based adaptive span aggregation (AASA), PAD enables effective cross-modal knowledge transfer without additional parameters. Evaluations on the SUPERB benchmark demonstrate significant improvements in intent classification, emotion recognition, and slot filling tasks.

Introduction

While self-supervised speech models excel at capturing acoustic features, they often lack the deep linguistic and symbolic understanding found in Large Language Models (LLMs) trained on massive text corpora. Knowledge Distillation (KD) is a common approach to "teach" speech models using text models as teachers. However, two major hurdles persist: the semantic gap, where non-meaningful audio frames (silence/noise) are treated with equal weight, and the granularity gap, where continuous speech signals do not align one-to-one with discrete text tokens.

Methodology

The PAD framework addresses these challenges through two novel components designed to align the embedding spaces of speech (student) and text (teacher) models.

Attention-based Significance Priors (ASP)

Instead of relying on external linguistic tools, PAD utilizes the self-attention maps inherent in pre-trained transformers. High attention weights across layers serve as a proxy for semantic importance. ASP uses these weights as a "prior" to focus the distillation process on the most meaningful parts of a sequence.

Anchor-based Adaptive Span Aggregation (AASA)

To resolve the granularity problem, AASA identifies "anchor points" in the speech signal based on high significance scores. It then adaptively groups neighboring speech embeddings into spans of varying scales. This allows a single text token to align with a flexible "chunk" of audio rather than an arbitrary single frame.

Overview of Global and Local Alignment architectures using ASP and AASA.

The framework supports both Global Alignment (sentence-level meaning) and Local Alignment (token-to-span matching).

Experimental Setup

The models were trained using a 10-hour subset of LibriSpeech-960 (train-clean-360) for distillation. Evaluation was conducted on the SUPERB Benchmark, focusing on three key tasks:

  • Intent Classification (IC): Fluent Speech Commands.
  • Emotion Recognition (ER): IEMOCAP.
  • Slot Filling (SF): Audio SNIPS.

Key Results and Discussion

PAD outperformed several strong baselines, including vanilla distillation and previous state-of-the-art methods like SPLAT. The results highlight a task-specific alignment trade-off: global alignment is superior for classification tasks, while local alignment is essential for sequence generation tasks like slot filling.

Performance comparison of PAD variants against baselines on SLU tasks.

Key performance highlights include:

  • Intent Classification: PAD-SLocal achieved 97.86% accuracy, a significant improvement over the wav2vec 2.0 base (94.40%).
  • Emotion Recognition: PAD-Glob reached 64.91% accuracy.
  • Slot Filling: PAD-TLocal achieved an 88.40 F1 score, notably higher than previous metric-based distillation methods which struggled to exceed 83.00.

Conclusion and Future Work

PAD demonstrates that attention mechanisms can effectively guide cross-modal distillation without external labels. However, the authors noted a performance drop when attempting joint alignment (global, token, and span levels simultaneously), suggesting these granularities may conflict in the embedding space. Future research will investigate multi-task learning strategies or sophisticated loss weighting to create a single model capable of excelling at both classification and sequence labeling tasks.

Summary updated

BibTeX
@inproceedings{ni2023adaptive,
  author = {Jinjie Ni and Yukun Ma and Wen Wang and Qian Chen and Dianwen Ng and Han Lei and Trung Hieu Nguyen and Chong Zhang and Bin Ma and Erik Cambria},
  title = {{Adaptive Knowledge Distillation Between Text and Speech Pre-Trained Models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10096950},
}
Figure