基于样条的 Transformers
Spline-based Transformers
AI总结:
提出 Spline-based Transformers,利用样条将输入序列嵌入为潜在空间平滑轨迹以取代位置编码,克服序列长度外推缺陷并支持通过控制点交互生成新序列,在多种数据集上性能优于传统方法。
摘要:
我们提出了 Spline-based Transformers,这是一类消除了对位置编码需求的新型 Transformer 模型。受计算机动画中使用样条的工作流启发,我们的 Spline-based Transformers 将元素的输入序列嵌入为潜在空间中的平滑轨迹。克服了位置编码的缺点(如序列长度外推),Spline-based Transformers 还为用户提供了一种与 Transformer 潜在空间交互的新方法,即通过直接操纵潜在控制点来创建新的潜在轨迹和序列。我们在多种数据集上展示了我们的方法相较于传统位置编码的优越性能,数据集范围从合成的 2D 到大规模真实世界数据集,包括图像、3D 形状和动画。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。