ECAPA-TDNN-VHE v2.0: Vocal Health Encoder & Virtual Electroglottography

Model Details

  • Model name: ECAPA-TDNN-VHE (Version 2.0)
  • Author: Muhammad Khubaib Ahmad, Zheng Xiangyu, et al.
  • License: Apache 2.0
  • Framework: PyTorch, SpeechBrain
  • Embedding dimensionality: 192
  • Sampling rate: 16 kHz (mono)
  • Task: Health-centric vocal fatigue representation learning, task-conditioned calibration, and cross-modal virtual electroglottography (Virtual EGG)
  • Associated Journal Publications:
    1. Xiangyu Z, Ahmad MK. Automated Vocal Fatigue Screening in Professional Voice Users: Development and Occupational Validation of an Automated Assessment System. Journal of Voice. 2026. https://doi.org/10.1016/j.jvoice.2026.07.042 (Article PII: S0892-1997(26)00395-4, ScienceDirect Link)
    2. Ahmad MK, Xiangyu Z. From Perceptual Strain to Glottal Contact Mechanics: Electroglottographic Grounding, Dynamic Pitch-Loading Calibration, and Cross-Modal Distillation of Contrastive Vocal Health Embeddings Across Laryngeal Pathologies. Journal of Voice. 2026.

πŸš€ What is New in Version 2.0?

Version 2.0 establishes the first physiological ground-truth validation of contrastive speech representations by linking ECAPA-TDNN-VHE embeddings directly to physical vocal fold contact mechanics using synchronized 50 kHz dual-electrode electroglottography (EGG) from the SaarbrΓΌcken Voice Database (SVD; Zenodo: 16874898).

Key Scientific & Technical Additions:

  1. Physiological EGG Grounding ($r = 0.8586, p < .0001$):
    • Canonical correlation analysis between the 192-D embedding subspace and 10 physical EGG contact biomechanics proved that contrastive learning naturally aligns latent dimensions along true glottal vibratory axes.
  2. Resolution of the Phonatory Task Manifold Shift:
    • Uncalibrated v1.0 models trained on connected speech misclassified healthy sustained vowels as severely strained (>120 points).
    • v2.0 provides task_conditioned_centroids_v2.npz containing normative healthy reference anchors ($\mathbf{C}_h^{(t)}$) across modal vowels (a_n), low-pitch (a_l), high-pitch (a_h), glissando (a_lhl), and connected speech (phrase), restoring normative baselines (29–31 points) and enhancing discrimination ($d = +0.81$, AUC = 0.711).
  3. Within-Speaker Dynamic Pitch-Loading Calibration ($PSI$):
    • psi_calibrator_v2.npz provides reference shift vectors and covariance matrices for computing the modal-anchored Phonatory Stress Index ($PSI$), unmasking latent neuromuscular paresis and structural mass lesions during pitch glissandos ($d = 1.65$).
  4. Hardware-Free Virtual Electroglottography (Virtual EGG):
    • virtual_egg_head_v2.npz provides a distilled multi-output projection head ($\mathbf{W}{\text{virt}}, \mathbf{b}{\text{virt}}$) that reconstructs 9 cycle-resolved glottal contact parameters ($CQ$, $OQ$, $CQP$, $SQ_{\text{EGG}}$, $R_{\text{dEGG}}$, $dEGG_{\text{norm}}$, glottal $F_0$, jitter, shimmer) purely from microphone audio without physical neck electrodes.

Model Files in this Repository

File Name Description Size
ECAPA_TDNN_VHE.pth Core PyTorch model weights (192-D bottleneck, supervised contrastive pre-training). 8.8 MB
task_conditioned_centroids_v2.npz Normative healthy and pathological reference centroids for all 5 phonatory tasks. 25 KB
psi_calibrator_v2.npz Within-speaker normative delta distributions and covariance inverses for PSI computation. 1.18 MB
virtual_egg_head_v2.npz Multi-output Virtual EGG projection weights ($\mathbf{W}{\text{virt}}, \mathbf{b}{\text{virt}}$) and feature normalization scalers. 18 KB
radar_chart.png Benchmark comparison against baseline ECAPA-TDNN across representation quality dimensions. 165 KB

Quickstart & Inference

Using the Python Library auralis-vfs (v2.0+)

pip install auralis-vfs
import numpy as np
from auralis import score_v2, score_task_conditioned, predict_virtual_egg

# 1. Evaluate a comfortable modal sustained vowel /a/
sample_rate = 16000
waveform = np.random.randn(80000) # 5 seconds audio

result = score_v2(waveform, task="a_n")
print(f"Task-Conditioned Strain Score: {result['task_conditioned_score']:.2f} / 100")
print("Virtual EGG Biomechanical Parameters:")
for k, v in result["virtual_egg_biomarkers"].items():
    print(f"  - {k}: {v:.4f}")

# 2. Evaluate dynamic pitch glissando anchored to modal baseline
modal_wav = np.random.randn(80000)
gliss_wav = np.random.randn(80000)

result_gliss = score_v2(gliss_wav, task="a_lhl", baseline_modal_waveform=modal_wav)
print(f"Phonatory Stress Index (PSI): {result_gliss['psi_score']:.2f}")
# Normative healthy PSI: ~14.12
# Pathological laryngeal breakdown PSI: >20.0

Loading Model Files with NumPy / PyTorch Directly

import numpy as np

# Load v2 task-conditioned centroids
tc_data = np.load("task_conditioned_centroids_v2.npz")
c_modal = tc_data["unit_a_n"]
c_phrase = tc_data["unit_phrase"]

# Load Virtual EGG projection head
vegg_data = np.load("virtual_egg_head_v2.npz")
W_virt = vegg_data["W_virt"] # (204, 9)
b_virt = vegg_data["b_virt"] # (9,)
print("Loaded Virtual EGG projection matrix with shape:", W_virt.shape)

Benchmark Performance

Evaluation Task Baseline ECAPA-TDNN Auralis-VFS v1.0 (Uncalibrated) Auralis-VFS v2.0 (Proposed)
Binary Dysphonia Screening (Acc / AUC) 62.4% / 0.651 79.7% / 0.771 84.2% / 0.850
3-Class Etiological Differentiation (Macro AUC) 0.582 0.694 0.755 (Approaches Oracle 0.776)
Hyperfunctional vs RLN Paralysis (AUC) 0.548 0.662 0.751 (Pure Audio)
Modal Sustained Vowel False-Positive Strain Severe (>110 pts) Severe (129.80 pts) Resolved (31.55 Β± 9.61 pts)

Citation

@article{xiangyu2026automated,
  title={Automated Vocal Fatigue Screening in Professional Voice Users: Development and Occupational Validation of an Automated Assessment System},
  author={Xiangyu, Zheng and Ahmad, Muhammad Khubaib},
  journal={Journal of Voice},
  year={2026},
  publisher={Elsevier},
  doi={10.1016/j.jvoice.2026.07.042},
  note={Article PII: S0892-1997(26)00395-4}
}

@article{ahmad2026glottal,
  title={From Perceptual Strain to Glottal Contact Mechanics: Electroglottographic Grounding, Dynamic Pitch-Loading Calibration, and Cross-Modal Distillation of Contrastive Vocal Health Embeddings Across Laryngeal Pathologies},
  author={Ahmad, Muhammad Khubaib and Xiangyu, Zheng},
  journal={Journal of Voice},
  year={2026}
}

License

This model and repository are licensed under the Apache 2.0 License.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Khubaib01/ECAPA-TDNN-VHE

Finetuned
(17)
this model