English

Prompt Generation Technical Report

Information Retrieval 2026-07-13 v1

Abstract

Generative retrieval has become an increasingly adopted paradigm for industrial search, recommendation, and advertising systems, delivering significant online gains. Most existing work combines user behavior sequences with large language models (LLMs) to model user preferences. In practice, feature engineering remains critical to model effectiveness, yet its complexity slows offline iteration and makes online deployment heavy and hard to reuse, all under tight online latency budgets. The root cause is a tight coupling between feature-processing logic and model architecture, where every feature change touches the training and serving code and resists reuse across scenarios. To break this coupling, we present Prompt Generation (PG), a high-level tokenizer and configuration-driven framework that decouples feature-processing logic from model architecture through two declarative JSON files, which serve as the single source of truth for both offline training and online serving, ensuring feature consistency across the two stages. Organizing features under four types with three composable processing components to assemble and compress heterogeneous features, PG delivers acceleration at three levels: (1)fast training iteration: feature experiments require only configuration changes, with built-in token compression for ultra-long sequences; (2)fast deployment: a new scenario only needs to conform to the PG schema and plug into a universal pipeline, with no scenario-specific engineering; (3)fast online inference: engine applies unified optimizations over the standardized configuration, reducing PG's overhead to a negligible level. PG has been deployed on Taobao Search with statistically significant online A/B uplifts of +0.47% in transaction count and +0.51% in GMV, and has been applied across multiple Taobao search and recommendation teams as the iteration framework for generative retrieval.

Cite

@article{arxiv.2607.11326,
  title  = {Prompt Generation Technical Report},
  author = {Dan Ou and Gui Ling and Hao Wan and Hongbin Zhou and Jialiang Cheng and Jiangnan Pang and Silu Zhou and Wei Shi and Weichen Ye and Wenming Zhang and Yang Wang and Yu Li and Yuliang Yan and Zhan Fa and Zhihong Chen and Zongyuan Wu and Bo Zheng and Changfa Wu and Dunxian Huang and Haihong Tang and Jinlong Guo and Kaixuan Zhang and Kun Ma and Lin Qu and Longbo Zhong and Tao Lan and Tong Xiong and Zhibo Wu},
  journal= {arXiv preprint arXiv:2607.11326},
  year   = {2026}
}