arXiv:2609.04640cs.SDSep 2026

Manuscript Offprint

arXiv:2609.04640

Harmonica: Accurate and Lightweight Instrument-Agnostic Music Transcription

Longshen Ou, Héctor Martel, Joe Hennessy-Priest, Taemin Cho

ABSTRACT

This paper introduces Harmonica, a family of instrument-agnostic music transcription models built around multi-depth harmonic convolution. At each model scale, Harmonica achieves the best performance among the evaluated models: the x-large model attains state-of-the-art performance in instrument-agnostic transcription, while the medium variant offers competitive accuracy with faster inference than all baselines. Pushing the limit of computational efficiency, the nano variant has only 26.3K parameters and runs at 1,622.5× real time, yet achieves a frame F1 of 0.796 on the development set, 14.6 percentage points higher than Basic Pitch. We further demonstrate that multi-depth harmonic convolution effectively exploits harmonic information to benefit transcription performance through comparative experiments with existing harmonic aggregation methods, including harmonic stacking, harmonic attention, single-depth harmonic convolution, and the HD-Conv layer.¹

Index Terms— Automatic Music Transcription, Harmonic Convolution, Low-Resource, Instrument-Agnostic

1. INTRODUCTION

Automatic Music Transcription (AMT) is a fundamental problem in the music information retrieval community [1], with decades of research devoted to improving transcription accuracy. However, most existing approaches are developed and evaluated under instrument-specific settings [2, 3, 4, 5, 6, 7, 8, 9, 10, 11], limiting their applicability to real-world scenarios involving diverse musical instruments. This raises a fundamental question: can a single model accurately transcribe performances across a wide range of pitched instruments?

This question remains largely underexplored, as attention has shifted instead to multi-instrument transcription, i.e., transcribing recordings in which several instruments play together [12, 13, 14, 15]. However, whether such models reliably transcribe individual instruments across diverse types remains unclear. Arguably, strong instrument-agnostic performance is a prerequisite for robust multi-instrument transcription, which must additionally attribute each note to its source. A model that cannot transcribe instruments in isolation has little basis for handling mixtures of them reliably.

Computational efficiency poses a further challenge. Recent AMT systems adopted increasingly large models for better accuracy [15], limiting their deployment on devices with constrained computation and memory. It also remains unclear which architectural paradigm benefits most from scaling: attention-based and sequence-to-sequence models are computationally expensive, yet do not consistently deliver strong transcription performance, as our experiments show. Can a better architecture push the accuracy-efficiency

Figure

Fig. 1. Frame F1 versus model size on the held-out multi-source development set.

frontier forward, and scale more rewardingly than sequence-to-sequence models?

In this work, we first benchmark recent AMT models under a common multi-source, instrument-agnostic evaluation protocol to assess their ability to generalize across diverse pitched instruments. We then propose Harmonica, a family of instrument-agnostic music transcription models built around multi-depth harmonic convolutions. The family spans a wide range of computational budgets, with even its smallest variant maintaining competitive accuracy. Our contributions are summarized as follows:

  • We show that multi-depth harmonic convolution exploits harmonic information for AMT performance more effectively than existing harmonic aggregators such as harmonic stacking, single-depth harmonic convolution, and harmonic attention. Further, we introduce a parameter-efficient formulation of harmonic convolution that matches the performance of HD-Conv [6] while reducing harmonic-layer parameters by 28.5%.

  • At each model scale, Harmonica achieves the best overall performance among the evaluated models. The x-large model attains state-of-the-art accuracy; the medium variant achieves near-SOTA accuracy while running faster than every baseline; and the nano variant, at a similar parameter scale to Basic Pitch, is substantially more accurate while running more than 4× faster.

  • We retrain various AMT models under a common multi-source, instrument-agnostic setting, yielding a comprehensive benchmark of instrument-agnostic music transcription performance on eight test sets spanning diverse instrument properties.

¹Transcription examples and additional details on experiments and on-device deployment are available at www.oulongshen.xyz/amt.

References (34)