Skip to content
conftrace_
2024 NAACL NAACL 2024

Exploring Semantics in Pretrained Language Model Attention

AbstractAbstract Meaning Representations (AMRs) encode the semantics of sentences in the form of graphs. Vertices represent instances of concepts, and labeled edges represent semantic relations between those instances. Language models (LMs) operate by computing weights of edges of per layer complete graphs whose vertices are words in a sentence or a whole paragraph. In this work, we investigate the ability of the attention heads of two LMs, RoBERTa and GPT2, to detect the semantic relations encoded in an AMR. This is an attempt to show semantic capabilities of those models without finetuning. To do so, we apply both unsupervised and supervised learning techniques.

🌉 Interdisciplinary Bridge - Artificial Intelligence and Natural Language Processing

More from NAACL 2024

All NAACL 2024 papers →