Do LLMs Understand Context? A Knowledge Graph-Based Evaluation Framework
Not on the map. Why?
Abstract (arXiv)
While large language models (LLMs) have achieved remarkable linguistic capabilities, a profound question lingers at their core: do these models truly comprehend context or simply excel at pattern matching on an unprecedented scale? Contextual understanding in LLMs refers to the ability to correctly extract relevant information from a given context, integrate it into a coherent internal representation, and reason over it to produce factually consistent and contextually grounded responses. However, traditional methods such as BiLingual Evaluation Understudy (BLEU) and perplexity simply measure surface-level performance. This reveals a critical gap in question answering (QA), where responses must be contextually grounded rather than simply being memorized associations. To fill this void, we propose a novel knowledge graph (KG) based evaluation framework for LLM contextual understanding in QA. Central to this is Semantic Structural Similarity for KGs (S3KG), a hybrid similarity measure combining structural and semantic signals into a single score. In addition, a diagnostic analysis framework is developed to identify and categorize reasoning errors at the triplet level, enabling fine-grained analysis of model failures. Together, across nine benchmarks, S3KG achieves F1 gains of up to +7.6 points over the strongest baseline and AUROC up to 0.973.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 34 references that are in the map. First posted on arXiv 24 Sep 2026.
Builds on
17 of 34 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
- 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
- 2019Wasserstein Weisfeiler-Lehman Graph Kernelscited by 104
- 2020CoDEx: A Comprehensive Knowledge Graph Completion Benchmarkcited by 102
- 2024GraphEval: A Knowledge-Graph Based LLM Hallucination Evaluation Frameworkcited by 30
5 more
- 2022OneRel:Joint Entity and Relation Extraction with One Module in One Stepcited by 27
- 2024Can Large Language Models Understand Context?cited by 26
- 2024Correctness is not Faithfulness in RAG Attributionscited by 18
- 2024Do Large Language Models Understand Logic or Just Mimick Context?cited by 10
- 2026Semantic Uncertainty Quantification of Hallucinations in LLMs: A Quantum Tensor Network Based Methodcited by 4
Built on by
Not cited yet.