Skip to main content
QUICK REVIEW

[Paper Review] HPPNet: Modeling the Harmonic Structure and Pitch Invariance in Piano Transcription

Weixing Wei, Peilin Li|arXiv (Cornell University)|Aug 30, 2022
Music and Audio ProcessingComputer Science4 citations
TL;DR

HPPNet introduces a lightweight piano transcription model that leverages harmonic structure and pitch-invariance priors via Harmonic Dilated Convolution (HD-Conv) and Frequency Grouped LSTM (FG-LSTM), achieving state-of-the-art performance on MAESTRO (93.15% frame F1, 97.18% note F1) with only 1.2 million parameters—significantly fewer than prior SOTA models.

ABSTRACT

While neural network models are making significant progress in piano transcription, they are becoming more resource-consuming due to requiring larger model size and more computing power. In this paper, we attempt to apply more prior about piano to reduce model size and improve the transcription performance. The sound of a piano note contains various overtones, and the pitch of a key does not change over time. To make full use of such latent information, we propose HPPNet that using the Harmonic Dilated Convolution to capture the harmonic structures and the Frequency Grouped Recurrent Neural Network to model the pitch-invariance over time. Experimental results on the MAESTRO dataset show that our piano transcription system achieves state-of-the-art performance both in frame and note scores (frame F1 93.15%, note F1 97.18%). Moreover, the model size is much smaller than the previous state-of-the-art deep learning models.

Motivation & Objective

  • To reduce model complexity in piano transcription by incorporating domain-specific priors from piano acoustics.
  • To improve performance and efficiency by modeling harmonic structures and pitch-invariance over time.
  • To develop a compact model that maintains high accuracy while drastically reducing parameter count compared to existing deep learning approaches.

Proposed method

  • Uses Constant-Q Transform (CQT) as input to preserve logarithmic frequency spacing suitable for harmonic analysis.
  • Employs Harmonic Dilated Convolution (HD-Conv) with dilation rates matching harmonic intervals on log-frequency scale to capture harmonic series.
  • Applies Frequency Grouped LSTM (FG-LSTM) that processes each frequency band independently to model pitch-invariance over time.
  • Shares weights across frequency groups in FG-LSTM to reduce parameter count while maintaining temporal modeling capacity.
  • Integrates HD-Conv and FG-LSTM into an end-to-end neural network architecture for joint frame and note prediction.
  • Uses CQT with Q=24 bins per octave to ensure consistent harmonic spacing across fundamental frequencies.

Experimental results

Research questions

  • RQ1Can modeling harmonic structure via dilated convolutions with harmonic spacing improve piano transcription performance?
  • RQ2Does enforcing pitch-invariance over time through frequency-grouped RNNs enhance model accuracy and efficiency?
  • RQ3Can a model with significantly fewer parameters outperform larger state-of-the-art models in piano transcription?
  • RQ4How does the proposed architecture generalize to smaller training sets and cross-dataset evaluation?
  • RQ5To what extent do HD-Conv and FG-LSTM contribute individually to the model's performance?

Key findings

  • HPPNet achieves 93.15% frame F1 and 97.18% note F1 on the MAESTRO v3 validation set, setting a new SOTA.
  • The model uses only 1.2 million parameters, a dramatic reduction compared to the 54 million parameters of the Transformer-based SOTA model.
  • On the MAPS dataset, HPPNet-sp achieves 87.56% note F1, outperforming Onsets & Frames (83.04%) and even the augmented version (86.44%).
  • Ablation studies show that removing FG-LSTM or replacing HD-Conv with fixed-dilation convolution leads to a drop of ~3 percentage points in frame F1 and ~1 point in note F1.
  • The model maintains strong performance on small training sets, achieving 88.31% frame F1 and 93.52% note F1 with only 10% of the MAESTRO training data.
  • The model converges faster and more stably than baselines, especially when RNN layers are removed or replaced with linear layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.