Free Lunch for Efficient Textual Commonsense Integration in Language Models
Wanyun Cui, Xingran Chen
摘要
Recent years have witnessed the emergence of textual commonsense knowledge bases, aimed at providing more nuanced and context-rich knowledge. The integration of external commonsense into language models has been shown to be a key enabler in advancing the state-of-the-art for a wide range of NLP tasks. However, incorporating textual commonsense descriptions is computationally expensive, as compared to encoding conventional symbolic knowledge. In this paper, we propose a method to improve its efficiency without modifying the model. Our idea is to group training samples with similar commonsense descriptions into a single batch, thus reusing the encoded description across multiple samples. We theoretically investigate this problem and demonstrate that its upper bound can be reduced to the classic graph k-cut problem. Consequently, we propose a spectral clustering-based algorithm to solve this problem. Extensive experiments illustrate that the proposed batch partitioning approach effectively reduces the computational cost while preserving performance. The efficiency improvement is more pronounced on larger datasets and on devices with more memory capacity, attesting to its practical utility for large-scale applications.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper13
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
- Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat 等ICML 2020 · 2,937 次引用
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- Random Feature AttentionHao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz 等ICLR 2021 · 425 次引用
相关 Paper
- Joint Pre-Encoding Representation and Structure Embedding for Efficient and Low-Resource Knowledge Graph CompletionChenyu Qiu, Pengjiang Qian, Chuang Wang, Jian Yao 等EMNLP 2024 · 2 次引用
- Fusing Context Into Knowledge Graph for Commonsense Question AnsweringYichong Xu, Chenguang Zhu, Ruochen Xu, Yang Liu 等ACL Findings 2021 · 62 次引用
- KM-BART: Knowledge Enhanced Multimodal BART for Visual Commonsense GenerationYiran Xing, Zai Shi, Zhao Meng, Gerhard Lakemeyer 等ACL 2021
- Generated Knowledge Prompting for Commonsense ReasoningJiacheng Liu, Alisa Liu, Ximing Lu, Sean Welleck 等ACL 2022
- Knowledgeable Parameter Efficient Tuning Network for Commonsense Question AnsweringZiwang Zhao, Linmei Hu, Hanyu Zhao, Yingxia Shao 等ACL 2023 · 4 次引用
