Beyond Static Datasets: A Deep Interaction Approach to LLM Evaluation

Jiatong Li, Rui Li, Qi LiuarXiv 2023

Abstract

Large Language Models (LLMs) have made progress in various real-world tasks, which stimulates requirements for the evaluation of LLMs. Existing LLM evaluation methods are mainly supervised signal-based which depends on static datasets and cannot evaluate the ability of LLMs in dynamic real-world scenarios where deep interaction widely exists. Other LLM evaluation methods are human-based which are costly and time-consuming and are incapable of large-scale evaluation of LLMs. To address the issues above, we propose a novel Deep Interaction-based LLM-evaluation framework. In our proposed framework, LLMs' performances in real-world domains can be evaluated from their deep interaction with other LLMs in elaborately designed evaluation tasks. Furthermore, our proposed framework is a general evaluation method that can be applied to a host of real-world tasks such as machine translation and code generation. We demonstrate the effectiveness of our proposed method through extensive experiments on four elaborately designed evaluation tasks.

Introduction

As Large Language Models (LLMs) become increasingly integrated into complex workflows, traditional evaluation methods are struggling to keep pace. Current benchmarks typically rely on supervised signal-based metrics (using static datasets) or human-based evaluation. While the former is efficient, it fails to capture performance in dynamic, multi-round scenarios. The latter, while accurate, is prohibitively expensive and difficult to scale.

To bridge this gap, we introduce DeepEval, a framework designed to evaluate LLMs through "deep interaction." In this paradigm, models are not merely tested on their ability to provide a single correct answer but are evaluated on how they interact with other agents—both human and AI—to solve complex, iterative tasks.

The DeepEval Framework

The DeepEval framework simulates real-world interactions through a structured architecture that ensures fairness and scalability. The system is built around three core components:

  1. The Message Pool: A central hub that stores interaction histories. It acts as a buffer to ensure anonymity and synchronization, preventing models from directly identifying or targeting their counterparts.
  2. The Referee: An LLM-based judge that monitors the task, enforces rules, and assigns scores based on the interaction records stored in the Message Pool.
  3. Iterative Workflow: The process involves selecting a task, randomly assigning IDs to models, facilitating synchronized interaction, and finally collecting data for evaluation.
Overview of the Deep Interaction-based LLM-Evaluation Framework architecture and its iterative evaluation workflow.

To maintain scientific rigor, the framework enforces an Anonymity Condition to prevent targeted exploitation and a Stableness Condition, where tasks are repeated multiple times to ensure the convergence of results.

Interactive Task Design

DeepEval utilizes two primary categories of tasks to probe different facets of model capability:

  • Symmetric Tasks: All participants share the same role and goals. Examples include the Public Goods Game (PGG), which tests strategic cooperation and decision-making, and Idioms Solitaire, which tests linguistic constraints in a competitive setting.
  • Asymmetric Tasks: Participants are assigned distinct, complementary roles. This is best exemplified by the "Writer-Editor" paradigm, used in Code Review (Programmer vs. Reviewer) and Machine Translation (Translator vs. Proofreader).
Visualization of symmetric (Public Goods Game, Idioms Solitaire) and asymmetric (Code Review, Machine Translation) interaction tasks.

These tasks leverage existing datasets such as MBPP for coding and various document-level translation corpora, but transform them into dynamic, multi-round dialogues.

Key Results and Insights

Our evaluation of leading models—including GPT-4, ChatGPT, Claude 2, and PaLM—revealed several critical insights:

  • Superiority of GPT-4: GPT-4 demonstrated state-of-the-art performance across nearly all domains, particularly excelling in asymmetric tasks where it could effectively play both the role of a creator and a critical reviewer.
  • Strategic Depth: In game-theoretic scenarios like the Public Goods Game, advanced models like GPT-4 and Claude 2 exhibited complex social behaviors such as reciprocity and cautious investment, traits that are invisible in standard Q&A benchmarks.
  • Linguistic Specialization: ChatGPT emerged as a surprisingly strong performer in Chinese-specific tasks, occasionally outperforming GPT-4 in linguistic nuance during Idioms Solitaire and English-to-Chinese translation.
  • Stability vs. Peak Performance: While GPT-4 often achieved the highest scores, Claude 2 was noted for its higher stability across multiple rounds of interaction.

Conclusion

DeepEval represents a shift from evaluating LLMs as static knowledge bases to evaluating them as dynamic agents. By focusing on deep interaction, the framework reveals nuanced capabilities in strategic thinking, iterative polishing, and role-playing consistency. Future work will focus on mitigating potential "LLM-as-a-judge" biases in the Referee component and expanding the diversity of interactive tasks to further simulate the complexities of human-AI collaboration.

Summary updated

BibTeX
@misc{li2023beyond,
  author = {Jiatong Li and Rui Li and Qi Liu},
  title = {{Beyond Static Datasets: A Deep Interaction Approach to LLM Evaluation}},
  year = {2023},
  eprint = {2309.04369},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.04369},
}
Figure