Beyond Statistical Relations: Integrating Knowledge Relations into Style Correlations for Multi-Label Music Style Classification

Qianwen Ma, Chunyuan Yuan, Wei Zhou, Jizhong Han, Songlin Hu

TL;DR

The Knowledge Relations Integrated Framework (KRF) improves multi-label music style classification by combining statistical co-occurrence data with external domain knowledge (like genre hierarchies). By using Graph Convolutional Networks (GCNs) to model these complex relationships, the system significantly outperforms existing models, particularly when identifying rare or "long-tail" music styles.

What Problem Does This Paper Address?

Classifying music is rarely a "one-and-done" task; a single track might be simultaneously Indie, Electronic, and Post-Punk. While multi-label classification is the standard approach, most existing models rely solely on statistical correlations—essentially asking, "How often do these two labels appear together in my training data?"

This approach has two major flaws:

  1. The Long-Tail Problem: Rare genres (the "minority classes") have very little training data. If a style rarely appears, the model can't learn its statistical relationship to others, leading to poor performance (underfitting).
  2. Shallow Understanding: Statistics don't capture why genres are related. They miss the "evolutionary" links, such as the fact that Synthpop is a subgenre of New Wave.

Methods

The authors propose the Knowledge Relations Integrated Framework (KRF), which processes music reviews through two parallel paths that eventually fuse:

  • Review Representation (The Text Path): The model uses a Hierarchical Attention Network (HAN). It looks at reviews at both the word level and the sentence level, using "attention" to weigh which words (like "distorted guitar") or sentences are most indicative of a specific style.
  • Style Representation (The Graph Path): This is the core innovation. The authors build a graph where every music style is a node. They define edges between these nodes using two distinct matrices:
  • Statistical Correlation Matrix: Derived from how often labels co-occur in the dataset, filtered by a threshold to remove noise.
  • Knowledge Correlation Matrix: Built using "authoritative" external sources (Wikipedia and AllMusic). They define three specific relationship types: Super-subordinate (ISA relations), Coordinate (highly similar styles), and Fusion (hybrid styles like Folk-Rock).
  • Deep Learning on Graphs: They apply a 2-layer Graph Convolutional Network (GCN) to this hybrid graph. This allows the model to learn "deep" correlations, capturing multi-hop relationships that simple statistics might miss.
  • Fusion: Finally, the review features and the learned style embeddings are multiplied to produce the final multi-label predictions.

Datasets

The framework was evaluated on two real-world datasets:

  1. Douban Music: A Chinese music site dataset containing ~7.1k songs, 288k reviews, and 22 styles.
  2. Amazon Music: A dataset crawled by the authors to verify generality, containing ~9.9k songs, 276k reviews, and 20 styles.

Key Insights and Ideas

  • Knowledge as a Regularizer: The external knowledge graph acts as a safety net. If the training data for "Darkwave" is sparse, the GCN can "borrow" features from its parent genre, "Post-Punk," because the knowledge graph explicitly links them.
  • Beyond First-Order Proximity: Most previous models only looked at direct pairs. By using a GCN, the model captures the "neighbor of a neighbor" effect, allowing information to flow through the hierarchy of musical genres.
  • The Power of Hybridization: The ablation studies proved that neither statistics nor manual knowledge is enough on its own. Statistics capture the specific quirks of a dataset, while knowledge graphs provide the ground truth of the musical world. Together, they provide a much more robust representation.

Key Results

KRF consistently outperformed state-of-the-art baselines (like HAN-LCM) across all metrics:

  • Overall Accuracy: On the Douban dataset, KRF improved the Micro F1 score from 64.5% to 70.8% and reduced the "One-error" (the rate at which the top-ranked label is wrong) from 22.6% to 15.5%.
  • Solving the Minority Class: The most dramatic gains were seen in rare genres. For minority styles in the Douban dataset, KRF achieved absolute improvements in Micro F1 ranging from 7.12% to 45.55% compared to the best baseline.
  • Meaningful Embeddings: Visualization (heatmaps) showed that the model successfully learned that "Alternative" is highly linked to "Britpop," "Punk," and "Metal," reflecting real-world musical taxonomy.

Limitations and Future Work

  • Manual Knowledge Dependency: The framework relies on the availability of a high-quality, manually curated knowledge graph (Wikipedia/AllMusic). Extending this to extremely niche or emerging underground genres might require more automated knowledge extraction.
  • Static Relations: The current model treats genre relationships as fixed. However, music styles evolve over time.
  • Future Directions: The authors suggest integrating additional data types, such as user preferences and artist metadata, to further refine the style correlations. They also aim to explore more efficient architectures for learning label dependencies.

Summary updated

BibTeX
@inproceedings{ma2020beyond,
  author = {Qianwen Ma and Chunyuan Yuan and Wei Zhou and Jizhong Han and Songlin Hu},
  title = {{Beyond Statistical Relations: Integrating Knowledge Relations into Style Correlations for Multi-Label Music Style Classification}},
  booktitle = {WSDM},
  year = {2020},
  url = {https://openreview.net/forum?id=VfrTGEB0RgX},
}

Loading related content...

Figure