LingBERT, Linguistic Knowledge Injection into Attention Mechanism Based on a Hybrid Masking Strategy

In this paper, we propose lingBERT, a transformers based language model. We present two architectures of lingBERT based on hybrid masking strategy. Both models are inspired by BERT base. Our model introduces linguistic knowledge (syntactic dependencies) injection into attention mechanisms. Models like BERT employ random masking of tokens during training, which can lead to inefficiencies in capturing syntactic and semantic dependencies. To address this, our method uses two masking strategies. The first one masks words with syntactic dependencies. The second one uses a low percentage of randomly masked words. Resulted tokens from both strategies are then handed over tow proposed architectures of lingBERT. This strategy ensures that linguistic relationships are preserved and learned more effectively. Additionally, we maintain a low randomness ratio of masked tokens to avoid overfitting and enhance the model generalization. Through comprehensive experiments and evaluations, our approach demonstrates significant improvements in capturing context, leading to better performance across various NLP tasks. Furthermore, our approach affords an interpretability about our model inner workings throughout the learning process. This work offers a new direction toward knowledge injection into attention-mechanism based models, leading to advancing the capabilities of language understanding systems.

Authors

Institutions

Publication Details

Published
2024-12-18
DOI
https://doi.org/10.1109/icmla61862.2024.00253
Citations
1
Primary Topic
Intelligent Tutoring Systems and Adaptive Learning
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LingBERT, Linguistic Knowledge Injection into Attention Mechanism Based on a Hybrid Masking Strategy

Toufik Mechouma, Serge Robert, Ismaïl Biskri
1 citations
Intelligent Tutoring Systems and Adaptive Learning
0.35
article

LingBERT, Linguistic Knowledge Injection into Attention Mechanism Based on a Hybrid Masking Strategy

Toufik Mechouma, Serge Robert, Ismaïl Biskri
article en
1 citations

Abstract

In this paper, we propose lingBERT, a transformers based language model. We present two architectures of lingBERT based on hybrid masking strategy. Both models are inspired by BERT base. Our model introduces linguistic knowledge (syntactic dependencies) injection into attention mechanisms. Models like BERT employ random masking of tokens during training, which can lead to inefficiencies in capturing syntactic and semantic dependencies. To address this, our method uses two masking strategies. The first one masks words with syntactic dependencies. The second one uses a low percentage of randomly masked words. Resulted tokens from both strategies are then handed over tow proposed architectures of lingBERT. This strategy ensures that linguistic relationships are preserved and learned more effectively. Additionally, we maintain a low randomness ratio of masked tokens to avoid overfitting and enhance the model generalization. Through comprehensive experiments and evaluations, our approach demonstrates significant improvements in capturing context, leading to better performance across various NLP tasks. Furthermore, our approach affords an interpretability about our model inner workings throughout the learning process. This work offers a new direction toward knowledge injection into attention-mechanism based models, leading to advancing the capabilities of language understanding systems.

Université du Québec à Montréal (CA), Université du Québec à Trois-Rivières (CA)
Quality Education
Openalex Percentile: Top 29%
Intelligent Tutoring Systems and Adaptive Learning
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

LingBERT, Linguistic Knowledge Injection into Attention Mechanism Based on a Hybrid Masking Strategy — Toufik Mechouma, Serge Robert, et al. · (2024) | TGRS Research Map | TGRS