Free Lunch for Efficient Textual Commonsense Integration in Language Models
Not on the map. Why?
Abstract (arXiv)
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. We group training samples with similar commonsense descriptions into a single batch, thus reusing the encoded description across multiple samples. One key observation is that the upper bound of batch partitioning can be reduced to the classic it 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.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 29 of its 43 references that are in the map. First posted on arXiv 24 May 2023.
Builds on
29 of 43 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2020Reformer: The Efficient Transformercited by 1,668
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 528
17 more
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2018Gender Bias in Coreference Resolutioncited by 442
- 2021Random Feature Attentioncited by 354
- 2019Knowledge Enhanced Contextual Word Representationscited by 296
- 2020COMET-ATOMIC 2020: On Symbolic and Neural Commonsense Knowledge Graphscited by 254
- 2020Unsupervised Commonsense Question Answering with Self-Talkcited by 161
- 2020A Knowledge-Enhanced Pretraining Model for Commonsense Story Generationcited by 116
- 2019Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Modelcited by 102
- 2019Multi-passage BERT: A Globally Normalized BERT Model for Open-domain Question Answeringcited by 96
- 2019ASER: A Large-scale Eventuality Knowledge Graphcited by 89
- 2019Barack's Wife Hillary: Using Knowledge-Graphs for Fact-Aware Language Modelingcited by 71
- 2019Commonsense Knowledge Base Completion with Structural and Semantic Contextcited by 61
- 2021DISCOS: Bridging the Gap between Discourse Knowledge and Commonsense Knowledgecited by 26
- 2016Compressive Spectral Clusteringcited by 12
- 2013Spectral Clustering via the Power Method -- Provablycited by 10
- 2015Tight Continuous Relaxation of the Balanced k-Cut Problemcited by 4
- 2021Enhancing Natural Language Representation with Large-Scale Out-of-Domain Commonsensecited by 2
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023Explainable Graph Spectral Clustering of Text Documentscited by 2
- 2023Explainable Graph Spectral Clustering of Text Documents1 Aug 2023