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

面向连续空间中海量点样本的分层空间Transformer

A Hierarchical Spatial Transformer for Massive Point Samples in Continuous Space

University of Florida(佛罗里达大学);Center for Coastal Solutions(海岸解决方案中心)

Wenchong He, Zhe Jiang, Tingsong Xiao, Zelin Xu, Shigang Chen, Ronald Fick, Miles Medina, Christine Angelini

AI总结:

针对连续空间海量不规则点数据的Transformer建模难题,提出含多分辨率表示学习、高效空间注意力及不确定性量化的分层空间Transformer,精度优于基线且可扩展至百万点规模。

摘要:

Transformer是应用广泛的深度学习架构,现有Transformer大多针对序列(文本或时间序列)、图像/视频以及图数据设计。本文提出一种新型Transformer模型,用于处理连续空间中的海量(至多百万级)点样本。这类数据在环境科学(如传感器观测数据)、数值模拟(如含颗粒流、天体物理学)以及基于位置的服务(如兴趣点POI、轨迹)中普遍存在。\n但为海量空间点设计Transformer并非易事,面临多重挑战:连续空间中不规则点存在隐式的长程、多尺度依赖关系;点分布不均匀;计算海量点间全对注意力的计算成本可能极高;点密度变化还可能导致预测过于自信的风险。\n为应对这些挑战,我们提出一种新的分层空间Transformer模型,包含四叉树分层结构下的多分辨率表示学习,以及通过粗粒度近似实现的高效空间注意力机制。我们还设计了一个不确定性量化分支,用于估计与输入特征噪声、点稀疏性相关的预测置信度。我们对计算时间复杂度和内存成本进行了理论分析。在真实数据集和合成数据集上的大量实验表明,我们的方法在预测精度上优于多个基线模型,且该模型可在单张NVIDIA A100 GPU上扩展至处理一百万点。代码可在https://github.com/spatialdatasciencegroup/HST 获取。

英文摘要:

Transformers are widely used deep learning architectures. Existing transformers are mostly designed for sequences (texts or time series), images or videos, and graphs. This paper proposes a novel transformer model for massive (up to a million) point samples in continuous space. Such data are ubiquitous in environment sciences (e.g., sensor observations), numerical simulations (e.g., particle-laden flow, astrophysics), and location-based services (e.g., POIs and trajectories). However, designing a transformer for massive spatial points is non-trivial due to several challenges, including implicit long-range and multi-scale dependency on irregular points in continuous space, a non-uniform point distribution, the potential high computational costs of calculating all-pair attention across massive points, and the risks of over-confident predictions due to varying point density. To address these challenges, we propose a new hierarchical spatial transformer model, which includes multi-resolution representation learning within a quad-tree hierarchy and efficient spatial attention via coarse approximation. We also design an uncertainty quantification branch to estimate prediction confidence related to input feature noise and point sparsity. We provide a theoretical analysis of computational time complexity and memory costs. Extensive experiments on both real-world and synthetic datasets show that our method outperforms multiple baselines in prediction accuracy and our model can scale up to one million points on one NVIDIA A100 GPU. The code is available at \url{https://github.com/spatialdatasciencegroup/HST}.

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

↑