arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.14492cs.CLcs.IR
收藏

查询作为锚点:通过大语言模型实现场景自适应的用户表示

Query as Anchor: Scenario-Adaptive User Representation via Large Language Model

Ant Group(蚂蚁集团);East China Normal University(东华大学);Zhejiang University(浙江大学)

Jiahao Yuan, Yike Xu, Jinyong Wen, Baokun Wang, Ziyi Gao, Xiaotong Lin, Yun Liu, Xing Fu, Yu Cheng, Yongchao Liu, Weiqiang Wang, Zhongle Xie

AI总结:

通过Query-as-Anchor框架,利用大语言模型实现动态查询感知的用户表示,提升工业级用户建模的场景适应性和性能表现。

摘要:

工业级用户表示学习需要在鲁棒的通用性与敏锐的任务敏感性之间取得平衡。然而,现有范式主要产生静态、任务无关的嵌入,难以在统一的向量空间中协调下游场景的多样化需求。此外,异构多源数据引入固有的噪声和模态冲突,降低表示质量。我们提出Query-as-Anchor框架,将用户建模从静态编码转向动态、查询感知的合成。为使大语言模型(LLMs)具备深入的用户理解能力,我们首先构建UserU,一个工业级预训练数据集,将多模态行为序列与用户理解语义对齐,我们的Q-Anchor嵌入架构通过联合对比-自回归优化,在双塔LLMs中集成层次粗到细的编码器,实现查询感知的用户表示。为进一步弥合通用预训练与专业业务逻辑之间的差距,我们进一步引入基于聚类的软提示微调,强制 discriminative 潜在结构,有效对齐模型注意力与场景特定的模态。对于部署,将查询锚定在序列末端,使KV-cache加速推理,增量延迟可忽略不计。在10个支付宝工业基准上的评估显示,性能一致领先,具有强可扩展性和高效部署。在支付宝生产系统中跨两个真实场景的大型在线A/B测试进一步验证了其实际有效性。我们的代码已准备公开发布,将在:https://github.com/JhCircle/Q-Anchor 上提供。

英文摘要:

Industrial-scale user representation learning requires balancing robust universality with acute task-sensitivity. However, existing paradigms primarily yield static, task-agnostic embeddings that struggle to reconcile the divergent requirements of downstream scenarios within unified vector spaces. Furthermore, heterogeneous multi-source data introduces inherent noise and modality conflicts, degrading representation. We propose Query-as-Anchor, a framework shifting user modeling from static encoding to dynamic, query-aware synthesis. To empower Large Language Models (LLMs) with deep user understanding, we first construct UserU, an industrial-scale pre-training dataset that aligns multi-modal behavioral sequences with user understanding semantics, and our Q-Anchor Embedding architecture integrates hierarchical coarse-to-fine encoders into dual-tower LLMs via joint contrastive-autoregressive optimization for query-aware user representation. To bridge the gap between general pre-training and specialized business logic, we further introduce Cluster-based Soft Prompt Tuning to enforce discriminative latent structures, effectively aligning model attention with scenario-specific modalities. For deployment, anchoring queries at sequence termini enables KV-cache-accelerated inference with negligible incremental latency. Evaluations on 10 Alipay industrial benchmarks show consistent SOTA performance, strong scalability, and efficient deployment. Large-scale online A/B testing in Alipay's production system across two real-world scenarios further validates its practical effectiveness. Our code is prepared for public release and will be available at: https://github.com/JhCircle/Q-Anchor.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑