# On Dimension-Free Transformer: An Application of STP to AI

arXiv: https://arxiv.org/abs/2504.14514 · HTML: https://mlsanity.com/paper/2504.14514/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 2 of its 22 references that are in the map.
- First posted on arXiv 20 Apr 2025.

## Builds on (most cited first, 2 of 2)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [A Comprehensive Survey on STP Approach to Finite Games](https://mlsanity.com/paper/2106.16086/) (2021)

## Abstract (arXiv)

The matrix expressions for every parts of a transformer are firstly described. Based on semi-tensor product (STP) of matrices the hypervectors are reconsidered and the linear transformation over hypervectors is constructed by using projection. Its properties and calculating formulas are obtained. Using projection-based transformation of hypervector (PBTH), the framework of dimension-free transformer (DFT) is proposed by verifying each linear transformation in a transformer and replacing it by a proper PBTH, which allows the inputs and outputs being of arbitrary dimensions. Using balanced information about all entries, DFT must be more efficient in dealing with signals.
