HyFormer统一建模长序列与特征交互,提升推荐系统精度与效率。
HyFormer: Revisiting the Roles of Sequence Modeling and Feature Interaction in CTR Prediction
- 提出混合变压器架构,迭代优化查询解码与查询增强机制。
- 在千亿级数据上超越基线模型,参数与算力相当下性能更优。
- 适合大规模工业推荐场景,尤其需高效融合序列与非序列特征的场景。
工业级大规模推荐模型(LRMs)面临在严格效率约束下联合建模长序列用户行为与异构非序列特征的挑战。现有架构多采用解耦流程:先用基于查询-令牌的序列压缩器(如LONGER)压缩长序列,再通过令牌混合模块(如RankMixer)与密集特征融合,限制了表征能力与交互灵活性。本文提出HyFormer,一种将长序列建模与特征交互统一于单一主干的混合变压器架构。从序列建模视角,重新设计查询令牌,将建模任务视为交替优化过程,包含两个核心组件:查询解码(将非序列特征扩展为全局令牌,并对序列键值表示进行层间解码)与查询增强(通过高效令牌混合增强跨查询与跨序列的异构交互)。两者迭代执行以逐层精炼语义表示。在千亿级工业数据集上的大量实验表明,HyFormer在参数量与浮点运算量相近条件下持续优于强大基线模型LONGER与RankMixer,且随参数与算力增加表现出更优的可扩展性。大规模线上A/B测试在高流量生产系统中进一步验证其有效性,显著优于部署的最先进模型。结果凸显HyFormer作为工业级LRM统一建模范式的实用性与可扩展性。
原文摘要 · Abstract (English)
Industrial large-scale recommendation models (LRMs) face the challenge of jointly modeling long-range user behavior sequences and heterogeneous non-sequential features under strict efficiency constraints. However, most existing architectures employ a decoupled pipeline: long sequences are first compressed with a query-token based sequence compressor like LONGER, followed by fusion with dense features through token-mixing modules like RankMixer, which thereby limits both the representation capacity and the interaction flexibility. This paper presents HyFormer, a unified hybrid transformer architecture that tightly integrates long-sequence modeling and feature interaction into a single backbone. From the perspective of sequence modeling, we revisit and redesign query tokens in LRMs, and frame the LRM modeling task as an alternating optimization process that integrates two core components: Query Decoding which expands non-sequential features into Global Tokens and performs long sequence decoding over layer-wise key-value representations of long behavioral sequences; and Query Boosting which enhances cross-query and cross-sequence heterogeneous interactions via efficient token mixing. The two complementary mechanisms are performed iteratively to refine semantic representations across layers. Extensive experiments on billion-scale industrial datasets demonstrate that HyFormer consistently outperforms strong LONGER and RankMixer baselines under comparable parameter and FLOPs budgets, while exhibiting superior scaling behavior with increasing parameters and FLOPs. Large-scale online A/B tests in high-traffic production systems further validate its effectiveness, showing significant gains over deployed state-of-the-art models. These results highlight the practicality and scalability of HyFormer as a unified modeling framework for industrial LRMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。