Search papers, labs, and topics across Lattice.
This paper introduces CoGR, a novel retrieval framework that trains LLMs to generate retrieval representations for both queries and items, enhancing the matching process in search and advertising systems. By employing a two-stage training pipeline that combines supervised fine-tuning with co-evolving reinforcement learning, CoGR optimizes both sides of the retrieval process to improve performance metrics. The results demonstrate significant improvements in retrieval effectiveness, achieving up to 36.1% better F1 scores compared to existing baselines on benchmark datasets.
CoGR redefines retrieval by enabling LLMs to co-evolve query and item representations, leading to unprecedented gains in matching performance.
Retrieval is the first stage of modern search and advertising systems, selecting a candidate set from a large item universe for downstream ranking and auction. Recent work increasingly leverages LLMs to improve retrieval through query expansion, data synthesis, and retrieval-feedback training. However, the generative component is typically used for query-side augmentation, while final matching is still delegated to a downstream retriever. We introduce CoGR, a retrieval framework that instead trains LLMs to directly construct retrieval representations on both query and item sides. Each generator produces a compact set of keywords, which are matched directly through an inverted index, preserving compatibility with existing keyword-based retrieval infrastructure. CoGR uses a two-stage training pipeline. Supervised fine-tuning first establishes an aligned keyword space, after which co-evolving reinforcement learning alternately optimizes the query- and item-side generators with GRPO against the opposite side's frozen index. Both sides optimize the same query-to-item retrieval $F_1$ objective: the query side receives retrieval $F_1$ directly, while the item side receives a counterfactual marginal reward measuring the change in query-side $F_1$ caused by its generated keywords. Across 10 representative sparse, dense, and generative baselines, CoGR achieves the best performance on both an internal APP Marketplace dataset and the public WANDS benchmark, improving $F_1$ over the strongest baseline by $10.9\%$ and $36.1\%$, respectively. Further analysis shows stable co-evolution and increasingly aligned query--item keyword spaces over training.