Introduction
Evaluating the output of Large Language Models (LLMs) in specialized domains such as medicine or education presents a significant challenge. Traditional metrics like ROUGE or BLEU primarily measure lexical overlap, failing to capture nuanced qualities like pedagogical value or clinical accuracy. While "LLM-as-a-judge" approaches offer improvements, they often rely on arbitrarily defined personas and lack the multi-dimensional perspective inherent in human expert collaboration. To address these limitations, we introduce MAJ-EVAL, a framework that automates the creation of diverse, research-grounded AI agent panels to evaluate text through structured debate.
Methods: The MAJ-EVAL Framework
MAJ-EVAL (Multi-Agent-as-Judge Evaluation) employs a two-step automated pipeline designed to ground AI evaluations in empirical evidence rather than heuristic prompts.
1. Stakeholder Persona Creation
Rather than manually defining roles, the system analyzes domain-specific research papers to identify relevant stakeholders and their specific evaluative dimensions. Through semantic clustering, these perspectives are grouped into detailed, structured personas encompassing demographics, specialties, and psychological traits. This ensures that the "judges" reflect real-world expertise.
2. Multi-Agent-as-Judge Debate
The evaluation process follows a three-phase structure:
- Independent Evaluation: Each agent initially grades the content based on its unique persona.
- In-Group Debate: Agents participate in a moderated, multi-turn discussion to challenge and refine their initial judgments, helping to identify "blind spots."
- Aggregation: An aggregator agent synthesizes the debate into a final quantitative score and a qualitative summary.
Experimental Setup and Datasets
The framework was validated on two distinct, high-stakes tasks:
- StorySparkQA: 70 GPT-4 generated question-answer pairs for children’s storybooks, assessed on dimensions such as educational appropriateness and contextual consistency.
- MSLR-COCHRANE: 102 medical literature summaries generated by six different models, evaluated for clinical fluency and evidence strength.
Results and Discussion
MAJ-EVAL consistently outperformed traditional metrics and single-model evaluators in aligning with human expert ratings.
Key Findings
- Enhanced Alignment: On the StorySparkQA task, MAJ-EVAL (using Claude 3.7 Sonnet) achieved a Spearman correlation ($\rho$) of 0.47, significantly higher than G-Eval (0.31) and ROUGE-L (0.15). Similar gains were observed in the medical domain (MSLR-COCHRANE), with a correlation of 0.40.
- The Value of Debate: The debate phase improved alignment in 15 out of 20 stakeholder groups, demonstrating that collaborative reflection among agents leads to more robust evaluations.
- Persona Grounding: Agents with research-backed personas outperformed those with simple role definitions. For instance, a literacy-grounded teacher persona prioritized pedagogical scaffolding over mere grammar, mirroring human expert behavior.
- Efficiency: At approximately $0.42 per task, MAJ-EVAL provides a cost-effective alternative to human expert panels while maintaining high evaluative quality.
Conclusion and Future Work
MAJ-EVAL demonstrates that grounding AI agents in research literature and facilitating structured debate significantly improves the reliability of automated text evaluation. Future research will explore the performance of smaller open-source models in this framework and investigate the use of human rationales to further fine-tune specialized evaluator models.
Summary updated