Repository navigation
Releases
v0.2.0 — honest generalization: domain-shift evaluation + auditable predictions
Highlights
🧪 SBCSAE held-out domain-shift evaluation (vv prepare sbcsae)
The shipped models scored on speech neither side of which they saw in training — SBCSAE conversations (OpenSLR 155, eval-only by policy) vs unseen-speaker LibriSpeech test-clean. The tracks fail in opposite ways:
| Model | Benchmark AUC | Domain-shift AUC |
|---|---|---|
| Track A · prosody + LightGBM | 0.998 | 0.868 |
| Track B · frozen wav2vec 2.0 | 1.000 | 1.000 |
| Median ensemble | 0.997 | 0.895 |
Track A's prosodic features entangle style with channel (~half of genuine conversation crosses its 0.5 threshold); Track B's SSL embeddings transfer almost perfectly (3.3% false flags). Ensembles smooth noise, not systematic member failure. Full protocol, per-conversation analysis, and reproduction commands: docs/in_domain.md
🔍 Auditable predictions
vv eval --split test --dump-predictions out.csv — six per-utterance CSVs ship with this release (benchmark + domain-shift × 3 models) so every published AUC/EER is recomputable without re-training. Also fixes vv eval/serve/robustness to accept any .joblib artifact path directly.
🏗️ Engineering
- CI: ubuntu/macos/windows × Python 3.10–3.13 (13 jobs green), Codecov coverage
- CHANGELOG.md + release-drafter; Zenodo DOI-per-release; JOSS paper draft (
paper/) with verified citations and architecture figure - macOS users: LightGBM needs
brew install libomp(now documented)
Full changelog: https://github.com/StanleyChanH/VoiceVeritas/blob/main/CHANGELOG.md
v0.1.5 — installable from PyPI + deployable demo
What's new
pip install voiceveritas— first PyPI releasevv download-model— one command fetches the pretrained Track-A artifact (~140 KB) into the user cache- Deployable Hugging Face Space demo (Gradio, Track A) in
demo/hf-space/ - Bundled synthetic examples (
examples/) for instant post-install smoke-testing - README: known-limitations callout above the results table; PyPI quickstart
Model artifacts unchanged: the pretrained Track-A model remains the v0.1.1
release asset (vv download-model fetches it automatically).
v0.1.4 — character-level forced alignment (capability + leak analysis)
Highlights
Character-level forced alignment, WhisperX's recipe with zero new dependencies (torch + transformers only): faster-whisper supplies robust words, a wav2vec2 CTC model supplies a 20 ms character path, and edit-distance backtrace binds them — absorbing decode errors on hard audio (asr/char_align.py).
Five new fine-timing features: phrase-final lengthening (+ regularity), inter-word gap CV, mid-word silences (articulation breaks visible only to char-level alignment), char-rate CV.
⚠️ The honest part: the benchmark "improvement" is a leak
Training with alignment lifted test AUC 0.998 → 0.9995 — but the entire gain came from ONE feature at 7.5× runner-up importance. The evidence trail (docs/robustness.md):
- CTC decode density: 157 words/min (LibriSpeech) vs 67 (AMI) — alignment quality encodes corpus identity
- Class-skewed missingness and values (NaN 0% vs 5.3%; medians 210 vs 114/min)
- 210 mid-word silences/min ≈ 3.5/s is physically implausible — the feature measures CTC path density (channel), not speech style
The block ships off by default with the full analysis; the honest benchmark stays 0.998. Enable only on same-channel data. Also fixed: conf-masking column misindexing when extra feature blocks are appended.
Full changelog: v0.1.3...v0.1.4
v0.1.3 — noise-robust deep track + median ensembles
Highlights
Track B's white-noise inversion is fixed. Noise-augmented embedding training (docs/robustness.md):
| Condition | v0.1.2 Track B | v0.1.3 Track B |
|---|---|---|
| clean | 1.000 | 0.971 |
| white noise 10 dB | 0.137 (inverted!) | 0.998 |
| pink noise 10 dB | 0.169 | 0.988 |
| white noise 5 dB | 0.081 | 0.980 |
Median ensembles (vv ensemble m1 m2 -o ens.joblib): portable bundles, member payloads inline. The recommended deployable:
| Condition | prosody-aug | deep-aug | ensemble(2) |
|---|---|---|---|
| clean | 0.998 | 0.971 | 0.997 |
| white 10 dB | 0.965 | 0.998 | 0.994 |
| pink 10 dB | 0.931 | 0.988 | 0.986 |
Honest caveat (documented): a 3-member ensemble including the un-augmented ASR model drops to 0.926 at white 10 dB — median aggregation needs robust members.
Pretrained artifact: voiceveritas-ensemble-v0.1.3.joblib (attached, 2.3 MB; needs [deep] extra for the wav2vec2 member):
curl -L -o ens.joblib https://github.com/StanleyChanH/VoiceVeritas/releases/download/v0.1.3/voiceveritas-ensemble-v0.1.3.joblib
uv run vv predict ens.joblib answer.wavFull changelog: v0.1.2...v0.1.3
v0.1.2 — noise-robust by default
Highlights
Noise-aware training is now the default. Train-split augmentation (white/pink noise at 10–25 dB SNR + gain jitter) transforms the robustness profile (docs/robustness.md):
| Condition | v0.1.1 AUC | v0.1.2 AUC |
|---|---|---|
| clean | 0.978 | 0.998 |
| white noise 10 dB | 0.644 | 0.965 |
| white noise 5 dB | 0.523 | 0.941 |
| telephony band | 0.975 | 0.990 |
| 8 kHz round trip | 0.887 | 0.988 |
SNR-gated reliability routing: every prediction now carries estimated_snr_db (calibrated VAD-frame estimator). Below the 15 dB floor, the CLI prints and the API returns an explicit warning to route audio to human review — no silent degradation.
Pretrained artifact: voiceveritas-prosody-lgbm-v0.1.2.joblib (attached) — the noise-augmented Track-A model:
curl -L -o model.joblib https://github.com/StanleyChanH/VoiceVeritas/releases/download/v0.1.2/voiceveritas-prosody-lgbm-v0.1.2.joblib
uv run vv predict model.joblib answer.wavEthics reminder
Decision support only — human in the loop, FPR-budget thresholds, informed candidates (ethics.md). Training data: LibriSpeech + AMI (both CC BY 4.0).
Full changelog: v0.1.1...v0.1.2
v0.1.1 — robustness suite + pretrained artifact
Highlights
- Robustness suite (
vv robustness): stress any trained model under white/pink noise (5/10/20 dB SNR), telephony band-limiting, 8 kHz round trips, and MP3 transcoding. Full report: docs/robustness.md - Pretrained artifact:
voiceveritas-prosody-lgbm-v0.1.1.joblib(attached) — the Track-A baseline (test AUC 0.978), ready forvv predictwith zero training:
curl -L -o model.joblib https://github.com/StanleyChanH/VoiceVeritas/releases/download/v0.1.1/voiceveritas-prosody-lgbm-v0.1.1.joblib
uv run vv predict model.joblib answer.wav- Scope decision: English speech only, by design.
Key findings from the robustness report
| Condition | Track A AUC | Track B AUC |
|---|---|---|
| clean | 0.978 | 1.000 |
| telephony band | 0.975 | 0.957 |
| white noise 20 dB | 0.939 | 0.885 |
| pink noise 20 dB | 0.873 | 0.976 |
| white noise 10 dB | 0.644 | 0.137 (inverted!) |
Neither track survives ≤10 dB SNR — route low-SNR audio to human review, never to the model. See the full report for mechanisms and deployment guidance.
Training data & licenses
LibriSpeech dev-clean (CC BY 4.0) + AMI Meeting Corpus (CC BY 4.0). Ethics: decision support only, human-in-the-loop required (ethics.md).
Full changelog: v0.1.0...v0.1.1