[论文解读] MLEM: Generative and Contrastive Learning as Distinct Modalities for Event Sequences
本文提出 MLEM,一种新颖的自监督方法,将生成学习与对比学习视为事件序列表征学习中的独立模态。通过将预训练生成模型的嵌入与对比模型对齐,MLEM 在各类任务中均达到最先进性能,优于所有评估数据集上的单一方法及监督基线模型。
This study explores the application of self-supervised learning techniques for event sequences. It is a key modality in various applications such as banking, e-commerce, and healthcare. However, there is limited research on self-supervised learning for event sequences, and methods from other domains like images, texts, and speech may not easily transfer. To determine the most suitable approach, we conduct a detailed comparative analysis of previously identified best-performing methods. We find that neither the contrastive nor generative method is superior. Our assessment includes classifying event sequences, predicting the next event, and evaluating embedding quality. These results further highlight the potential benefits of combining both methods. Given the lack of research on hybrid models in this domain, we initially adapt the baseline model from another domain. However, upon observing its underperformance, we develop a novel method called the Multimodal-Learning Event Model (MLEM). MLEM treats contrastive learning and generative modeling as distinct yet complementary modalities, aligning their embeddings. The results of our study demonstrate that combining contrastive and generative approaches into one procedure with MLEM achieves superior performance across multiple metrics.
研究动机与目标
- 探究生成与对比自监督学习在事件序列建模中的有效性。
- 确定生成与对比方法在表征学习中是否能够互补。
- 开发一种结合两种范式的混合方法,而无需依赖损失加权融合。
- 评估自监督模型在时间扰动下的鲁棒性与泛化能力。
- 对比真实世界事件序列数据集上自监督预训练与监督微调的表现。
提出的方法
- 提出 MLEM,一种将生成与对比表征视为独立模态的混合模型。
- 利用对比模型通过对比对齐损失将生成模型的嵌入进行对齐。
- 采用双分支编码器架构:一个分支用于生成建模(下一个事件预测),另一个分支用于对比学习(正/负子序列对)。
- 采用基于 MoCo 风格队列与动量更新的对比损失,以稳定正样本对比。
- 在多个数据集上完成预训练后,通过线性探测进行下游评估。
- 使用模态对齐头在训练过程中对齐生成与对比嵌入,受多模态对比学习启发。

实验结果
研究问题
- RQ1生成与对比自监督学习能否有效结合以提升事件序列表征学习?
- RQ2将生成与对比学习视为独立模态是否优于单一方法的性能?
- RQ3自监督模型在下游任务准确率方面与监督基线相比如何?
- RQ4这些模型对事件重排等时间扰动的鲁棒性如何?
- RQ5在何种场景下生成建模优于对比学习,反之亦然?
主要发现
- MLEM 在所有数据集上均优于独立的生成模型与对比模型,平均性能达到最先进水平。
- 自监督预训练在所有数据集上持续优于监督微调,MLEM 在 ABank 上达到 0.790 的 ROC-AUC,在 Age 上达到 0.642。
- 生成建模在时间点过程(TPP)任务中表现更优,如下一个事件类型与时间预测。
- 模型对事件重排表现出近乎鲁棒性(如 ABank 上性能下降仅 -1.45%),表明在某些情况下呈现“词袋”行为。
- 当时间顺序被扰动时,Pendulum 数据集上的性能显著下降,表明对时间关键序列中的时间结构敏感。
- MLEM 仅用 25 GPU 小时即达到接近监督性能(如 ABank 上 ROC-AUC 为 0.790),而 SeqNas 需 288 GPU 小时,表明计算效率极高。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。