Using LLMs for Evaluating QA Systems: Exploration and Assessment

The evaluation process of detecting the similarity between reference text and Large Language Model (LLM)-generated text is a challenging problem. It is difficult to measure it automatically. Traditional metrics, such as ROUGE and BERTScore, have been shown to have some limitations. They showed a relatively low correlation with humans. Also, they penalize LLM-generated text, and have difficulty recognizing noise in text and qualitatively evaluate similarity in texts.In this paper, we introduce an approach to studying the use of LLM to evaluate the similarity between LLM-generated answers and reference answers. The approach framework includes classes, prompt, and classification schemes. The framework defines classes to measure similarity. The prompt will include the classes and their definitions. We use two types of prompts: instructed and uninstructed. The instructed prompt contains specific evaluation rules for conducting the LLM to evaluate the similarity between LLM-generated answers and reference answers. The uninstructed prompt, though it will have an evaluation request, will not contain evaluation rules. The classification schemes range from binary classification to multi-class classification; the latter is finer-grained and more informative. Also, the classification schemes group into two categories, where in one category the classes are viewed as mutually exclusive and the classification is unguided, while in the other category the classes are not all mutually exclusive but can be viewed as partly hierarchical, and the classification is guided, i.e., totally ordered or partially ordered (a hybrid). The approach will use a classification scheme to allow LLMs to invoke prompts and classes to perform the evaluation. We experimented with the similarity evaluation with GPT-4 and Gemini.Our results indicate that the binary classification scheme shows significant accuracy results. In the multi-class classification schemes, the unguided classification showed very poor evaluation performance, while the guided classification showed excellent performance in the 90-percentiles of accuracy. Furthermore, both Gemini and GPT-4 perform very well as evaluators, especially under totally ordered classification, while in the case of partially ordered classification, the winning combination turned out to be GPT-4 as evaluator and Gemini as answerer.

Authors

Institutions

Publication Details

Published
2024-11-26
DOI
https://doi.org/10.1109/fllm63129.2024.10852500
Citations
2
Primary Topic
Fault Detection and Control Systems
Type
article
Field-Weighted Citation Impact
0.66
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using LLMs for Evaluating QA Systems: Exploration and Assessment

Hadel Alhawasi, Abdou Youssef
2 citations
Fault Detection and Control Systems
0.66
article

Using LLMs for Evaluating QA Systems: Exploration and Assessment

Hadel Alhawasi, Abdou Youssef
article en
2 citations

Abstract

The evaluation process of detecting the similarity between reference text and Large Language Model (LLM)-generated text is a challenging problem. It is difficult to measure it automatically. Traditional metrics, such as ROUGE and BERTScore, have been shown to have some limitations. They showed a relatively low correlation with humans. Also, they penalize LLM-generated text, and have difficulty recognizing noise in text and qualitatively evaluate similarity in texts.In this paper, we introduce an approach to studying the use of LLM to evaluate the similarity between LLM-generated answers and reference answers. The approach framework includes classes, prompt, and classification schemes. The framework defines classes to measure similarity. The prompt will include the classes and their definitions. We use two types of prompts: instructed and uninstructed. The instructed prompt contains specific evaluation rules for conducting the LLM to evaluate the similarity between LLM-generated answers and reference answers. The uninstructed prompt, though it will have an evaluation request, will not contain evaluation rules. The classification schemes range from binary classification to multi-class classification; the latter is finer-grained and more informative. Also, the classification schemes group into two categories, where in one category the classes are viewed as mutually exclusive and the classification is unguided, while in the other category the classes are not all mutually exclusive but can be viewed as partly hierarchical, and the classification is guided, i.e., totally ordered or partially ordered (a hybrid). The approach will use a classification scheme to allow LLMs to invoke prompts and classes to perform the evaluation. We experimented with the similarity evaluation with GPT-4 and Gemini.Our results indicate that the binary classification scheme shows significant accuracy results. In the multi-class classification schemes, the unguided classification showed very poor evaluation performance, while the guided classification showed excellent performance in the 90-percentiles of accuracy. Furthermore, both Gemini and GPT-4 perform very well as evaluators, especially under totally ordered classification, while in the case of partially ordered classification, the winning combination turned out to be GPT-4 as evaluator and Gemini as answerer.

George Washington University (US)
Openalex Percentile: Top 27%
Fault Detection and Control Systems
0.66
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.