Layer-Wise Analysis of Self-Supervised Representations for Age and Gender Classification in Children's Speech

Abhijit Sinha, Harishankar Kumar, Mohit Joshi, Hemant Kumar Kathania, Shrikanth Narayanan, Sudarsana Reddy Kadiri · DOI

Introduction

Children’s speech processing presents a significant challenge for artificial intelligence. Rapid developmental changes in vocal tract morphology and inconsistent articulation lead to high variability in pitch and formant frequencies compared to adults. While self-supervised learning (SSL) models like Wav2Vec2 have transformed adult speech processing, their internal mechanisms for handling children's speech remain largely opaque. This study investigates how different layers of Wav2Vec2 encode age and gender information, aiming to identify efficient feature extraction strategies that move beyond computationally expensive full-model fine-tuning.

Methodology

The researchers analyzed four Wav2Vec2 variants: base-100h, base-960h, large-960h-lv60, and large-960h-lv60-self. Unlike standard approaches that fine-tune the entire architecture, this study kept the SSL models "frozen" to evaluate the inherent discriminative power of their internal representations.

Proposed workflow for layer-wise feature extraction and classification.

As shown in the workflow above, features were extracted from every layer (13 for base models, 25 for large models) and fed into a 3-layer Convolutional Neural Network (CNN). To further optimize efficiency, Principal Component Analysis (PCA) was applied to the highest-performing layers to reduce dimensionality before classification.

Experimental Setup

The analysis utilized two benchmark datasets:

  • PFSTAR: British English recordings of children aged 4–14 (11 age classes).
  • CMU Kids: American English recordings of children aged 6–11 (6 age classes). Performance was compared against a baseline CNN trained on 26-dimensional Mel-Frequency Cepstral Coefficients (MFCCs).

Results and Discussion

The core finding of this research is that age and gender cues are predominantly localized in the early layers of SSL models.

Accuracy across Wav2Vec2 layers for age and gender classification tasks.

As illustrated in the figure above, classification accuracy peaks in layers 1–7 and generally declines as one moves deeper into the model. This suggests a structured disentanglement within Wav2Vec2: initial layers capture raw acoustic traits (speaker identity), while deeper layers transition toward abstract phonetic and linguistic content, stripping away the "noise" of individual speaker characteristics.

Dimensionality Reduction and Efficiency

The study found that applying PCA to reduce feature dimensions (e.g., from 1024 down to 64 or 384) often improved accuracy. This indicates that SSL layers contain redundant information that can hinder classification. On the CMU Kids dataset, the large-lv60 model achieved 97.14% accuracy for age and 98.20% for gender. Notably, gender classification reached peak performance with only 64 dimensions, highlighting how concentrated these acoustic cues are.

Conclusion

This layer-wise analysis demonstrates that early-layer representations from models pre-trained on adult speech generalize remarkably well to children's voices. By focusing on these specific layers and utilizing PCA, researchers can achieve state-of-the-art results with significantly reduced computational overhead. Future work should expand this analysis to tonal languages and "in-the-wild" noisy environments to further validate the robustness of these early-layer features.

Summary updated

BibTeX
@misc{sinha2025layer,
  author = {Abhijit Sinha and Harishankar Kumar and Mohit Joshi and Hemant Kumar Kathania and Shrikanth Narayanan and Sudarsana Reddy Kadiri},
  title = {{Layer-Wise Analysis of Self-Supervised Representations for Age and Gender Classification in Children's Speech}},
  year = {2025},
  eprint = {2508.10332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.10332},
}
Figure