paper-with-me

Papers

KI-BERT: Infusing Knowledge Context for Better Language and Domain Understanding

2021-04-09 · Keyur Faldu, Amit Sheth, Prashant Kikani, Hemang Akbari

Contextualized entity representations learned by state-of-the-art transformer-based language models (TLMs) like BERT, GPT, T5, etc., leverage the attention mechanism to learn the data context from training data corpus. However, these models do not use the knowledge context. Knowledge context can be understood as semantics about entities and their relationship with neighboring entities in knowledge graphs. We propose a novel and effective technique to infuse knowledge context from multiple knowledge graphs for conceptual and ambiguous entities into TLMs during fine-tuning. It projects knowledge graph embeddings in the homogeneous vector-space, introduces new token-types for entities, aligns entity position ids, and a selective attention mechanism. We take BERT as a baseline model and implement the "Knowledge-Infused BERT" by infusing knowledge context from ConceptNet and WordNet, which significantly outperforms BERT and other recent knowledge-aware BERT variants like ERNIE, SenseBERT, and BERT_CS over eight different subtasks of GLUE benchmark. The KI-BERT-base model even significantly outperforms BERT-large for domain-specific tasks like SciTail and academic subsets of QQP, QNLI, and MNLI.

📄 PDF Abstract BibTeX arXiv:2104.08145

Code (0)

등록된 구현이 없습니다.

Tasks

Graph EmbeddingKnowledge Graph EmbeddingKnowledge Graph EmbeddingsKnowledge GraphsQNLIQQP

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
ERNIE ERNIE is a transformer-based model consisting of two stacked modules: 1) textual encoder and 2) knowledgeable encoder, which is responsible to integrate extra token-oriented…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Gated Linear Unit A Gated Linear Unit, or GLU computes: $$ \mathrm{GLU}(a, b) = a \otimes \sigma(b) $$ It is used in natural language processing architectures, for example the Gated CNN,…
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Adafactor Adafactor is a stochastic optimization method based on Adam that reduces memory usage while retaining the empirical benefits of…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…

Similar Papers 제목 키워드 기반

Mixture-of-Partitions: Infusing Large Biomedical Knowledge Graphs into BERT

2021-09-10 · EMNLP 2021 11 · Zaiqiao Meng, Fangyu Liu, Thomas Hikaru Clark, Ehsan Shareghi 외

Infusing factual knowledge into pre-trained models is fundamental for many knowledge-intensive tasks. In this paper, we proposed Mixture-of-Partitions (MoP), an infusion approach that can handle a very large knowledge gr…

Knowledge Graphs

ContextGPT: Infusing LLMs Knowledge into Neuro-Symbolic Activity Recognition Models

2024-03-11 · Luca Arrotta, Claudio Bettini, Gabriele Civitarese, Michele Fiori

Context-aware Human Activity Recognition (HAR) is a hot research area in mobile computing, and the most effective solutions in the literature are based on supervised deep learning models. However, the actual deployment o…

Activity RecognitionCommon Sense ReasoningHuman Activity RecognitionPrompt Engineering

A Group-Specific Approach to NLP for Hate Speech Detection

2023-04-21 · Karina Halevy

Automatic hate speech detection is an important yet complex task, requiring knowledge of common sense, stereotypes of protected groups, and histories of discrimination, each of which may constantly evolve. In this paper,…

Common Sense ReasoningEthicsHate Speech Detection

Infusing Disease Knowledge into BERT for Health Question Answering, Medical Inference and Disease Name Recognition

2020-10-08 · EMNLP 2020 11 · Yun He, Ziwei Zhu, Yin Zhang, Qin Chen 외

Knowledge of a disease includes information of various aspects of the disease, such as signs and symptoms, diagnosis and treatment. This disease knowledge is critical for many health-related and biomedical tasks, includi…

Question AnsweringWorld Knowledge

Infusing Knowledge from Wikipedia to Enhance Stance Detection

2022-04-08 · WASSA (ACL) 2022 5 · Zihao He, Negar Mokhberian, Kristina Lerman

Stance detection infers a text author's attitude towards a target. This is challenging when the model lacks background knowledge about the target. Here, we show how background knowledge from Wikipedia can help enhance th…

Few-Shot Stance DetectionStance Detection