Language Models can Evaluate Themselves via Probability Discrepancy

Tingyu Xia, Bowen Yu, Yuan Wu, Yi Chang, Chang Zhou
5/17/2024
cs.CLcs.AI

No official code found. Best implementation: xiatingyu/ProbDiff (6 stars, last commit 2024-08-22).

Abstract

In this paper, we initiate our discussion by demonstrating how Large Language Models (LLMs), when tasked with responding to queries, display a more even probability distribution in their answers if they are more adept, as opposed to their less skilled counterparts. Expanding on this foundational insight, we propose a new self-evaluation method ProbDiff for assessing the efficacy of various LLMs. This approach obviates the necessity for an additional evaluation model or the dependence on external, proprietary models like GPT-4 for judgment. It uniquely utilizes the LLMs being tested to compute the probability discrepancy between the initial response and its revised versions. A higher discrepancy for a given query between two LLMs indicates a relatively weaker capability. Our findings reveal that ProbDiff achieves results on par with those obtained from evaluations based on GPT-4, spanning a range of scenarios that include natural language generation (NLG) tasks such as translation, summarization, and our proposed Xiaohongshu blog writing task, and benchmarks for LLM evaluation like AlignBench, MT-Bench, and AlpacaEval, across LLMs of varying magnitudes.

View on arXivView PDF

Code Implementations(1)

xiatingyu/ProbDiffCommunity100%

Code of paper "Language Models can Evaluate Themselves via Probability Discrepancy"

60Shell, PythonMay 16, 20242 years ago

Similar Papers

Cite this paper

@article{xia2024language,
  title  = {Language Models can Evaluate Themselves via Probability Discrepancy},
  author = {Tingyu Xia and Bowen Yu and Yuan Wu and Yi Chang and Chang Zhou},
  year   = {2024},
  eprint = {2405.10516},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.10516v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.10516.svg)](https://codeofpaper.com/paper/2405.10516)

Discussion