Abstract
The estimation of speaker characteristics such as age and height is a challenging task, having numerous applications in voice forensic analysis. In this work, we propose a bi-encoder transformer mixture model for speaker age and height estimation. Considering the wide differences in male and female voice characteristics such as differences in formant and fundamental frequencies, we propose the use of two separate transformer encoders for the extraction of specific voice features in the male and female gender, using wav2vec 2.0 as a common-level feature extractor. This architecture reduces the interference effects during backpropagation and improves the generalizability of the model. We perform our experiments on the TIMIT dataset and significantly outperform the current state-of-the-art results on age estimation. Specifically, we achieve root mean squared error (RMSE) of 5.54 years and 6.49 years for male and female age estimation, respectively. Further experiment to evaluate the relative importance of different phonetic types for our task demonstrate that vowel sounds are the most distinguishing for age estimation.
Introduction
Speaker profiling—the extraction of physical characteristics like age, height, and gender from audio—is a vital tool for forensic analysis and targeted marketing. However, this task is notoriously difficult due to the inherent biological differences between male and female voices, such as vocal tract lengths and fundamental frequencies. Traditional "one-size-fits-all" neural networks often suffer from "interference" during the learning process (backpropagation) when attempting to model these disparate characteristics simultaneously. This research introduces a bi-encoder architecture designed to respect these biological differences and improve estimation accuracy.
Methodology
The core of the proposed system is a Mixture of Experts (MoE) bi-encoder transformer model. The pipeline consists of several key stages:
- Feature Extraction: The model leverages wav2vec 2.0, a powerful self-supervised model, to transform raw audio into high-level speech representations. This marks the first application of wav2vec 2.0 to the age and height estimation task.
- Bi-Encoder Architecture: Instead of a single transformer, the architecture employs two identical transformer encoders (6 layers, 8 attention heads each), acting as "Male" and "Female" experts.
- Gating Mechanism: A gender classifier predicts the speaker's gender, which then acts as a "gate" to weight the outputs of the two experts. For instance, if a speaker is identified as likely female, the model relies more heavily on the Female Expert's features.
- Multi-Task Learning and Regularization: The model simultaneously predicts age, height, and gender. To balance these objectives, homoscedastic uncertainty is used to automatically weight loss functions. Additionally, Mixup data augmentation is employed to improve generalization.
Experimental Setup
The study utilized the TIMIT dataset, a standard benchmark in speech processing containing 630 speakers across eight major American English dialects. The dataset includes heights ranging from 145cm to 204cm and ages from 21 to 76 years. The experiments followed a standard train/test split, with 15% of the training data reserved for validation.
Results and Discussion
The proposed wav2vec 2.0 bi-encoder achieved new State-of-the-Art (SOTA) results for age estimation on the TIMIT dataset. As shown in the comparison table below, the model achieved an RMSE of 5.54 years for males and 6.49 years for females, representing relative improvements of 18.5% and 8.6%, respectively, over previous benchmarks.
Key insights from the results include:
- Specialization Benefits: The bi-encoder approach outperformed a single-encoder baseline, confirming that separating gender-specific features reduces training noise.
- Feature Superiority: wav2vec 2.0 features significantly outperformed traditional methods like MFCCs or x-vectors.
- Phonetic Importance: Analysis revealed that vowels are the most critical phonetic type for age estimation. Masking vowels caused the RMSE to spike by nearly 39% for men and 20% for women, likely because vowels best reflect age-related changes in the vocal tract.
Conclusion
This work demonstrates the effectiveness of a bi-encoder transformer mixture model for speaker profiling. While age estimation saw significant gains, height estimation remains a more complex challenge, showing less improvement from the bi-encoder architecture. Future work will explore different self-supervised feature extractors and investigate cross-linguistic performance beyond the American English scope of the TIMIT dataset.
Summary updated