Estimating LLM Consistency: A User Baseline vs Surrogate Metrics

TL;DR

Proposed a logit-based ensemble method matching human evaluation of LLM consistency.

cs.CL 🔴 Advanced 2025-05-27 46 views
Xiaoyuan Wu Weiran Lin Omer Akgul Lujo Bauer
LLM consistency user study logit automated evaluation

Key Findings

Methodology

The paper proposes a logit-based ensemble method to assess the consistency of large language models (LLMs). This method simulates human judgment of consistency by combining multiple logit-related uncertainty metrics. Specifically, it uses 16 logit metrics such as Maximum Entropy, LogProbability, and DLR Loss, optimized through Sequential Feature Selection (SFS).

Key Results

  • Result 1: The logit ensemble method achieved a Spearman correlation of 0.75 with human evaluations, outperforming other automated methods.
  • Result 2: Existing similarity metrics correlated better with human evaluations on the CoQA dataset, with USE scoring the highest.
  • Result 3: The logit ensemble method performs comparably to the best sampling method without requiring multiple samples.

Significance

This study highlights the gap between existing automated consistency metrics and human perception, emphasizing the importance of human evaluation in consistency measurement. The proposed logit ensemble method offers a new possibility for automated consistency evaluation without the need for multiple sampling, holding significant academic and industrial value.

Technical Contribution

Technical contributions include proposing a logit ensemble method that reduces computational cost by eliminating the need for multiple sampling. This method provides a new approach to consistency evaluation without requiring access to model internal states.

Novelty

This is the first application of logit ensemble for LLM consistency evaluation, offering a more efficient alternative to previous sampling or internal state-dependent methods.

Limitations

  • Limitation 1: Existing metrics showed lower correlation with human evaluations on real-world open-ended prompts.
  • Limitation 2: The logit method requires access to model logits, limiting its application on closed models.

Future Work

Future research could explore applying the logit method on closed models and further improve the alignment of automated methods with human evaluations.

AI Executive Summary

Large language models (LLMs) often produce hallucinations and inconsistencies, especially problematic in high-stakes areas like healthcare and law. Existing methods largely rely on sampling or internal model states to assess consistency, but these methods diverge significantly from human perception. This paper introduces a logit-based ensemble method that combines various logit-related metrics to simulate human judgment of consistency. Experimental results demonstrate that this method can match the performance of the best sampling methods without requiring multiple samples, particularly excelling on the CoQA dataset. This finding underscores the importance of human evaluation in consistency measurement and offers new possibilities for automated consistency evaluation. However, the method's performance on open-ended prompts still needs improvement, and future research could explore its application on closed models.

Deep Analysis

Background

Large language models (LLMs) have been widely adopted across various domains, yet they often produce hallucinations and inconsistencies. These issues are particularly critical in high-stakes fields like healthcare and law, where inconsistent outputs can lead to erroneous decisions. Previous studies have largely relied on sampling or internal model states to assess consistency, but these methods significantly diverge from human perception.

Core Problem

The core issue with LLMs is their inconsistency, where models produce unreliable outputs when given the same prompt. This is particularly crucial in high-stakes domains, where inconsistent responses can lead to incorrect decisions.

Innovation

The core innovation of this paper is the introduction of a logit-based ensemble method for assessing LLM consistency. This method combines multiple logit-related metrics, offering a more efficient evaluation approach without the need for multiple sampling.

Methodology

  • �� Proposed a logit ensemble method combining Maximum Entropy, LogProbability, and DLR Loss among 16 metrics.
  • �� Used Sequential Feature Selection (SFS) to optimize metric combinations.
  • �� Validated the method's effectiveness through comparison with human evaluations.

Experiments

Experiments were conducted using the CoQA and LMSYS datasets to evaluate the consistency of different models on these datasets. Spearman correlation and mean squared error were used as the main evaluation metrics.

Results

Experimental results show that the logit ensemble method performs exceptionally well in aligning with human evaluations, particularly on the CoQA dataset. The method matches the performance of the best sampling methods without requiring multiple samples.

Applications

This method can be applied in scenarios requiring rapid assessment of LLM consistency, such as online dialogue systems and automated content generation.

Limitations & Outlook

While the logit ensemble method performs well across multiple datasets, its performance on open-ended prompts still needs improvement. Additionally, the method requires access to model logits, limiting its application on closed models.

Plain Language Accessible to non-experts

Imagine you're in a kitchen cooking. A large language model is like a chef who sometimes makes delicious dishes but occasionally adds the wrong spices. Our method is like an assistant that helps the chef choose the right spices, ensuring every dish is consistently tasty. By observing each spice added (logit), we can predict if the dish will be good, helping the chef improve.

ELI14 Explained like you're 14

Imagine you're playing a game where the character sometimes makes weird moves. Our research is like a guide that helps the character make consistent moves in every game. Our method is like a super assistant that predicts if the character will make the right move by observing each action (logit), helping the character complete tasks better.

Glossary

Logit

Logit is a score representing the confidence of generating each word by the model.

Used to assess the consistency of model responses.

DLR Loss

DLR Loss is used to evaluate the confidence of a model in generating words, commonly used in adversarial attacks.

Part of logit uncertainty metrics.

Spearman Correlation

Spearman correlation coefficient measures the monotonic relationship between two variables.

Used to evaluate the alignment of automated methods with human evaluations.

CoQA Dataset

CoQA is an open-ended question-answering dataset commonly used to evaluate model comprehension.

Used for experimental evaluation of model consistency.

Sequential Feature Selection

Sequential Feature Selection is a method for selecting the most relevant feature combinations.

Used to optimize the logit ensemble method.

Open Questions Unanswered questions from this research

  • 1 How to apply the logit method on closed models remains an open question, requiring new technical breakthroughs.
  • 2 Current methods perform poorly on open-ended prompts, necessitating further research to improve strategies.

Applications

Immediate Applications

Online Dialogue Systems

Rapidly assess response consistency in dialogue systems to enhance user experience.

Long-term Vision

Automated Content Generation

Ensure output consistency in content generation, reducing the need for manual intervention.

Abstract

Large language models (LLMs) are prone to hallucinations and sensitive to prompt perturbations, often resulting in inconsistent or unreliable generated text. Different methods have been proposed to mitigate such hallucinations and fragility, one of which is to measure the consistency of LLM responses -- the model's confidence in the response or likelihood of generating a similar response when resampled. In previous work, measuring LLM response consistency often relied on calculating the probability of a response appearing within a pool of resampled responses, analyzing internal states, or evaluating logits of responses. However, it was not clear how well these approaches approximated users' perceptions of consistency of LLM responses. To find out, we performed a user study ($n=2,976$) demonstrating that current methods for measuring LLM response consistency typically do not align well with humans' perceptions of LLM consistency. We propose a logit-based ensemble method for estimating LLM consistency and show that our method matches the performance of the best-performing existing metric in estimating human ratings of LLM consistency. Our results suggest that methods for estimating LLM consistency without human evaluation are sufficiently imperfect to warrant broader use of evaluation with human input; this would avoid misjudging the adequacy of models because of the imperfections of automated consistency metrics.

cs.CL cs.AI cs.HC cs.LG