MOTION SYNTHESIS VIA DISENTANGLED REPRESENTATIONS WITH RESIDUAL VECTORQUANTIZED VARIATIONAL AUTOENCODERS
The described framework disentangles motion into modular, semantically meaningful components that can be independently manipulated and recombined. This framework can use multiple codebooks to disentangle the content in the motion capture data from a style of the motion capture data. For instance, a first codebook can include vectors used to identify the semantic content in received motion data (e.g., whether the person is walking or running) while a second codebook include vectors used to identify the style of the motion. The codebooks can be populated in a training process. The trained codebooks in a vector-quantized variational autoencoders (VQ-VAE) framework can then be used to perform style transfer.
This application claims benefit of U.S. provisional patent application Ser. No. 63/811,266 filed May 23, 2025, which is herein incorporated by reference in its entirety.
BACKGROUNDMotion capture and animation are time-consuming and often require significant manual effort to generate realistic and diverse movements. In many applications—ranging from character animation to predictive human modeling—there is high value in techniques that enable re-use, augmentation, and recombination of existing motion data.
SUMMARYOne embodiment herein is a method of performing style transfer. The method includes receiving first motion data containing content motion, where a user wants to add a style to the content motion, or replace the style of the content motion, in the first motion data with a style of second motion data; processing, using an encoder, first motion data to output a first vector sequence; matching each vector of the first vector sequence to a first latent code of a plurality of latent codes stored in a first codebook, generating a first latent code sequence where the first latent code sequence represents a content motion in the first motion data; processing, using the encoder, second motion data to output a second vector sequence; identifying a second latent code sequence based on the second vector sequence and a second codebook; combining the first latent code sequence corresponding to the first motion data and the second latent code sequence corresponding to the second motion data; and processing the combined first and second latent code sequences using a decoder to transfer the style in the second motion data to the content motion in the first motion data.
One embodiment herein is a motion generation framework that includes an encoder configured to receive motion data and output a first vector corresponding to the motion data. The framework is configured to match the first vector to a first latent code of a plurality of latent codes stored in a first codebook, identify a first residual by subtracting the first vector and the first latent code, match the first residual to a second latent code of a plurality of latent codes stored in a second codebook, and combine the first and the second latent codes. Moreover, the framework includes a decoder configured to receive the combined first and second latent codes as an input.
One embodiment herein is a method of training a motion generation network. The method includes passing received motion data through the motion generation network to obtain resulting motion and intermediate latent codes where the motion generation network comprises a plurality of codebooks and neural networks; computing losses based on the received motion data and the resulting motion, intermediate codes, and style labels, where the style labels indicate styles of the motion data; and updating the plurality of codebooks and neural networks in the motion generation network
So that the manner in which the above recited aspects are attained and can be understood in detail, a more particular description of embodiments described herein, briefly summarized above, may be had by reference to the appended drawings.
It is to be noted, however, that the appended drawings illustrate typical embodiments and are therefore not to be considered limiting; other equally effective embodiments are contemplated.
Generating realistic human motion is important in many contexts, such as animation, movies, television shows, and the like. However, humans move with many different styles and disentangling style from content of motion is a fundamental problem. As used herein, “content” refers to the category or type of motion made by the human (e.g., walking, running, jumping, dancing, etc.) while “style” refers to the different ways a human may perform a type of motion. For example, a person can walk like a zombie (where “walk” is the content and “like a zombie” is the style) or walk in a depressed manner (where “walk” is the content and “depressed” is the style) or run because she is scared (where “run” is the content and “scared” is the style) or run to get exercise (where “run” is the content and “for exercise” is the style).
The embodiments herein address recombination of existing motion data by introducing a new mix-and-match approach, enabling flexible composition of new movements through disentangled representational learning. Leveraging the hierarchical, coarse-to-fine structure of residual vector-quantized variational autoencoders (VQ-VAE), the described framework learns to disentangle motion into modular, semantically meaningful components that can be independently manipulated and recombined. This framework can use multiple codebooks to disentangle the content in the motion capture data from a style of the motion capture data. For instance, a first codebook can include vectors used to identify the semantic content in received motion data (e.g., whether the person is walking or running) while a second codebook include vectors used to identify the style of the motion. The codebooks can be populated in a training process.
The trained codebooks in the VQ-VAE framework can then be used to perform style transfer. Given a pair of motion clips, the VQ-VAE framework synthesizes new realistic and temporally coherent motions by selectively substituting the latent codes of one clip onto another. For example, a user may have a first motion clip where a person is walking while angry but wants motion data corresponding to a person walking in a happy mood. The user may have a second motion clip where a person is skipping in a happy mood. To transfer this “happy mood” style from the skipping motion to the walking motion, both of these motion clips can be input into the VQ-VAE framework. For the first motion clip, the VQ-VAE framework separates the style (i.e., “angry”) from the content (i.e. walking) of the first motion clip. Similarly, for the second motion clip, the VQ-VAE framework separates the style latent codes (i.e. “happy mood”) from the motion content latent codes (i.e. skipping). The content latent code(s) from the first motion clip and the style latent code(s) from the second motion clip can then be combined and passed through a decoder to output a motion clip of a person walking in a happy mood.
In another example, the VQ-VAE framework can learn a zombie style from a motion capture segment that shows a person walking like a zombie and then transfer (or apply) the zombie style to a person who is running. Thus, the embodiments herein can generate a motion segment of a person running like a zombie without having to actually ask an actor to perform the physical motion of running like a zombie, or derive the motion data from an animator.
In one embodiment, the VQ-VAE learns a representation that disentangles style from content using a training strategy that combines contrastive learning with codebook learning. Moreover, latent code swapping can be used for style transfer at inference time. This approach can use representation learning and therefore is simpler and easier to train compared to other methods which typically use adversarial training, cycle consistency, etc. Moreover, this approach enables real-time inference (outperforming diffusion-based methods) and enables automatic, high-quality dataset augmentation due to learned motion manifold structure and can easily switch between different styles.
The encoder 105 receives frames of the motion capture data and can output a series of data vectors for this motion sequence. The framework 100 then searches the codebook 110 to find a (series of or a sequence of) latent code(s) 115 (e.g., a resulting vector) that most closely matches the (series of or a sequence of) data vector(s) output by the encoder 105. The codebook 110 then outputs this latent code 115.
The codebook 110 can include hundreds or thousands of latent codes, which are generated when training the framework 100 (which is described in more detail in
The latent code 115 output by the codebook 110 represents the content of the motion of the particular frame of the motion data, but not the style of that motion. The latent code 115 can be referred to as a coarse output of the framework 100 that includes only the content motion, but no style.
This remaining portion of the vector data is then used to search the codebook 120 (a second codebook) to identify the closest matching latent code 125. The codebook 120 can include hundreds or thousands of latent codes that correspond to (or represent) different styles of motion. As such, the latent code 125 can be referred to as a fine output that represents the style of the motion but not the content of the motion.
The closest matching latent code 125 is then subtracted from the result of the previous subtraction operation.
This process can repeat where the difference between the latent code 125 and the output of the previous subtraction operation is used to index into another codebook (not shown) to identify the closest latent code 130. This can continue for any number of layers. The latent code 130 can also be a fine output because, like the latent code 125, it represents the style of the motion, but not the content of the motion.
Eventually, the latent codes identified by each of the codebooks (i.e., latent codes 115, 125, and 130) are summed into a single data vector and then passed to the decoder 135 to recreate the motion data.
When training the framework 100, the output of the decoder 135 can be compared to the input of the encoder 105 and then used to adjust the latent codes stored in the codebooks 110 and 120. Again, this is discussed in more detail in
The system 200 in
The upper and lower portions in
Turning to the upper portion first, the encoder 105A receives the first motion capture data with the intent to identify the content motion in this data. As explained above, the latent code 115 can be retrieved from a codebook (e.g., the codebook 110 in
Turning to the lower portion in
As explained above, the latent code 125 can be retrieved from a second codebook (e.g., the codebook 120 in
The latent code 115 identified by the upper portion and the latent code 125 identified by the lower portion are summed by an adder 210. That is, the content motion from the first motion capture data and the style motion from the second motion capture data are combined. These latent codes 115, 125 are then provided to the decoder 135 (which can be trained as explained in
At block 310, the encoder outputs a first vector sequence representing the first motion capture data.
At block 315, the VQ-VAE framework matches each vector of first vector sequence to a first latent code of a plurality of latent codes stored in a first codebook. The first codebook may have previously been trained to include latent codes that represent the content of the motion (e.g., latent codes corresponding to running, walking, dancing, etc.). Thus, the first latent code sequence identified at block 315 can be the latent code in the first codebook that most closely matches the content motion in the first motion capture data.
At block 320, the encoder in the VQ-VAE framework receives second motion capture data containing content motion and a style. This motion is intended for obtaining the style. In this example, the method 300 transfers the style motion from the second motion capture data to the motion content in the first motion capture data discussed at blocks 305-315.
At block 325, the encoder outputs a second vector sequence representing the second motion capture data.
At block 330, the VQ-VAE framework identifies a second latent code sequence using the second vector sequence and a second codebook. This is described in more detail in the sub-blocks in block 330.
At sub-block 335, the VQ-VAE framework matches each vector of the second vector sequence to a third latent code of the plurality of latent codes stored in the first codebook. That is, the framework performs the same action as performed at block 315 but instead uses the vector the encoder generated for the second motion capture data.
At sub-block 340, the VQ-VAE framework generates a first residual sequence by subtracting the second vector sequence and the third latent code sequence. Doing so removes the content motion from the second motion capture data.
At sub-block 345, the VQ-VAE framework matches the first residual sequence to the second latent code sequence of a plurality of latent codes stored in the second codebook. The second codebook was previously trained to include latent codes that represent different styles of motion (e.g., running scared, running happily, walking sadly, walking joyfully, etc.). Thus, the second latent code identified at sub-block 345 can be the latent code in the second codebook that most closely matches the style of the motion in the second motion capture data.
In one embodiment, block 305-315 of the method 300 can occur in parallel with block 320-345 using separate instances of VQ-VAE framework (e.g., two VQ-VAE frameworks). In another embodiment, a VQ-VAE framework may perform blocks 305-315 in a first execution and then perform blocks 320-345 in a second execution, or vice versa. At this point, there is no data dependency between blocks 305-315 and blocks 320-345 so they can be executed at any time and in a different order.
Further, while method 300 illustrates obtaining one latent code representing the content motion of the first motion capture data and one latent code representing the style motion of the second motion capture data, in other embodiments the method 300 obtains multiple content latent codes representing the content motion of the first motion capture data and multiple style latent codes representing the style motion of the second motion capture data.
At block 350, an adder or summation operation in the VQ-VAE framework combines the first latent code corresponding to the first motion capture data and the second latent code corresponding to the second motion capture data. That is, the first latent code is a content code that represents the content motion in the first motion capture data (but not the style of that motion) while the second latent code is a style code that represents the style of the motion in the second motion capture data (but not the content motion).
At block 355, a decoder in the VQ-VAE framework processes the combined first and second latent codes to output third motion capture data. This motion capture data has the content motion from the first motion capture data but the style motion from the second motion capture data, thereby completing the style transfer process.
In one embodiment, interpolating between content motion and stylized motion is enabled by scaling the style latent codes prior to summation at block 350.
In one embodiment, the method 300 can be used to perform style transition where a clip can transition between two different styles (e.g., walking angrily to walking happily). Given a content motion, the method can transition between various styles by concatenating style codes from different style clips along the time dimension before decoding at block 355. Concatenating latent codes for the style enables generating long motion sequences and switching between multiple styles.
In another embodiment, the method 300 can be used to perform style inversion. Assuming the method 300 generated multiple style latent codes using multiple codebooks, instead of adding these style codes before performing block 355, the framework can subtract these codes to effectively invert the style of the input motion. For instance, inverting an arms folded style results in the arms being spread apart.
In addition, the embodiments herein can be used to perform motion blending. The framework can smoothly stitch two motion clips by concatenating the latent codes of the two clips together and decoding the result. The final output seamlessly blends the motions of two (or more) motion clips without discontinuities and eliminates the need for manually designed blend functions.
At block 405, the system receives motion data.
At block 410, the system passes the motion data through the VQ-VAE framework (e.g., the framework illustrated in
As mentioned above, the system captures a type of motion in the first codebook by populating the first codebook with a first plurality of latent codes representing content motion. That is, using labeled motion capture data, the system can identify and store latent codes in the first codebook that represent different content motions (e.g., running, walking, skipping, etc.).
At block 415, the system receives motion style labels for the motion data received at block 405. That is, the labels can indicate the style of the motion data, as discussed above.
At block 420, the system computes losses based on the initial and resulting motions, intermediate codes, and the style labels received at block 415. The initial motion refers to the motion data received at block 405, and the resulting motion is the output of full pipeline of VQ-VAE framework (e.g., the framework in
In one embodiment, to train the motion embedding, a weighted reconstruction loss on the data is used:
-
- where w is a weighting vector applied element-wise to the signal to emphasize specific motion features. M is the original motion, and M′ is the output of the decoder.
To prevent error accumulation along the kinematic chain, a forward kinematics (FK) loss can be employed:
-
- where pg are ground truth global positions and pg′=FK (M′), where FK (⋅) refers to forward kinematic operation on joint orientations in M′.
To ensure temporal consistency in the generated motion, velocity loss, Lvel, is defined as the mean squared error in the velocities of the generated motion as follows:
-
- where {dot over (p)}g and {dot over (p)}g′ are velocities calculated via finite differences. To regularize the motion, very high accelerations in the output motion can be penalized via the acceleration loss:
-
- where
refers to the activation of pg′ obtained by finite differences.
To train the codebooks Bi, in one embodiment commitment loss can be used:
-
- where sg( ) is the stop gradient operator.
In one embodiment, instead of using the VQ-objective loss, an Exponential Moving Average (EMA) update is employed, which improves the robustness of codebook training. Moreover, a code reset is also done for codes that are un-used during training to encourage more uniform usage of the codes in the codebook.
At block 425, the system updates the codebooks and neural networks using EMA and backpropagation.
While RVQ-VAE provides a basic separation of style and content through reconstruction objectives, it may not achieve a sufficiently robust disentanglement on its own. To enhance the separation, contrastive learning can be incorporated, which contrasts the residuals of the motion embeddings according to style labels.
As discussed above, the initial codebooks are trained to capture the content, while applying contrastive learning only to the embeddings deeper in the residual hierarchy, which are intended to encode the style. A Multi-Pos contrastive loss from can be used to contrast all pairs of positive and negative samples from each other within a batch based on the style labels. As an example, consider an anchor sample a and all other candidates from the batch {b1, b2, . . . , bx}, the multi positive contrastive loss is given by the cross entropy between the constructed distribution of how likely a is to match each b and ground truth.
Advantageously, this process applies contrastive loss directly to the residual embeddings, e.g., after quantization. Doing so enables backpropagation to update the codes in the latest codebook, without explicitly affecting the gradients of the earlier stages in the pipeline. This is particularly advantageous for performing method 300, since the style-related contrasts should not affect the initial codebooks which are intended to encode content. To achieve this, the gradients of the forward path can be computed using a straight-through method.
Contrastive loss is capable of updating the codebook via backpropagation. However, EMA is typically performed in the forward step and prior to backpropagation. To account for the contrastive updates in EMA, in one embodiment, the EMA update is performed after the backpropagation step. Thus, EMA can be viewed as a second step of gradient decent with a different objective.
The contrastive loss on style labels enables disentanglement of different styles in the residual codebooks. However, style information can still be stored in the content codebook. Incorporating a similar content contrastive loss for the content codebooks may be difficult as semantic rich content labels are not always available. Instead, in one embodiment the model is restricted from inferring style labels from the content codebooks. This can be achieved using a mutual information loss. However, instead of maximizing the mutual information between some labels and an embedding, the embodiments here may minimize the mutual information between the selected content codes and style labels. This helps to ensure that no style is leaked in the content embeddings in the first codebook(s).
At block 430, the method 400 can repeat until convergence. After learning a quantized motion representation that effectively disentangles style and content into separate codebooks as described above in method 400, the style transfer tasks can be performed at inference time as described in
In one embodiment, the trained framework also exhibits disentanglement for styles that were unseen during training. That is, the techniques above can be used to perform style transfer using a clip of motion capture data that has a style that was not used during the training process.
Moreover, given the residual structure of the embeddings, the content of a motion clip can be readily extracted by decoding using only the content codebooks while discarding the subsequent residual layers. That is, instead of transferring one style to a different style, the embodiments herein can be used to remove a style from a clip of motion capture data. For example, if the clip illustrates a person walking angrily, the upper half of
The embodiments herein can also be used for new data augmentation techniques. To perform content interpolation, the framework can interpolate between content codes (e.g., the latent codes that represent content motion) to result in interpolated latent codes. Interpolating content codes between two different motion clips results in a valid motion with different content. This technique can be used to enhance the diversity of motion trajectories in the dataset. Interpolating between two content codes results in a trajectory effectively averages the original trajectories to generate average trajectories for the two motion slips. This approach can reliably introduce new turns and sequences of actions in the motion data that were not present in the original dataset.
As mentioned above, the framework can generate smooth transitions between styles of different reference clips. Even in the absence of a style clip, we can apply multiple styles to a content clip by replacing its style codes with different codes randomly selected from our residual codebooks to perform random style selection. The resulting motion remains smooth while exhibiting multiple styles, enabling natural style transitions that are absent in the original dataset.
Content interpolation and random style selection are orthogonal and can be easily combined to increase both trajectory diversity and style transition variety in the dataset.
As illustrated, the computing device 600 includes a CPU 605 (one or more processors), memory 610 (or memories), storage 615, a network interface 625, and one or more input/output (I/O) interfaces 620. In the illustrated embodiment, the CPU 605 retrieves and executes programming instructions stored in memory 610, as well as stores and retrieves application data residing in storage 615. The CPU 605 is generally representative of a single CPU and/or GPU, multiple CPUs and/or GPUs, a single CPU and/or GPU having multiple processing cores, and the like. The memory 610 is generally included to be representative of a random access memory. Storage 615 may be any combination of disk drives, flash-based storage devices, and the like, and may include fixed and/or removable storage devices, such as fixed disk drives, removable memory cards, caches, optical storage, network attached storage (NAS), or storage area networks (SAN).
In some embodiments, I/O devices 635 (such as keyboards, monitors, etc.) are connected via the I/O interface(s) 620. Further, via the network interface 625, the computing device 600 can be communicatively coupled with one or more other devices and components (e.g., via a network, which may include the Internet, local network(s), and the like). As illustrated, the CPU 605, memory 610, storage 615, network interface(s) 625, and I/O interface(s) 620 are communicatively coupled by one or more buses 630.
The memory 610 can include software programs or application for implementing or training a VQ-VAE framework (e.g., the frameworks discussed in
In the current disclosure, reference is made to various embodiments. However, it should be understood that the present disclosure is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice the teachings provided herein. Additionally, when elements of the embodiments are described in the form of “at least one of A and B,” it will be understood that embodiments including element A exclusively, including element B exclusively, and including element A and B are each contemplated. Furthermore, although some embodiments may achieve advantages over other possible solutions or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the present disclosure. Thus, the aspects, features, embodiments and advantages disclosed herein are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to “the invention” shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s).
As will be appreciated by one skilled in the art, embodiments described herein may be embodied as a system, method or computer program product. Accordingly, embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, embodiments described herein may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present disclosure are described herein with reference to flowchart illustrations or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations or block diagrams, and combinations of blocks in the flowchart illustrations or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block(s) of the flowchart illustrations or block diagrams.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other device to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the block(s) of the flowchart illustrations or block diagrams.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device provide processes for implementing the functions/acts specified in the block(s) of the flowchart illustrations or block diagrams.
The flowchart illustrations and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart illustrations or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order or out of order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
Claims
1. A method of performing style transfer, comprising:
- receiving first motion data containing content motion, where a user wants to add a style to the content motion, or replace the style of the content motion, in the first motion data with a style of second motion data;
- processing, using an encoder, first motion data to output a first vector sequence;
- matching each vector of the first vector sequence to a first latent code of a plurality of latent codes stored in a first codebook, generating a first latent code sequence, wherein the first latent code sequence represents a content motion in the first motion data;
- processing, using the encoder, second motion data to output a second vector sequence;
- identifying a second latent code sequence based on the second vector sequence and a second codebook;
- combining the first latent code sequence corresponding to the first motion data and the second latent code sequence corresponding to the second motion data; and
- processing the combined first and second latent code sequences using a decoder to transfer the style in the second motion data to the content motion in the first motion data.
2. The method of claim 1, wherein identifying the second latent code sequence comprises:
- matching each vector of the second vector sequence to generate a third latent code sequence using the plurality of latent codes stored in the first codebook, wherein the third latent code sequence represents a content motion in the second motion data;
- generating a first residual sequence by subtracting the second vector sequence and the third latent code sequence; and
- matching each vector of the first residual sequence to generate the second latent code sequence using the plurality of latent codes stored in the second codebook, wherein the second latent code sequence represents a style motion in the second motion data.
3. The method of claim 2, further comprising:
- identifying a second residual sequence by subtracting the second latent code sequence and the third latent code sequence; and
- matching the second residual sequence to generate a fourth latent code sequence using a plurality of latent codes stored in a third codebook,
- wherein the decoder uses the fourth latent code sequence in addition to the first and second latent code sequences to transfer the style motion in the second motion data to the content motion in the first motion data.
4. The method of claim 3, wherein the third latent code sequence represents a content motion of the second motion data, wherein the third latent code sequence is not input into the decoder.
5. The method of claim 4, wherein the second latent code sequence is a fine output that represents the style of the motion in the second motion data but does not represent the content in the second motion data.
6. The method of claim 5, wherein the fourth latent code sequence represents the fine output of the second motion data has been added to the second latent code sequence.
7. The method of claim 2, further comprising:
- subtracting the second and fourth latent code sequence from the third latent code sequence to generate a resulting vector that inverts the style motion of the second motion data,
- wherein the decoder uses the resulting vector to transfer an inverse of the style motion in the second motion data to the content motion in the first motion data.
8. The method of claim 1, wherein the first latent code sequence represents the content motion performed in the first motion data but does not represent a style of the motion in the first motion data.
9. The method of claim 8, wherein the first latent code sequence represents a coarse output where the style of the motion in the first motion data has been removed.
10. The method of claim 1, further comprising, before processing the combined first and second latent code sequences:
- concatenating latent codes representing style motion in third motion data to the second latent code sequence,
- wherein, after processing the concatenating latent codes and combining them with the first latent code sequence then using the decoder to generate resulting motion data, the resulting motion data transitions between the style motion in the second motion data and the style motion in the third motion data.
11. The method of claim 1, further comprising, before processing the combined first and second latent code sequences:
- generating a plurality of latent codes using third and fourth motion data; and
- combining the first and second latent code sequences with the plurality of latent codes,
- wherein the decoder processes the combined first and second latent code sequences and plurality of latent codes to generate fifth motion data that blends two motion clips.
12. The method of claim 1, further comprising:
- interpolating the first latent code sequence and the second latent code sequence to generate interpolated latent codes that average trajectories in the first and second motion data; and
- decoding the interpolated latent codes to generate third motion data containing new actions not found in the first and second motion data.
13. The method of claim 1, further comprising:
- randomly selecting a latent code from a third codebook,
- wherein the decoder uses the randomly selected latent code in addition to the first and second latent code sequences to transfer the style motion in the second motion data to the content motion in the first motion data.
14. A motion generation framework comprising:
- an encoder configured to receive motion data and output a first vector corresponding to the motion data, wherein the motion generation framework is configured to: match the first vector to a first latent code of a plurality of latent codes stored in a first codebook, identify a first residual by subtracting the first vector and the first latent code; match the first residual to a second latent code of a plurality of latent codes stored in a second codebook, combine the first and the second latent codes; and
- a decoder configured to receive the combined first and second latent codes as an input.
15. The motion generation framework of claim 14, wherein the framework is configured to:
- identify a second residual by subtracting the first residual and the second latent code; and
- match the second residual to a third latent code of a plurality of latent codes stored in a third codebook,
- wherein combing the second and the third latent codes comprises combining the first, second, and third latent codes to use as an input to the decoder.
16. The motion generation framework of claim 15, wherein the first latent code is a coarse output of the framework that represents content motion performed in the motion data.
17. The motion generation framework of claim 16, wherein the second latent code is a fine output of the framework that represents a style of the motion performed in the motion data.
18. The motion generation framework of claim 17, wherein identifying the first and second latent codes disentangles the style from the content motion in the motion data such that the first latent code does not represent the style of the motion data and the second latent code does not represent the content motion of the motion data.
19. The motion generation framework of claim 14, wherein the framework is configured to:
- identify a second residual by subtracting the first latent code and the second latent code, wherein the second latent code is a fine output of the framework that represents a style of the motion performed in the motion data but does not represent content motion of the motion data; and
- match the second residual to a third latent code of a plurality of latent codes stored in a third codebook,
- wherein the decoder is configured to receive the combination of first, second, and third latent codes as input.
20. A method of training a motion generation network, the method comprising:
- passing received motion data through the motion generation network to obtain resulting motion and intermediate latent codes, wherein the motion generation network comprises a plurality of codebooks and neural networks;
- computing losses based on the received motion data and the resulting motion, intermediate codes, and style labels, where the style labels indicate styles of the motion data; and
- updating the plurality of codebooks and neural networks in the motion generation network.
Type: Application
Filed: Nov 26, 2025
Publication Date: Nov 26, 2026
Inventors: Fatemeh ZARGARBASHI (Zürich), Dhruv AGRAWAL (Zürich), Jakob Joachim BUHMANN (Zürich), Martin GUAY (Unterengstringen), Stelian COROS (Zürich), Robert W. SUMNER (Zurich)
Application Number: 19/401,731