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

Sampling Foundational Transformer:一个理论视角

Sampling Foundational Transformer: A Theoretical Perspective

FPT Software AI Center(FPT软件AI中心);University of Alabama at Birmingham(阿拉巴马大学伯明翰分校)

Viet Anh Nguyen, Minh Lenhat, Khoa Nguyen, Duong Duc Hieu, Dao Huu Hung, Truong Son Hy

AI总结:

针对Transformer二次复杂度高、需针对不同模态定制构建的问题,提出可适配多模态与多约束的Sampling Foundational Transformer,通过上下文感知无放回采样和伪凸公式提升效率,在多基准上取得有竞争力的结果且推理更快。

摘要:

自注意力机制的多功能性让Transformer在几乎所有数据模态中都取得了巨大成功,但它存在二次复杂度和训练难度大的局限。为了将Transformer应用于不同数据模态,从业者必须针对特定数据模态进行巧妙的定制化构建。本文提出了Sampling Foundational Transformer(SFT,采样基础Transformer),该模型可适配多种数据模态(例如点云、图、序列)和约束条件(例如旋转不变性)。这类模型的存在十分重要,因为当前的基础建模需要具备在多数据源上运行的能力。为了在大量token场景下实现高效性,我们的模型依托所提出的上下文感知无放回采样机制,既达成了线性渐近计算复杂度,又实现了实际推理时间的提升。在效率优化方面,我们利用新发现的Transformer层伪凸公式来提高模型的收敛速度。作为一款跨多数据模态的模型,SFT在多个基准测试上取得了具有竞争力的结果,且与其他高度专用的模型相比,推理速度更快。

英文摘要:

The versatility of self-attention mechanism earned transformers great success in almost all data modalities, with limitations on the quadratic complexity and difficulty of training. To apply transformers across different data modalities, practitioners have to make specific clever data-modality-dependent constructions. In this paper, we propose Sampling Foundational Transformer (SFT) that can work on multiple data modalities (e.g., point cloud, graph, and sequence) and constraints (e.g., rotational-invariant). The existence of such model is important as contemporary foundational modeling requires operability on multiple data sources. For efficiency on large number of tokens, our model relies on our context aware sampling-without-replacement mechanism for both linear asymptotic computational complexity and real inference time gain. For efficiency, we rely on our newly discovered pseudoconvex formulation of transformer layer to increase model's convergence rate. As a model working on multiple data modalities, SFT has achieved competitive results on many benchmarks, while being faster in inference, compared to other very specialized models.

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

↑