Outer Rim Archives
Archives · 2025 · 20250284934

Application (pre-grant publication)

SPLINE BASED TRANSFORMER

Number
20250284934
Published
2025-09-11
Filed
2025-02-25
Assignee
DISNEY ENTERPRISES, INC.
Inventors
Bächer; Moritz Niklaus et al.
CPC
G06N3/0455; G06N3/045
Verdict
High Notable software
Source
Google Patents · FreePatentsOnline

The keeper's note

Spline-based transformer ML architecture (Bächer, robotics/motion adjacent).

Abstract

In one embodiment, a method for generating an output sequence of data utilizing a spline-based transformer is disclosed. The method may include encoding, via a processing element, an input sequence of data using an artificial neural network encoder to generate a plurality of input tokens; processing, via the processing element, the plurality of input tokens and a plurality of control tokens with a transformer encoder into a latent space to generate a plurality of control points; defining, via the processing element, a spline based on the plurality of control points; sampling, via the processing element, a plurality of interpolated control points based on the spline; and decoding, via the processing element, the interpolated control points with an artificial neural network decoder to generate the output sequence of data.

Background

BACKGROUND

Positional encoding is traditionally an important component in transformer models. It infuses positional information into input tokens to help transformers learn position-agnostic token embeddings. Positional encoding works by (1) pre-assigning sinusoids of different frequencies and phases to every position an input token can take on in a sequence, and (2) by adding this sinusoid to the token embedding that appears at the corresponding position in the sequence. Injecting a token with positional information, also referred to as absolute position encoding in later work, has evolved into several variants. For example, several works have shown that absolute position encoding limits the ability of transformers to handle longer sequences at inference time and proposed relative position encoding schemes where a fixed or learned bias is added to the attention matrix. Irrespective of their exact arrangement, transformer architectures generally employ a combination of absolute and relative position encoding schemes.

Positional encoding assumes that token embeddings represent elemental data in a collection, e.g., individual words in a sentence, images in a video, or poses in an animation, and that an additional notion of position is required to model a collection of such elements, such as sequences of words, images, or animation frames. This process decouples elemental and collective datatypes and forces a model to learn separate representations for the elements

Claims

1. A method for generating an output sequence of data utilizing a spline-based transformer, comprising: encoding, via a processing element, an input sequence of data using an artificial neural network encoder to generate a plurality of input tokens; processing, via the processing element, the plurality of input tokens and a plurality of control tokens with a transformer encoder into a latent space to generate a plurality of control points; defining, via the processing element, a spline based on the plurality of control points; sampling, via the processing element, a plurality of interpolated control points based on the spline; and decoding, via the processing element, the interpolated control points with an artificial neural network decoder to generate the output sequence of data. || 14. A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by a computer, cause the computer to: encode an input sequence of data using an artificial neural network encoder to generate a plurality of input tokens; process the plurality of input tokens and a plurality of control tokens with a transformer encoder into a latent space to generate a plurality of control points; define a spline based on the plurality of control points; sample a plurality of interpolated control points based on the spline; and decode the interpolated control points with an artificial neural network decoder to generate an output sequence of data. || 20. A method for generating an output sequence of data utilizing a spline-based transformer, comprising: processing, via a processing element, a plurality of input tokens and a plurality of control tokens with a transformer encoder into a latent space to generate a plurality of control points; defining, via the processing element, a spline based on the plurality of control points; interpolating, via the processing element, a plurality of interpolated control points based on the spline; and decoding, via the processing element, the interpolated control points to generate the output sequence of data.