VALUE: Value-Aware Large Language Model for Query Rewriting via Weighted Trie in Sponsored Search

Xiao Zhang, Guanyu Chen, Boyang Zuo, Feng Li, Pengjie Wang +2 more
2/25/2025
cs.IRcs.AIcs.LG
rlhf-rlvr-dpo

No confident code implementation found for this paper.

Abstract

Query-to-bidword(i.e., bidding keyword) rewriting is fundamental to sponsored search, transforming noisy user queries into semantically relevant and commercially valuable keywords. Recent advances in large language models (LLMs) improve semantic relevance through generative retrieval frameworks, but they rarely encode the commercial value of keywords.

Show full abstract

As a result, rewrites are often semantically correct yet economically suboptimal, and a reinforcement learning from human feedback (RLHF) stage is usually added after supervised fine-tuning(SFT) to mitigate this deficiency. However, conventional preference alignment frequently overemphasize the ordering of bidword values and is susceptible to overfitting, which degrades rewrite quality. In addition, bidword value changes rapidly, while existing generative methods do not respond to these fluctuations. To address this shortcoming, we introduce VALUE(Value-Aware Large language model for qUery rewriting via wEighted trie), a framework that integrates value awareness directly into generation and enhances value alignment during training. VALUE employs the Weighted Trie, a novel variant of the classical trie that stores real-time value signals for each token. During decoding, the framework adjusts the LLM's token probabilities with these signals, constraining the search space and steering generation toward high-value rewrites. The alignment stage uses a fine-grained preference learning strategy that emphasizes stable, high-value differences and down-weights noisy or transient fluctuations, thereby improving robustness and reducing overfitting. Offline experiments show that VALUE significantly outperforms baselines in both semantic matching and value-centric metrics. VALUE has been deployed on our advertising system since October 2024 and served the Double Eleven promotions, the biggest shopping carnival in China.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2025value,
  title  = {VALUE: Value-Aware Large Language Model for Query Rewriting via Weighted Trie in Sponsored Search},
  author = {Xiao Zhang and Guanyu Chen and Boyang Zuo and Feng Li and Pengjie Wang and Jian Xu and Bo Zheng},
  year   = {2025},
  eprint = {2504.05321},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.05321v2}
}

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

Discussion