计算机科学与探索 ›› 2026, Vol. 20 ›› Issue (7): 2009-2026.DOI: 10.3778/j.issn.1673-9418.2508020

• 人工智能 • 上一篇    下一篇

TaDPT:面向多行为序列推荐的多任务学习融合框架

刘壮1+,王坤皓2,郭笑阳3,蒋雨静1,尚家名1   

  1. 1. 东北财经大学 金融科技学院,辽宁 大连 116021 
    2. 东北财经大学 金融学院,辽宁 大连 116021
    3. 东北财经大学 萨里国际学院,辽宁 大连 116021
    + 通信作者  E-mail: liuzhuang@dufe.edu.cn
  • 收稿日期:2025-07-08 修回日期:2025-09-12 在线发布日期:2026-07-01 出版日期:2026-06-29
  • 基金资助:
    2024年度辽宁省教育科学规划课题(JG24EB250)。

TaDPT: Multi-task Learning Fusion Framework for Multi-behavior Sequential Recommendation

LIU Zhuang1+, WANG Kunhao2, GUO Xiaoyang3, JIANG Yujing1, SHANG Jiaming1   

  1. 1. School of Fintech, Dongbei University of Finance and Economics, Dalian, Liaoning 116021, China
    2. School of Finance, Dongbei University of Finance and Economics, Dalian, Liaoning 116021, China
    3. Surrey International Institute, Dongbei University of Finance and Economics, Dalian, Liaoning 116021, China
    + Corresponding author  E-mail: liuzhuang@dufe.edu.cn
  • Received:2025-07-08 Revised:2025-09-12 Online:2026-07-01 Published:2026-06-29
  • Supported by:
    This work was supported by the 2024 Liaoning Provincial Education Science Planning Project (JG24EB250).

摘要: 随着数字经济的持续发展和用户线上交互行为的多样化,电商平台中的推荐系统正面临新的建模挑战。用户行为已从单一的点击扩展为涵盖浏览、加购、下单等多阶段、多语义的交互序列,这种行为异构性与强时序特征对模型的动态建模与特征融合能力提出了更高要求。然而,现有方法往往侧重单一行为或在输出层进行粗粒度融合,难以同时兼顾长程依赖建模与短期模式捕捉,从而限制了推荐效果的提升。为此,提出一种面向多行为序列推荐的多任务学习融合框架TaDPT。该模型在Transformer架构基础上设计双路径建模机制,一方面利用自注意力路径刻画全局时序依赖,另一方面引入基于频域滤波的FMLP路径增强局部特征表达,并通过行为类型感知的SoftSelect门控实现两路径特征的自适应融合。同时,在注意力机制中嵌入行为类型自适应位置偏置,使模型能根据不同交互类型动态调整时间衰减策略,更精准地捕捉多行为的演化特征。基于OTTO公开数据集的大规模实验表明,TaDPT在AUC与HR@20等核心指标上均显著优于现有方法,并在推理效率与模型扩展性方面表现出良好平衡,为多行为推荐任务提供了可行的工程化解决方案与理论参考。

关键词: 多行为序列推荐, 多任务学习, Transformer, 频域建模, 门控融合, 位置偏置, TaDPT

Abstract: With the rapid evolution of the digital economy and the diversification of user interactions, recommendation systems in e-commerce platforms face new modeling challenges. User behaviors have shifted from single clicks to multi-stage interactions, including browsing, adding to cart, and purchasing, which exhibit strong heterogeneity and temporal dependencies. Existing approaches often focus on single behavior modeling or coarse-grained fusion at the output layer, failing to simultaneously capture long-term dependencies and short-term patterns, thus limiting recommendation performance. To address these issues, this paper proposes a multi-task learning fusion framework for multi-behavior sequential recommendation, termed type-aware dual-path transformer (TaDPT). Built upon a Transformer backbone, TaDPT introduces a dual-path architecture: a self-attention path to capture global temporal dependencies and a frequency-domain filtering path (FMLP) to enhance local feature representation. A type-aware SoftSelect gating mechanism is designed to adaptively fuse the two paths, while a behavior-type adaptive positional bias is incorporated into the attention mechanism to dynamically adjust temporal decay across different behaviors, and more precisely capture the evolutionary characteristics of multiple behaviors. Extensive experiments on the public OTTO dataset demonstrate that TaDPT outperforms state-of-the-art methods on key metrics such as AUC and HR@20, while maintaining a favorable balance between inference efficiency and scalability, providing a practical and theoretically grounded solution for multi-behavior recommendation tasks.

Key words: multi-behavior sequential recommendation, multi-task learning, Transformer, frequency-domain modeling, gating fusion, positional bias, TaDPT