Skip to content
Back to skills

Speech Likelihood Eval

ASecurity

Evaluates the ability of generative latent variable models and autoregressive baselines to model speech audio distributions at varying temporal resolutions. It measures how well models capture intra-frame and inter-frame correlations in audio waveforms by optimizing likelihood objectives. Use when the user wants to benchmark on TIMIT, LibriSpeech, or asks about evaluating this task. Reports bits per frame (bpf).

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill speech-likelihood-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Speech Likelihood Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Speech Likelihood Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-speech-likelihood-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-speech-likelihood-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: speech-likelihood-eval
description: Evaluates the ability of generative latent variable models and autoregressive baselines to model speech audio distributions at varying temporal resolutions. It measures how well models capture intra-frame and inter-frame correlations in audio waveforms by optimizing likelihood objectives. Use when the user wants to benchmark on TIMIT, LibriSpeech, or asks about evaluating this task. Reports bits per frame (bpf).
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2202.12707
  bibtex_key: [REDACTED]
  confidence: high
---

# speech-likelihood-eval

> Benchmarking Generative Latent Variable Models for Speech — Havtorn et al. (2022) (arXiv:2202.12707, 2022)

## What this evaluates

Evaluates the ability of generative latent variable models and autoregressive baselines to model speech audio distributions at varying temporal resolutions. It measures how well models capture intra-frame and inter-frame correlations in audio waveforms by optimizing likelihood objectives.

## Datasets

- **TIMIT** — total ?; splits: train (-1), val (-1), test (-1)
- **LibriSpeech** — total ?; splits: dev-clean (-1), dev-other (-1), test-clean (-1), test-other (-1)

## Metrics

- `bits per frame (bpf)` **(primary)** — range: other
  - Negative log-likelihood per audio frame converted to bits. For latent variable models, the one-sample Evidence Lower Bound (ELBO) is reported as an approximation. Lower values indicate better model fit and compression efficiency.

## Input / output format

**Input**: Stacked μ-law encoded PCM audio frames standardized to [-1, 1]. Each input x_t consists of s consecutive waveform frames x̃_{t:t+s}, where stack size s ∈ {1, 64, 256}. Audio is 16-bit depth at 16 kHz sample rate.

**Output**: Probability distribution (specifically a 10-component Discrete Mixture of Logistics, DMoL) over the discretized audio values for the stacked frames.

## Scoring recipe

```python
def compute_bpf(predictions, gold, stack_size, num_frames):
    # 1. Compute log-likelihood log p(x) using the model's output distribution (DMoL)
    # 2. For LVMs, use the one-sample ELBO as the log-likelihood estimate
    log_likelihood = compute_log_prob(predictions, gold)
    # 3. Convert to bits per frame: bpf = -log_p_x / (num_frames * log(2))
    bpf = -log_likelihood / (num_frames * np.log(2))
    # 4. Average bpf across all samples in the split
    return np.mean(bpf)
```

## Common pitfalls

- LVMs report the one-sample ELBO, which is a lower bound on the true log-likelihood; the paper marks these with ≤ in tables, meaning the true likelihood could be better (lower bpf).
- Stack size s drastically changes temporal resolution and likelihood values; models must be compared at identical s to avoid unfair comparisons.
- FLAC compression rates are reported on linear PCM, while models are trained on μ-law encoded audio, making direct compression-to-likelihood comparisons approximate.

## Evidence (verbatim from paper)

> We report likelihoods in units of bits per frame (bpf) as this yields a more interpretable and comparable likelihood than total likelihood in nats. It also has direct connections with information theory and compression (Shannon, 1948; Townsend et al., 2019). In units of bits per frame, lower is better. For LVMs, we report the one-sample ELBO.

## Citation

```bibtex
@misc{havtorn2022benchmarking,
  title={Benchmarking Generative Latent Variable Models for Speech},
  author={Havtorn et al. (2022)},
  year={2022},
  note={arXiv:2202.12707}
}
```

- arXiv: 2202.12707

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.