A Data-Driven Methodology for Considering Feasibility and Pairwise Likelihood in Deep Learning Based Guitar Tablature Transcription Systems

Frank Cwitkowitz, Jonathan Driedger, Zhiyao DuanarXiv 2022

TL;DR

This paper introduces a novel way to improve automatic guitar tablature transcription by teaching deep learning models what is physically "playable." By leveraging large-scale symbolic data (digital tabs) to calculate the pairwise likelihood of notes, the researchers implemented an inhibition loss that discourages the model from predicting impossible or unlikely fingerings, significantly reducing errors like duplicate pitches.

What Problem Does This Paper Address?

Automatic Music Transcription (AMT) for guitar is notoriously difficult. Unlike a piano, where each key corresponds to exactly one pitch, a guitar is a multi-string instrument with significant pitch overlap. The same "E4" note can be played on multiple strings, each with a slightly different timbre.

Existing models often treat each of the six strings as an independent classification problem. This leads to two major issues:

  1. Physical Impossibility: Models might predict two different frets being played on the same string simultaneously.
  2. Duplicate Pitches: Models often "hedge their bets" by predicting the same pitch on two different strings at once—something a guitarist rarely does.

Furthermore, while we have massive amounts of guitar audio, we have very little "acoustic data" (audio paired with perfect fret-level labels). However, we have a wealth of "symbolic data"—millions of user-generated tablature files (like GuitarPro files) available online.

Methods

The authors built upon TabCNN, a standard model that uses Constant-Q Transform (CQT) frames as input. They made three key architectural and algorithmic changes:

  1. Temporal Context: They added a Long Short-Term Memory (LSTM) layer to help the model understand the sequence of notes over time.
  2. Logistic Output Layer: Instead of using six independent "softmax" groups (which force one choice per string but ignore other strings), they moved to a Logistic formulation. This treats every fret on every string as a binary "on/off" problem, allowing for a more flexible loss function.
  3. Inhibition Loss ($L_{inh}$): This is the core innovation. They calculated a "Pairwise Likelihood" matrix using the DadaGP dataset (a collection of ~34,000 symbolic tabs). This matrix tells the model which note combinations are common (like a G major chord) and which are impossible (like two notes on the same string). During training, the model is penalized if it activates two notes that have a low likelihood of occurring together.
Visualization of estimated pairwise likelihood for all string/fret combinations. Brighter colors indicate pairs that frequently co-occur.

Datasets

  • GuitarSet: A high-quality but small dataset (~3 hours) of acoustic guitar audio with hexaphonic pickup labels, used for training and evaluation.
  • DadaGP: A massive collection of symbolic tablature (GuitarPro files). The authors used 33,967 tracks from this dataset to estimate the "language" of guitar playing—essentially defining what combinations of notes are musically and physically feasible.

Key Insights and Ideas

  • Symbolic Data as a Prior: Even without audio, symbolic tabs contain a "grammar" of guitar playing. The authors essentially used this data to create a "language model" for the instrument's fretboard.
  • The "Boosting" Effect: The authors found that simply using raw co-occurrence rates wasn't enough. They introduced a boosting parameter ($b$) to sharpen the contrast between common and uncommon note pairs. This ensures that the model doesn't just learn what is possible, but what is probable.
  • Bio-mechanical Constraints: By penalizing co-activations on the same string or pitches that are physically too far apart for a human hand to reach, the model naturally learns playability without needing hard-coded rules.

Key Results

The results demonstrate that while overall transcription accuracy (F-measure) saw modest gains, the quality and feasibility of the output improved dramatically:

  • Duplicate Pitch Errors ($E_{d.p.}$): The most significant win. In the baseline model, duplicate pitch errors were frequent. By applying the inhibition loss with boosted weights, these errors dropped from 24.3 to 10.6 (a ~56% reduction).
  • Tablature Disambiguation Rate (TDR): The model became much better at deciding which string to assign a note to, reaching a TDR of 0.907 when using string-based constraints.
  • LSTM Impact: Simply adding the LSTM layer provided a major boost to the baseline, increasing the tablature F-measure from roughly 0.73 to 0.77.

Limitations and Future Work

  • Dataset Bias: The DadaGP dataset is heavily skewed toward rock and metal. The authors noted this might negatively impact the model's performance on other genres like Jazz or Bossa Nova, which use different chord voicings.
  • Annotation Noise: The researchers found that some "errors" in their model were actually reflecting noisy or incorrect labels in the GuitarSet ground truth.
  • Higher-Order Relationships: The current model only looks at pairs of notes. Future work could explore relationships between three or more notes (chords) or temporal inhibition (e.g., preventing the model from jumping across the fretboard too fast to be physically possible).

For more details, you can find the full paper at arXiv:2204.08094v1.

Summary updated

BibTeX
@misc{cwitkowitz2022data,
  author = {Frank Cwitkowitz and Jonathan Driedger and Zhiyao Duan},
  title = {{A Data-Driven Methodology for Considering Feasibility and Pairwise Likelihood in Deep Learning Based Guitar Tablature Transcription Systems}},
  year = {2022},
  eprint = {2204.08094},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.08094},
}
Figure