paper-with-me

Papers

Enhancing Self-Attention with Knowledge-Assisted Attention Maps

2022-07-01 · NAACL 2022 7 · Jiangang Bai, Yujing Wang, Hong Sun, Ruonan Wu, Tianmeng Yang, Pengfei Tang, Defu Cao, Mingliang Zhang1, Yunhai Tong, Yaming Yang, Jing Bai, Ruofei Zhang, Hao Sun, Wei Shen

Large-scale pre-trained language models have attracted extensive attentions in the research community and shown promising results on various tasks of natural language processing. However, the attention maps, which record the attention scores between tokens in self-attention mechanism, are sometimes ineffective as they are learned implicitly without the guidance of explicit semantic knowledge. Thus, we aim to infuse explicit external knowledge into pre-trained language models to further boost their performance. Existing works of knowledge infusion largely depend on multi-task learning frameworks, which are inefficient and require large-scale re-training when new knowledge is considered. In this paper, we propose a novel and generic solution, KAM-BERT, which directly incorporates knowledge-generated attention maps into the self-attention mechanism. It requires only a few extra parameters and supports efficient fine-tuning once new knowledge is added. KAM-BERT achieves consistent improvements on various academic datasets for natural language understanding. It also outperforms other state-of-the-art methods which conduct knowledge infusion into transformer-based architectures. Moreover, we apply our model to an industry-scale ad relevance application and show its advantages in the real-world scenario.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Multi-Task LearningNatural Language Understanding

Similar Papers 제목 키워드 기반

Enhancing Machine Translation with Dependency-Aware Self-Attention

2019-09-06 · ACL 2020 6 · Emanuele Bugliarello, Naoaki Okazaki

Most neural machine translation models only rely on pairs of parallel sentences, assuming syntactic information is automatically learned by an attention mechanism. In this work, we investigate different approaches to inc…

Machine TranslationTranslation

Knowledgeable Salient Span Mask for Enhancing Language Models as Knowledge Base

2022-04-17 · Cunxiang Wang, Fuli Luo, Yanyang Li, Runxin Xu 외

Pre-trained language models (PLMs) like BERT have made significant progress in various downstream NLP tasks. However, by asking models to do cloze-style tests, recent work finds that PLMs are short in acquiring knowledge…

Self-Supervised Learning

Constructive Type-Logical Supertagging with Self-Attention Networks

2019-05-31 · WS 2019 8 · Konstantinos Kogkalidis, Michael Moortgat, Tejaswini Deoskar

We propose a novel application of self-attention networks towards grammar induction. We present an attention-based supertagger for a refined type-logical grammar, trained on constructing types inductively. In addition to…

Vocal Bursts Type Prediction

Prior Knowledge Representation for Self-Attention Networks

2021-01-01 · Kehai Chen, Rui Wang, Masao Utiyama, Eiichiro Sumita

Self-attention networks (SANs) have shown promising empirical results in various natural language processing tasks. Typically, it gradually learning language knowledge on the whole training dataset in parallel and stacke…

Translation

An Attention Transfer Model for Human-Assisted Failure Avoidance in Robot Manipulations

2020-02-11 · Boyi Song, Yuntao Peng, Ruijiao Luo, Rui Liu

Due to real-world dynamics and hardware uncertainty, robots inevitably fail in task executions, resulting in undesired or even dangerous executions. In order to avoid failures and improve robot performance, it is critica…

Robot Manipulation