Efficient Nearest Neighbor Emotion Classification with BERT-whitening
摘要
Retrieval-based methods have been proven effective in many NLP tasks. Previous methods use representations from the pre-trained model for similarity search directly. However, the sentence representations from the pre-trained model like BERT perform poorly in retrieving semantically similar sentences, resulting in poor performance of the retrieval-based methods. In this paper, we propose kNN-EC, a simple and efficient non-parametric emotion classification (EC) method using nearest neighbor retrieval. We use BERT-whitening to get better sentence semantics, ensuring that nearest neighbor retrieval works. Meanwhile, BERT-whitening can also reduce memory storage of datastore and accelerate retrieval speed, solving the efficiency problem of the previous methods. kNN-EC average improves the pre-trained model by 1.17 F1-macro on two emotion classification datasets.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Nearest Neighbor Machine Translation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
- Retrieval Augmented Language Model Pre-Training 引用了 Generalization through Memorization: Nearest Neighbor Language Models
- Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Data 引用了 Generalization through Memorization: Nearest Neighbor Language Models
- Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Data 引用了 Nearest Neighbor Machine Translation
引用它的顶会 Paper1
它引用的 Paper7
- Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat 等ICML 2020 · 2,937 次引用
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
- On the Sentence Embeddings from Pre-trained Language ModelsBohan Li, Hao Zhou, Junxian He, Mingxuan Wang 等EMNLP 2020 · 538 次引用
- Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2021 · 323 次引用
- Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training DataShuohang Wang, Yichong Xu, Yuwei Fang, Yang Liu 等ACL 2022 · 115 次引用
相关 Paper
- kNN-CM: A Non-parametric Inference-Phase Adaptation of Parametric Text ClassifiersRishabh Bhardwaj, Yingting Li, Navonil Majumder, Bo Cheng 等EMNLP Findings 2023
- WhiteningBERT: An Easy Unsupervised Sentence Embedding ApproachJunjie Huang, Duyu Tang, Wanjun Zhong, Shuai Lu 等EMNLP Findings 2021 · 87 次引用
- Nearest Neighbor Zero-Shot InferenceWeijia Shi, Julian Michael, Suchin Gururangan, Luke ZettlemoyerEMNLP 2022 · 26 次引用
- Retrofitting Light-weight Language Models for Emotions using Supervised Contrastive LearningSapan Shah, Sreedhar Reddy, Pushpak BhattacharyyaEMNLP 2023 · 4 次引用
- Fusing Label Embedding into BERT: An Efficient Improvement for Text ClassificationYijin Xiong, Yukun Feng, Hao Wu, Hidetaka Kamigaito 等ACL Findings 2021 · 56 次引用
