All models

Music Boundary Detection CRNN

CNN that predicts music structure boundaries per time frame from a mel spectrogram and self-similarity lag matrices.

Audio and speech · 15 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
655.9K
Operations
15
Framework
PyTorch
Recurrent
No
Published
International Journal of Interactive Multimedia and Artificial Intelligence (arXiv 2020)
Cited by
12 (as of 3 November 2026)
Authors
Carlos Hernandez-Olivan, Jose R. Beltran, David Diaz-Guerra
License
BSD-2-Clause
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18599
Graph hash
f43e364fca231ade6a70b743e2f2951a3210b69c69fafd3ed252e3d83266da8d
Skeleton hash
07b7596403fc1ea860789ba0167530866525be730893e05d0355b0640c09b4e4
Architecture hash
7c0cd7ffcb0b543cffeb02bf1166a427c12c516ddc446f08f33f7c91832b3138
Diagram SHA-256
078e79d7127329e0a7066fd1273f127fb1a936401ad139b81cbc820f4d82b2f3
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This model finds the structural boundaries of a music piece with a convolutional neural network (CNN). The paper behind it is a comparative study of the network's inputs: it compares inputs calculated with different pooling strategies, distance metrics and audio features, aiming at a general pre-processing method.

The inputs are a mel-scaled log-magnitude spectrogram (MLS) and self-similarity lag matrices (SSLMs), which the paper computes from chroma features as well as MFCCs and with the Euclidean distance as well as the cosine distance. The network is nearly the same as in the earlier work it compares against, except that its final two layers are convolutions in the time dimension instead of dense layers. Because the whole matrix is passed in uncropped, the output is a boundary probability for every time frame of the piece. A peak-picking and threshold step then turns that curve into the final predictions.

The model was trained, evaluated and tested with the SALAMI 2.0 dataset. With its best combination of inputs the paper reports an F1 of 0.411, which it says outperforms a contemporary work done under the same conditions. With a single input, the mel spectrogram did best, at an F1 of 0.389. The authors point out that Grill and Schlüter, whose results they did not reach, trained on a database with 733 non-public pieces.

Key idea. The paper compares pooling strategies, distance metrics and audio features for the spectrogram and self-similarity inputs of a boundary-detection CNN, and identifies the best-performing input combination.

  • Music Boundary Detection CNN
  • MusicBoundariesCNN
  • music boundary detection
  • music structure segmentation
  • music structure analysis
  • self-similarity lag matrix
  • SSLM
  • mel spectrogram
  • SALAMI
  • music information retrieval

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{hernandezolivan2021musicboundarydetectionusing,
      title={Music Boundary Detection using Convolutional Neural Networks: A comparative analysis of combined input features}, 
      author={Carlos Hernandez-Olivan and Jose R. Beltran and David Diaz-Guerra},
      year={2021},
      eprint={2008.07527},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      doi={https://doi.org/10.9781/ijimai.2021.10.005},
      url={https://arxiv.org/abs/2008.07527}, 
}