Views
No views yet
[B, T, D]| Task | Dataset(s) | #Samples | Hours |
|---|---|---|---|
| Speaker Identification | VoxCeleb2 | 974k | 2026 |
| Paralinguistic Tasks | CREMA-D, RAVDESS, IEMOCAP, TESS | 18.3k | 20 |
1from auden.auto.auto_model import AutoModel
2import torch
3
4encoder = AutoModel.from_pretrained("AudenAI/auden-encoder-voice")
5encoder = encoder.to("cuda" if torch.cuda.is_available() else "cpu")
6
7# Extract Voice Embeddings
8import torch.nn.functional as F
9
10audio_files = ["/path/to/audio1.wav", "/path/to/audio2.wav"]
11embeddings_list = []
12
13for audio_file in audio_files:
14 x, x_lens = encoder.extract_feature([audio_file])
15 x, x_lens = x.to(device), x_lens.to(device)
16
17 with torch.no_grad():
18 encoder_output = encoder(x, x_lens)
19 frame_embeddings = encoder_output["encoder_out"] # [B, T, D]
20
21 # Global average pooling (example for speaker verification)
22 T = frame_embeddings.size(1)
23 mask = (torch.arange(T, device=device).unsqueeze(0) < x_lens.unsqueeze(1)).unsqueeze(-1).float()
24 utterance_embedding = (frame_embeddings * mask).sum(dim=1) / mask.sum(dim=1)
25
26 embeddings_list.append(utterance_embedding)
27
28embeddings = torch.cat(embeddings_list, dim=0) # [N, D]
29embeddings = F.normalize(embeddings, p=2, dim=-1)
30
31similarity = torch.matmul(embeddings[0], embeddings[1])
32print(f"Cosine similarity: {similarity:.4f}")
33
34
35# Expected Output
36🎵 Audio 1:
37 Frame embeddings shape: torch.Size([1, 97, 768])
38 Utterance embedding shape: torch.Size([1, 768])
39
40🎵 Audio 2:
41 Frame embeddings shape: torch.Size([1, 138, 768])
42 Utterance embedding shape: torch.Size([1, 768])
43
44Cosine similarity: 0.7234
45Same speaker: YES| Task - Dataset | Metric |
|---|---|
| Speaker Identification - VoxCeleb2 | Accuracy 95.25% |
| Speaker Verification - VoxCeleb1-O | EER 3% |
| Speaker Diarization - VoxConverse | DER 17% |
| Age Classification - CREMA-D | Accuracy 93.91% |
| Gender Classification - CREMA-D | Accuracy 99.72% |
| Gender Classification - RAVDESS | Accuracy 100% |
| Emotion Classification - CREMA-D | Accuracy 83.99% |
| Emotion Classification - RAVDESS | Accuracy 89.71% |
| Audio → Text Retrieval - ParaspeechCaps | R@1 63.31 |
| Text → Audio Retrieval - ParaspeechCaps | R@1 61.69 |
| LLM-QA Emotion - AirBench-MELD | Accuracy 27.23% |
| LLM-QA Emotion - AirBench-IEMOCAP | Accuracy 84.70% |
| LLM-QA Gender - AirBench-MELD | Accuracy 81.58% |
| LLM-QA Gender - AirBench-CommonVoice | Accuracy 93.15% |
| LLM-QA Age - AirBench-CommonVoice | Accuracy 58.27% |
1@article{huo2025auden,
2 title={Auden-Voice: General-Purpose Voice Encoder for Speech and Language Understanding},
3 author={Huo, Mingyue and Tseng, Wei-Cheng and Shao, Yiwen and Zhang, Hao and Yu, Dong},
4 journal={arXiv preprint arXiv:2511.15145},
5 year={2025}
6}