# TS-GEAR: Taobao Shangou GEnerative Ad Retrieval

DevFeed: [TS-GEAR: Taobao Shangou GEnerative Ad Retrieval](<https://devfeed.tech/articles/ts-gear-taobao-shangou-generative-ad-retrieval-126246.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.12180>)

Author: Guofeng Tong, Xu Zhang, Guangliang Yu, Haiqiang Wang, Guannan Cong, Xing Guo, Yang Zhou, Jingjing Duan, Shuang Li, Feng Shi, Hualei Liu

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>), [AI-driven information retrieval](<https://devfeed.tech/topics/ai-driven-information-retrieval.md>), [grpo](<https://devfeed.tech/topics/grpo.md>)

Tags: [advertising](<https://devfeed.tech/tags/advertising.md>), [attention](<https://devfeed.tech/tags/attention.md>), [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [gear](<https://devfeed.tech/tags/gear.md>), [generative](<https://devfeed.tech/tags/generative.md>), [geography](<https://devfeed.tech/tags/geography.md>), [grpo](<https://devfeed.tech/tags/grpo.md>), [ids](<https://devfeed.tech/tags/ids.md>), [interest](<https://devfeed.tech/tags/interest.md>), [query](<https://devfeed.tech/tags/query.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [regions](<https://devfeed.tech/tags/regions.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-systems](<https://devfeed.tech/tags/retrieval-systems.md>), [revenue](<https://devfeed.tech/tags/revenue.md>), [search](<https://devfeed.tech/tags/search.md>), [search-advertising](<https://devfeed.tech/tags/search-advertising.md>), [taobao](<https://devfeed.tech/tags/taobao.md>)

## AI overview

TS-GEAR adapts generative ad retrieval to on-demand delivery, where merchants outside a user's delivery range are invalid candidates. It uses Geo-Semantic IDs to make geographic reachability part of generation, Query-Geo Target Attention to condition behavior histories on the current query and location while encoding each behavior's location, and GMPO to reward deduplicated candidate groups and marginal contributions without auxiliary diversity objectives. The abstract reports online deployment in Taobao Shangou's search advertising pipeline with a 0.1B backbone serving over 150 million queries daily. It says TS-GEAR outperforms state-of-the-art generative retrieval methods on HitRate and geographic validity, with reported gains of 3.8% in ad impressions and 4.2% in ad revenue.

## Source excerpt

arXiv:2611.12180v1 Announce Type: cross Abstract: On-demand delivery platforms such as DoorDash and Uber Eats impose a constraint absent in traditional e-commerce: merchants beyond the user's delivery range are invalid candidates rather than merely low-ranked. Generative retrieval has recently shown strong potential in large-scale retrieval systems. Adapting it to this setting, however, poses three challenges. First, existing semantic IDs encode geography only as a soft signal, so reachability can only rely on a non-differentiable post-generation hard truncation. Second, user preferences vary substantially across both regions and queries, so aggregating historical behaviors without conditioning on geography and the current query yields biased interest estimates. Third, the retrieved candidate set is evaluated by its collective value, yet autoregressive training scores each sequence independently, with no set-level signal to discourage redundant near-duplicates. To address the challenges, we propose TS-GEAR, a unified generative retrieval framework for on-demand delivery: (1) Geo-Semantic ID splits merchant identifiers into geographic prefixes and semantic suffixes, making reachability a prediction target rather than a post-hoc filter; (2) Query-Geo Target Attention aggregates historical behaviors using the real-time query and location as dual targets, while encoding each behavior's own location into its attention key; (3) GMPO (Group Marginal Policy Optimization) rewrites advantages using a deduplicated group reward and marginal advantage within GRPO, avoiding auxiliary diversity objectives. Deployed online with a lightweight 0.1B backbone, TS-GEAR serves over 150 million queries per day in the search advertising pipeline of Taobao Shangou, consistently outperforming state-of-the-art generative retrieval methods on both HitRate and geographic validity, and achieving 3.8% gains in ad impressions and 4.2% in ad revenue.