/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
flaxspeaker · dense
Библиотека
flaxspeaker
Опубликована
15 окт 2026

univ_conformer_base_ge2e

ЭмбеддингиТекст → embedding3 профессии

Модель извлекает голосовые эмбеддинги для распознавания говорящего и проверки совпадения голоса в аудиозаписях.

99скачиваний за 30 дней0лайковвеса обновлены24 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

wq2012/univ_conformer_base_ge2e — модель распознавания и верификации говорящего, созданная автором репозитория как самостоятельная реализация опубликованных алгоритмов GE2E и Dr-Vectors на JAX/Flax. Это не официальный продукт Google. Модель принимает аудио и извлекает векторные представления голоса, которые можно использовать для сравнения записей и проверки, говорит ли один и тот же человек в двух аудиофрагментах.

Архитектура включает четыре блока Conformer размерности 256 с восемью головами внимания, многослойную агрегацию признаков и четырёхголовый механизм attentive temporal pooling. Аудиофронтенд использует 80-мерные логарифмические Mel-признаки, VAD и CMVN; при оценке обрабатывается до 30 секунд аудио. В обучении использованы данные LibriSpeech, CN-Celeb и VoxCeleb. Проверка на этих наборах показывает EER от 12,83% до 21,90% для одиночной записи и от 8,70% до 17,00% при нескольких записях для регистрации говорящего.

Это чекпойнт, сошедшийся на небольшом наборе: 381 говорящий и 9 447 аудиозаписей, с существенно меньшим бюджетом обучения, чем в исходных работах. Результаты на подмножестве VoxCeleb1 не сопоставимы напрямую с опубликованными результатами на полном тестовом наборе; указанные оценки получены с одним случайным seed. Лицензия — Apache-2.0.

Сценарии применения

  • проверка, принадлежат ли две записи одному говорящему
  • поиск совпадений голоса в коллекции аудиозаписей
  • извлечение эмбеддингов голоса для последующей кластеризации
  • верификация личности по голосу в аудиозаписях
  • сравнение голоса в LibriSpeech, CN-Celeb и VoxCeleb-подобных данных

Ограничения

Модель обучена на небольшом контролируемом наборе и имеет заметно меньший бюджет обучения, чем исходные работы; качество зависит от набора данных и числа записей для регистрации говорящего. Оценки на VoxCeleb1 рассчитаны по ограниченному подмножеству и не сопоставимы напрямую с опубликованными результатами на полном тестовом наборе.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

FlaxSpeaker: univ_conformer_base_ge2e (conformer - base)

Disclaimer & Reproduction Notice

This is not an officially supported Google product.

This checkpoint and the accompanying FlaxSpeaker library are a from-scratch re-implementation in JAX/Flax, written using only the published papers (no proprietary code or data), of speaker recognition algorithms from:

  • GE2E: Generalized End-to-End Loss for Speaker Verification (arXiv:1710.10467)
  • Dr-Vectors: Decision Residual Networks and an Improved Loss for Speaker Recognition (arXiv:2104.01989)
  • ATP (pooling head repurposed from a language identification paper): Attentive Temporal Pooling for Conformer-based Streaming Language Identification in Long-form Speech (arXiv:2202.12163)
  • PFAS: Parameter-Free Attentive Scoring for Speaker Verification (arXiv:2203.05642)

The experiments in those papers were run on Google-internal infrastructure and data, not with this library. This is a converged small-corpus benchmark checkpoint (4,600 steps / ~15.58 epochs on 9,447 utterances from 381 speakers), not a full-corpus reproduction of the papers' large-scale results -- see Training budget and Deviations from the source papers below.

Training Budget (read this first)

This model was trained to convergence for 4,600 gradient steps (S_safe = X + 2 epochs safety margin, warmup 460 steps) with mini-batches of 32 utterances (8 speakers x 4 utterances), i.e. ~15.58 epochs over the 9,447-utterance 3-domain controlled training pool (381 speakers), on a CPU workstation with seed 42. Across the training trajectory, Universal Pooled EER progressed from step 400: 25.20% (1-utt) / 22.27% (3-utt) -> step 4000 (knee): 18.30% (1-utt) / 14.63% (3-utt) -> step 4600 (final): 17.90% (1-utt) / 14.40% (3-utt). While training loss and validation EER have reached their small-corpus convergence plateau on this 381-speaker open split (<= 25 utterances/speaker), absolute EERs remain bounded by training speaker diversity compared to industrial benchmarks trained on thousands of speakers (see below).

Training-crop provenance. This checkpoint was trained with U(90, 180)-frame variable-length crops and an exact validity mask (the current pipeline default); the shipped config.json / YAML (variable_length_training: true) describes the released weights. Step-0 loss fingerprint at the released seed (scripts/fingerprint_released_checkpoints.py, pretrained_models/step0_fingerprints.json): archived 2.1637; current code with fixed 180-frame crops 2.0584, with U(90, 180) crops 2.1637 (match: variable). Evaluating the released weights with the current code reproduces the archived metrics in eval_results.json. At the converged S_safe budget, the seed-to-seed standard deviation of pooled 1-utt EER across seeds 0-2 is 0.08-0.41 % absolute (pretrained_models/r2_seed_and_control_results.json), while the 8,000-trial 95 % bootstrap CI half-width is ~0.8 %.

For orientation only: published ECAPA-TDNN systems trained on VoxCeleb2-dev reach about 0.9% EER on the full VoxCeleb1-O list (Desplanques et al., 2020), and sub-1M-parameter systems about 2% (Wang et al., EfficientTDNN, 2022). The checkpoints released here are trained to convergence (including a +2-epoch safety margin) on the self-contained 381-speaker (<=25 utterances/speaker) benchmark corpus rather than VoxCeleb2-dev (5,994 speakers, ~1.1M utterances), and are intended for controlled relative comparisons within the FlaxSpeaker benchmark, not as state-of-the-art models trained on thousand-speaker corpora.

Model Summary

PropertyValue
Model IDuniv_conformer_base_ge2e
Hugging Face Repositorywq2012/univ_conformer_base_ge2e
Hugging Face CollectionFlaxSpeaker Collection
GitHub Repositorywq2012/FlaxSpeaker
PyPI Packageflaxspeaker
Backbone Architectureconformer (base)
Temporal Poolingatp
Training ObjectiveGE2E softmax (Wan et al. 2018, Eq. 6; exact leave-one-out centroids) (ge2e_softmax)
Verification ScorerCosine similarity (cosine)
Output Representation Dim256
Inference Parameters (encoder + scoring head; excludes training-only classifier weights)4,551,558
Training DataLibriSpeech + CN-Celeb2 + VoxCeleb1 (universal multi-domain, 381 speakers, 9,447 utterances)
Training Steps / Batch4,600 steps x 32 utterances (~15.58 epochs), seed 42
Audio Frontend80-dim natural-log Mel @ 16000 Hz + frame-level energy VAD + CMVN (flaxspeaker.AudioFrontend; not a Hugging Face AutoFeatureExtractor)

Model Files Included

  • model.safetensors: model weights (encoder + GE2E w,b / Dr-Vector / PFAS heads) in SafeTensors format
  • flax_model.msgpack: native Flax Msgpack serialized parameters
  • config.json: FlaxSpeakerConfig (full ExperimentConfig, incl. the frontend/VAD settings)
  • eval_results.json: multi-domain evaluation metrics (1-utt & 3-utt EER, minDCF, ROC-AUC, 95% bootstrap CIs, VoxCeleb1-O 10-speaker subset)

Quickstart Usage

Python API (from Hugging Face Hub or Local Directory)

Requires flaxspeaker >= 0.8.0 (pip install -U flaxspeaker).

from flaxspeaker import load_pretrained

model = load_pretrained("wq2012/univ_conformer_base_ge2e")
emb = model.extract_embedding("path/to/utterance.flac")
score = model.verify("path/to/enroll.flac", "path/to/test.flac")
print(f"Embedding shape: {emb.shape}, Verification score: {score:.4f}")

Command-Line Inference

python scripts/inference.py --model_dir wq2012/univ_conformer_base_ge2e \
    --enroll_audio path/to/enroll.flac --test_audio path/to/test.flac

Multi-Domain Evaluation Results

1-Utterance Verification Across Evaluation Domains

Trial lists are 50/50 target/impostor over held-out speakers (LibriSpeech 40, CN-Celeb2 30, VoxCeleb1 10 speakers); minDCF@0.01 is close to its trivial ceiling of 1.0 for every model under this trial mix.

Evaluation SplitTrialsRaw EER (%)AS-Norm EER (%)95% Bootstrap CI (%)minDCF@0.01minDCF@0.10ROC-AUC
LibriSpeech (English Read)3,00012.83%12.90%[11.73, 14.22]0.88930.62070.9418
CN-Celeb2 (Chinese Multi-Genre)3,00019.53%20.07%[18.01, 20.87]0.99400.85330.8840
VoxCeleb1 (In-the-Wild Celebrity)2,00021.90%21.20%[19.90, 23.65]0.91900.87800.8706
Universal Pooled (All 3 Domains)8,00017.90%18.20%[17.18, 18.74]0.96120.79130.9030
Universal Macro-Average (3 Domains)—18.09%18.06%—0.93410.78400.8988
VoxCeleb1-O 10-speaker subset (see caveat)2,50024.48%24.18%[22.40, 26.54]0.98990.88340.8523

Caveat: VoxCeleb1-O 10-speaker subset: the official veri_test2.txt list filtered to trials whose enrollment and test speakers are both among the 10 held-out evaluation speakers (2,500 trials, ~72% target). Not comparable to published VoxCeleb1-O numbers; the other 30 of the 40 official test speakers are used as training data by vox_* and univ_* models.

3-Utterance Multi-Enrollment Verification Across Evaluation Domains

Evaluation SplitTrials3-Utt EER (%)95% Bootstrap CI (%)minDCF@0.01ROC-AUC
LibriSpeech (3-Utt)1,0008.70%[7.40, 10.95]0.62800.9725
CN-Celeb2 (3-Utt)1,00015.60%[13.15, 17.70]0.83000.9322
VoxCeleb1 (3-Utt)1,00017.00%[14.70, 19.35]0.91000.9100
Universal Pooled (3-Utt)3,00014.40%[13.10, 15.70]0.81930.9397
Universal Macro-Average (3-Utt)—13.77%—0.78930.9382

Single seed; the 95% bootstrap CIs resample trials (not speakers). Differences below about 1% absolute EER between FlaxSpeaker checkpoints are within the seed-to-seed variation measured in pretrained_models/r2_seed_and_control_results.json (see the GitHub README) and should not be interpreted as rankings.

Deviations from the Source Papers

  • Training regime: 4,600 gradient steps x 32 utterances (N = 8 speakers x M = 4, ~15.58 epochs) on <= 25 utterances/speaker from 381 speakers (9,447 utterances); the source papers train for ~500k steps with N = 16-64 / M = 8-10 on thousands of speakers.
  • Augmentation: corpus-backed MUSAN environmental noise, music, and multi-speaker babble + RIRS_NOISES room impulse responses + 3-way polyphase speed perturbation (0.9x, 1.0x, 1.1x) + SpecAugment.
  • Conformer: parallel linear + Conv1D stem, no positional encoding, 4 blocks x 256-D, 8 heads, kernel 15, mask-aware GroupNorm(2), no dropout, multi-layer feature aggregation; the Google papers use 12 x 512 blocks, 4-8 heads, kernel 32, relative positional encoding and dropout.
  • ATP pooling: 4 heads with a tanh bottleneck (128-D) and subspace_heads = True; the papers use a single head with a linear-sigmoid weight (attention_dim = 0). Note that arXiv:2202.12163 is a language-identification paper whose pooling head is repurposed here.
  • Frontend: 80-D natural-log Mel + frame-level energy VAD (26 dB dynamic range) + CMVN; evaluation processes up to 3000 frames (30.0 s).

Citation

@inproceedings{wan2018generalized,
  title={Generalized End-to-End Loss for Speaker Verification},
  author={Wan, Li and Wang, Quan and Papir, Alan and Moreno, Ignacio Lopez},
  booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={4879--4883},
  year={2018}
}

@inproceedings{pelecanos2021dr,
  title={Dr-Vectors: Decision Residual Networks and an Improved Loss for Speaker Recognition},
  author={Pelecanos, Jason and Wang, Quan and Moreno, Ignacio Lopez},
  booktitle={Interspeech},
  pages={4603--4607},
  year={2021}
}

@inproceedings{wang2022attentive,
  title={Attentive Temporal Pooling for Conformer-based Streaming Language Identification in Long-form Speech},
  author={Wang, Quan and Yu, Yang and Pelecanos, Jason and Huang, Yiling and Moreno, Ignacio Lopez},
  booktitle={The Speaker and Language Recognition Workshop (Odyssey)},
  year={2022}
}

@inproceedings{pelecanos2022parameter,
  title={Parameter-Free Attentive Scoring for Speaker Verification},
  author={Pelecanos, Jason and Wang, Quan and Huang, Yiling and Moreno, Ignacio Lopez},
  booktitle={The Speaker and Language Recognition Workshop (Odyssey)},
  year={2022}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · flaxspeaker

Можно запустить

Подбираем GPU…

Ревизия весов
7f4d6ec

0 моделей