Manuscript Offprint

arXiv:2608.30479

HF-SID: High-Fidelity Semantic IDs for Generative Retrieval in Location-Based Services

Haowen Lin, Jing Li, Zhibin Hao, Fangye Wang, Lihui Su, Song Yang, Xiaojiang Zhou, Pengjie Wang

Haowen Lin ∗^{*}

linhaowen.lhw@taobao.com

AMAP, Alibaba Group

Beijing, China

Jing Li ∗^{*}

lijingsgy@mail.ustc.edu.cn

University of Science and Technology

of China

Hefei, China

Fangye Wang

wangfangye.wfy@alibaba-inc.com

AMAP, Alibaba Group

Beijing, China

Lihui Su

slh@pku.edu.cn

AMAP, Alibaba Group

Beijing, China

Zhibin Hao ∗^{*}

hzb24@mails.tsinghua.edu.cn

Tsinghua University

Beijing, China

Song Yang

song.yangs@alibaba-inc.com

AMAP, Alibaba Group

Beijing, China

Xiaojiang Zhou †^{\dagger}

zhouxiaojiang.zxj@taobao.com

AMAP, Alibaba Group

Beijing, China

Abstract

Generative retrieval has attracted increasing attention in Location-Based Services (LBS), where each Point-of-Interest (POI) is represented as a Semantic ID (SID). As the SID is the only channel through which POI information reaches the generative model, whatever it fails to preserve is irrecoverable at decoding time, and LBS retrieval is especially sensitive to the fine-grained differences that existing SIDs blur. Specifically, (1) LLMs embed continuous coordinates discontinuously, so their numeric differences do not reflect true geographic distance; (2) dynamic numerical attributes differ vastly in scale, so an identical gap may be decisive for one attribute yet negligible for another; and (3) short text cannot convey hierarchical affiliation, as text-similar POIs may belong to different hierarchies. We therefore propose HF-SID, which restores geographic, numerical, and structural fidelity at the representation stage, before any information is committed to a discrete code. It transforms coordinates into a continuous 3D Cartesian form and encodes each numerical value as a single unit, consolidated inside the LLM by Geo-CPT and Num-CPT with type-aware embeddings; a Structure-based Contrastive Learning objective, applied only to the last-layer residual, then separates co-located POIs that share a coarse tag but differ at the fine level. Because these mechanisms enrich the representation rather than lengthen the identifier, HF-SID uses a 3-token SID at no extra decoding cost. On a large-scale industrial

Pengjie Wang

pengjie.wpj@alibaba-inc.com

AMAP, Alibaba Group

Beijing, China

dataset it reduces the average intra-SID geographic distance by 95.9% and improves Hit@200 by 3.66 points over the strongest baseline, with online A/B gains of +6.74% PV_CVR and +6.03% UV_CVR. We further release AMap-S, a large-scale real-world POI dataset.

CCS Concepts

• Information systems → Information retrieval; Recommender systems.

References (25)