Byte Pair Encoding for Symbolic Music

被引:0
|
作者
Fradet, Nathan [1 ,2 ]
Gutowski, Nicolas [3 ]
Chhel, Fabien [3 ,4 ]
Briot, Jean-Pierre [1 ]
机构
[1] Sorbonne Univ, CNRS, LIP6, F-75005 Paris, France
[2] Aubay, Boulogne, France
[3] Univ Angers, LERIA, F-49000 Angers, France
[4] ESEO, ERIS, F-49100 Angers, France
来源
2023 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING, EMNLP 2023 | 2023年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
When used with deep learning, the symbolic music modality is often coupled with language model architectures. To do so, the music needs to be tokenized, i.e. converted into a sequence of discrete tokens. This can be achieved by different approaches, as music can be composed of simultaneous tracks, of simultaneous notes with several attributes. Until now, the proposed tokenizations rely on small vocabularies of tokens describing the note attributes and time events, resulting in fairly long token sequences, and a sub-optimal use of the embedding space of language models. Recent research has put efforts on reducing the overall sequence length by merging embeddings or combining tokens. In this paper, we show that Byte Pair Encoding, a compression technique widely used for natural language, significantly decreases the sequence length while increasing the vocabulary size. By doing so, we leverage the embedding capabilities of such models with more expressive tokens, resulting in both better results and faster inference in generation and classification tasks. The source code is shared on Github(1), along with a companion website(2). Finally, BPE is directly implemented in MidiTok(3), allowing the reader to easily benefit from this method.
引用
收藏
页码:2001 / 2020
页数:20
相关论文
共 50 条
  • [21] The symbolic consumption of music
    Larsen, Gretchen
    Lawson, Rob
    Todd, Sarah
    JOURNAL OF MARKETING MANAGEMENT, 2010, 26 (7-8) : 671 - 685
  • [22] Music and symbolic violence
    Carballo Villagra, Priscilla
    REVISTA DE LA FACULTAD DE TRABAJO SOCIAL, 2006, 22 (22): : 28 - 43
  • [23] Music as symbolic action
    Graham, Phil
    Ward, Andy
    DISCOURSE & SOCIETY, 2024, 35 (01) : 66 - 82
  • [24] Seq2seq Fingerprint with Byte-Pair Encoding for Predicting Changes in Protein Stability upon Single Point Mutation
    Kawano, Keisuke
    Koide, Satoshi
    Imamura, Chie
    IEEE-ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, 2020, 17 (05) : 1762 - 1772
  • [25] Tibetan Sentence Boundaries Automatic Disambiguation Based on Bidirectional Encoder Representations from Transformers on Byte Pair Encoding Word Cutting Method
    Li, Fenfang
    Zhao, Zhengzhang
    Wang, Li
    Deng, Han
    APPLIED SCIENCES-BASEL, 2024, 14 (07):
  • [26] Symbolic encoding in symplectic maps
    Christiansen, F
    Politi, A
    NONLINEARITY, 1996, 9 (06) : 1623 - 1640
  • [27] Early music and the Music Encoding Initiative
    Roland, Perry
    Hankinson, Andrew
    Pugin, Laurent
    EARLY MUSIC, 2014, 42 (04) : 605 - +
  • [28] Music and statistical symbolic processing
    Yoshii K.
    Kyokai Joho Imeji Zasshi/Journal of the Institute of Image Information and Television Engineers, 2017, 71 (07): : 457 - 461
  • [29] SYMBOLIC MODELS IN MUSIC AESTHETICS
    MONELLE, R
    BRITISH JOURNAL OF AESTHETICS, 1979, 19 (01): : 24 - 37
  • [30] An IEEE standard for symbolic music
    Baggi, DL
    COMPUTER, 2005, 38 (11) : 100 - 102