The reviewed record of science sign in
Pith

arxiv: 2312.16045 · v3 · pith:3IANDWJD · submitted 2023-12-26 · cs.LG · cs.AI

Algebraic Positional Encodings

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:3IANDWJDrecord.jsonopen to challenge →

classification cs.LG cs.AI
keywords algebraicdomainpositionalaccommodateaddressingapplicabilityapproachapproaches
0
0 comments X
read the original abstract

We introduce a novel positional encoding strategy for Transformer-style models, addressing the shortcomings of existing, often ad hoc, approaches. Our framework provides a flexible mapping from the algebraic specification of a domain to an interpretation as orthogonal operators. This design preserves the algebraic characteristics of the source domain, ensuring that the model upholds its desired structural properties. Our scheme can accommodate various structures, ncluding sequences, grids and trees, as well as their compositions. We conduct a series of experiments to demonstrate the practical applicability of our approach. Results suggest performance on par with or surpassing the current state-of-the-art, without hyper-parameter optimizations or "task search" of any kind. Code is available at https://github.com/konstantinosKokos/ape.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.