Large Product Key Memory for Pretrained Language Models

被引:0
|
作者
Kim, Gyuwan [1 ]
Jung, Tae-Hwan [1 ,2 ]
机构
[1] NAVER Corp, Clova AI, Seongnam, South Korea
[2] Kyung Hee Univ, Seoul, South Korea
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Product key memory (PKM) proposed by Lample et al. (2019) enables to improve prediction accuracy by increasing model capacity efficiently with insignificant computational overhead. However, their empirical application is only limited to causal language modeling. Motivated by the recent success of pretrained language models (PLMs), we investigate how to incorporate large PKM into PLMs that can be finetuned for a wide variety of downstream NLP tasks. We define a new memory usage metric, and careful observation using this metric reveals that most memory slots remain outdated during the training of PKMaugmented models. To train better PLMs by tackling this issue, we propose simple but effective solutions: (1) initialization from the model weights pretrained without memory and (2) augmenting PKM by addition rather than replacing a feed-forward network. We verify that both of them are crucial for the pretraining of PKM-augmented PLMs, enhancing memory utilization and downstream performance. Code and pretrained weights are available at https://github.com/clovaai/pkm-transformers.
引用
收藏
页码:4060 / 4069
页数:10
相关论文
共 50 条
  • [31] Practical Takes on Federated Learning with Pretrained Language Models
    Agarwal, Ankur
    Rezagholizadeh, Mehdi
    Parthasarathi, Prasanna
    [J]. 17TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EACL 2023, 2023, : 454 - 471
  • [32] Pretrained Language Models as Visual Planners for Human Assistance
    Patel, Dhruvesh
    Eghbalzadeh, Hamid
    Kamra, Nitin
    Iuzzolino, Michael Louis
    Jain, Unnat
    Desai, Ruta
    [J]. 2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, : 15256 - 15268
  • [33] Interpreting Pretrained Language Models via Concept Bottlenecks
    Tan, Zhen
    Cheng, Lu
    Wang, Song
    Yuan, Bo
    Li, Jundong
    Liu, Huan
    [J]. ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PT III, PAKDD 2024, 2024, 14647 : 56 - 74
  • [34] Unlocking Multimedia Capabilities of Gigantic Pretrained Language Models
    Li, Boyang
    [J]. PROCEEDINGS OF THE 1ST WORKSHOP ON LARGE GENERATIVE MODELS MEET MULTIMODAL APPLICATIONS, LGM3A 2023, 2023, : 3 - 4
  • [35] A study of Turkish emotion classification with pretrained language models
    Ucan, Alaettin
    Dorterler, Murat
    Akcapinar Sezer, Ebru
    [J]. JOURNAL OF INFORMATION SCIENCE, 2022, 48 (06) : 857 - 865
  • [36] A Survey of Sentiment Analysis Based on Pretrained Language Models
    Sun, Kaili
    Luo, Xudong
    Luo, Michael Y.
    [J]. 2022 IEEE 34TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, ICTAI, 2022, : 1239 - 1244
  • [37] Data Augmentation for Spoken Language Understanding via Pretrained Language Models
    Peng, Baolin
    Zhu, Chenguang
    Zeng, Michael
    Gao, Jianfeng
    [J]. INTERSPEECH 2021, 2021, : 1219 - 1223
  • [38] Can Pretrained Language Models (Yet) Reason Deductively?
    Yuan, Zhangdie
    Hu, Songbo
    Vulic, Ivan
    Korhonen, Anna
    Meng, Zaiqiao
    [J]. 17TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EACL 2023, 2023, : 1447 - 1462
  • [39] Masking as an Efficient Alternative to Finetuning for Pretrained Language Models
    Zhao, Mengjie
    Lin, Tao
    Mi, Fei
    Jaggi, Martin
    Schutze, Hinrich
    [J]. PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), 2020, : 2226 - 2241
  • [40] Probing Pretrained Language Models for Semantic Attributes and their Values
    Beloucif, Meriem
    Biemann, Chris
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2021, 2021, : 2554 - 2559