Multi-Conditional Ranking with Large Language Models

Pouya Pezeshkpour, Estevam Hruschka
3/30/2024
cs.CLcs.LG

No official code found. Best implementation: megagonlabs/MCR (1 star, BSD-3-Clause, last commit 2025-04-21).

Abstract

Utilizing large language models (LLMs) to rank a set of items has become a common approach in recommendation and retrieval systems. Typically, these systems focus on ordering a substantial number of documents in a monotonic order based on a given query. However, real-world scenarios often present a different challenge: ranking a comparatively smaller set of items, but according to a variety of diverse and occasionally conflicting conditions. In this paper, we define and explore the task of multi-conditional ranking by introducing MCRank, a benchmark tailored for assessing multi-conditional ranking across various item types and conditions. Our analysis of LLMs using MCRank indicates a significant decrease in performance as the number and complexity of items and conditions grow. To overcome this limitation, we propose a novel decomposed reasoning method, consisting of EXtracting and Sorting the conditions, and then Iteratively Ranking the items (EXSIR). Our extensive experiments show that this decomposed reasoning method enhances LLMs' performance significantly, achieving up to a 14.4% improvement over existing LLMs. We also provide a detailed analysis of LLMs performance across various condition categories, and examine the effectiveness of decomposition step. Furthermore, we compare our method with existing approaches such as Chain-of-Thought and existing ranking models, demonstrating the superiority of our approach and complexity of MCR task. We released our dataset and code.

View on arXivView PDF

Code Implementations(1)

megagonlabs/MCRCommunity100%
BSD-3-Clause
10Mar 30, 20241 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{pezeshkpour2024multiconditional,
  title  = {Multi-Conditional Ranking with Large Language Models},
  author = {Pouya Pezeshkpour and Estevam Hruschka},
  year   = {2024},
  eprint = {2404.00211},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00211v3}
}

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/2404.00211.svg)](https://codeofpaper.com/paper/2404.00211)

Discussion