Skip to main content
QUICK REVIEW

[Paper Review] Beyond Yes and No: Improving Zero-Shot LLM Rankers via Scoring Fine-Grained Relevance Labels

Honglei Zhuang, Zhen Qin|arXiv (Cornell University)|Oct 21, 2023
Text and Document Classification TechnologiesComputer Science7 citations
TL;DR

This paper proposes enhancing zero-shot LLM rankers by replacing binary relevance prompts (Yes/No) with fine-grained relevance labels such as 'Highly Relevant,' 'Somewhat Relevant,' and 'Not Relevant.' By prompting the LLM to assign likelihoods to these intermediate labels and aggregating them into ranking scores, the method achieves significantly improved ranking performance across 8 BEIR datasets, with average NDCG@10 increasing to 0.5022 using a 5-level rating scale.

ABSTRACT

Zero-shot text rankers powered by recent LLMs achieve remarkable ranking performance by simply prompting. Existing prompts for pointwise LLM rankers mostly ask the model to choose from binary relevance labels like "Yes" and "No". However, the lack of intermediate relevance label options may cause the LLM to provide noisy or biased answers for documents that are partially relevant to the query. We propose to incorporate fine-grained relevance labels into the prompt for LLM rankers, enabling them to better differentiate among documents with different levels of relevance to the query and thus derive a more accurate ranking. We study two variants of the prompt template, coupled with different numbers of relevance levels. Our experiments on 8 BEIR data sets show that adding fine-grained relevance labels significantly improves the performance of LLM rankers.

Motivation & Objective

  • To address the limitation of binary relevance prompts in zero-shot LLM rankers, which fail to distinguish partially relevant documents.
  • To investigate whether providing intermediate relevance labels improves the model's ability to differentiate document relevance levels.
  • To evaluate the impact of varying numbers of relevance levels and label formats (textual vs. rating scale) on ranking performance.
  • To compare different scoring strategies for aggregating LLM likelihoods into final ranking scores.

Proposed method

  • Prompting the LLM with multiple relevance label options, such as 'Highly Relevant,' 'Somewhat Relevant,' and 'Not Relevant,' instead of binary 'Yes' or 'No'.
  • Using the LLM's likelihood scores for each relevance label to compute a final ranking score via either peak likelihood or expected relevance (marginal probability).
  • Evaluating two prompt variants: textual fine-grained labels (e.g., RG-3L) and rating-scale prompts (e.g., RG-S(0,4)) with integer scales from 0 to k.
  • Aggregating likelihoods across relevance levels to produce a continuous ranking score that reflects nuanced relevance judgments.
  • Comparing two score derivation methods: peak relevance likelihood and expected relevance using marginal probability.
  • Applying the method to 8 BEIR benchmark datasets to evaluate performance using standard IR metrics like NDCG@10.
(a) Yes-No relevance generation
(a) Yes-No relevance generation

Experimental results

Research questions

  • RQ1Does incorporating intermediate relevance labels into LLM prompts improve zero-shot ranking performance compared to binary Yes/No prompts?
  • RQ2How does the number of relevance levels affect the performance of LLM rankers?
  • RQ3Do textual labels (e.g., 'Somewhat Relevant') or rating-scale prompts (e.g., 0–4) yield better ranking results?
  • RQ4Which method of aggregating LLM likelihoods—peak likelihood or expected relevance—produces superior ranking scores?
  • RQ5Can fine-grained prompts improve ranking even when the ground-truth labels in the dataset are binary?

Key findings

  • Using 3-level textual relevance labels (RG-3L) increased average NDCG@10 to 0.4992, while a 5-level rating scale (RG-S(0,4)) achieved 0.5022, showing consistent improvement over binary prompts.
  • The peak likelihood strategy produced ranking scores very close to those from expected relevance, offering a computationally efficient alternative.
  • The model with fine-grained labels better differentiated high-scoring documents, avoiding the 'plateau' effect seen in binary prompts where top documents were scored similarly.
  • Performance did not improve monotonically with more labels; RG-S(0,8) and RG-S(0,10) performed worse than RG-S(0,4), suggesting an optimal label granularity.
  • The improvement persisted even on datasets with only binary ground-truth labels, indicating that the benefit comes from better model reasoning, not label matching.
  • The expected relevance method consistently outperformed peak likelihood across most prompt types, though the latter remained competitive in textual label settings.
(b) Fine-grained relevance label generation
(b) Fine-grained relevance label generation

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.