Hyperbolic Additive Margin Softmax with Hierarchical Information for Speaker Verification
Zhihua Fang, Liang He
TL;DR
This paper tackles the limitation of Euclidean speaker embeddings in capturing hierarchical information by introducing hyperbolic losses for speaker verification. It proposes Hyperbolic Softmax (H-Softmax) and Hyperbolic Additive Margin Softmax (HAM-Softmax), which project embeddings and class centers into the Poincaré ball and use the hyperbolic distance to define logits; HAM-Softmax adds a margin to explicitly enlarge inter-class separation. Across VoxCeleb1/2 and CNCeleb, the methods achieve substantial gains, with average relative EER reductions of 27.84% for H-Softmax and 14.23% for HAM-Softmax compared to Softmax and AM-Softmax, respectively, and show that high-curvature hyperbolic space effectively models hierarchical structure. Ablation studies clarify the roles of curvature, scale, and margin, yielding practical guidelines for leveraging hyperbolic geometry in speaker embedding learning.
Abstract
Speaker embedding learning based on Euclidean space has achieved significant progress, but it is still insufficient in modeling hierarchical information within speaker features. Hyperbolic space, with its negative curvature geometric properties, can efficiently represent hierarchical information within a finite volume, making it more suitable for the feature distribution of speaker embeddings. In this paper, we propose Hyperbolic Softmax (H-Softmax) and Hyperbolic Additive Margin Softmax (HAM-Softmax) based on hyperbolic space. H-Softmax incorporates hierarchical information into speaker embeddings by projecting embeddings and speaker centers into hyperbolic space and computing hyperbolic distances. HAM-Softmax further enhances inter-class separability by introducing margin constraint on this basis. Experimental results show that H-Softmax and HAM-Softmax achieve average relative EER reductions of 27.84% and 14.23% compared with standard Softmax and AM-Softmax, respectively, demonstrating that the proposed methods effectively improve speaker verification performance and at the same time preserve the capability of hierarchical structure modeling. The code will be released at https://github.com/PunkMale/HAM-Softmax.
