mlsanityData to 14 Oct 2026

Interpreting Language Models Through Knowledge Graph Extraction

arXiv 2111.08546 ↗First posted 16 Nov 2021cs.LG cs.CLcited by 14

Not on the map. Why?

Abstract (arXiv)

Transformer-based language models trained on large text corpora have enjoyed immense popularity in the natural language processing community and are commonly used as a starting point for downstream tasks. While these models are undeniably useful, it is a challenge to quantify their performance beyond traditional accuracy metrics. In this paper, we compare BERT-based language models through snapshots of acquired knowledge at sequential stages of the training process. Structured relationships from training corpora may be uncovered through querying a masked language model with probing tasks. We present a methodology to unveil a knowledge acquisition timeline by generating knowledge graph extracts from cloze "fill-in-the-blank" statements at various stages of RoBERTa's early training. We extend this analysis to a comparison of pretrained variations of BERT models (DistilBERT, BERT-base, RoBERTa). This work proposes a quantitative framework to compare language models through knowledge graph extraction (GED, Graph2Vec) and showcases a part-of-speech analysis (POSOR) to identify the linguistic strengths of each model variant. Using these metrics, machine learning practitioners can compare models, diagnose their models' behavioral strengths and weaknesses, and identify new targeted datasets to improve model performance.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 28 of its 43 references that are in the map. First posted on arXiv 16 Nov 2021.

Builds on

28 of 43 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  7. 2018Deep contextualized word representationscited by 2,290
  8. 2019Language Models as Knowledge Bases?cited by 1,936
  9. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  10. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  11. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  12. 2019How Can We Know What Language Models Know?cited by 959
16 more
  1. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  2. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 564
  3. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
  4. 2017graph2vec: Learning Distributed Representations of Graphscited by 230
  5. 2019Visualizing and Measuring the Geometry of BERTcited by 216
  6. 2019Assessing BERT's Syntactic Abilitiescited by 192
  7. 2020How Context Affects Language Models' Factual Predictionscited by 181
  8. 2020Characteristic Functions on Graphs: Birds of a Feather, from Statistical Descriptors to Parametric Modelscited by 116
  9. 2020Language Models as Knowledge Bases: On Entity Representations, Storage Capacity, and Paraphrased Queriescited by 107
  10. 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
  11. 2019Visualizing and Understanding the Effectiveness of BERTcited by 67
  12. 2019Probing What Different NLP Tasks Teach Machines about Function Word Comprehensioncited by 44
  13. 2020Pretrained Language Model Embryology: The Birth of ALBERTcited by 30
  14. 2020Interpretable Multi-dataset Evaluation for Named Entity Recognitioncited by 27
  15. 2021WikiGraphs: A Wikipedia Text - Knowledge Graph Paired Datasetcited by 20
  16. 2020Unsupervised Relation Extraction from Language Models using Constrained Cloze Completioncited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 7; 2024: 3; 2025: 1; 2026: 1.

14 papers.

Sort:

By area: