Comprehensive Evaluation for a Large Scale Knowledge Graph Question Answering Service

Saloni Potdar, Daniel Lee, Omar Attia, Varun Embar, De Meng, Ramesh Balaji, Chloe Seivwright, Eric Choi, Mina H. Farid, Yiwen Sun, Yunyao LiarXiv 2025 · DOI

Introduction

Industrial-scale Knowledge Graph Question Answering (KGQA) systems face unique challenges that traditional academic benchmarks often fail to address. Production systems must handle billions of entities, evolving data, and complex multi-stage pipelines involving entity linking, relation classification, and structured query generation. Apple researchers have introduced Chronos, a comprehensive evaluation framework designed to move beyond simple end-to-end (E2E) accuracy. By integrating automated testing, human-in-the-loop (HITL) annotation, and a diagnostic "loss bucketization" strategy, Chronos enables developers to distinguish between failures in natural language understanding and gaps in the underlying knowledge graph.

The Chronos Framework

Chronos is a modular pipeline designed to provide a holistic view of system health. Unlike static benchmarks, it addresses the "staleness" of production KGs and the "user bias" inherent in query logs, where users stop asking questions they perceive the system cannot answer.

The Chronos modular pipeline, encompassing dataset collection, human annotation, and evaluation tooling.

The framework consists of several key components:

  • Hybrid Dataset Collection: Blends opted-in user logs with synthetic queries. Synthetic data is generated by swapping entities or paraphrasing queries to proactively identify "blind spots."
  • Human-in-the-Loop (HITL) Annotation: Human graders provide "gold labels" for every sub-step, including entity spans and relations, facilitating component-level evaluation.
  • Loss Bucketization: This diagnostic engine categorizes errors into Query Understanding (QUE) errors (parsing failures) or Knowledge Graph Errors (KGE) (missing or incorrect data).
  • Continuous Monitoring: A dedicated dashboard tracks metrics such as freshness and coverage over time.

Evaluation and Key Insights

The authors evaluated Chronos using a dataset of approximately 20,000 queries covering over 200 relations. A critical insight from this work is the "Self-Censorship" problem: relying solely on user logs creates a feedback loop where the system's weaknesses are hidden because users adapt to them. Proactive synthetic data generation is essential for a true assessment of system headroom.

Furthermore, Chronos treats the Knowledge Graph as a living component. By calculating metrics both individually (assuming perfect inputs) and conditioned (using actual outputs from previous stages), the framework reveals the specific "headroom" for improvement in each module.

Experimental Results

A case study comparing two internal systems demonstrated that while E2E precision was similar (~70-71%), component-level analysis revealed significant differences in performance across different data slices.

Component-level metrics for Relation Prediction, Entity Linking, and Answer Prediction across three datasets.

As shown in the table above, performance on "Dataset 3" was notably lower. Component-level analysis identified that Answer Prediction was the primary bottleneck in this scenario, suggesting that improvements should focus on KG query computation rather than NLP models. Common failure drivers included "Unsupported Relations" and "Entity Prediction Errors" due to ambiguity.

Conclusion

Chronos provides a robust methodology for diagnosing and improving industrial KGQA systems. While the current HITL process is resource-intensive, future work aims to leverage Large Language Models (LLMs) to automate parts of the annotation pipeline. By distinguishing between model and data failures, Chronos ensures that engineering efforts are directed toward the most impactful system components.

Summary updated

BibTeX
@misc{potdar2025comprehensive,
  author = {Saloni Potdar and Daniel Lee and Omar Attia and Varun Embar and De Meng and Ramesh Balaji and Chloe Seivwright and Eric Choi and Mina H. Farid and Yiwen Sun and Yunyao Li},
  title = {{Comprehensive Evaluation for a Large Scale Knowledge Graph Question Answering Service}},
  year = {2025},
  eprint = {2501.17270},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.17270},
}
Figure