DiceHuBERT: Distilling HuBERT with a Self-Supervised Learning Objective

Hyung-Gun Chi, Zakaria Aldeneh, Tatiana Likhomanenko, Oggi Rudovic, Takuya Higuchi, Li-Wei Chen, Shinji Watanabe, Ahmed Hussen Abdelaziz · DOI

Abstract

Self-supervised learning (SSL) models like HuBERT have significantly advanced the state-of-the-art in speech processing. However, their massive parameter counts make them impractical for on-device applications. While knowledge distillation is commonly used to compress these models, existing methods often rely on complex layer-matching losses that impose architectural constraints and ignore the original SSL objective. This paper introduces DiceHuBERT (Distilling from cluster centroids HuBERT), a simplified distillation framework that leverages HuBERT’s native self-supervised objective. By training a student model to predict cluster centroids derived from a teacher, DiceHuBERT achieves state-of-the-art performance—including a 21% relative improvement in phoneme recognition—while remaining completely architecture-agnostic.

Introduction

Self-supervised learning has revolutionized speech processing by enabling models to learn rich representations from unlabeled data. HuBERT, in particular, has become a cornerstone of the field. Despite its success, the computational requirements of HuBERT-base (95M parameters) and HuBERT-large (317M parameters) hinder their deployment on mobile phones, wearables, and other resource-constrained devices.

To address this, researchers typically employ Knowledge Distillation (KD), where a smaller "student" model learns from a larger "teacher." Most current speech distillation methods, such as DistilHuBERT or FitHuBERT, attempt to force the student’s internal hidden states to match the teacher’s using Mean Squared Error (MSE) loss. This approach suffers from two primary drawbacks: it often requires the student to mirror the teacher’s layer count for one-to-one mapping, and it neglects the very self-supervised objective that made the teacher powerful in the first place.

Methodology

DiceHuBERT re-imagines distillation by treating it as a continuation of the HuBERT training pipeline. HuBERT’s original training is an iterative process where features from iteration $N$ are clustered to create discrete labels for iteration $N+1$. DiceHuBERT simply plugs a smaller student model into this existing framework.

The Distillation Process

  1. The Teacher: A pre-trained, full-sized HuBERT model acts as the source of knowledge.
  2. The Targets: Features from a specific layer of the teacher (typically the 9th layer) are clustered using $k$-means to create discrete "labels" or centroids.
  3. The Student: A smaller model—either "shallow" (fewer layers) or "narrow" (smaller feature dimensions)—is trained to predict these centroids using standard cross-entropy loss, mimicking the original HuBERT masked prediction task.

Labeling Strategies

The authors explored both "hard" labels (assigning the single closest cluster) and "soft" labels (a probability distribution across all clusters). While soft labels theoretically provide more information, the study found that hard labels are surprisingly robust and easier to implement, as soft labels require careful tuning of a temperature parameter.

Because the student only needs to predict the teacher's output targets, the internal architecture of the student is entirely flexible. It does not need to match the teacher's layer count or hidden dimensions, allowing for greater optimization for specific hardware.

Experimental Setup

The models were trained on the standard LibriSpeech 960h dataset. To evaluate the quality of the distilled representations, the authors used the SUPERB (Speech processing Universal PERformance Benchmark) across four diverse tasks:

  • Phoneme Recognition (PR): Measuring content extraction.
  • Automatic Speech Recognition (ASR): Measuring word-level accuracy.
  • Speaker Identification (SID): Measuring the ability to distinguish between speakers.
  • Automatic Speaker Verification (ASV): Measuring identity verification.

Key Insights

The "Lower Bound" Surprise

A significant finding was that simply training a small model from scratch using HuBERT targets (referred to as the "Lower Bound") outperformed many specialized distillation methods from previous literature. This suggests that complex feature-matching losses may actually hinder student performance by forcing the student to mimic internal teacher representations that it lacks the capacity to represent.

Architecture: Narrow vs. Shallow

When compressing the model, the authors found that reducing the feature dimension ("narrowing") is more effective than reducing the number of layers ("shallowing"). This is likely because downstream tasks in benchmarks like SUPERB often use a weighted sum of features from all layers. A deeper, narrower model provides a richer pool of features for the task-specific heads to draw from compared to a shallow model.

SSL as the Superior Teacher

The results indicate that training with the original SSL objective—predicting masked tokens—is more effective for learning robust representations than simply trying to mimic a teacher's raw feature vectors via MSE. The SSL objective forces the model to learn the underlying structure of the speech signal.

Results

DiceHuBERT, at approximately 26M parameters (roughly 4x smaller than HuBERT-base), significantly outperformed previous state-of-the-art distillation methods:

  • Phoneme Recognition: Achieved a 21% relative improvement in Phoneme Error Rate (PER).
  • ASR: Achieved a 14% relative improvement in Word Error Rate (WER).
  • Speaker Tasks: The model showed consistent gains in SID and ASV, proving that the distilled representations are general-purpose and retain identity information as well as linguistic content.

Conclusion and Future Work

DiceHuBERT demonstrates that speech model distillation can be simplified and improved by returning to the original self-supervised objective. By removing the need for complex projection layers and architectural constraints, it provides a flexible framework for model compression.

Future research may explore aggregating information from multiple teacher layers rather than a single layer to provide a more holistic view of the speech signal. Additionally, scaling this method to HuBERT-large or applying it to other architectures like Wav2Vec 2.0 remains a promising avenue for further efficiency gains.

Summary updated

BibTeX
@inproceedings{chi2025dicehubert,
  author = {Hyung-Gun Chi and Zakaria Aldeneh and Tatiana Likhomanenko and Oggi Rudovic and Takuya Higuchi and Li-Wei Chen and Shinji Watanabe and Ahmed Hussen Abdelaziz},
  title = {{DiceHuBERT: Distilling HuBERT with a Self-Supervised Learning Objective}},
  booktitle = {Interspeech},
  year = {2025},
  doi = {10.21437/interspeech.2025-29},
}
Figure