arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.10288stat.MLcs.AIcs.LG
收藏

粗糙 Transformer 用于连续且高效的时间序列建模

Rough Transformers for Continuous and Efficient Time-Series Modelling

Oxford-Man Institute of Quantitative Finance, University of Oxford(牛津大学牛津-曼数量金融研究所);Machine Learning Research Group, University of Oxford(牛津大学机器学习研究组);Mathematical Institute, University of Oxford(牛津大学数学研究所)

Fernando Moreno-Pino, Álvaro Arroyo, Harrison Waldon, Xiaowen Dong, Álvaro Cartea

AI总结:

针对医疗时间序列的长程依赖与非均匀采样问题,提出粗糙 Transformer,利用路径签名增强注意力,在保持性能的同时大幅降低计算成本。

摘要:

真实医疗环境中的时间序列数据通常表现出长程依赖性,并且以非均匀间隔被观测。在这种背景下,传统的基于序列的循环模型难以应对。为了克服这一点,研究者用基于神经 ODE 的模型替代循环架构来建模不规则采样的数据,并使用基于 Transformer 的架构来处理长程依赖性。尽管这两种方法取得了成功,但对于中等长度及更长的输入序列,它们都产生了非常高的计算成本。为了缓解这一问题,我们引入了粗糙 Transformer(Rough Transformer),这是 Transformer 模型的一种变体,它在输入序列的连续时间表示上运行,并显著降低了计算成本,这对于处理医疗环境中常见的长期依赖性至关重要。特别地,我们提出了多视角签名注意力(multi-view signature attention),它利用路径签名(path signatures)来增强原始注意力,并捕获输入数据中的局部和全局依赖性,同时对序列长度和采样频率的变化保持鲁棒。我们发现,在合成和真实世界的时间序列任务上,粗糙 Transformer 持续优于其原始注意力对应模型,同时以极少的计算时间和内存资源获得基于神经 ODE 的模型的优势。

英文摘要:

Time-series data in real-world medical settings typically exhibit long-range dependencies and are observed at non-uniform intervals. In such contexts, traditional sequence-based recurrent models struggle. To overcome this, researchers replace recurrent architectures with Neural ODE-based models to model irregularly sampled data and use Transformer-based architectures to account for long-range dependencies. Despite the success of these two approaches, both incur very high computational costs for input sequences of moderate lengths and greater. To mitigate this, we introduce the Rough Transformer, a variation of the Transformer model which operates on continuous-time representations of input sequences and incurs significantly reduced computational costs, critical for addressing long-range dependencies common in medical contexts. In particular, we propose multi-view signature attention, which uses path signatures to augment vanilla attention and to capture both local and global dependencies in input data, while remaining robust to changes in the sequence length and sampling frequency. We find that Rough Transformers consistently outperform their vanilla attention counterparts while obtaining the benefits of Neural ODE-based models using a fraction of the computational time and memory resources on synthetic and real-world time-series tasks.

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

↑