Sampling Foundational Transformer: A Theoretical Perspective

Viet Anh Nguyen, Minh Lenhat, Khoa Nguyen, Duong Duc Hieu, Dao Huu Hung +1 more
8/11/2024
cs.LGcs.CV
transformer-attention

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nguyen2024sampling,
  title  = {Sampling Foundational Transformer: A Theoretical Perspective},
  author = {Viet Anh Nguyen and Minh Lenhat and Khoa Nguyen and Duong Duc Hieu and Dao Huu Hung and Truong Son Hy},
  year   = {2024},
  eprint = {2408.05822},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.05822v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.05822.svg)](https://codeofpaper.com/paper/2408.05822)

Discussion