Evaluating Interval-based Tokenization for Pitch Representation in Symbolic Music Analysis
Dinh-Viet-Toan Le, Louis Bigo, Mikaela Keller
TL;DR
Absolute-pitch tokenizations can obscure relational pitch information and limit modeling of musical structure; the paper introduces a general intervalization framework that converts absolute pitches to relative interval tokens using a chosen reference sequence. It formalizes the method with I_ref and I_non_ref encodings across six intervalization strategies, and evaluates seven variants using Transformer encoders on three downstream MIR tasks with end-to-end and pre-trained settings. Intervalization improves performance across tasks and provides musically meaningful interpretability, with task-dependent best-reference choices. The work advances pitch representation in symbolic music analysis and points to extensions such as interval classes and broader reference choices for generation and analysis.
Abstract
Symbolic music analysis tasks are often performed by models originally developed for Natural Language Processing, such as Transformers. Such models require the input data to be represented as sequences, which is achieved through a process of tokenization. Tokenization strategies for symbolic music often rely on absolute MIDI values to represent pitch information. However, music research largely promotes the benefit of higher-level representations such as melodic contour and harmonic relations for which pitch intervals turn out to be more expressive than absolute pitches. In this work, we introduce a general framework for building interval-based tokenizations. By evaluating these tokenizations on three music analysis tasks, we show that such interval-based tokenizations improve model performances and facilitate their explainability.
