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

增强字节令牌的语言模型用于时间点过程分析

Byte-token Enhanced Language Models for Temporal Point Processes Analysis

Independent Researcher(独立研究者);Southeast University(东南大学);Center for Applied Statistics and School of Statistics, Renmin University of China(应用统计中心和中国人民大学统计学院)

Quyu Kong, Yixuan Zhang, Yang Liu, Panrong Tong, Enqi Liu, Feng Zhou

AI总结:

本文提出Language-TPP框架,结合时间点过程与大语言模型,通过新颖的时序编码机制将连续时间区间转换为字节令牌,提升Web事件序列建模性能,实现事件时间与类型预测的最优表现。

摘要:

时间点过程(TPPs)已被广泛用于建模网络上的事件序列,如用户评论、社交媒体帖子和在线交易。然而,传统TPP模型难以有效整合事件伴随的丰富文本描述,而大语言模型(LLMs)尽管在文本处理方面表现出色,但缺乏处理Web事件序列固有时间动态性的机制。为弥合这一差距,我们引入Language-TPP,一种统一框架,无缝整合TPP与LLM以增强Web事件序列建模。我们的关键创新是一种新的时间编码机制,将连续时间间隔转换为专用的字节令牌,使可以直接整合到标准语言模型架构中进行TPP建模,而无需对TPP进行特定修改。这种方法使Language-TPP在多个TPP基准上实现了最先进的性能,包括事件时间预测和类型预测,在覆盖电子商务评论、社交媒体和在线问答平台的现实Web数据集上。更重要的是,我们证明了我们的统一框架为TPP研究解锁了新的能力:整合时间信息提高了生成事件描述的质量,如ROUGE-L分数的提升,以及更对齐的情感分布。通过全面的实验,包括学习分布的定性分析和长序列的可扩展性评估,我们展示了Language-TPP有效捕捉了Web用户行为中的时间和文本模式,对内容生成、用户行为理解和Web平台应用具有重要影响。代码可在https://github.com/qykong/Language-TPP获得。

英文摘要:

Temporal Point Processes (TPPs) have been widely used for modeling event sequences on the Web, such as user reviews, social media posts, and online transactions. However, traditional TPP models often struggle to effectively incorporate the rich textual descriptions that accompany these events, while Large Language Models (LLMs), despite their remarkable text processing capabilities, lack mechanisms for handling the temporal dynamics inherent in Web-based event sequences. To bridge this gap, we introduce Language-TPP, a unified framework that seamlessly integrates TPPs with LLMs for enhanced Web event sequence modeling. Our key innovation is a novel temporal encoding mechanism that converts continuous time intervals into specialized byte-tokens, enabling direct integration with standard language model architectures for TPP modeling without requiring TPP-specific modifications. This approach allows Language-TPP to achieve state-of-the-art performance across multiple TPP benchmarks, including event time prediction and type prediction, on real-world Web datasets spanning e-commerce reviews, social media and online Q&A platforms. More importantly, we demonstrate that our unified framework unlocks new capabilities for TPP research: incorporating temporal information improves the quality of generated event descriptions, as evidenced by enhanced ROUGE-L scores, and better aligned sentiment distributions. Through comprehensive experiments, including qualitative analysis of learned distributions and scalability evaluations on long sequences, we show that Language-TPP effectively captures both temporal dynamics and textual patterns in Web user behavior, with important implications for content generation, user behavior understanding, and Web platform applications. Code is available at https://github.com/qykong/Language-TPP.

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

↑