Kora v2: Multi-Generator Russian Speech Anti-Spoofing Model
Author: Muhammad Temirbolatov (@thetemirbolatov)
Predecessor: thetemirbolatov/kora-v1
Overview
Kora v2 is the second-generation acoustic anti-spoofing and voice deepfake detection model specialized for the Russian language. Building upon the telecommunication-resilient foundation of Kora v1, version 2 introduces cross-generator generalization against zero-shot voice cloning (Coqui XTTS-v2), ultra-compact neural speech synthesis (KittenTTS-2), and high-variance emotional human speech (RESD).
Designed for low-latency, privacy-preserving deployment, Kora v2 executes entirely on-device without transmitting sensitive voice streams to external cloud APIs.
Model Specifications
| Parameter | Specification |
|---|---|
| Architecture Backbone | WavLMForSequenceClassification (microsoft/wavlm-base lineage) |
| Parameters | 94.7M (~378 MB safetensors) |
| Task | Binary Audio Classification (0: Authentic Human, 1: Synthetic / Cloned) |
| Input Format | 16,000 Hz Mono PCM |
| Context Window | 4.0 seconds (64,000 samples) |
| Target Language | Russian (ru) |
What Changed in Kora v2
- Zero-Shot Voice Cloning Defense (
Coqui XTTS-v2): Trained on 2,000 Russian voice-cloned utterances conditioned on real speaker reference clips, closing the vulnerability to personalized voice impersonation. - Ultra-Compact Synthesizer Detection (
KittenTTS-2): Incorporated 2,000 utterances generated by lightweight sub-25M parameter ONNX synthesis engines, raising real-world blind test accuracy on KittenTTS-2 from 75.0% (v1) to 100.0% (v2). - Emotional & Conversational Prosody (
Aniemore/resd): Expanded authentic human training data with expressive, high-emotion Russian speech to prevent false positives on non-neutral human intonation. - Catastrophic Forgetting Prevention: Continual fine-tuning was performed on a mixed corpus of 12,000 balanced samples (8,000 new v2 samples + 4,000 replay samples from
kora-v1-dataset), all degraded via Opus (8–16 kbps), narrowband GSM filtering (300–3,400 Hz), and additive microphone noise.
Training & Evaluation Metrics
Continual fine-tuning was performed for 2 epochs (1,350 steps) with AdamW (lr=1e-5, batch size 16, FP16 mixed precision).
| Step | Epoch | Training Loss | Validation Loss | Validation Accuracy | Validation F1 |
|---|---|---|---|---|---|
| 250 | 0.37 | 0.121798 | 0.172174 | 96.08% | 0.9652 |
| 500 | 0.74 | 0.052085 | 0.102731 | 98.08% | 0.9827 |
| 750 | 1.11 | 0.021344 | 0.052427 | 99.00% | 0.9909 |
| 1000 | 1.48 | 0.022522 | 0.050182 | 99.17% | 0.9924 |
| 1250 | 1.85 | 0.053970 | 0.050306 | 99.17% | 0.9924 |

Generational Comparison (Kora v1 vs. Kora v2)

Inference Usage
import torch
import torchaudio
from transformers import AutoFeatureExtractor, AutoModelForAudioClassification
MODEL_ID = "thetemirbolatov/kora-v2"
SAMPLE_RATE = 16000
feature_extractor = AutoFeatureExtractor.from_pretrained(MODEL_ID)
model = AutoModelForAudioClassification.from_pretrained(MODEL_ID)
model.eval()
waveform, sr = torchaudio.load("call_sample.wav")
if sr != SAMPLE_RATE:
waveform = torchaudio.transforms.Resample(sr, SAMPLE_RATE)(waveform)
audio = waveform.mean(dim=0).numpy()
inputs = feature_extractor(
audio,
sampling_rate=SAMPLE_RATE,
max_length=SAMPLE_RATE * 4,
truncation=True,
padding=True,
return_tensors="pt"
)
with torch.no_grad():
logits = model(**inputs).logits
probs = torch.softmax(logits, dim=-1)
real_prob = probs[0][0].item()
fake_prob = probs[0][1].item()
print(f"REAL_HUMAN: {real_prob:.4f} | DEEPFAKE_AI: {fake_prob:.4f}")
Limitations & Future Work (Kora v3)
- Background Music & Cinematic Soundtracks: Because Kora v2 is trained on isolated speech channels without background music, multi-layered social media videos (e.g., AI-generated short films with heavy soundtracks and Foley effects) may reduce detection confidence.
- Recommended Preprocessing: For video inputs, applying a Voice Activity Detector (VAD) or vocal source separator prior to classification is recommended.
- Kora v3: Future releases will incorporate music-mixed speech augmentation and commercial diffusion/video-to-audio synthesis samples.
Citation
@misc{temirbolatov2026korav2,
author = {Temirbolatov, Muhammad},
title = {Kora v2: Multi-Generator Russian Speech Anti-Spoofing Model},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/kora-v2}}
}