Spline-based Transformers

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chandran, Prashanth, Serifi, Agon, Gross, Markus, Bächer, Moritz
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913775488073728
author Chandran, Prashanth
Serifi, Agon
Gross, Markus
Bächer, Moritz
author_facet Chandran, Prashanth
Serifi, Agon
Gross, Markus
Bächer, Moritz
contents We introduce Spline-based Transformers, a novel class of Transformer models that eliminate the need for positional encoding. Inspired by workflows using splines in computer animation, our Spline-based Transformers embed an input sequence of elements as a smooth trajectory in latent space. Overcoming drawbacks of positional encoding such as sequence length extrapolation, Spline-based Transformers also provide a novel way for users to interact with transformer latent spaces by directly manipulating the latent control points to create new latent trajectories and sequences. We demonstrate the superior performance of our approach in comparison to conventional positional encoding on a variety of datasets, ranging from synthetic 2D to large-scale real-world datasets of images, 3D shapes, and animations.
format Preprint
id arxiv_https___arxiv_org_abs_2504_02797
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Spline-based Transformers
Chandran, Prashanth
Serifi, Agon
Gross, Markus
Bächer, Moritz
Machine Learning
Computer Vision and Pattern Recognition
We introduce Spline-based Transformers, a novel class of Transformer models that eliminate the need for positional encoding. Inspired by workflows using splines in computer animation, our Spline-based Transformers embed an input sequence of elements as a smooth trajectory in latent space. Overcoming drawbacks of positional encoding such as sequence length extrapolation, Spline-based Transformers also provide a novel way for users to interact with transformer latent spaces by directly manipulating the latent control points to create new latent trajectories and sequences. We demonstrate the superior performance of our approach in comparison to conventional positional encoding on a variety of datasets, ranging from synthetic 2D to large-scale real-world datasets of images, 3D shapes, and animations.
title Spline-based Transformers
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.02797