ICASSP 2022accepted0 citations

Music Phrase Inpainting Using Long-Term Representation and Contrastive Loss

Shiqi Wei, Gus Xia, Yixiao Zhang, Liwei Lin, Weiguo Gao

Abstract

Deep generative modeling has already become the leading technique for music automation. However, long-term generation remains a challenging task as most methods fall short in preserving a natural structure and the overall musicality when the generation scope exceeds several beats. In this study, we tackle the problem of long-term, phrase-level symbolic melody inpainting by equipping a sequence prediction model with phrase-level representation (as an extra condition) and contrastive loss (as an extra optimization term). The underlying ideas are twofold. First, to predict phrase-level music, we need phrase-level representations as a better context. Second, we should predict notes and their high-level representations simultaneously, while contrastive loss serves as a better target for abstract representations. Experimental results show that our method significantly outperforms the baselines. In particular, contrastive loss plays a critical role in the generation quality, and the phase-level representation further enhances the structure of long-term generation. <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup>

BibTeX
@inproceedings{icassp2022_musicphraseinpai,
  title = {Music Phrase Inpainting Using Long-Term Representation and Contrastive Loss},
  author = {Shiqi Wei and Gus Xia and Yixiao Zhang and Liwei Lin and Weiguo Gao},
  booktitle = {ICASSP 2022},
  year = {2022}
}
Music Phrase Inpainting Using Long-Term Representation and Contrastive Loss · ICASSP 2022