Authors: Tian Tang, Guo Chen, Reed Li, Hao Wang, Yu Lu, Haijin Liang, Haibo ShiarXiv 2611.32125

LARF: Learning-aligned Reasoning Framework for Search Relevance was submitted to arXiv on 2026-11-24 by Tian Tang, Guo Chen, Reed Li, Hao Wang, Yu Lu, Haijin Liang and others. Read it on arXiv or as a PDF.

Key findings

The main takeaway. In Tencent’s Yuanbao AI search system, a relevance model trained with multi-dimensional chain-of-thought rationales and margin alignment can be distilled into a single-pass classifier that runs 5.86 times faster while improving six-class relevance accuracy by 5.78 percentage points.

The abstract, as written

Query-document relevance estimation is a core component of AI-native search systems, where a model must assess whether retrieved documents satisfy users’ information needs under complex, multi-dimensional criteria. However, directly applying large language models (LLMs) to this task remains challenging because conventional supervised fine-tuning (SFT) provides limited supervision for domain-specific judgment rationales, while standard trajectory-level reinforcement learning (RL) objectives do not explicitly enforce margin separation among adjacent ordinal relevance labels. Moreover, although such reasoning can be useful during training, chain-of-thought (CoT) reasoning is impractical for latency-sensitive online ranking. These challenges make it difficult to resolve ambiguous decision boundaries. We propose a three-stage framework LARF (Learning-Aligned Reasoning Framework for Search Relevance): it first performs cold-start SFT on strategically selected samples with multi-agent guided CoT rationales, then applies discriminative GRPO with attribute-wise, list-wise, and rule-consistency rewards together with a margin loss on the terminal relevance token, and finally distills the teacher into a dual-head student whose classification heads are retained for non-autoregressive inference. On a human-annotated web search relevance benchmark with approximately 300K training and 16K test instances, LARF-8B improves six-class classification accuracy by 5.78 percentage points and NDCG by 5.05 points, while the classification-only serving path reduces inference latency by 82.9%. These results indicate that aligning structured reasoning, terminal decision optimization, and classification-head distillation can provide an effective accuracy–efficiency trade-off for industrial search relevance modeling.

Key terms

From the paper

The authors define search relevance as a five-part ordinal judgment combining semantic match with source and content signals.

We formalize search relevance as a multi-dimensional ordinal classification problem that integrates content quality, semantic relevance, source authority, and timeliness.

The authors report benchmark gains and latency reductions from switching from step-by-step text generation to classification-only serving.

On a human-annotated web search relevance benchmark with approximately 300K training and 16K test instances, LARF-8B improves six-class classification accuracy by 5.78 percentage points and NDCG by 5.05 points, while the classification-only serving path reduces inference latency by 82.9%.

The authors note that the online Yuanbao A/B test gains came from a compact 1.7B single-pass student model rather than the 8B teacher.

Second, the gains are obtained by a 1.7B non-autoregressive student rather than by the 8B teacher, which shows that the classification-only serving path is compatible with the latency constraints of live traffic while still transferring the benefit of reasoning supervision.

What the authors say it means

What to do with it

  1. For search engineers building LLM rerankers, add an explicit margin loss on the terminal relevance token during reinforcement learning. Supported by: In Table 3 ablations on the 16K test benchmark, adding margin loss lifted fine-grained accuracy from 47.40% to 49.35% and coarse Precision from 71.28 to 73.15.
  2. For ranking platform teams, retain an auxiliary generative head during distillation while serving only the multi-dimensional classification heads in production. Supported by: In Table 4 and Table 6, multi-dimensional dual-head serving reached 50.98% fine-grained accuracy (versus 48.95% without the generative head) at 0.97 seconds per pair versus 5.68 seconds for autoregressive inference.
  3. For annotation and evaluation teams, decompose relevance labels into semantic relevance, source authority, content quality, timeliness, and overall relevance. Supported by: In Table 4, expanding from one relevance target to five sub-dimensional heads added 0.33 points of fine-grained accuracy and 1.61 points of coarse F1 on the same training data.

Caveat. All experiments were run on Tencent’s internal web search benchmark (approximately 300K training and 16K test instances) and the Yuanbao AI search application, and the paper does not test external search engines or report cross-language generalization.

In short

Tencent’s Yuanbao team introduces LARF, a three-stage framework that trains an LLM to score search relevance across five dimensions using guided chain-of-thought rationales and margin-aligned reinforcement learning, then distills it into a single-pass classifier. On a 16K web search test set, LARF-8B raises six-class accuracy from 45.20% to 50.98% while cutting per-pair latency by 82.9%, and the distilled LARF-1.7B student improves user satisfaction metrics in a live Yuanbao A/B test.

Read the paper on arXiv →

Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.