Lightning-AI / Lightning-AI/torchmetrics

Contribution: Add new audio/speech metrics for generative audio

Open
#2,464 7 comments 0 reactions 1 assignee View on GitHub

@d-caviedes is already working on this.

Since Mar 28, 2024.

enhancement good first issue New metric topic: Audio
Dominant language
Python
Stars
2.5k
Forks
526
Avg merge
6d 11h
Merged PRs (30d)
5

Description

## 🚀 Feature

Add new audio metrics for generative audio processing

### Motivation

The evaluation of speech processing (denoising, dereverberation and in general enhancement) highly depends on audio metrics. Nowadays, generative AI is heavily used for speech/audio enhancement, becoming the new SOTA. However, the performance evaluation of speech enhancement with generative AI needs of **reference/target less** metrics that highly correlate with MOS (Mean Opinion Score). Currently implemented metrics do not allow for the correct assessment of generative speech enhancement algorithms (e.g. those based on diffusion or GANs) because they heavily rely on reference/target audio.

Newer metrics, such as DNSMOS, NISQA, CDPAM, WARPQ allow for a fundamented assessment of the performance of such algorithms (they are either reference-less or designed for generative methods). In addition, they have shown outperformance over traditional metrics (PESQ, STOI...) regarding MOS correlation.

### Pitch

It would be great to have these metrics included, as they are currently available in scattered repositories
[WARPQ](https://github.com/wjassim/WARP-Q)
[DNSMOS](https://github.com/microsoft/DNS-Challenge/tree/master/DNSMOS)
[CDPAM](https://github.com/pranaymanocha/PerceptualAudio/tree/master/cdpam)
[NISQA](https://github.com/gabrielmittag/NISQA)

### Alternatives

I cannot think of any

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.