Skip to content
Back to skills

Cnn Music Tagging Eval

ASecurity

This evaluation benchmarks CNN-based models on automatic music tagging, measuring their ability to predict multiple genre, instrument, and mood labels from audio spectrograms. It assesses both standard classification performance and robustness to audio transformations like time-stretching and pitch shifting. Use when the user wants to benchmark on MagnaTagATune, Million Song Dataset, MTG-Jamendo, or asks about evaluating this task. Reports ROC-AUC.

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

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill cnn-music-tagging-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cnn Music Tagging Eval?

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

Security grade badge for Cnn Music Tagging Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-cnn-music-tagging-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-cnn-music-tagging-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: cnn-music-tagging-eval
description: This evaluation benchmarks CNN-based models on automatic music tagging, measuring their ability to predict multiple genre, instrument, and mood labels from audio spectrograms. It assesses both standard classification performance and robustness to audio transformations like time-stretching and pitch shifting. Use when the user wants to benchmark on MagnaTagATune, Million Song Dataset, MTG-Jamendo, or asks about evaluating this task. Reports ROC-AUC.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2006.00751
  bibtex_key: [REDACTED]
  confidence: high
---

# cnn-music-tagging-eval

> Evaluation of CNN-based Automatic Music Tagging Models — Won et al. (2020) (arXiv:2006.00751, 2020)

## What this evaluates

This evaluation benchmarks CNN-based models on automatic music tagging, measuring their ability to predict multiple genre, instrument, and mood labels from audio spectrograms. It assesses both standard classification performance and robustness to audio transformations like time-stretching and pitch shifting.

## Datasets

- **MagnaTagATune** — total ?; splits: test (-1)
- **Million Song Dataset** — total ?; splits: test (-1)
- **MTG-Jamendo** — total ?; splits: test (-1)

## Metrics

- `ROC-AUC` **(primary)** — range: [0, 1]
  - Area under the Receiver Operating Characteristic curve, plotting the true positive rate against the false positive rate across all classification thresholds.
- `PR-AUC` — range: [0, 1]
  - Area under the Precision-Recall curve, summarizing the trade-off between precision and recall across thresholds. It is particularly sensitive to class imbalance in multi-label settings.

## Input / output format

**Input**: Audio tracks or short excerpts (~3.69s–5s) converted to Mel spectrograms (typically 96 or 128 frequency bands).

**Output**: Binary classification probabilities or scores for each of the top 50 tags per dataset.

## Scoring recipe

```python
def compute_tag_auc(y_true, y_pred, metric='roc'):
    tag_scores = []
    for t in range(y_true.shape[1]):
        if metric == 'roc':
            tag_scores.append(roc_auc_score(y_true[:, t], y_pred[:, t]))
        else:
            tag_scores.append(average_precision_score(y_true[:, t], y_pred[:, t]))
    return np.mean(tag_scores)

# Macro-average across all tags for each dataset
roc_auc = compute_tag_auc(gold_labels, predictions, 'roc')
pr_auc = compute_tag_auc(gold_labels, predictions, 'pr')
```

## Common pitfalls

- Comparing models trained with different Mel band counts (e.g., 96 vs 128) without re-tuning hyperparameters can unfairly penalize architectures originally optimized for fewer bands.
- Training on short audio chunks introduces label noise, as a tag may be valid for the full track but absent in the specific excerpt, complicating performance interpretation.
- Relying solely on ROC-AUC can be misleading for highly imbalanced multi-label tagging tasks; PR-AUC is often a more reliable indicator of practical utility.

## Evidence (verbatim from paper)

> We report ROC-AUC and PR-AUC of all implemented models using three datasets in Table 2. In general, models trained with short audio excerpts (Musicnn, variants of sample-level CNN, Self-attention, Harmonic CNN, variants of short-chunk CNN) outperform other models trained with relatively longer audio segments (FCN, CRNN).

## Citation

```bibtex
@misc{won2020evaluation,
  title={Evaluation of CNN-based Automatic Music Tagging Models},
  author={Won et al. (2020)},
  year={2020},
  note={arXiv:2006.00751}
}
```

- arXiv: 2006.00751

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.