Speaker verification determines whether a speaker's claimed identity is true by converting a speech signal into a fixed-dimensional embedding and comparing it with enrolled embeddings. In text-independent systems, a pooling layer aggregates variable-length frame-level features into this high-level representation, and valuable speaker-specific information is inevitably lost in the process, limiting verification accuracy.
This project introduces Deep Information Maximisation (DIM) as a regularisation mechanism for the pooling stage. Frame-level features are extracted with the WavLM Base Plus transformer, whose layer outputs are combined through learned weights and aggregated by a multi-headed factorised attentive pooling backend. Two discriminators based on the Mutual Information Neural Estimator (MINE) are attached: Global Information Maximisation (GIM) maximises the mutual information between the encoder's output feature map and the final speaker embedding, while Local Information Maximisation (LIM) maximises the average mutual information between the embedding and every local frame, favouring information shared across frames rather than noise. Both objectives use a Jensen-Shannon divergence estimator and are added to the AAM-softmax speaker classification loss as weighted regularisation terms. The approach was evaluated on VoxCeleb1, and the trained model was released as the VerifyVoice Python library.
Experiments were conducted on VoxCeleb1, which contains over 150,000 utterances from 1,251 celebrities, training on the development set and evaluating on the test set with Equal Error Rate (EER) as the metric. Integrating DIM consistently improved the attention-based baseline for up to 16 attention heads: EER fell from 1.612 to 1.538 with 4 heads, from 1.485 to 1.441 with 8 heads, and from 1.419 to 1.389 with 16 heads. The paper's headline configuration achieved an EER of 1.5376 against the baseline's 1.6119. At 32 attention heads the baseline (1.336) already captured most of the recoverable information and DIM gave no further gain (1.392), indicating a minimum information loss that MINE cannot capture in larger configurations. Ablations further showed that the local information maximiser has a stronger influence than the global one.
DIM Regularisation for Pooling
A novel application of global and local mutual information maximisation to the pooling stage of text-independent speaker verification, reducing information loss with only about 0.1M additional parameters.
Empirical Analysis on VoxCeleb1
A systematic study across attention-head configurations and regularisation weights that characterises when information maximisation helps and when baseline attentive pooling already saturates.
VerifyVoice Python Library
An open-source package on PyPI that loads the trained model, extracts discriminative speaker embeddings from audio files and computes similarity scores for speaker verification.
The results show that explicitly maximising mutual information between frame-level features and speaker embeddings is an effective, lightweight way to improve the accuracy of speaker verification systems. The released PyTorch implementation and the VerifyVoice library make the approach directly usable for researchers and developers building voice biometrics, and future work targets refining the method and extending it to other speaker recognition tasks.
The project team
Proposed architecture: WavLM features, attentive pooling and global/local information maximisers
Project poster: Mitigating Information Loss in Text-Independent Speaker Verification using DeepInfoMax
Nirmal Sankalana
Undergraduate Researcher
Co-developed the Deep Information Maximisation approach for text-independent speaker verification and its experimental evaluation on VoxCeleb1.
Thejan Fonseka
Undergraduate Researcher
Co-developed the Deep Information Maximisation approach for text-independent speaker verification and its experimental evaluation on VoxCeleb1.