Pose Prediction Using Recurrent Neural Networks

By using a recurrent neural network in a VR/AR system to generate user head posture prediction, the problem of large prediction errors in the existing technology is solved, and the accuracy of posture prediction and user experience are improved.

CN111766948BActive Publication Date: 2024-10-15GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010626333.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-08-20
Filing Date
2020-07-02
Publication Date
2024-10-15
Estimated Expiration
2040-08-17

AI Technical Summary

Technical Problem

Existing virtual reality (VR) and augmented reality (AR) systems have delays in predicting user movements, resulting in reduced accuracy of posture prediction and affecting user experience.

Method used

A Recurrent Neural Network (RNN) is used to generate predictions of the user's head posture. By receiving historical posture data and utilizing multiple neurons and fully connected layers, it generates posture predictions for the upcoming time period and reduces prediction errors.

Benefits of technology

It improves the accuracy of user head pose prediction, reduces perceived latency, and improves content rendering consistency in VR/AR experiences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111766948B_ABST
    Figure CN111766948B_ABST
Patent Text Reader

Abstract

The present disclosure relates to posture prediction using recurrent neural networks. Systems, methods, and computer program products are described for receiving a request for a head posture prediction for an augmented reality experience, identifying at least one position indicator and at least one rotation indicator associated with the augmented reality experience, and providing the at least one position indicator and the at least one rotation indicator to a recurrent neural network (RNN) comprising a plurality of neurons. The RNN may include a plurality of recursive steps, each recursive step including at least one of the plurality of neurons and at least one fully connected (FC) layer. The RNN may be used to generate at least one posture prediction corresponding to a change in head posture for the augmented reality experience for at least one upcoming time period, provide the at least one posture prediction, and trigger display of augmented reality content based on the at least one posture prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to virtual reality (VR) and / or augmented reality (AR) experiences and / or mixed reality (MR), and predicting gestures associated with users accessing such experiences. Background Art

[0002] In an immersive experience, such as that generated by a virtual reality (VR) system or an augmented reality (AR) system, tracking can provide insight into the future movement of the user while in the VR / AR experience. Tracking can be supplemented by predictions of where the user may move next. When VR / AR content is tracked and / or rendered remotely, such as on a base station in the same location as a VR / AR enabled device, latency may be introduced in the round-trip time from the device to the rendering server and back to the device. The introduced latency may result in errors in the accuracy of predicting the user's movement. Summary of the invention

[0003] A system of one or more computers may be configured to perform specific operations or actions by means of having software, firmware, hardware, or a combination thereof installed on the system, which in operation causes the system to perform actions. One or more computer programs may be configured to perform specific operations or actions by means of including instructions that, when executed by a data processing device, cause the device to perform actions.

[0004] In one general aspect, a computer-implemented method is described. The computer-implemented method includes: receiving a request for a head pose prediction for an augmented reality experience; identifying at least one position indicator and at least one rotation indicator associated with the augmented reality experience; and providing the at least one position indicator and the at least one rotation indicator to a recurrent neural network (RNN) including a plurality of neurons. The RNN may include a plurality of recurrent steps, each recurrent step including at least one neuron from a plurality of neurons and at least one fully connected (FC) layer. At least some of the plurality of neurons may be associated with historical time periods. The computer-implemented method may also include: using the RNN to generate at least one pose prediction corresponding to a change in head pose for the augmented reality experience for at least one upcoming time period; and providing the at least one pose prediction in response to the request and triggering display of augmented reality content in the augmented reality experience based on the at least one pose prediction.

[0005] Particular embodiments of the computer-implemented method may include any or all of the following features. The at least one position indicator may be a three-dimensional head position vector, and the at least one rotation indicator may be a four-dimensional quaternion. In some embodiments, the at least one rotation indicator includes yaw, pitch, and roll. In some embodiments, the at least one rotation indicator may be a three-dimensional vector having a magnitude representing the amount of rotation and a direction representing the axis of rotation.

[0006] In some embodiments, the RNN is configured to generate additional candidate predictions based on at least one pose prediction and determine a mean square error for each additional candidate prediction, the mean square error indicating whether to discard the corresponding additional head pose prediction. In some embodiments, the RNN is configured to recursively determine additional predictions for head pose changes in additional upcoming time periods.

[0007] In some implementations, receiving a request for a head pose prediction includes receiving historical head pose data from a client device over a network. In some implementations, providing at least one pose prediction for a head pose change includes providing rendered content in an augmented reality experience to the client device over a network based on at least one pose prediction for a head pose change.

[0008] In another general aspect, a computer-implemented method for predicting a pose in a virtual reality environment includes: obtaining historical pose data corresponding to user movements in the virtual reality environment; generating a first historical vector sequence including pose features determined from the historical pose data; and executing a recurrent neural network (RNN) using the first historical vector sequence to determine a first pose prediction for an upcoming time period. The RNN may include a plurality of long short-term memory (LSTM) neurons and at least one fully connected neural network layer. The computer-implemented method may further include: generating a first pose prediction for an upcoming time period using the RNN and the first historical vector sequence; and recursively generating a plurality of additional pose predictions for subsequent time periods using the RNN in response to receiving the first pose prediction and a state of at least one of the plurality of LSTM neurons.

[0009] Particular embodiments of the computer-implemented method may include any or all of the following features. For example, historical gesture data corresponding to user movement in the virtual reality environment may include velocity or acceleration measurements associated with the user movement. In some embodiments, the method may further include determining a location at which to display virtual reality content based on additional gesture predictions for a corresponding time period beyond the upcoming time period and triggering rendering of the virtual reality content for display in the virtual reality environment.

[0010] In some embodiments, the first sequence of history vectors represents an input to the RNN normalized based at least in part on the calculated mean and the calculated variance value, and the first pose prediction and the plurality of additional pose predictions are denormalized based on the calculated mean and the calculated variance value before determining the location at which to display the virtual reality content. In some embodiments, a state of each of the plurality of LSTM neurons is provided as an input to the RNN along with the next sequence pose prediction, and the plurality of additional pose predictions are based at least in part on the state of each of the plurality of LSTM neurons.

[0011] In some embodiments, the RNN is trained on a database of known pose sequences, and the historical pose data is sequence pose data associated with a mobile device executing a virtual reality application. In some embodiments, the RNN is configured to determine an error function that defines a mean absolute error, a smoothness cost, and a pose variation cost for each of a plurality of additional pose predictions.

[0012] In some embodiments, the error function is determined based on detected angular errors or detected eye position errors associated with one or more of the plurality of additional pose predictions. In some embodiments, the error function represents a weighted error based on a portion of the plurality of additional pose predictions.

[0013] In another general aspect, a computer program product, tangibly embodied on a non-transitory computer-readable medium and comprising instructions, which when executed, are configured to cause at least one processor to receive a request for a pose prediction for an augmented reality experience, identify at least one position indicator and at least one rotation indicator associated with the augmented reality experience, and provide the at least one position indicator and at least one rotation indicator to a recurrent neural network (RNN) comprising a plurality of neurons, the RNN comprising a plurality of recursive steps, each recursive step comprising at least one neuron of the plurality of neurons and at least one fully connected (FC) layer, at least some of the plurality of neurons being associated with historical time periods. The method may also include: using the RNN to generate at least one pose prediction corresponding to a pose change for the augmented reality experience for at least one upcoming time period, and providing the at least one pose prediction in response to the request and emitting a display of augmented reality content in the augmented reality experience based on the at least one pose prediction.

[0014] Particular embodiments of the computer-implemented method may include any or all of the following features. For example, the RNN may be configured to generate additional candidate predictions based on at least one prediction, and determine a mean square error for each of the additional candidate predictions. The mean square error may indicate whether to discard the corresponding additional pose prediction.

[0015] In some embodiments, at least one rotation indicator comprises a three-dimensional vector having a magnitude representing the amount of rotation and a direction representing the axis of rotation. In some embodiments, at least one position indicator is a three-dimensional head position vector and at least one rotation indicator is a four-dimensional quaternion.

[0016] In some embodiments, the plurality of neurons are long short-term memory (LSTM) neurons, and the RNN is configured to recursively determine additional predictions for posture changes in additional upcoming time periods. In some embodiments, the RNN is configured to, for each of a plurality of time steps in the upcoming time period, encode as input a corresponding LSTM neuron in the plurality of LSTM neurons corresponding to the corresponding time step in the upcoming time period.

[0017] Implementations of the described techniques may include hardware, methods or processes, or computer software on a computer-accessible medium.

[0018] The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is an example graphic depicting a continuous stream of gesture data experienced by a user accessing a virtual reality (VR), augmented reality (AR), or mixed reality (MR) environment according to implementations described herein.

[0020] Figure 2 is a block diagram of an exemplary head pose prediction system for providing VR and / or AR and / or MR experiences according to implementations described herein.

[0021] FIG. 3A to FIG. 3B is an example diagram illustrating a recurrent neural network according to implementations described herein.

[0022] Figure 4 is an example model architecture for a head pose prediction system according to an implementation described herein.

[0023] Figure 5 is a description of the use of the embodiments described herein Figure 4 An example graph of sequence sample selection during inference for the .

[0024] Figure 6 is a diagram depicting an embodiment according to the present invention. Figure 4 An example graph of random sample selection during training of the model.

[0025] Figure 7 is an example model architecture for a head pose prediction system according to an implementation described herein.

[0026] Figure 8 is a description of the use of the embodiments described herein Figure 7 Example graph of sequence sample selection during training while propagating previous states.

[0027] Fig. 9 is a description of the use of the embodiments described herein Figure 7 Example graph of sequential sample selection during inference while propagating previous states.

[0028] Fig.10 is a flow chart illustrating an implementation of a process for providing content in an AR or VR experience based on predicted head pose according to implementations described herein.

[0029] Fig.11 is a flow chart of an implementation of a process for predicting head pose to provide an AR or VR or MR experience according to embodiments described herein.

[0030] Fig.12 The illustrations illustrate examples of computer devices and mobile computer devices that may be used with the implementations described herein.

[0031] The use of similar or identical reference numbers in the various drawings is intended to indicate the presence of a similar or identical element or feature. DETAILED DESCRIPTION

[0032] This document describes example systems and techniques for predicting gestures associated with users accessing a virtual reality (VR) experience or an augmented reality (AR) experience. In particular, the systems and techniques described herein can use machine learning to model head gesture data (e.g., sequence head gesture changes), mobile device gesture data, hand gesture data, or other gesture data to improve the accuracy of predicted gestures for an upcoming time period (e.g., a period of time in the future). In the examples described throughout this document, a specific recurrent neural network (RNN) can be used to model and predict gestures with improved accuracy for AR / VR applications. Improved accuracy can be achieved by using an RNN to reduce prediction errors about a user's changing head position, hand position, device position, etc. and evaluating corresponding gestures in specific time intervals.

[0033] Because VR / AR applications are interactive, what the user sees can change in response to a certain posture associated with the user (i.e., translation and rotation of the user's head or a mobile device held by the user, etc.). The time between the movement of the user's head and the device to the time when the corresponding AR / VR content is rendered is defined as the motion-to-photon (MTP) delay. The MTP delay may include any number of MTP intervals. The MTP interval may be defined by any number of time events, including but not limited to head posture readout time, content rendering time, display / rendering time, transmission time, and / or other times associated with processing activities. Due to the MTP delay, the head posture (usually posture) detected by the system and the actual head posture of the user at the display time may not match. The mismatch can result in a perceived lag in depicting content, incorrectly rendered content, and / or simulator discomfort for users accessing VR / AR applications.

[0034] The systems and techniques described herein can provide the advantages of improved accuracy and reduced perception errors by predicting head poses, device poses, hand poses, etc. in future MTP time intervals. In particular, the improved head pose prediction algorithm described herein can improve the accuracy of applications with delays of about 30 to about 150 milliseconds. In some implementations, the improved pose prediction algorithm described herein can reduce overshoots of predicted head pose values ​​and / or undershoots of predicted head pose values, each of which can result in rendering content at the wrong location and / or time.

[0035] In conventional head posture prediction, a constant velocity model can be used to predict head posture. For example, linear velocity can be used for position coordinates and angular velocity can be used for rotation coordinates to update future head posture based on velocity and delay time. As the delay value increases, such techniques may suffer from low accuracy. In addition, in VR head-mounted devices, visual information is usually displayed based on the user's head position and orientation (e.g., head posture) in space. However, there is a time delay between the moment when the user moves his head and the time when the visual data is rendered on the screen of the device (e.g., VR head-mounted device, mobile device, etc.). This delay can be caused by different factors, including but not limited to inertial measurement unit (IMU) readout time, 6DoF tracking time, content rendering time, display scanning time, etc. In addition, in conventional VR / AR systems that are rendered on head-mounted devices (or on devices tied to head-mounted devices), this delay is typically about 20 milliseconds or less. Although the reduction of the delay time itself can be limited, the technology described herein can reduce the amount of perceived delay by predicting what the user's head posture will be at or near the actual display time.

[0036] The systems and techniques described herein can use the user's past head posture measurements to predict what the user's head posture will be in a given time interval in the future. For example, the systems and techniques described herein can use a recurrent neural network (RNN) to model sequence data (e.g., sequence changes in head posture). This sequence data can be used to predict the user's head posture for an upcoming time period. To do this, the systems and techniques described herein can use RNN-based neural network neurons (such as long short-term memory (LSTM) architectures and gated recurrent unit (GRU) architectures) to reduce vanishing gradients while predicting a given amount of head posture in the future. RNNs can be trained (e.g., modeled and trained) to learn the dynamic characteristics of the head movements of users accessing a specific VR / AR system. The trained RNN model can be used to predict the head posture when a specific AR / VR content is rendered for display to the user. As described in detail below, two architectures for predicting head postures in the future will be described.

[0037] Figure 1 is an example graph 100 depicting a continuous stream of pose data 102 experienced by a user accessing a virtual reality (VR) or augmented reality (AR) environment according to implementations described herein. The systems described herein may define a head pose (p) as a 7-dimensional vector that is the concatenation of: a 3-dimensional head position vector:

[0038] u=[u x, u y ,u z ] [1]

[0039] and 4D quaternions:

[0040] q=[q x ,q y ,q z ,q w ] [2].

[0041] Although the attitude vector has six degrees of freedom, due to the quaternion representation of rotation, the attitude vector is represented by a 7-dimensional vector that includes one redundant dimension. In some implementations and for any given orientation, there are two quaternions Q and -Q representing the orientation. For mean square error (MSE) loss evaluation and model training / inference, as described throughout this disclosure, a consistent (i.e., continuous) quaternion representation is used to ensure that the system avoids large changes in the quaternion representation between consecutive samples. In the examples described herein, the origin of the coordinate system is located at the IMU of the device providing VR / AR content, yaw is a rotation about Y (e.g., y-axis), pitch is a rotation about X (e.g., x-axis), and roll is a rotation about Z (e.g., z-axis).

[0042] The continuous pose data stream 102 includes a window 104 of (H) previous samples of head pose (e.g., historical pose data). Based on the (H) previous samples of head pose, the next (K) head poses 106 are predicted at a time indicated by a pose predictor algorithm 108. In particular, the systems and techniques described herein can predict the head pose 106 before the (K) head poses occur. For clarity purposes, the set of input (H) poses is represented as:

[0043] S input ={x1, x2, ..., x H} [3]

[0044] And the set of (K) ground truth states is predicted as:

[0045] S output ={y1, y2, ..., y K} [4]

[0046] In general, the posture predictor algorithm 108 can represent any or all of the following algorithms, alone or in combination. As used herein, the term "head posture" can represent the position and / or orientation of the user's head in the world space. As used herein, the term "world space" refers to the physical space in which the user lives. The systems and techniques described herein can utilize world space to generate and track the correspondence between the physical space and the virtual space in which visual content (e.g., AR content, MR content, etc.) is modeled and displayed. As used herein, MTP latency represents the time for user movement to be fully reflected on the display screen. For example, if the time to reflect the user movement on the screen of the VR head-mounted device used by the user when the user performs the movement is 100 milliseconds, the MTP latency is 100 milliseconds.

[0047] In some implementations, the implementations described herein can be used in non-VR environments and non-AR environments. For example, any electronic device or tracking system that utilizes 6-DoF pose tracking can utilize the RNN prediction techniques and networks described herein. For example, a user walking around with a mobile device that captures content with at least one camera can be tracked, for example, via a mobile device IMU. Tracking can be used as a historical sequence of poses or movements that can enable predictive display of content for the user.

[0048] Figure 2is a block diagram of an example head pose prediction system 200 according to implementations described herein. The system 200 can predict the head pose of a user accessing an electronic device, such as an AR / VR enabled device 202. As used herein, pose can refer to position, orientation, or both. The head pose prediction system 200 can provide the electronic device 202 with head pose tracking and predictions of a user moving and operating the electronic device 202 while, for example, accessing VR, AR, and / or MR content in world space.

[0049] The AR / VR device 202 is an example electronic device capable of generating a virtual reality (VR), augmented reality (AR), and / or mixed reality (MR) environment and providing head pose prediction in order to appropriately render virtual content. For example, the device 202 can be used in a world space by a user accessing content (e.g., AR / VR / MR content) provided from a computing device 204 (e.g., a server or other device) via a network 205. Accessing content with the AR / VR device 202 can include generating, modifying, moving, and / or selecting VR, AR, and / or MR content from the computing device 204, from local storage on the AR / VR device 202, or from another device (not shown) connected to the network 205 or capable of accessing the network 205.

[0050] like Figure 2 As shown in , the AR / VR device 202 includes a user interface system 206. The user interface system 206 includes at least an output device 208 and an input device 210. The output device 208 may include, for example, a display for visual output, a speaker for audio output, etc. The input device 210 may include, for example, a touch input device capable of receiving tactile user input, a hand controller, a mobile device, a microphone capable of receiving auditory user input, etc.

[0051] The AR / VR device 202 may also include any number of sensors and / or devices. For example, the AR / VR device 202 includes a tracking system 212. The system 212 may include (or be able to access) for example, a light sensor, an inertial measurement unit (IMU) sensor 214, an audio sensor 216, an image sensor 218, a head posture detector 220, a normalizer 221, a camera 222, a distance / proximity sensor (not shown), a position sensor (not shown), and / or other sensors and / or different combinations of sensors. Some of the sensors accessed by the system 212 may provide position detection and tracking of the AR / VR device 202. Some of the sensors of the system 212 may provide capture of images of the physical environment for display on components of the user interface system 206.

[0052] The IMU sensor 214 may be used to detect or measure angular velocity and linear acceleration for the AR / VR device 202 or for the VR / AR peripheral device 248. The system 200 may then calculate and / or estimate the 3D orientation in the 3D space based on the measurements obtained by the IMU sensor 214. The IMU sensor 214 may include one or more accelerometers, gyroscopes, magnetometers, and other such sensors. Typically, for example, the IMU sensor 214 may detect the motion, movement, speed, and / or acceleration of the AR / VR device 202. In some implementations, for example, a posture (e.g., head posture) associated with a user using the AR / VR device 202 may be detected and / or estimated based on data provided by the IMU sensor 214 and / or the head posture detector 220. For example, based on the estimated posture, the system 200 may update the content depicted on the screen of the AR / VR device 202 to reflect the changing posture of the AR / VR device 202 as the device moves. In some implementations, for example, the estimated pose can be combined with algorithms and other data to predict future poses and / or head poses using head pose prediction system 224 .

[0053] The image sensor 218 can detect changes in background data associated with camera capture. The camera 222 can include a rear capture mode and a front capture mode. In some implementations, the camera 22 can alternatively include a single camera, as in a mobile device / smartphone. The front capture mode can capture the user including any background scene. The system 200 can be used to detect changes in posture as the user moves with the AR / VR device 202 and appropriately depict the AR / VR content in positions corresponding to these posture changes.

[0054] The AR / VR device 202 may also include a head pose prediction system 224. The system 224 may include (or have access to) one or more recurrent neural networks (RNNs) 226, prediction algorithms 228, including but not limited to encoder / decoder models 230 and state propagation models 232.

[0055] The RNN 226 can utilize internal state (e.g., memory) to process input sequences, such as sequences in which a user moves and changes head pose while in an AR / VR experience. In some implementations, the RNN 226 can be a finite pulse recurrent network or an infinite pulse recurrent network. In some implementations, the RNN 226 can be a deep RNN with multiple layers. The RNN 226 can include one or more of an LSMT architecture 234 or a GRU architecture 236. In some implementations, the system 200 can use both architectures 234 and 236 based on determining which architecture reduces error and / or latency. The prediction algorithm 228 can include an encoder / decoder model 230 and a state propagation model 232, each of which is described in the following Figures 4 to 10 A detailed description is given in .

[0056] Neural network 226 may include a detector that operates on the image to calculate, for example, a head pose position to model the predicted position of the head when the head moves in world space. In addition, neural network 226 may operate to calculate the head pose position for several time steps in the future.

[0057] The AR / VR device 202 may also include a control system 240. The control system 240 may include, for example, a power control device, an audio and video control device, an optical control device, and / or other such devices and / or different combinations of devices.

[0058] Depending on the specific implementation, each of the systems 206, 212, 224, and 240 may include more or fewer devices. The AR / VR device 202 may also include one or more processors (e.g., a CPU / GPU 242 that communicates with the user interface system 206, the systems 212 and 228, the control system 240, the memory 244, the camera 222, and the communication module 246). The communication module 246 may provide communication between the AR / VR device 202 and other external devices. The processor 242 is configured to execute instructions (e.g., a computer program) to perform specific tasks. In some implementations, at least one of the processors 242 executes instructions to identify (e.g., predict) a head posture associated with the user and / or the AR / VR device based on data determined from the head posture prediction system 224 and the tracking system 212. The memory 244 may be utilized throughout the communication and interaction between the elements in the system 200.

[0059] Additionally, the AR / VR device 202 may use or have access to one or more VR / AR / MR peripherals 248. Example peripherals 248 may include any number of controllers, computing devices, head mounted display devices, cameras, speakers, tracking systems, and / or other devices that communicate with the AR / VR device 202.

[0060] In some implementations, the prediction algorithms and RNNs described herein may be executed and / or utilized on a server system, and inputs and / or outputs may be streamed or otherwise provided over the network 205, e.g., for use in generating a pose prediction. In some implementations, the prediction algorithms and RNNs described herein may be executed and / or utilized at a mobile device system, and inputs and / or outputs may be generated by the mobile device system for use in generating a pose prediction.

[0061] Figure 3A and Figure 3B is a diagram illustrating example recurrent neural networks (RNNs) 300A and 300B according to implementations described herein. Figure 3A As shown in , RNN 300A is depicted in a folded form where states are fed back into neural network 302 as shown by arrow 304. Figure 3B As shown in Figure 3A The RNN of is shown in an expanded form as RNN 300B. RNN 300B is the same network as RNN 300A, but is instead expanded over (K) time steps. Therefore, the parameters inside each neural network neuron 302 (or 302a, 302b, 302c) are the same across all time steps.

[0062] Due to the inherent recursiveness of the network, RNNs can exhibit vanishing gradients during the model training phase. As a result, RNNs can have difficulty learning long-range dependencies. Therefore, the systems and techniques described herein can utilize RNN-based neural network neurons (e.g., Figure 4 The information flow through the neuron is modulated via units called gates using a neural network (neurons 410 in the example of FIG. 410 ) such as a long short-term memory (LSTM) architecture and a gated recurrent unit (GRU) architecture. Such an architecture may have an input gate, an output gate, and a forget gate, each of which may include parameters that are also learned during the training phase. An LSTM RNN or a GRU RNN may act as a computing device for processing a sequence of head posture data. The sequence can enable the system described herein to learn the head motion dynamics of a particular user. The head motion dynamics and sequence can be used to predict the head posture of the user for at least one MTP (motion to photon) interval (e.g., time interval) in the future.

[0063] In some implementations, the system 200 may predict the head pose of one or more MTPs in the future. The system 200 may utilize RNNs to learn the dynamic characteristics of head movements of users operating virtual reality devices in an AR / VR environment. In some implementations, the system 200 may train RNNs to learn prediction information for specific applications. In some implementations, the system 200 may train RNNs to learn prediction information for each AR / VR application available to the environment. In some implementations, the system 200 may train RNNs to learn prediction information for specific users. In some implementations, the system 200 may train RNNs to learn prediction information for specific AR / VR applications and / or games, which may have different head pose statistics and network parameters for specific applications and / or games (or a class of applications and / or games), and the RNNs are capable of learning different statistics and parameters.

[0064] Figure 4 2 is an example model architecture 230 for a head pose prediction system according to implementations described herein. The model architecture 230 can represent an inference graph of the encoder / decoder model 230. In some implementations, the model architecture 230 utilizes model hyperparameters, including but not limited to the number of activation units (e.g., neurons) in the LSTM (N a ), the history size / number of samples (H), the number of prediction steps (K), and the learning rate.

[0065] As shown, the model architecture 230 includes an encoder portion 402 and a decoder portion 404. The encoder portion 402 includes at least an LSTM layer 406 and a fully connected layer 408. The LSTM layer 406 is connected to the fully connected layer 408. Each LSTM neuron (e.g., neuron 410) in the RNN includes N a active units, where the subscript "a" represents the state tensor. The fully connected layer 408 generates outputs (e.g., outputs x1(412), x2(414), ...x H (416)) and the output multiple (N f ) features, which correspond to seven outputs corresponding to the number of posture features. Such outputs (x1(412), x2(414), ...x H (416)) is provided as input to LSTM layer 406.

[0066] The encoder portion 402 includes state vectors a1, a2, a3, ... corresponding to historical gesture data. The historical gesture data includes gesture samples x1, x2, ... x2 collected from historical head positions of the user 420 or device gestures 418. HThe output of encoder portion 402 represents the state a of an LSTM neuron (e.g., neuron 410). H and the first prediction sample

[0067] In some implementations, system 200 may use uniform time samples to collect historical head pose data. For example, head pose detector 220 may detect the user's head pose as the user moves, but head pose prediction system 224 may use a portion (e.g., a sample) of the head pose. Head pose prediction system 224 may then sample the head pose at a uniform sampling rate. For example, head pose prediction system 224 may sample at about two milliseconds to about five milliseconds between samples.

[0068] In some implementations, the head pose prediction system 224 may use a non-uniform sampling rate. For example, the head pose prediction system 224 may sample a portion of the head pose at a first sampling rate (e.g., 0.5-1.5 milliseconds) and sample a second portion of the non-head pose at a second sampling rate (e.g., 90-110 milliseconds). Such sampling rates may be provided as time inputs to each neuron, as indicated by the optional time input (t) (e.g., (t) 440). In some implementations, non-uniform sampling refers to when an attempt is made to sample the data at a uniform rate, but due to noise and other factors, the samples are not exactly evenly spaced. The input to the system is then a timestamp for each pose, which is different from the uniform timestamp.

[0069] Reference again Figure 4 , will output a H 432 and the first predicted sample is passed to the decoder portion 404. The decoder portion 404 may represent the same LSTM neurons and fully connected layers 408, which are layer-unrolled to a predetermined number of prediction steps minus the number of prediction steps that have been predicted by the encoder portion 402. In some implementations, the encoder portion 402 and the decoder portion 404 may act as a single RNN. The state output of the encoder (e.g., a H ) includes an encoded history of head poses that have been collected (ie, historical pose data). The decoder portion 404 may receive the state output of the encoder portion 402 (eg, a H ), and the state can be iterated to decode (e.g., determine) the next predicted pose. For example, each time an input is provided to a neuron in decoder portion 404, the calculated output can be fed back into the next neuron, as shown by feedback loops 422, 424, and 426.

[0070] In (Use Figure 2In the operation of the model architecture 230 (hardware and software defined in ), the user 420 can provide head posture input (e.g., movement 418) by moving the VR head mounted device 421 during the VR / AR experience. Alternatively, or in addition to the head movement, the user can also move or use the mobile device 423 according to the movement 418. The architecture 230 can utilize the head posture input from the VR head mounted device 421 and / or the posture input obtained from the mobile device 423. For example, the user 420 can access the VR / AR device (e.g., a head mounted display, a mobile device, or other virtual enabled device) to generate head posture while experiencing VR / AR content. The model architecture 230 (in combination with the system 200) can collect head posture data by tracking means or other sensing means. The collected head posture data (or generally posture data) can be normalized by the normalizer 221 and provided to the encoder part 402 for use as historical posture data. Generally, normalization can include taking the mean and variance of multiple historical posture data samples collected over a specific time window. This normalization ensures that the pose prediction is appropriate for pose changes that occur during a live AR / VR experience.

[0071] Thus, to predict future head poses, the encoder portion can utilize input head poses from actual historical user head poses in a particular VR / AR experience. The historical head poses can be normalized for each time step and fed directly into the LSTM layer 406 (in each neuron). In contrast, since the decoder portion 404 does not have an input pose (i.e., the input pose is still to be predicted), the model architecture 230 feeds each predicted pose from the previous time step back into the next neuron of the LSTM layer, as illustrated by feedback loops 422, 424, and 426. Although specific inputs / outputs are depicted, the model architecture 230 can use any number of inputs / outputs, as indicated by ellipses in various places.

[0072] Typically, as described above, the input head pose includes head position and head rotation represented by quaternions. The range of position values ​​can vary depending on the user's position in the AR / VR environment. Such a range is different from the quaternion values ​​that are typically between zero and one. Therefore, the input features typically have different ranges and different statistics. For example, yaw rotation typically has a larger variance than head roll. Therefore, the data features are normalized to ensure that the system 200 can learn to efficiently approximate and / or predict all features.

[0073] In order to normalize such data features, the normalizer 221 is configured to normalize the historical head posture data x1, ..., x H For example, for each input provided to the model architecture 230, for each input pose history vector x1, ..., xH Normalization is performed. This normalization is applied to historical pose data provided at inference time and / or for training. Normalizer 221 may use CPU / GPU 242 and memory 244 to normalize each input (historical head pose history vector) to zero mean and unit variance for each feature in the historical pose data. In some implementations, min / max normalization is used for the range (min, max) = (0, 1), where the historical pose data (e.g., samples x1, ..., x2) are normalized to zero mean and unit variance for each feature in the historical pose data. H ) to evaluate min and max. In some implementations, mean / variance normalization is used for zero mean and unit variance, where the pose data is based on historical pose data (e.g., samples x1, ..., x H ) to evaluate the mean and variance. The denormalizer 223 can then use those mean and variance values ​​to apply inverse normalization to the normalized output (e.g., ) and obtain the predicted output pose (e.g., )430.

[0074] For training loss, the system 200 can use a mean squared error (MSE) loss on head pose (e.g., position and rotation). In some implementations, the system 200 can use a mean absolute error on head pose (e.g., position and rotation). In some implementations, the system 200 can use a weighted mean squared error, where each output step (corresponding to different delays) of the LSTM layer 408 can be weighted differently. For example, this can be used when the histogram of typical delays is not uniform but there are some delays that are more common than other delays. In some implementations, the system 200 can use a mean squared error for position and an angular error for rotation. In some implementations, the system 200 can use a loss function based on the position of the virtual camera position (e.g., corresponding to the eye position). This loss value combines the position and rotation errors into a 3D position measure (e.g., the 3D position of the eye).

[0075] Figure 5 is a diagram of the use of the implementation described herein Figure 4 500 during inference of the model 230. The sampling method shown in the graph 500 can be used during inference. In the model 230, a window 502 of (H) historical poses is used to predict future poses. In operation, the input state of the LSTM neuron is initialized to zero. Each time a window is selected for the next set of samples (e.g., window 504, window 506, and window 508 in this example), the system 200 initializes the state to zero again. Initializing the state to zero ensures that the memory of each particular neuron is not propagated from one window sample to another window sample. This method enables the system 200 to use history normalization per sample window, as described above Figure 4 As described in.

[0076] During training, the system 200 can randomly select data samples (and their H histories) at each iteration to achieve uniform coverage of the training dataset at each iteration. Figure 6 It is depicted in training Figure 4 600 of random sample selection during a model of . For example, random selection and / or access to samples can come from pose tracking and zero state initialization for each sample. Each window of samples can be executed independently using model 230. Due to this independence, model 230 can be run on randomly accessed sample windows or on sequentially accessed sample windows, but in both cases the state is initialized to zero.

[0077] As shown in graph 600, system 200 can randomly select data sample windows (e.g., data sample window 602, data sample window 604, and / or data sample window 606). For each sample window, system 200 can normalize the samples using normalizer 221. The predictor state can then be set to zero, and head pose prediction system 224 can predict the next pose in the future by implementing LSTM architecture 234 or GRU architecture 236 for encoder / decoder model 230 or state propagation model 232.

[0078] Figure 7 2 is an example model architecture 232 for a head pose prediction system according to implementations described herein. The model architecture 232 can represent an inference graph of the state propagation algorithm 232. In some implementations, the model architecture 232 utilizes model hyperparameters, including but not limited to the number of activation units (e.g., neurons) in the LSTM (N a ), the history size / number of samples (H), the number of prediction steps (K), and the learning rate.

[0079] As shown, the model architecture 232 includes an encoder portion 702 and a decoder portion 704. The encoder portion 702 includes at least an LSTM layer 706 and a fully connected layer 708. The LSTM layer 706 is connected to the fully connected layer 708. Each LSTM neuron (e.g., neuron 710) in the RNN includes N a active units, where the subscript “a” denotes the state tensor.

[0080] The fully connected layer 708 generates x H outputs (e.g., x1(412), x2(414), …x H (416)) and the output multiple (N f ) features, which correspond to seven outputs corresponding to the number of pose features. The decoder input Consider the previous sample The state a obtained by running the encoder on H The encoder portion 702 includes at least one head pose sample collected (e.g., historical posture data). The historical posture data is based on one or more input samples of the user's head posture collected from the historical head position / movement 718 of the user 720. The output of the encoder portion 702 represents the state a of the LSTM neuron 722 (e.g., at the neuron 710). H and prediction samples

[0081] In some implementations, system 200 can use uniform temporal sampling to collect historical head pose data for model architecture 232. For example, head pose detector 220 can detect the head pose of user 720 as user 720 moves, but head pose prediction system 224 can use a portion (e.g., a sample) of the head pose. Head pose prediction system 224 can then sample the head pose at a uniform sampling rate. For example, head pose prediction system 224 can sample at about two milliseconds to about fifteen milliseconds between samples.

[0082] In some implementations, the head pose prediction system 224 may use non-uniform sampling rates. For example, the head pose prediction system 224 may sample a portion of the head pose at a first sampling rate (e.g., 0.5-1.5 milliseconds) and sample a second portion of the other poses at a second sampling rate (e.g., 90-110 milliseconds). Such sampling rates may be provided as time inputs to each neuron, as indicated by the optional time input (t) (e.g., (t) 724). In some implementations, non-uniform sampling refers to when an attempt is made to sample the data at a uniform rate, but due to noise and other factors, the samples are not exactly evenly spaced. The input to the system is then a timestamp for each pose, which is different from the uniform timestamp.

[0083] In contrast to the model architecture 230 that resets the state to zero for each sample, the model architecture 232 considers the state from the previous historical head posture sample. For example, in the model architecture 230, H windows of historical head postures are collected to predict future postures. Without considering other samples, the input state of the LSTM architecture is initialized to zero for each sample. When the window is selected for the next sample, the state is initialized to zero. That is, the memory of the neuron is not propagated from one window sample to another window sample. As described above, this method allows the system 200 to use historical normalization per sample. In the model architecture 232, the LSTM state is propagated from one sample to the next sample instead, and is not always initialized to zero. To do this, the system 200 can select and / or access samples successively within a given head posture trace. In this example use of the model architecture 232, the state is initialized to zero at the beginning of the entire head posture trace. In some implementations, for example, when the system loses tracking data or if the app / session is suspended by the user, the model architecture 232 and the system described herein may have to reset the state.

[0084] Reference again Figure 7 , state a H 722 and the first predicted sample is passed to the decoder portion 704. The decoder portion 704 may represent the same LSTM neurons and fully connected layers 708, which are layer-unrolled to a predetermined number of prediction steps minus the number of prediction steps that have been predicted by the encoder portion 702. In some implementations, the encoder portion 702 and the decoder portion 704 may act as a single RNN. The state output of the encoder (e.g., a H 722) includes an encoded history of head postures that have been collected (i.e., historical posture data). The decoder portion 704 can receive the state output of the encoder portion 702 (e.g., a H 722) and the state can be iterated to decode (e.g., determine) the next predicted pose. For example, each time an input is provided to a neuron in the decoder portion 704, the calculated output can be fed back into the next neuron, as shown by feedback loops 726, 728, and 730.

[0085] In (Use Figure 2In the operation of the model architecture 232 (hardware and software defined in ), the user 720 can provide head gesture input (e.g., movement 718) by moving the VR head mounted device 721 during the VR / AR experience. Alternatively, or in addition to the head movement, the user can also move or use the mobile device 723 according to the movement 718. The architecture 232 can utilize the head gesture input from the VR head mounted device 721 and / or the gesture input obtained from the mobile device 723. For example, the user 720 can access a VR / AR device (e.g., a head mounted display, a mobile device, or other virtual enabled device) to generate head gestures while experiencing VR / AR content. The model architecture 232 (in combination with the system 200) can collect head gesture data through tracking means or other sensing means.

[0086] The encoder portion 702 can utilize input head poses from actual historical user head poses in a particular VR / AR experience in order to predict future head poses. The historical head poses can be fed directly into the LSTM layer (e.g., in each neuron 732, 734, 736, etc.) for each time step. Since the decoder portion 704 does not have an input pose (i.e., the input pose is still to be predicted), the model architecture 232 feeds each predicted pose from the previous time step back into the next neuron of the LSTM layer, as indicated by feedback loops 726, 728, and 730. Although specific inputs / outputs are depicted, the model architecture 232 can use any number of inputs / outputs, as indicated by ellipses in various places.

[0087] Decoder 704 may use any number of LSTM neurons (e.g., neuron 732) to generate head pose predictions. For example, each LSTM neuron may represent a portion of time over a total time (t) for which predictions may be requested by system 200. That is, if the total time may represent the time for which a prediction is requested (e.g., 10 milliseconds in the future), predictions may be performed at each LSTM neuron at a particular time step (e.g., every three milliseconds).

[0088] System 200 can provide head pose predictions (or hand pose positions from mobile device 723) 740 provides a prediction in the future at a known end of the total time (t). In some implementations, if, for example, it is determined that a head pose prediction is requested in less than the total time (t), the user or system 200 may output an intermediate head pose as 740.

[0089] Typically, as described above, the input head pose includes head position and head rotation represented by quaternions. The range of position values ​​can vary depending on the user's position in the AR / VR environment. Such ranges are different from quaternion values, which are typically between zero and one. Therefore, the input features typically have different ranges and different statistics.

[0090] Similarly, as described above, input gestures (e.g., hand gestures, mobile device gestures) can include positions and rotations represented by quaternions. The range of position values ​​can vary depending on the position of the user's device or hand in the AR / VR environment. Such ranges are different from quaternion values, which are typically between zero and one. Therefore, input features typically have different ranges and different statistics.

[0091] Unlike model architecture 230, model architecture 232 does not normalize on a per-sample window basis. Instead, model architecture 232 can build a model that includes inputs of both position and rotation, while using a loss function that balances the losses in both position and rotation. In some implementations, model architecture 232 can build two models. For example, the model architecture can use one model for position and one model for rotation. Each model can be trained separately.

[0092] The model architecture 232 can be configured to ensure temporal stability, thereby ensuring low jitter between output head pose calculations. For example, the model 232 uses the output state a of the LSTM neuron 710 H 722 as the input to the neuron in the next pose sample (i.e., when capturing a new history window). The LSTM state shields the internal memory from the influence of the previous pose sampling, so it naturally enhances temporal stability. The model architecture 232 is configured to propagate the LSTM input state from one window sample to the next window sample. This difference has an impact on how samples are selected for training and reasoning.

[0093] Thus, in some implementations, model architecture 232 can provide the advantage of temporal stability to predictions, which can result in less jitter in the output presented to the user (e.g., image content, camera feed, etc.). Model architecture 232 can also be executed with lower computational complexity than model architecture 230. For example, model architecture 232 performs one encoder LSTM step at each most recently received head pose sample, while model architecture 230 performs H encoder LSTM steps for each new head pose sample. Both model architectures 230 and 232 perform K decoder LSTM steps.

[0094] In some implementations, the model architecture 230 provides more jitter, but provides the advantage of resulting in a lower mean square error than the model architecture 232. In addition, because the model architecture 232 may not perform normalization on position coordinates, etc., it may be necessary to pre-process any changes in coordinate system position of the data collected from the VR headset to determine the appropriate head pose. In some implementations, the model architecture 232 can perform normalization by normalizing all samples with the same parameters (e.g., global normalization).

[0095] To reduce jitter, additional terms may be introduced into the loss function of the model architecture 232. The loss function in the model architecture 232 may include at least three terms, including but not limited to a prediction error term, a smoothness term, and a pose change term.

[0096] In particular, the loss function may include a prediction error term determined using a mean absolute error technique or determined using a mean square error technique. In the model architecture 232, the outputs from both the encoder portion 702 and the decoder portion 704 are used for each LSTM step. Such a loss term is defined as shown in equation [5]:

[0097]

[0098] The two and terms correspond to the outputs of the LSTM neurons (in the encoder 702 and the decoder 704, respectively). The (H) value represents the number of samples taken during a particular total history duration. For example, if the total history time is 100 milliseconds and the samples are spaced 5 milliseconds apart, then (H) = 20. The (K) value represents the number of prediction samples. For example, if the total prediction time is 100 milliseconds, then the number of prediction samples spaced 5 milliseconds apart is 20 samples. (x i ) value represents the input at encoder 702 and The value represents the output at encoder 702. i ) value represents the ground truth pose value at the prediction time, and The value represents the output at the decoder 704 .

[0099] In addition, the model architecture 232 may include a term for the smoothness cost, which represents the mean of the absolute differences between predicted consecutive head pose samples, as shown in equation [6]:

[0100]

[0101] in

[0102] The model architecture 232 may also include a term for a pose change cost, which represents the difference between each predicted pose at the decoder 704 and the last known true pose at the encoder 702 (e.g., in (H)). Because the pose change cost term ensures that the new pose is within a certain range of the last known pose, this cost may provide the advantage of enabling the overshoot and undershoot of the predicted pose to be reduced. The pose change cost may be represented as shown in equation [7]:

[0103]

[0104] Among them again In some implementations, the RNN is trained on a database of known pose sequences, and the historical pose data is sequence pose data associated with a mobile device executing a VR or AR application.

[0105] The terms for the total loss using the model architecture 232 may be expressed as shown in equation [8]:

[0106]

[0107] where λ1 and λ2 can be chosen empirically or can be tuned using machine learning.

[0108] Figure 8 is a depiction of the implementation described herein using Figure 7 800 of example graphs of sequence sample selection during training of a model of FIG. 800 while propagating prior states. Any number of time windows may be selected to capture historical head posture data. As shown, system 200 selects a first time window 802, a second time window 804, and a third time window 806 to obtain historical head posture data for use in training model architecture 232. Each window may represent a retrieval of continuously sampled historical head posture data. Therefore, the state of each LSTM is initialized to zero at the beginning of the entire posture tracking rather than at each sampling window.

[0109] For window 802, the pose may be predicted by initializing the LSTM states to zero. The state a1 from the encoder, after the encoder has processed window 802, may be passed as the initial state for prediction from window 804, as indicated by arrow 808. Similarly, the state a1 obtained using historical data from window 804 may be provided as input to the head pose prediction performed for the third window, as indicated by arrow 810. In a similar manner, any number of head pose predictions may be computed using additional windows of historical data and the states obtained from previous windows as input.

[0110] System 200 may use graph 800 during training of the RNN. When predicting head pose, the entire window of historical pose data is utilized at training time to ensure that the above loss function can be calculated and used to determine playback of specific content based on the predicted head pose.

[0111] During training of graph 800 for model architecture 232, system 200 does not perform random access to samples as can be performed for model architecture 230. Instead, all traces (e.g., head pose samples over a window) can be stacked and training can be performed across the stack. In such an example, the batch size is the number of traces. Each iteration can execute the model in parallel for all traces but sequentially through the samples. Once all samples are collected, training will be complete.

[0112] In some implementations, the traces may be divided into ordered portions of consecutive samples, each of equal size. The system 200 may then initialize the state to zero at the beginning of each portion. Training for the model architecture 232 may then parallelize model training for the traces and portions together, resulting in a batch size of number of traces × number of portions.

[0113] Fig. 9 is a depiction of the implementation described herein using Figure 7 Example graph 900 of sequence sample selection during inference for a model of while propagating prior states. In this example, because a single LSTM neuron is executed for the last sample in the window (i.e., the most recent or last received sample), a complete window of (H) historical pose data is not obtained. In this inference graph 900, the corresponding prior state α is used H-1 to initialize each state, as indicated by arrows 908 , 910 , and 912 .

[0114] In some implementations, the models described herein can be applied to controller pose prediction to determine where a user can position and orient any or all of the head, hands, mobile device, and / or AR / VR controller. In some implementations, due to the existing correlation between head movement and controller movement, the system described herein can combine head pose prediction with controller pose prediction to provide improvements in overall prediction. In some implementations, for example, the models described herein can be applied to video pass-through in augmented reality to correct the alignment between real content and virtual content. In some implementations, head poses may not be used, but instead mobile device poses may be replaced as pose inputs throughout the implementations described in this disclosure.

[0115] Fig.101 is a flow chart illustrating an implementation of a process 1000 for providing content in an AR or VR experience based on predicted head pose according to implementations described herein. For example, process 1000 can predict the pose of the head based on historical head pose data and one or more recurrent neural networks.

[0116] In operation of process 1000, computing device 202 may execute a computer-implemented process to predict a user's head pose so that the user receives appropriate and time-accurate placement of content in an AR environment. Typically, computing device 202 may receive data defining a VR or AR environment. The VR or AR environment includes a representation of a physical environment. The data may include instructions for rendering and composing / placing multiple objects in the VR or AR environment.

[0117] At box 1002, process 1000 includes receiving a request for head pose prediction for an augmented or virtual reality experience. For example, a user may be accessing an AR (or VR or MR) environment. A system being used by a user in an AR or VR environment can benefit from determining user movement, head position, hand position, device position (e.g., mobile device), and / or other trackable metrics. For example, a system can benefit from receiving a prediction of head pose in an upcoming (e.g., future) time period. Thus, process 1000 can perform head pose prediction to ensure appropriate placement and time rendering for displaying content to the user.

[0118] At block 1004, process 1000 includes identifying at least one position indicator and at least one rotation indicator associated with the AR / VR experience. The at least one position indicator may be a three-dimensional head position vector, such as represented by Figure 1 The at least one rotation indicator may be a four-dimensional quaternion, as defined by Figure 1 [2] in the description of . For example, device 202 may use the AR or VR or MR experience to retrieve, determine, detect, or otherwise access posture data defining the head posture of the user. The posture data may be historical posture data for the user to access the AR or VR or MR experience. In some implementations, the posture data may be historical posture data associated with other users, applications, systems, or databases that have previously experienced or utilized the AR or VR or MR experience.

[0119] At block 1006, process 1000 includes providing the at least one position indicator and the at least one rotation indicator to an RNN, such as RNN 226. The RNN includes a long short-term memory (LSTM) network and a fully connected (FC) network for each of a plurality of LSTM neurons in the LSTM network. In some implementations, each LSTM neuron may be associated with a historical time period (in a time series). For example, in an encoder, each LSTM neuron uses historical posture data that includes position and rotation information of a head posture collected during the historical time period. Such data may be used to train the RNN.

[0120] At block 1008, process 1000 includes using the RNN to generate at least one prediction of a change in head pose for an AR or VR or MR experience for at least one upcoming time period. For example, device 202 may use RNN 226 and encoder / decoder model 230 or state propagation model 232 to make predictions of head pose at one or more future times.

[0121] In some implementations, process 1000 may include generating additional candidate predictions based on the at least one prediction. For example, device 202 (or other computing device) connected to or accessible from device 202 may continue to generate new predictions that can be used in real time as the user uses the AR or VR or MR environment. The at least one prediction and the additional (e.g., new) candidate predictions may undergo an error check, wherein device 202 determines the mean square error of each of the at least one prediction and the additional candidate predictions. The mean square error may indicate whether to discard a particular head pose prediction. For example, if the mean square error associated with the head pose prediction is determined to be above a threshold level of error, the system 200 may discard the head pose prediction so as not to tilt or incorrectly provide erroneous head pose data to the AR or VR or MR environment. This may ensure that the predicted head pose remains within a reasonable distance of the previously known head pose based on the elapsed time between the previously known head pose and the predicted head pose.

[0122] In some implementations, the RNN is configured to encode, for each of a plurality of time steps in the upcoming time period, a state of a corresponding LSTM neuron corresponding to a corresponding time step in the upcoming time period. That is, the system 200 can use feedback loops (e.g., feedback loops 422, 424, 426, 726, 728, and 730) to ensure that prior LSTM states can be considered when calculating upcoming LSTM states and head pose predictions.

[0123] In some implementations, the RNN is configured to recursively determine additional predictions of head pose changes for additional upcoming time periods. For example, system 200 may employ model architecture 230 or model architecture 232 to continuously determine head pose predictions as the user moves in an AR or VR or MR environment. The predictions may be utilized to provide real-time content in an AR or VR or MR environment without the MTP delay that may occur due to rendering the content.

[0124] At block 1010, process 1000 includes providing the at least one prediction in response to the request and triggering display of augmented or virtual reality content in the augmented or virtual reality experience based on the at least one prediction. For example, prediction algorithm 228 may output one or more predictions to RNN 226 as input to another state of the RNN. The output may be used to trigger display of content at an appropriate time and location for the user to access the AR or VR environment.

[0125] In some implementations, receiving a request for a head pose prediction includes receiving historical head pose data from a client device over a network. For example, a request for a head pose prediction may be received via network 205. Providing at least one prediction for a change in head pose may include providing rendered content in an AR or VR environment to a client device (e.g., device 204) over network 205 based on at least one prediction for a change in head pose. In some implementations, providing at least one prediction for a change in head pose includes providing rendered content in an augmented reality experience to a client device over a network based on at least one prediction for a change in head pose.

[0126] In some implementations, the at least one position indicator is a three-dimensional head position vector and the at least one rotation indicator is a four-dimensional quaternion. In some implementations, the at least one rotation indicator includes yaw, pitch, and roll. In some implementations, the at least one rotation indicator includes a three-dimensional vector having a magnitude representing an amount of rotation and a direction representing an axis of rotation.

[0127] In some implementations, the RNN is configured to generate additional candidate predictions based on the at least one prediction and determine a mean squared error for each of the additional candidate predictions, the mean squared error indicating whether to discard the corresponding additional head pose prediction.

[0128] In some implementations, the RNN is configured to recursively determine additional predictions for pose changes (eg, head pose changes, device pose changes, etc.) at additional upcoming time periods.

[0129] Fig.111 is a flow chart of an implementation of a process 1100 for predicting head pose to provide an AR or VR experience according to an illustration of implementations described herein. For example, process 1100 can predict the pose of a user's head based on historical head pose data and one or more recurrent neural networks. In some implementations, process 1100 can predict the pose of a mobile device held by a user operating an AR or VR experience. In some implementations, process 1100 can predict the pose of another body part of the user operating an AR or VR experience.

[0130] The computing device 202 may receive data defining a VR or AR environment. The AR environment includes a representation of a physical environment. The data may include instructions for rendering and composing multiple objects in the VR or AR environment.

[0131] At block 1102, process 1100 includes obtaining historical head pose data corresponding to user movements in a VR or AR environment. For example, process 1100 can track, retrieve, or otherwise obtain historical pose data associated with a user, application, environment, etc. In some implementations, the historical pose data is sequence pose data associated with a VR or AR application.

[0132] At block 1104, process 1100 includes generating a first history vector sequence including posture features determined from the historical posture data. For example, system 202 may use state propagation model 232 with LSTM and fully connected network as RNN 234 to determine the first history vector x1, x2, ..., x H (See Figure 7 ). The gesture features may include changes in position and rotation. For example, the gesture features may be included in historical gesture data that may correspond to user movements in a virtual reality environment, including velocity or acceleration measurements associated with the user movements.

[0133] At block 1106, process 1100 includes using a first historical vector sequence x1, x2, . . . , x H The RNN is executed to generate a first pose prediction for an upcoming time period (e.g., one, two, three MTPs in the future, etc.) (see Figure 7 ). The RNN may include any number of LSTM neurons 710 or other neurons and at least one fully connected neural network layer 708.

[0134] The method may be performed by, in response to receiving a first head pose prediction and a state of at least one of the plurality of LSTM neurons (including a state of an encoded history of the head pose that has been collected). H ) as input to output a vector sequence In some implementations, Representation can lead to any number of predicted poses Any number of LSTM and FC iterations. Figure 7 An ellipse is depicted to indicate that additional interactions and head pose predictions are possible.

[0135] For example, at block 1108, process 1100 includes, in response to receiving a first pose prediction and the state of at least one of the multiple LSTM neurons (a H ) and use the RNN network to recursively generate multiple additional pose predictions for subsequent time periods The RNN outputs in response to receiving the first head pose prediction as input.Such an output vector sequence may indicate a plurality of candidate head pose predictions for time periods beyond the upcoming time period.

[0136] In some implementations, process 1100 includes determining a location in which to display the virtual reality content based on the additional pose predictions at the corresponding time period beyond the upcoming time period. In some implementations, process 100 includes triggering rendering of the virtual reality content for display in the virtual reality environment.

[0137] In some implementations, process 1100 can include determining a location in which to display virtual reality content based on the pose prediction for a corresponding time period beyond the upcoming time period. For example, the candidate head pose prediction can be matched to a real-time AR or VR environment usage, and content can be triggered for provision (e.g., display) in the AR or VR environment based on the prediction and the real-time environment.

[0138] In some implementations, the state of each of the plurality of LSTM neurons is provided as an input to the RNN along with the next sequence pose prediction, and the plurality of other pose predictions are based at least in part on the state of each of the plurality of LSTM neurons.

[0139] In some implementations, process 1100 includes normalization and denormalization processes. For example, if encoder / decoder model 230 is used as an RNN, the first history vector sequence can be normalized based at least in part on the calculated mean and the calculated variance values. As in Figure 4 In addition, if the encoder / decoder model 230 is used as an RNN, the output vector sequence can be denormalized based on the calculated mean and the calculated variance value before the system 200 determines the location where the AR or VR content is to be displayed.

[0140] In some implementations, the first sequence of history vectors represents an input to the RNN normalized based at least in part on the calculated mean and the calculated variance value. In some implementations, the first pose prediction and the plurality of additional pose predictions are denormalized based on the calculated mean and the calculated variance value prior to determining a location at which to display the virtual reality content.

[0141] In some implementations, a specific state of each of the plurality of LSTM neurons is provided as an input to the RNN along with the first head pose prediction, such as Figure 7 In this example, multiple candidate head pose predictions may consider the state of each of the multiple LSTM neurons when generating the head pose prediction.

[0142] In some implementations, an RNN is trained on a database of known head pose sequences, and the RNN is configured to predict a plurality of candidate head poses by embedding a vector of the output vector sequence to output a probability measure for each candidate next head pose. This probability measure can be used in conjunction with error processing to ensure that each predicted head pose is error-free.

[0143] In some implementations, the RNN is configured to determine an error function that defines a mean absolute error, a smoothness cost, and a pose change cost for each of a plurality of additional (e.g., candidate) pose predictions, as in Figure 7 When multiple candidate head pose predictions are used to display virtual reality content, the error function may indicate whether to discard the corresponding candidate head pose prediction to reduce jitter. In some implementations, the system described herein may enable the RNN to use such costs for training purposes to reduce the error between the prediction and the ground truth value. In some implementations, during inference, if it is determined that the ground truth value is not available, the system may not use the loss. In some implementations, smoothness or pose change errors may be used by the system described herein to discard samples, but if it is determined that the ground truth value is not available, the mean absolute error may not be utilized.

[0144] In some implementations, the error function is determined based on a detected angular error or a detected eye position error associated with one or more of the plurality of additional pose predictions. In some implementations, the error function represents a weighted error based on a portion of the plurality of additional pose predictions.

[0145] In some implementations, the RNN described herein may use a gated recurrent unit (GRU) 236 instead of the LSTM 234. In some implementations, different or additional input data may be used, including but not limited to an angular error function (e.g., using velocity along with pose data in the prediction).

[0146] In some implementations, the system 200 may decide to use one or more of the RNNs described herein to perform the prediction. For example, the system 200 may include a first recurrent neural network (RNN) including a first plurality of long short-term (LSTM) neurons and a first fully connected (FC) layer and a second recurrent neural network (RNN) including a second plurality of long short-term (LSTM) neurons and a second fully connected (FC) layer. The system 200 may also include at least one processing device and a memory storing instructions, which when executed cause the processing device to perform operations, including: for a user accessing an augmented or virtual reality environment, determining a maximum range of movement being utilized by the user in the augmented reality environment; in response to determining that less than a threshold level of movement is being utilized, selecting a first RNN to determine a head pose prediction for an upcoming time period; and in response to determining that less than a threshold level of movement is being utilized, selecting a second RNN to determine a head pose prediction with reduced jitter for the upcoming time period by providing the state of each LSTM neuron as an input to the next LSTM neuron in the second RNN. In some implementations, the first RNN is further configured to predict the pose of a controller used in the augmented reality environment based at least in part on the head pose prediction.

[0147] Fig.12 An example computer device 1200 and an example mobile computer device 1250 are shown, which can be used with the technology described herein. Generally, the device described herein can generate and / or provide any one or all aspects in a virtual reality, augmented reality, or mixed reality environment. The features described about the computer device 1200 and / or the mobile computer device 1250 may be included in the above-mentioned portable computing device. The computing device 1200 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The computing device 1250 is intended to represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, and other similar computing devices. The components shown here, their connections and relationships, and their functions are meant to be exemplary only and are not meant to limit the implementation of the systems and technologies claimed and / or described in this document.

[0148] The computing device 1200 includes a processor 1202, a memory 1204, a storage device 1206, a high-speed interface 1208 connected to the memory 1204 and a high-speed expansion port 1210, and a low-speed interface 1212 connected to a low-speed bus 1214 and the storage device 1206. Each of the components 1202, 1204, 1206, 1208, 1210, and 1212 is interconnected using various buses and can be installed on a general motherboard or installed in other ways as appropriate. The processor 1202 can process instructions for execution within the computing device 1200, including instructions stored in the memory 1204 or the storage device 1206, to display graphical information of a GUI on an external input / output device (such as a display 1216 coupled to the high-speed interface 1208). In other embodiments, multiple processors and / or multiple buses, as well as multiple memories and memory types, can be used as appropriate. Likewise, multiple computing devices 1200 may be connected, with each device providing portions of the necessary operations (eg, as a server bank, a blade server bank, or a multi-processor system).

[0149] The memory 1204 stores information within the computing device 1200. In one embodiment, the memory 1204 is one or more volatile memory units. In another embodiment, the memory 1204 is one or more non-volatile memory units. The memory 1204 may also be another form of computer-readable medium, such as a magnetic disk or optical disk.

[0150] Storage device 1206 can provide mass storage for computing device 1200. In one embodiment, storage device 1206 can be or include a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, a tape device, a flash memory, or other similar solid-state storage device or device array, including devices in a storage area network or other configuration. A computer program product can be tangibly embodied in an information carrier. The computer program product can also include instructions that perform one or more methods (such as the above methods) when executed. The information carrier is a computer or machine-readable medium, such as memory 1204, storage device 1206, or memory on processor 1202.

[0151] The high-speed controller 1208 manages bandwidth-intensive operations of the computing device 1200, while the low-speed controller 1212 manages less bandwidth-intensive operations. This allocation of functions is exemplary only. In one embodiment, the high-speed controller 1208 is coupled to the memory 1204, the display 1216 (e.g., through a graphics processor or accelerator), and to the high-speed expansion port 1210 that can accept various expansion cards (not shown). In this embodiment, the low-speed controller 1212 is coupled to the storage device 1206 and the low-speed expansion port 1214. The low-speed expansion port (which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet)) can be coupled to one or more input / output devices such as a keyboard, a pointing device, a scanner, or a network device such as a switch or router, for example, through a network adapter.

[0152] The computing device 1200 can be implemented in a variety of different forms, as shown. For example, it can be implemented as a standard server 1220, or multiple times in a group of such servers. It can also be implemented as part of a rack server system 1224. In addition, it can also be implemented in a personal computer such as a laptop computer 1222. Alternatively, components from the computing device 1200 can be combined with other components in a mobile device (not shown) such as device 1250. Each such device can contain one or more computing devices 1200, 1250, and the entire system can be composed of multiple computing devices 1200, 1250 that communicate with each other.

[0153] Computing device 1250 includes, among other components, a processor 1252, a memory 1264, an input / output device such as a display 1254, a communication interface 1266, and a transceiver 1268. Device 1250 may also be equipped with a storage device, such as a microdrive or other device, to provide additional storage. Each of components 1250, 1252, 1264, 1254, 1266, and 1268 are interconnected using various buses, and several of the components may be mounted on a common motherboard or otherwise as appropriate.

[0154] Processor 1252 can execute instructions within computing device 1250, including instructions stored in memory 1264. The processor can be implemented as a chipset including separate and multiple analog and digital processor chips. The processor can provide, for example, coordination of other components of device 1250 (such as control of a user interface), applications run by device 1250, and wireless communications performed by device 1250.

[0155] The processor 1252 can communicate with the user through the control interface 1258 and the display interface 1256 coupled to the display 1254. The display 1254 can be, for example, a TFT LCD (thin film transistor liquid crystal display) or an OLED (organic light emitting diode) display or other suitable display technology. The display interface 1256 may include appropriate circuits for driving the display 1254 to present graphics and other information to the user. The control interface 1258 can receive commands from the user and convert them to submit to the processor 1252. In addition, an external interface 1262 in communication with the processor 1252 can be provided to enable near-area communication of the device 1250 with other devices. The external interface 1262 can be provided for wired communication, for example, in some embodiments, or for wireless communication in other embodiments, and multiple interfaces can also be used.

[0156] The memory 1264 stores information within the computing device 1250. The memory 1264 may be implemented as one or more of a computer-readable medium, a volatile storage unit, or one or more non-volatile storage units. An expansion memory 1274 may also be provided and connected to the device 1250 via an expansion interface 1272, which may include, for example, a SIMM (single in-line memory module) card interface. Such an expansion memory 1274 may provide additional storage space for the device 1250, or may also store applications or other information for the device 1250. Specifically, the expansion memory 1274 may include instructions for executing or supplementing the above-mentioned processes, and may also include security information. Thus, for example, the expansion memory 1274 may be provided as a security module for the device 1250, and may be programmed with instructions that allow the secure use of the device 1250. In addition, secure applications may be provided via a SIMM card and additional information (such as, placing identification information on the SIMM card in an inviolable manner).

[0157] The memory may include, for example, flash memory and / or NVRAM memory, as described below. In one embodiment, a computer program product is tangibly embodied in an information carrier. The computer program product contains instructions that, when executed, perform one or more methods (such as the above methods). The information carrier is a computer or machine readable medium, such as memory 1264, expansion memory 1274, or memory on processor 1252, which can be received, for example, via transceiver 1268 or external interface 1262.

[0158] Device 1250 can communicate wirelessly via communication interface 1266, which may include digital signal processing circuitry when necessary. Communication interface 1266 can provide communications in various modes or protocols (such as, GSM voice calls, SMS, EMS or MMS messaging, CDMA, TDMA, PDC, WCDMA, CDMA2000 or GPRS, etc.). Such communications can occur, for example, via radio frequency transceiver 1268. In addition, short-range communications can occur, such as using Bluetooth, Wi-Fi or other such transceivers (not shown). In addition, GPS (global positioning system) receiver module 1270 can provide other wireless data related to navigation and location to device 1250, and applications running on device 1250 can use the above data as appropriate.

[0159] Device 1250 may also communicate audibly using audio codec 1260, which may receive voice information from a user and convert it into usable digital information. Audio codec 1260 may similarly generate audible sound for the user, such as through a speaker, in an earpiece of device 1250. Such sound may include sound from a voice phone call, may include recorded sound (e.g., voice messages, music files, etc.), and may also include sound generated by applications running on device 1250.

[0160] As shown, the computing device 1250 can be implemented in many different forms. For example, it can be implemented as a cellular phone 1280. It can also be implemented as part of a smart phone 1282, a personal digital assistant, or other similar mobile device.

[0161] The embodiments of the various techniques described herein may be implemented in digital electronic circuits, or in computer hardware, firmware, software, or a combination thereof. The embodiments may be implemented as a computer program product, i.e., a computer program tangibly embodied in an information carrier such as a machine-readable storage device or a propagated signal, to be executed by a data processing device (e.g., a programmable processor, a computer, or multiple computers) or to control the operation of the data processing device. Computer programs such as the above-described computer programs may be written in any form of programming language (including compiled or interpreted languages), and may be deployed in any form (including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment). The computer program may be deployed to be executed on one or more computers at one site, or distributed across multiple sites and interconnected by a communication network.

[0162] The method steps may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output. The method steps may also be performed by, and the apparatus may be implemented as, a dedicated logic circuit (e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit)).

[0163] Processors suitable for executing computer programs include, for example, general and special purpose microprocessors and any one or more processors of any kind of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory, or both. Elements of a computer may include at least one processor for executing instructions and one or more storage devices for storing instructions and data. Typically, a computer may also include one or more mass storage devices for storing data, such as magnetic, magneto-optical or optical disks, or the computer may be operatively coupled to receive data from or transfer data to one or more mass storage devices, or both. Information carriers suitable for embodying computer program instructions and data include all forms of non-volatile memory, including, for example, semiconductor memory devices, such as EPROM, EEPROM and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by or incorporated into special purpose logic circuits.

[0164] To provide interaction with a user, embodiments may be implemented on a computer having a display device (e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor) for displaying information to the user, and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, voice, or tactile input.

[0165] Embodiments may be implemented in a computing system that includes a back-end component (e.g., as a data server), or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer having a graphical user interface or a web browser through which a user can interact with the embodiment), or includes a combination of such back-end, middleware, or front-end components. The components may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks (LANs) and wide area networks (WANs), such as the Internet.

[0166] Any suitable combination of hardware and / or software configured for user interfaces including user devices, user interface (UI) devices, user terminals, client devices, or customized devices can be used to implement a computing device based on the example embodiments described herein. The computing device can be implemented as a portable computing device, such as, for example, a laptop computer. The computing device can be implemented as some other type of portable computing device suitable for interfacing with a user, such as, for example, a PDA, a notebook computer, or a tablet computer. The computing device can be implemented as some other type of computing device suitable for interfacing with a user, such as, a PC. The computing device can be implemented as a portable communication device (e.g., a mobile phone, a smart phone, a wireless cellular phone, etc.) suitable for interfacing with a user and for wirelessly communicating through a network including a mobile communication network.

[0167] The computer system (e.g., computing device) can be configured to communicate wirelessly with a network server over a network via a communication link established with the network server using any known wireless communication techniques and protocols, including radio frequency (RF), microwave frequency (MWF) and / or infrared frequency (IRF) wireless communication techniques and protocols suitable for communicating over a network.

[0168] According to various aspects of the present disclosure, the embodiments of the various technologies described herein may be implemented in digital electronic circuits, or in computer hardware, firmware, software, or a combination thereof. The embodiments may be implemented as a computer program product (e.g., a computer program tangibly embodied in an information carrier, a machine-readable storage device, a computer-readable medium, a tangible computer-readable medium) for processing by a data processing device (e.g., a programmable processor, a computer, or multiple computers), or controlling the operation of the above-mentioned data processing device. In some embodiments, a tangible computer-readable storage medium may be configured to store instructions that, when executed, cause the processor to perform a process. Computer programs such as the above-mentioned computer programs may be written in any form of programming language (including compiled or interpreted languages), and may be deployed in any form including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. The computer program may be deployed for processing on one or more computers at one site, or distributed on multiple sites and interconnected by a communication network.

[0169] The specific structural and functional details disclosed herein are representative for purposes of describing example embodiments only. Example embodiments may, however, be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.

[0170] The terms used herein are for the purpose of describing specific embodiments only and are not intended to limit the embodiments. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will be further understood that when used in this specification, the terms "comprise", "comprising", "include" and / or "including" specify the presence of the features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts and / or groups thereof.

[0171] It will be understood that when an element is referred to as being "coupled," "connected," or "responsive" to or "on" another element, it may be directly coupled, connected, or responsive, or directly on it, or other elements or intervening elements may be present. In contrast, when an element is referred to as being "directly coupled," "directly connected," or "directly responsive" to or "directly on" another element, there are no intervening elements. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0172] For ease of description, spatially relative terms, such as "below," "under," "lower," "above," "upper," etc., may be used herein to describe the relationship of one element or feature to another element or feature as shown in the figures. It will be understood that in addition to the orientations depicted in the drawings, spatially relative terms are intended to cover different orientations of the device in use or operation. For example, if the device in the figure is flipped, elements described as "below" or "below" other elements or features will be oriented as "above" the other elements or features. Thus, the term "under" can cover both upper and lower orientations. The device can be oriented in other ways (rotated 120 degrees or in other orientations), and the spatially relative descriptors used herein can be interpreted accordingly.

[0173] Exemplary embodiments of the concepts are described herein with reference to cross-sectional views, which are schematic diagrams of idealized embodiments (and intermediate structures) of the exemplary embodiments. As such, variations in the illustrated shapes, for example due to manufacturing techniques and / or tolerances, are to be expected. Therefore, the exemplary embodiments of the described concepts should not be construed as limited to the specific shapes of the regions shown herein, but should include shape deviations, for example, caused by manufacturing. Therefore, the regions shown in the figures are schematic in nature, and their shapes are not intended to illustrate the actual shapes of the regions of the device, nor are they intended to limit the scope of the exemplary embodiments.

[0174] It will be understood that although the terms "first", "second", etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. Therefore, without departing from the teachings of the present embodiment, a "first" element may be referred to as a "second" element.

[0175] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which these concepts belong. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and / or this specification, and will not be interpreted in an idealized or overly formal sense unless explicitly defined herein.

[0176] Although certain features of the described embodiments have been described as described herein, many modifications, substitutions, changes and equivalents will now occur to those skilled in the art. Therefore, it will be understood that the appended claims are intended to cover all such modifications and changes that fall within the scope of the embodiments. It should be understood that they are given by way of example only and not limitation, and various changes in form and detail may be made. Except for mutually exclusive combinations, any part of the apparatus and / or method described herein may be combined in any combination. The embodiments described herein may include various combinations and / or sub-combinations of the functions, components and / or features of the different embodiments described.

Claims

1. A computer-implemented method, the method comprising: receiving a request for head pose prediction for a virtual reality experience; identifying at least one first indicator representing a position associated with the virtual reality experience and at least one second indicator representing a rotation associated with the virtual reality experience; identifying at least one first information representing a position associated with head gestures collected during a time period and at least one second information representing a rotation associated with the head gestures collected during the time period; providing the at least one first indicator and the at least one second indicator to a model including a plurality of neurons, the model including a plurality of recursive steps, the plurality of recursive steps including at least one neuron of the plurality of neurons and at least one fully connected layer, at least some of the plurality of neurons being associated with the time period; generating, using the model, the first information, and the second information, at least one pose prediction corresponding to a change in head pose for the virtual reality experience for at least one upcoming time period; as well as The at least one pose prediction is provided in response to the request and display of virtual reality content in the virtual reality experience is triggered based on the at least one pose prediction.

2. The method according to claim 1, wherein: The at least one first indicator is a three-dimensional head position vector and the at least one second indicator is a four-dimensional quaternion.

3. The method according to claim 1, wherein: The at least one second indicator comprises: yaw, pitch and roll; or A three-dimensional vector having a magnitude indicating an amount of rotation and a direction indicating an axis of rotation.

4. The method according to claim 1, wherein: The model is configured to: generating additional candidate predictions based on the at least one pose prediction; and A mean square error is determined for each of the additional candidate predictions, the mean square error indicating whether to discard the corresponding additional candidate prediction.

5. The method according to claim 1, wherein: The model is configured to recursively determine additional candidate predictions for head pose changes at additional upcoming time periods.

6. The method according to claim 1, wherein: Receiving the request for head pose prediction includes receiving head pose data from a client device over a network; and Providing the at least one pose prediction for the head pose change includes providing rendered content in the virtual reality experience to the client device over the network based on the at least one pose prediction for the head pose change.

7. A computer-implemented method for predicting a gesture in an augmented reality environment, the method comprising: Obtaining gesture data corresponding to user movement in the augmented reality environment collected during a time period; generating a vector sequence including posture features determined according to the posture data; normalizing the vector sequence; executing a model using the normalized vector sequence to determine a pose prediction for an upcoming time period, the model comprising a plurality of memory neurons and at least one fully connected neural network layer; as well as Recursively generating a plurality of additional pose predictions for subsequent time periods using the model and the normalized vector sequence in response to receiving the pose prediction and a state of at least one memory neuron of the plurality of memory neurons.

8. The method according to claim 7, wherein: The gesture data corresponding to user movement in the augmented reality environment includes velocity or acceleration measurements associated with the user movement.

9. The method according to claim 7, further comprising: determining a location for displaying augmented reality content based on the additional gesture predictions within a corresponding time period beyond the upcoming time period; as well as Triggering rendering of the augmented reality content for display in the augmented reality environment.

10. The method according to claim 7, wherein: The sequence of vectors represents inputs to the model normalized based at least in part on the calculated mean and calculated variance values; and The pose prediction and the plurality of additional pose predictions are denormalized based on the calculated mean value and the calculated variance value before determining a position for displaying augmented reality content.

11. The method according to claim 7, wherein: The state of each memory neuron in the plurality of memory neurons is provided as an input to the model together with a next sequence pose prediction; and The plurality of additional pose predictions are based at least in part on a state of each memory neuron of the plurality of memory neurons.

12. The method according to claim 7, wherein: The model is trained on a database of known pose sequences; and The gesture data is sequence gesture data associated with a mobile device executing an augmented reality application.

13. The method according to claim 7, wherein: The model is configured to determine an error function that defines a mean absolute error, a smoothness cost, and a pose variation cost for each of the plurality of additional pose predictions.

14. The method according to claim 13, wherein: The error function is determined based on a detected angular error or a detected eye position error associated with one or more additional pose predictions of the plurality of additional pose predictions; or The error function represents a weighted error based on a portion of the plurality of additional pose predictions.

15. A non-transitory computer-readable storage medium comprising instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising: receiving a request for a pose prediction for an augmented reality experience; identifying at least one first indicator representing a position associated with the augmented reality experience and at least one second indicator representing a rotation associated with the augmented reality experience; identifying at least one first information representing a position associated with head gestures collected during a time period and at least one second information representing a rotation associated with the head gestures collected during the time period; providing the at least one first indicator and the at least one second indicator to a model including a plurality of neurons, the model including a plurality of recursive steps, each of the plurality of recursive steps including at least one neuron of the plurality of neurons and at least one fully connected layer, at least some of the plurality of neurons being associated with the time period; generating, using the model, the first information, and the second information, at least one pose prediction corresponding to a pose change for the augmented reality experience for at least one upcoming time period; and The at least one gesture prediction is provided in response to the request and display of augmented reality content in the augmented reality experience is triggered based on the at least one gesture prediction.

16. The non-transitory computer-readable storage medium of claim 15, wherein: The model is configured to: generating additional candidate predictions based on the at least one prediction; and A mean square error is determined for each of the additional candidate predictions, the mean square error indicating whether to discard the corresponding additional pose prediction.

17. The non-transitory computer-readable storage medium of claim 15, wherein: The at least one second indicator includes a three-dimensional vector having a magnitude representing an amount of rotation and a direction representing an axis of rotation.

18. The non-transitory computer-readable storage medium of claim 15, wherein: The at least one first indicator is a three-dimensional position vector and the at least one second indicator is a four-dimensional quaternion.

19. The non-transitory computer-readable storage medium of claim 15, wherein: The plurality of neurons are memory neurons, and the model is configured to recursively determine additional predictions for pose changes within additional upcoming time periods.

20. The non-transitory computer-readable storage medium of claim 19, wherein: The model is configured to encode, for each of a plurality of time steps within the at least one upcoming time period, a state of a corresponding memory neuron among the plurality of memory neurons corresponding to the corresponding time step within the at least one upcoming time period as input.