KG-MuLQA: A Framework for KG-based Multi-Level QA Extraction and Long-Context LLM Evaluation
Nikita Tatarinov, Vidhyakshaya Kannan, Haricharana Srinivasa, Arnav Raj, Harpreet Singh Anand, Varun Singh, Aditya Luthra, Ravij Lade, Agam Shah, Sudheer Chava
TL;DR
KG-MuLQA introduces a knowledge-graph–driven framework to extract multi-level QA pairs from annotated documents and to evaluate long-context LLMs with controlled complexity. By converting 170 SEC credit agreements into RDF-based knowledge graphs and generating QA templates across five complexity levels via SPARQL queries, the authors create KG-MuLQA-D with 20,139 QA pairs. The evaluation spans 16 proprietary and open-weight LLMs, revealing systematic weaknesses in multi-hop reasoning, set-based operations, and implicit-relations grounding, even for strong models. The work provides a scalable, interpretable benchmark, releases data and tooling, and demonstrates applicability to domains beyond finance, including medical documents, while outlining human performance baselines and actionable insights for improving long-context QA systems.
Abstract
We introduce KG-MuLQA (Knowledge-Graph-based Multi-Level Question-Answer Extraction): a framework that (1) extracts QA pairs at multiple complexity levels (2) along three key dimensions -- multi-hop retrieval, set operations, and answer plurality, (3) by leveraging knowledge-graph-based document representations. This approach enables fine-grained assessment of model performance across controlled difficulty levels. Using this framework, we construct a dataset of 20,139 QA pairs based on financial credit agreements and evaluate 16 proprietary and open-weight Large Language Models, observing that even the best-performing models struggle with set-based comparisons and multi-hop reasoning over long contexts. Our analysis reveals systematic failure modes tied to semantic misinterpretation and inability to handle implicit relations.
