Abstract
While Large Language Models (LLMs) demonstrate proficiency in simple document retrieval, they frequently struggle with "multi-conditional ranking"—the task of sorting a small set of items based on multiple, often conflicting, rules. This paper introduces MCRank, a benchmark specifically designed to measure this performance gap across various condition types and item scales. We further propose EXSIR (Extracting, Sorting, and Iterative Ranking), a decomposed reasoning method that enhances ranking accuracy by up to 14.4 percentage points. Our findings reveal a significant "performance cliff" as constraints increase and highlight the limitations of standard autoregressive generation in satisfying global ranking constraints.
Introduction
In traditional information retrieval, models typically perform "monotonic ranking," where items are ordered based on a single relevance score relative to a query. However, real-world scenarios often require multi-faceted decision-making. For instance, a recruiter might need to rank candidates based on specific technical skills while simultaneously adhering to constraints regarding experience levels and graduation dates.
Current state-of-the-art LLMs, including GPT-4, exhibit a sharp decline in performance when faced with such multi-conditional tasks. This failure is largely attributed to the autoregressive nature of these models; predicting the next token in a sequence makes it difficult to account for global constraints that require an understanding of the final list order before the first item is generated.
Methodology: The EXSIR Framework
To address these challenges, we introduce EXSIR (EXtracting and Sorting the conditions, then Iteratively Ranking the items). Rather than treating ranking as a single-step generation task, EXSIR decomposes the process into three distinct stages:
- Extraction: The LLM identifies and isolates individual conditions from the natural language prompt.
- Sorting: The model organizes these extracted conditions based on assigned priorities (Low, Medium, High) to resolve potential contradictions.
- Iterative Ranking: The model applies the prioritized conditions sequentially, refining the item list in each cycle until a final order is reached.
By breaking the problem down, EXSIR prevents the model from being overwhelmed by simultaneous constraints, allowing for more precise logical execution.
The MCRank Benchmark
To rigorously evaluate LLM performance, we developed MCRank. This benchmark categorizes ranking tasks into five condition types: Positional, Locational, Temporal, Trait-based, and Reason-based. It tests models across two item levels—"token-level" (short entities) and "paragraph-level" (descriptions up to 150 tokens)—and scales complexity by varying the number of items (3, 5, or 7) and conditions (1 to 3). Data for MCRank was curated and repurposed from established datasets such as T-REx, CACD, and SQuAD.
Key Results and Discussion
Our experiments demonstrate that LLM performance is highly sensitive to task complexity. We observed a "performance cliff" where accuracy drops precipitously when moving from one to three conditions. For scenarios involving 7 items and 3 conditions, base models frequently achieved 0% exact match accuracy.
Key Insights:
- The Positional Struggle: Models find positional constraints (e.g., "Item X must be last") the most difficult to satisfy. This confirms the hypothesis that the need to commit to early tokens hinders the model's ability to satisfy global ordering rules.
- Effectiveness of Decomposition: EXSIR consistently outperformed standard prompting and Chain-of-Thought (CoT) methods. Notably, for paragraph-level items, CoT sometimes decreased performance due to increased context overhead, whereas EXSIR's explicit steps remained robust.
- Model Comparison: GPT-4 proved to be the most effective at the decomposition tasks required by EXSIR. While reasoning-heavy models like
o1-minishowed promise in complex paragraph-level settings, they still benefited significantly from the structured EXSIR framework.
Conclusion and Future Work
Multi-conditional ranking represents a significant frontier for LLM reasoning. While current models struggle with global constraints, the EXSIR framework demonstrates that structured decomposition can mitigate these failures, yielding improvements of up to 14.4 percentage points.
Future research should address the computational efficiency of multi-step ranking and explore the use of specialized "planner" models to handle decomposition while smaller models execute the ranking. Additionally, moving from static benchmarks to interactive ranking environments could further align LLM outputs with complex user preferences.
Summary updated