[Paper Review] Sampling strategies in Siamese Networks for unsupervised speech representation learning
This paper investigates the impact of sampling strategies in Siamese networks for unsupervised speech representation learning, demonstrating that frequency compression of word types and optimized proportions of same/different word pairs significantly improve phonetic discriminability. The proposed sampling strategy outperforms prior neural network methods on the ZeroSpeech 2015 benchmark, achieving state-of-the-art results in sub-word representation learning under weak supervision and transferring effectively to fully unsupervised settings.
Recent studies have investigated siamese network architectures for learning invariant speech representations using same-different side information at the word level. Here we investigate systematically an often ignored component of siamese networks: the sampling procedure (how pairs of same vs. different tokens are selected). We show that sampling strategies taking into account Zipf's Law, the distribution of speakers and the proportions of same and different pairs of words significantly impact the performance of the network. In particular, we show that word frequency compression improves learning across a large range of variations in number of training pairs. This effect does not apply to the same extent to the fully unsupervised setting, where the pairs of same-different words are obtained by spoken term discovery. We apply these results to pairs of words discovered using an unsupervised algorithm and show an improvement on state-of-the-art in unsupervised representation learning using siamese networks.
Motivation & Objective
- To systematically evaluate the impact of sampling strategies—particularly word frequency distribution and pair composition—on Siamese network performance in speech representation learning.
- To investigate how Zipf’s law, speaker distribution, and same/different pair proportions affect learning in both weakly-supervised and fully unsupervised settings.
- To transfer optimal sampling hyperparameters from gold-annotated data to unsupervised spoken term discovery outputs, improving performance on zero-resource speech tasks.
- To identify the best sampling configuration for Siamese networks that maximizes phonetic discriminability in low-resource and zero-resource speech scenarios.
Proposed method
- The authors implement a PyTorch-based Siamese network (ABnet3) with shared weights and a contrastive loss using pairs of stacked 7-frame filterbank features.
- They apply dynamic time warping (DTW) to align same-word pairs at the frame level before feeding them into the network.
- A frequency compression function φ is applied to word types, transforming their frequency distribution to reduce the dominance of high-frequency words.
- Sampling proportions are tuned by adjusting the probability of selecting same-word vs. different-word pairs, with separate control over word-type and speaker-level matching.
- The method is evaluated on the Buckeye corpus using both gold word-level annotations (weak supervision) and spoken term discovery (STD) outputs (fully unsupervised).
- Performance is measured using the ABX discriminability metric, with results reported for within- and across-speaker conditions.
Experimental results
Research questions
- RQ1How does word frequency compression affect the discriminability of learned speech representations in Siamese networks?
- RQ2What is the optimal proportion of same-word vs. different-word pairs for training, and how does it vary with data size and distribution?
- RQ3Can sampling strategies optimized on weakly-supervised data (gold annotations) be successfully transferred to fully unsupervised settings using spoken term discovery outputs?
- RQ4How does the DTW threshold in the spoken term discovery system affect the quality of pairs and downstream representation learning?
- RQ5To what extent do sampling hyperparameters based on Zipf’s law improve performance in zero-resource speech representation learning?
Key findings
- Applying frequency compression (φ: n → 1) to word types significantly improves ABX discriminability in the weakly-supervised setting, reducing error rates to 10.4 (within) and 17.2 (across) on the Buckeye dataset.
- The optimal sampling configuration uses P^w_- = 0.7 (70% different word pairs) and P^s_- = 0 (no speaker mixing), outperforming the standard 50/50 split.
- The same sampling strategy transferred to the unsupervised setting—using discovered word pairs from the Jansen et al. STD system—achieved ABX error rates of 17.7 (across) at δ = 0.88, outperforming previous neural network baselines.
- The best trade-off between coverage and NED in the STD system occurs at δ = 0.88, yielding 9,853 clusters with NED = 0.442 and coverage = 0.394, while maintaining strong discriminability.
- Despite improvements, the DPGMM-based method (Heck et al.) remains the state-of-the-art on the ZeroSpeech 2015 benchmark, with 8.0 (across) ABX error on Buckeye.
- The study confirms that sampling strategy is a critical hyperparameter, with effects comparable in magnitude to architecture or loss function choices in representation learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.