arXiv:2610.22416cs.SDOct 2026

Manuscript Offprint

arXiv:2610.22416

From Individual Songs to Music Corpora: Evaluating Explainable Harmonic Decision-Making on HookTheory

Josef Pavlíček, Martin Pelikán

AHFE 2026: Vol. XX, 2026 doi: 10.54941/ahfeXXXX

AHFE International

From Individual Songs to Music Corpora: Evaluating Explainable Harmonic Decision-Making on HookTheory

Josef Pavlíček 1^{1} and Martin Pelíkán 2^{2}

1^{1} Faculty of Economics and Management, Czech University of Life Sciences in Prague, Prague 6, 165 00 Praha-Suchdol, Czech Republic, pavlicek@pef.czu.cz

2^{2} Faculty of Economics and Management, Czech University of Life Sciences in Prague, Prague 6, 165 00 Praha-Suchdol, Czech Republic, pelikan@pef.czu.cz

ABSTRACT

Automatic melody harmonization is often evaluated through individual compositions or data-driven corpus models. This study examines whether an explainable harmonic decision model developed for individual songs can be applied to independently collected human annotations without changing its rules. We evaluate a frozen Explainable Melody Harmonizer (EMH) on selected HookTheory excerpts containing aligned melody and chord annotations. EMH generates chord sequences from melody alone using explicit criteria for melodic compatibility, harmonic function, persistence, cadence, meter-aware segmentation, and Viterbi-like optimization. Human chords are withheld during generation and used only for post-hoc comparison.

Nineteen excerpts yielded 439 evaluable harmonic segments. Exact chord agreement reached 20.50%, chord-root agreement 31.66%, and harmonic-function agreement 47.62%, with functions assessed relative to the key inferred by EMH. Decision-level analysis identified 203 segments (46.24%) where the human chord lay outside the model's candidate vocabulary and 146 (33.26%) where it was available but not selected. These findings distinguish representational limitations from differences in chord selection without treating the human reference as the only musically valid solution. The study demonstrates a reproducible, interpretable approach to corpus-based evaluation of harmonic decision-making.

Keywords: automatic melody harmonization, explainable AI, harmonic decision-making, Viterbi algorithm, HookTheory, computational music, human-centered AI

References (24)