Joint Estimation of Piano Dynamics and Metrical Structure with a Multi-task Multi-Scale Network
Zhanhong He, Hanyu Meng, David Huang, Roberto Togneri
TL;DR
This work tackles piano dynamics estimation from audio by introducing a compact, end-to-end multi-task network that jointly predicts dynamics, change points, beats, and downbeats. The model uses Bark-scale loudness (BSSL) as input and a three-branch multi-scale encoder with an 8-expert Mixture-of-Experts to share a latent representation across tasks, achieving state-of-the-art results on dynamics and change-point detection on MazurkaBL. It demonstrates substantial parameter efficiency and long-context processing benefits, enabling scalable analysis of musical expression. The approach paves the way for end-to-end pipelines that can generate scores with dynamic markings directly from performance audio.
Abstract
Estimating piano dynamic from audio recordings is a fundamental challenge in computational music analysis. In this paper, we propose an efficient multi-task network that jointly predicts dynamic levels, change points, beats, and downbeats from a shared latent representation. These four targets form the metrical structure of dynamics in the music score. Inspired by recent vocal dynamic research, we use a multi-scale network as the backbone, which takes Bark-scale specific loudness as the input feature. Compared to log-Mel as input, this reduces model size from 14.7 M to 0.5 M, enabling long sequential input. We use a 60-second audio length in audio segmentation, which doubled the length of beat tracking commonly used. Evaluated on the public MazurkaBL dataset, our model achieves state-of-the-art results across all tasks. This work sets a new benchmark for piano dynamic estimation and delivers a powerful and compact tool, paving the way for large-scale, resource-efficient analysis of musical expression.
