Think When Needed: Model-Aware Reasoning Routing for LLM-based Ranking

Huizhong Guo, Tianjun Wei, Dongxia Wang, Yingpeng Du, Ziyan Wang, Jie Zhang, Zhu SunarXiv 2026

TL;DR

While prompting Large Language Models (LLMs) to "think" via multi-step reasoning can improve ranking accuracy, it is computationally expensive and often unnecessary. This paper introduces a lightweight, plug-and-play reasoning router that predicts whether an LLM actually needs to reason or can answer directly before generation. By dynamically allocating compute on a per-instance basis, the framework achieves higher ranking utility while cutting token costs by up to 75%.

What Problem Does This Paper Address?

LLMs are increasingly deployed as re-rankers in information retrieval (IR) and recommendation systems. Recent work shows that forcing LLMs to generate intermediate reasoning steps (a "Think" mode) can improve ranking quality. However, this comes with a massive latency and token cost penalty—often consuming roughly 8 times as many tokens as direct inference ("Non-Think" mode).

Crucially, the authors discover that reasoning is not a universal good. In up to 35% of cases, direct inference actually outperforms multi-step reasoning because prolonged reasoning loops can dilute key evidence or amplify early errors. Standard LLMs are notoriously bad at self-selecting when to reason, and existing adaptive reasoning methods (tailored for math or code) fail in ranking systems because ranking lacks objective, model-independent difficulty metrics.

Figure 1: Accuracy–efficiency trade-offs across reasoning modes. Left axis shows token count; right axis shows NDCG@10. Modes: Non-Think, Think, Self-Select (the LLM chooses the mode per instance), and Ideal (an oracle selects the better mode for each instance).

Methods

The authors propose a model-aware reasoning router framework that operates during the initial forward pass (pre-generation) to output a control token determining whether to trigger <thought> or <output> tags.

The router relies on two distinct pre-generation signal types:

  1. Ranking-Aware Features: The router extracts segment embeddings for the context and candidates from the LLM's final hidden layer. It then computes statistical features capturing context/candidate complexity (like candidate dispersion) and context-candidate alignment.
  2. Model-Aware Difficulty Signals: To capture the model's internal uncertainty, a compact checklist of paired, direction-balanced diagnostic questions (e.g., "Is the query single-intent and unambiguous?") is appended to the prompt. Using a block-diagonal causal mask, these probes are strictly isolated so they do not interfere with the actual ranking generation. The router extracts the Yes/No token probabilities directly from the language modeling head.

A gradient-boosted regression head is trained on these combined features to predict the continuous utility margin of choosing Think over Non-Think. At deployment, the router adaptively selects an operating policy along a validation Pareto frontier (e.g., Knee for efficiency-first, Utopia for an ideal balance, or UMax for accuracy-first) to match real-world system constraints.

Figure 3: Prompt template for reasoning routing.

Datasets

The framework was evaluated across three public ranking datasets using five open-source LLM backbones (Qwen3-4B/8B/14B, Gemma3-12B, and GPT-Oss-20B):

  • MS-MARCO: A benchmark for information retrieval (passage ranking) featuring variable-length candidate pools.
  • MovieLens: A personalized movie recommendation dataset.
  • Amazon-VG: A personalized video game recommendation dataset.

Key Insights and Ideas

  • Reasoning Can Be Harmful: For straightforward or highly noisy instances, allocating extra reasoning effort provides no measurable benefit and can actively degrade performance by introducing opportunities for hallucination.
  • Difficulty is Model-Dependent: The exact same ranking instance may be trivial for one LLM but highly challenging for another. Therefore, a routing mechanism must be tightly coupled with the specific backbone model's internal states and representations.
  • Task-Specific Feature Importance: Feature analysis revealed that recommendation tasks rely heavily on structural ranking features (like user preference stability), whereas information retrieval tasks rely more on model-aware difficulty signals derived from the checklist probes to resolve query ambiguity.

Key Results

  • Better Accuracy, Lower Cost: On the MovieLens dataset using Qwen3-4B, the router improved NDCG@10 by +6.3% while reducing token consumption by 49.5% compared to the always-thinking baseline.
  • Massive Token Savings in IR: On MS-MARCO, the router matched or exceeded the ranking utility of the "Think" baseline while slashing token usage by 75.3%.
  • Outperforming General Baselines: The framework consistently dominated heuristic baselines (like Random or LLM Self-Select) and significantly outperformed general adaptive reasoning frameworks like the ARM family, which struggle to adapt to the cost-sensitive nature of ranking tasks.

Limitations and Future Work

  • Distribution Shifts: The router's performance relies on alignment between training and testing distributions. Drastic shifts in user intent, candidate composition, or prompt formatting could make the learned routing policy less reliable.
  • Candidate Pool Scale: The current framework was primarily evaluated on conversational recommendation scenarios with relatively small candidate sets (e.g., 50 items) due to LLM context window constraints. The authors note that future work will focus on extending this router to large-scale retrieval pipelines and multi-stage recommendation systems.

Summary updated

BibTeX
@misc{guo2026think,
  author = {Huizhong Guo and Tianjun Wei and Dongxia Wang and Yingpeng Du and Ziyan Wang and Jie Zhang and Zhu Sun},
  title = {{Think When Needed: Model-Aware Reasoning Routing for LLM-based Ranking}},
  year = {2026},
  eprint = {2601.18146},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.18146},
}
Figure