KIEval: A Knowledge-grounded Interactive Evaluation Framework for Large Language Models

Zhuohao Yu, Chang Gao, Wenjin Yao, Yidong Wang, Wei Ye, Jindong Wang, Xing Xie, Yue Zhang, Shikun Zhang

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities on static benchmarks. However, the integrity of these evaluations is increasingly compromised by data contamination—where models encounter test data during training. KIEval (Knowledge-grounded Interactive Evaluation) addresses this by shifting from static multiple-choice tests to dynamic, multi-round dialogues. By using an "interactor" model to probe a candidate's reasoning, KIEval distinguishes between genuine knowledge comprehension and mere rote memorization.

The Challenge of Data Contamination

Data contamination is an "open secret" in the LLM community. As models are trained on massive internet crawls, they often ingest benchmark questions and answers. This leads to inflated scores that do not reflect real-world reasoning ability. Current detection methods, such as analyzing internal loss values, often require access to model weights and fail to detect contamination introduced during Supervised Fine-Tuning (SFT). KIEval proposes a paradigm shift: evaluating the depth of understanding through interaction rather than just detecting exposure.

The KIEval Framework

KIEval transforms evaluation into an interactive "job interview" process involving three distinct roles:

  1. Candidate: The LLM under evaluation.
  2. Interactor: A strong LLM (e.g., GPT-4) that initiates a dialogue based on a benchmark "seed" question and asks follow-up questions to probe the candidate's rationale.
  3. Evaluator: A strong LLM that scores each turn of the conversation.
Overview of the KIEval framework compared to traditional static and LLM-based benchmarks.

The process typically involves up to five rounds of dialogue. The Interactor may ask the candidate to explain its choice, reconcile conflicting facts, or apply knowledge to new scenarios. The Evaluator rates responses on a 1-4 scale across five dimensions: Accuracy, Logic, Relevance, Coherence, and Conciseness. To ensure fundamental correctness, scores from earlier turns are weighted more heavily, and the conversation can be terminated early if the model hallucinations or goes off-topic.

Experimental Insights

The authors validated KIEval using high-quality benchmarks like ARC, HellaSwag, MMLU, and C-Eval. Key findings include:

  • Memorization vs. Understanding: "Cheater" models, intentionally trained on test sets, showed a 45% surge in static scores but performed worse than base models in KIEval's interactive rounds. This confirms that contamination produces brittle knowledge.
  • SFT Detection Gap: While loss-based methods can detect pre-training contamination, they are often blind to SFT-phase contamination. KIEval successfully identifies this by highlighting the disparity between static and interactive performance.
  • Model-Specific Observations: Models like Yi-6B showed exceptionally high static scores on C-Eval but significantly lower KIEval scores, suggesting that their performance might be driven more by contamination than superior reasoning.

Key Results

KIEval demonstrates high reliability, achieving a Pearson correlation of 0.81 with human expert ratings, significantly outperforming traditional metrics like ROUGE or BERTScore.

Performance comparison across ARC-Challenge, HellaSwag, and C-Eval benchmarks, showing the gap between static 5-shot accuracy and interactive KIEval metrics.

As shown in the results, GPT-3.5 remains the leader in interactive depth. While models like Llama-2-70B are competitive on static 5-shot accuracy, KIEval reveals a significant gap in their generative and reasoning capabilities during multi-round dialogue. Furthermore, KIEval scores remain stable even against "contaminated" models, providing a more realistic assessment of a model's true capabilities.

Conclusion and Future Work

KIEval offers a robust alternative to static benchmarks, effectively mitigating the impact of data contamination. While the framework is more computationally expensive due to its multi-round nature and reliance on strong LLM judges, it provides a much deeper look into model reasoning. Future work will focus on reducing costs and adapting the interactive approach to specialized domains like mathematics and coding.

Summary updated

BibTeX
@inproceedings{yu2024kieval,
  author = {Zhuohao Yu and Chang Gao and Wenjin Yao and Yidong Wang and Wei Ye and Jindong Wang and Xing Xie and Yue Zhang and Shikun Zhang},
  title = {{KIEval: A Knowledge-grounded Interactive Evaluation Framework for Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.325},
}
Figure