arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.13818cs.LGcs.AI
收藏

FATA-Trans:用于序列表格数据的字段与时间感知Transformer

FATA-Trans: Field And Time-Aware Transformer for Sequential Tabular Data

Worcester Polytechnic Institute(伍斯特理工学院);Visa Research(Visa研究院)

Dongyu Zhang, Liang Wang, Xin Dai, Shubham Jain, Junpeng Wang, Yujie Fan, Chin-Chia Michael Yeh, Yan Zheng, Zhongfang Zhuang, Wei Zhang

AI总结:

针对序列表格数据中静态与动态字段差异及时间信息被忽略的问题,提出双字段transformer模型FATA-Trans,通过字段类型嵌入和时间感知位置嵌入分别捕获字段差异与时间行为,在三个基准数据集上优于现有方法。

摘要:

序列表格数据是现实世界应用中最常用的数据类型之一。与表中各行相互独立的传统表格数据不同,序列表格数据包含丰富的上下文和序列信息,其中某些字段随时间动态变化,而其他字段则是静态的。现有的基于transformer的方法在分析序列表格数据时,通过将静态字段复制并填充到每个transformer中,忽略了动态和静态字段之间的差异,并且忽略了行间的时间信息,这导致了三个主要缺点:(1)计算开销;(2)用于掩码语言建模预训练任务的人为简化数据可能会产生意义较小的表示;(3)忽视了时间间隔所隐含的时间行为模式。在这项工作中,我们提出了FATA-Trans,这是一个包含两个字段transformer的模型,用于对序列表格数据进行建模,其中每个transformer分别处理静态和动态字段信息。FATA-Trans对序列表格数据具有字段和时间感知能力。该方法中的字段类型嵌入使FATA-Trans能够捕捉静态和动态字段之间的差异。时间感知位置嵌入利用了行间的顺序和时间间隔信息,这有助于模型检测序列中潜在的时间行为。我们在三个基准数据集上的实验表明,从FATA-Trans学习到的表示在下游任务中始终优于最先进的解决方案。我们还展示了可视化研究,以突出学习到的表示所捕捉到的见解,从而增强我们对底层数据的理解。我们的代码可在 https://github.com/zdy93/FATA-Trans 获取。

英文摘要:

Sequential tabular data is one of the most commonly used data types in real-world applications. Different from conventional tabular data, where rows in a table are independent, sequential tabular data contains rich contextual and sequential information, where some fields are dynamically changing over time and others are static. Existing transformer-based approaches analyzing sequential tabular data overlook the differences between dynamic and static fields by replicating and filling static fields into each transformer, and ignore temporal information between rows, which leads to three major disadvantages: (1) computational overhead, (2) artificially simplified data for masked language modeling pre-training task that may yield less meaningful representations, and (3) disregarding the temporal behavioral patterns implied by time intervals. In this work, we propose FATA-Trans, a model with two field transformers for modeling sequential tabular data, where each processes static and dynamic field information separately. FATA-Trans is field- and time-aware for sequential tabular data. The field-type embedding in the method enables FATA-Trans to capture differences between static and dynamic fields. The time-aware position embedding exploits both order and time interval information between rows, which helps the model detect underlying temporal behavior in a sequence. Our experiments on three benchmark datasets demonstrate that the learned representations from FATA-Trans consistently outperform state-of-the-art solutions in the downstream tasks. We also present visualization studies to highlight the insights captured by the learned representations, enhancing our understanding of the underlying data. Our codes are available at https://github.com/zdy93/FATA-Trans.

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

↑