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.
Knowledge-Enriched Transformer for Emotion Detection in Textual Conversations
Joint NTU-UBC Research Centre of Excellence in Active Living for the Elderly(南洋理工大学-英属哥伦比亚大学联合卓越研究中心(老年人积极生活方向));Alibaba-NTU Singapore Joint Research Institute(阿里巴巴-南洋理工大学新加坡联合研究院);Nanyang Technological University(南洋理工大学)
Natural Language Rationales with Full-Stack Visual Reasoning: From Pixels to Semantic Frames to Commonsense Graphs
Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院)
ATOMIC: An Atlas of Machine Commonsense for If-Then Reasoning
Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)
Learning Commonsense-aware Moment-Text Alignment for Fast Video Temporal Grounding
Tianjin University of Technology(天津理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);PengCheng Laboratory(鹏城实验室);Jiangsu University of Science and Technology(江苏科技大学)
Prompt as Free Lunch: Enhancing Diversity in Source-Free Cross-domain Few-shot Learning through Semantic-Guided Prompting
College of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院);Zhejiang University of Technology(浙江工业大学);Hangzhou International Innovation Institute, Beihang University(北京航空航天大学杭州国际创新研究院);INSAIT, Sofia University(保加利亚索菲亚大学INSAIT研究院)
Visual Riddles: a Commonsense and World Knowledge Challenge for Large Vision and Language Models
Ben Gurion University(本古里安大学);Bar-Ilan University(巴伊兰大学);The Hebrew University of Jerusalem(耶路撒冷希伯来大学);Google Research(谷歌研究院);Tel Aviv University(特拉维夫大学)
IoT-LLM: a framework for enhancing Large Language Model reasoning from real-world sensor data
MARS Lab, School of Mechanical and Aerospace Engineering, Nanyang Technological University, Singapore(MARS实验室,机械与航空航天工程学院,南洋理工大学,新加坡);School of Mechanical and Aerospace Engineering, Nanyang Technological University, Singapore(机械与航空航天工程学院,南洋理工大学,新加坡)