Constructing Composite Features for Interpretable Music-Tagging

Chenhao Xue, Weitao Hu, Joyraj Chakraborty, Zhijin Guo, Kang Li, Tianyu Shi, Martin J. Reed, Nikolaos ThomosarXiv 2026 · DOI

TL;DR

This paper introduces a Genetic Programming (GP) pipeline that automatically creates new, interpretable audio features for music tagging by combining existing ones. This approach achieves performance comparable to complex deep learning models while offering transparency into how features are constructed, bridging the gap between accuracy and interpretability in music information retrieval.

What Problem Does This Paper Address?

Music tagging, the process of assigning descriptive labels (like mood or genre) to audio tracks, is crucial for organizing and retrieving music. Traditional methods relied on handcrafted features that were interpretable but limited in capturing complex interactions. More recently, deep learning models have achieved state-of-the-art performance by learning features directly from audio, but their "black-box" nature makes it difficult to understand why a particular tag is assigned. This opacity is problematic, especially when dealing with subjective tags or when trying to identify potential biases in the model's reasoning. The paper aims to bridge this gap by developing a method that automatically constructs interpretable composite features, mimicking the synergistic interactions found in deep models without sacrificing transparency.

Methods

The core of the paper is a three-stage pipeline:

  1. Audio Feature Extraction: Two sets of base audio features are extracted:
  2. E23 Signal-Level Features: 23 low-level audio descriptors (e.g., loudness, spectral centroid) from the Essentia library.
  3. ALL62 Perceptual Features: A richer set of 62 features, including the E23 features, functional harmony features, and perceptual features derived from MFCCs using a CNN.
  4. GP-Based Composite Feature Construction: This is the novel part. Genetic Programming (GP) is used to evolve mathematical expressions that combine the base features. The GP system searches for expressions that maximize a fitness function, which is a combination of tagging performance (using XGBoost on a validation set) and a penalty for expression complexity (to encourage simpler, more interpretable formulas). The GP operators include arithmetic, trigonometric, and conditional functions, allowing for a wide range of linear, non-linear, and piecewise combinations.
  5. Tagging Model Training: The evolved composite features are added to the original base feature sets, and an XGBoost classifier is trained on this augmented set for the final music tagging task.

Datasets

The paper uses two well-established datasets for evaluation:

  • MTG-Jamendo: A large dataset for music mood and theme tagging, containing 18,486 songs with 56 tags.
  • GTZAN: A smaller dataset of 1,000 audio tracks (30 seconds each) for genre classification, covering 10 genres.

The authors note that their reproduced baseline performance on these datasets closely matches previously reported results.

Key Insights and Ideas

  • Interpretability without Sacrificing Performance: The GP approach successfully creates features that improve tagging accuracy while remaining interpretable, addressing a key limitation of deep learning models.
  • Synergistic Interactions Discovered: The evolved composite features reveal how different base features interact in non-obvious ways to improve tagging, offering insights beyond simple feature importance.
  • Parsimony Pressure Works: The inclusion of a complexity penalty in the GP fitness function effectively favors simpler expressions, aligning with the goal of interpretability and potentially leading to more robust models.
  • Early Gains are Significant: The most substantial performance improvements are often achieved within the first few hundred GP evaluations, suggesting that effective feature combinations can be found with modest computational budgets.
  • Diverse Combination Forms: The top-performing evolved expressions are not limited to a single type; they include linear, non-linear, and conditional forms, demonstrating the flexibility of the GP approach.

Key Results

  • Performance Improvement: The GP-augmented feature sets consistently improved tagging accuracy across both datasets and base feature sets. For GTZAN genre tagging, accuracy improved by 4.0-5.0% compared to baselines.
  • State-of-the-Art Comparison: The method achieved performance comparable to state-of-the-art interpretable methods and approached the performance of deep learning models, all while using only a modest number of GP iterations (e.g., 5 iterations).
  • Computational Efficiency: The anytime trajectories show that significant gains are realized early in the search, with evaluations taking only a few seconds on modern hardware (RTX 3080Ti).
  • Qualitative Analysis: Analysis of the evolved expressions revealed interesting combinations, such as "Loudness - BPMdom_dom" for MTG-Jamendo, potentially capturing perceived energy through dynamics-tempo interaction, and conditional expressions for GTZAN that exploit genre-specific harmonic rhythm.

Limitations and Future Work

  • Computational Cost for Large Datasets: While early gains are fast, achieving maximum performance on very complex tasks like MTG-Jamendo's 56-tag multilabel prediction can still require thousands of evaluations.
  • Interpretability of Complex Expressions: While the GP aims for parsimony, some evolved expressions can still be complex, requiring careful analysis to fully understand.
  • Future Work: The authors suggest further exploration of feature-operator co-occurrence patterns and the application of this GP pipeline to other music information retrieval tasks. They also highlight the potential for this approach to reveal deeper music-theoretic insights.

Summary updated

BibTeX
@misc{xue2026constructing,
  author = {Chenhao Xue and Weitao Hu and Joyraj Chakraborty and Zhijin Guo and Kang Li and Tianyu Shi and Martin J. Reed and Nikolaos Thomos},
  title = {{Constructing Composite Features for Interpretable Music-Tagging}},
  year = {2026},
  eprint = {2603.28644},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.28644},
}
Figure