Saved in:
Bibliographic Details
Main Authors: Masztalski, Piotr, Romaniuk, Michał, Żak, Jakub, Matuszewski, Mateusz, Kowalczyk, Konrad
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.17540
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909752118738944
author Masztalski, Piotr
Romaniuk, Michał
Żak, Jakub
Matuszewski, Mateusz
Kowalczyk, Konrad
author_facet Masztalski, Piotr
Romaniuk, Michał
Żak, Jakub
Matuszewski, Mateusz
Kowalczyk, Konrad
contents In speaker verification, contrastive learning is gaining popularity as an alternative to the traditionally used classification-based approaches. Contrastive methods can benefit from an effective use of hard negative pairs, which are different-class samples particularly challenging for a verification model due to their similarity. In this paper, we propose CHNS - a clustering-based hard negative sampling method, dedicated for supervised contrastive speaker representation learning. Our approach clusters embeddings of similar speakers, and adjusts batch composition to obtain an optimal ratio of hard and easy negatives during contrastive loss calculation. Experimental evaluation shows that CHNS outperforms a baseline supervised contrastive approach with and without loss-based hard negative sampling, as well as a state-of-the-art classification-based approach to speaker verification by as much as 18 % relative EER and minDCF on the VoxCeleb dataset using two lightweight model architectures.
format Preprint
id arxiv_https___arxiv_org_abs_2507_17540
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Clustering-based hard negative sampling for supervised contrastive speaker verification
Masztalski, Piotr
Romaniuk, Michał
Żak, Jakub
Matuszewski, Mateusz
Kowalczyk, Konrad
Audio and Speech Processing
Machine Learning
Sound
In speaker verification, contrastive learning is gaining popularity as an alternative to the traditionally used classification-based approaches. Contrastive methods can benefit from an effective use of hard negative pairs, which are different-class samples particularly challenging for a verification model due to their similarity. In this paper, we propose CHNS - a clustering-based hard negative sampling method, dedicated for supervised contrastive speaker representation learning. Our approach clusters embeddings of similar speakers, and adjusts batch composition to obtain an optimal ratio of hard and easy negatives during contrastive loss calculation. Experimental evaluation shows that CHNS outperforms a baseline supervised contrastive approach with and without loss-based hard negative sampling, as well as a state-of-the-art classification-based approach to speaker verification by as much as 18 % relative EER and minDCF on the VoxCeleb dataset using two lightweight model architectures.
title Clustering-based hard negative sampling for supervised contrastive speaker verification
topic Audio and Speech Processing
Machine Learning
Sound
url https://arxiv.org/abs/2507.17540