Interpretability of BERT Latent Space through Knowledge Graphs
Authors:
Open Access
- 17 October 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 3806-3810
Abstract
The advent of pretrained language have renovated the ways of handling natural languages, improving the quality of systems that rely on them. BERT played a crucial role in revolutionizing the Natural Language Processing (NLP) area. However, the deep learning framework it implements lacks interpretability. Thus, recent research efforts aimed to explain what BERT learns from the text sources exploited to pre-train its linguistic model. In this paper, we analyze the latent vector space resulting from the BERT context-aware word embeddings. We focus on assessing whether regions of the BERT vector space hold an explicit meaning attributable to a Knowledge Graph (KG). First, we prove the existence of explicitly meaningful areas through the Link Prediction (LP) task. Then, we demonstrate these regions being linked to explicit ontology concepts of a KG by learning classification patterns. To the best of our knowledge, this is the first attempt at interpreting the BERT learned linguistic knowledge through a KG relying on its pretrained context-aware word embeddings.Keywords
Funding Information
- Smart Rights Management Platform
- ERP4.0
- ServiziLocali2.0
- PASSEPARTOUT
- BIO-D
This publication has 5 references indexed in Scilit:
- A Primer in BERTology: What We Know About How BERT WorksTransactions of the Association for Computational Linguistics, 2020
- Knowledge Graph Embedding: A Survey of Approaches and ApplicationsIEEE Transactions on Knowledge and Data Engineering, 2017
- Advances in natural language processingScience, 2015
- Observed versus latent features for knowledge base and text inference2015
- “Cloze Procedure”: A New Tool for Measuring ReadabilityJournalism Quarterly, 1953