A physical simulation interaction method and device
By processing the prediction model of static environmental features and motion control commands in a low-dimensional latent feature space, visual interactive feedback information is generated, which solves the problem of high perception feedback delay in the prior art and realizes high response speed and real-time performance of physical simulation interaction.
Patent Information
- Application Number
- CN202611425815.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-14
- Publication Date
- 2026-11-24
Smart Images

Figure CN123157066A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of simulation interaction technology, and in particular relates to a physical simulation interaction method and device. Background Technology
[0002] In the fields of embodied intelligence and robot control, high-fidelity environmental simulation and low-latency teleoperation are core components for acquiring high-quality demonstration data and training control strategies. Traditional physical simulators rely on manually calibrated rigid body parameters and predefined geometric models, resulting in extremely poor generalization ability for simulations involving unstructured physical environments such as flexible deformations and fluids. In recent years, while interactive world models based on video generation have shown intuitive understanding of physical laws, they are essentially pixel-level video generators with inference latency as high as hundreds of milliseconds. Furthermore, they lack a strict alignment mechanism with robot joint-level kinematic values, making them unable to support real-time teleoperation tasks requiring end-to-end latency of less than 40 milliseconds.
[0003] Therefore, how to significantly reduce the perceptual feedback delay of generative simulation while maintaining the consistency of physical laws is a key challenge. Summary of the Invention
[0004] This application provides a physical simulation interaction method and apparatus, which can effectively improve the response speed and real-time performance of physical simulation interaction.
[0005] In a first aspect, embodiments of this application provide a physical simulation interaction method, which includes: Obtain text description information and generate an initial interaction scene based on the text description information. The initial interaction scene includes at least a controlled object for performing operation actions on the target object. Based on the initial interaction scenario, generate the initial hidden state vector of the controlled object in its current state; The static environmental features of the initial interaction scene and the action control instructions of the controlled object are obtained. The static environmental features are extracted from the visual observation data of the initial interaction scene within a historical preset time period at a first processing frequency. Based on the prediction model, the initial hidden state vector, static environment features and action control instructions are processed at a second processing frequency to generate prediction results. The second processing frequency is greater than the first processing frequency. Based on the prediction results, visualized interactive feedback information is generated, and at least some of the scenes in the initial interactive scene are updated based on the visualized interactive feedback information.
[0006] In one implementation, the prediction result includes at least a target hidden state vector, which is used to characterize the kinematic state of the controlled object and the relative spatial relationship and contact interaction trend between the controlled object and the target object. Based on the prediction model, the initial hidden state vector, static environment features, and action control commands are processed at a second processing frequency to generate prediction results, including: Based on the action control instructions, generate the action representation sequence corresponding to the action control instructions; Based on static environment features and action representation sequences, fused and correlated features are generated. Within the latent feature space, a target latent state vector is generated based on the initial latent state vector and the fused associated features.
[0007] In one implementation, a target hidden state vector is generated based on an initial hidden state vector and fused correlation features, including: The initial hidden state vector is mapped through the query weight matrix to generate the query vector; The fused correlation features are mapped through a key weight matrix and a value weight matrix to generate corresponding key vectors and value vectors; An attention output vector is generated based on the dot product of the query vector and the key vector, as well as the value vector. The initial hidden state vector is updated based on the attention output vector to generate the target hidden state vector.
[0008] In one implementation, the prediction result includes at least the target hidden state vector; Based on the prediction results, generate visual interactive feedback information, including: Based on the target hidden state vector, structured feature data is generated. The structured feature data includes at least one of the following: the projection coordinates of the three-dimensional coordinates of each execution unit of the controlled object onto the two-dimensional plane, the contact point position and contact force distribution between the controlled object and the target object, and the bounding box change parameters of the target object. Based on structured feature data, visualized interactive feedback information is generated.
[0009] In one implementation, updating at least a portion of the initial interaction scenario based on visual interactive feedback information includes: Obtain the background scene data corresponding to the initial interaction scene, and refresh the background scene data at the first refresh frequency; The visual interactive feedback information is overlaid on at least a portion of the corresponding screen in the background scene data at a second refresh frequency to update the target interactive scene, where the second refresh frequency is greater than the first refresh frequency.
[0010] In one implementation, the prediction result includes at least the predicted action distribution of the controlled object after executing the action control command; Based on the prediction model, the initial hidden state vector, static environmental features, and action control commands are processed at a second processing frequency to generate prediction results. The method further includes: Obtain the predicted motion distribution and the actual motion distribution corresponding to the motion control commands; Based on the predicted action distribution and the actual action distribution, determine the degree of deviation between the actual action distribution and the predicted action distribution; If the deviation exceeds a preset threshold, the parameters of the decision network of the prediction model are updated based on historical action control commands and historical prediction results.
[0011] In one implementation, the prediction result includes at least the target hidden state vector; If the deviation exceeds a preset threshold, the parameters of the prediction model's decision network are updated based on historical action control commands and historical prediction results, including: The historical actual action distribution is transformed into action gradient reward, which is used to characterize the preference direction of the actual action distribution relative to the predicted action distribution. Obtain the state value gradient corresponding to the historical target hidden state vector. The state value gradient is used to characterize the direction of long-term reward change of the controlled object under the target hidden state vector. Based on the action gradient reward and the state value gradient, a comprehensive loss function is constructed. The comprehensive loss function takes maximizing the log probability corresponding to the action gradient reward as the main optimization term and constrains the norm of the state value gradient as the regularization term. The network parameters of the decision network of the prediction model are updated based on the comprehensive loss function.
[0012] In one implementation, before acquiring the static environmental features of the initial interaction scene and the action control instructions of the controlled object, the method further includes: The control signals of the controlled object are acquired, and kinematic mapping is performed on the control signals to generate motion control commands for the controlled object.
[0013] In one implementation, the control signal of the controlled object is acquired, and kinematic mapping is performed on the control signal to generate motion control instructions for the controlled object, including: Based on the control signals, the pose and motion information of the controlled object are generated; By using inverse kinematics calculation, the pose information and motion information are converted into position and velocity commands for each execution unit of the controlled object; Based on position and speed commands, motion control commands are generated.
[0014] Secondly, embodiments of this application provide a physical simulation interaction device, the physical simulation interaction device comprising: The scene generation module is used to obtain text description information and generate an initial interactive scene based on the text description information. The initial interactive scene includes at least a controlled object for performing operation actions on the target object. The state vector generation module is used to generate the initial hidden state vector of the controlled object in the current state based on the initial interaction scenario. The feature acquisition module is used to acquire the static environmental features of the initial interaction scene and the action control instructions of the controlled object. The static environmental features are extracted from the visual observation data of the initial interaction scene within a historical preset time period at a first processing frequency. The prediction processing module is used to process the initial hidden state vector, static environmental features and action control instructions based on the prediction model at a second processing frequency to generate prediction results. The second processing frequency is greater than the first processing frequency. The feedback update module is used to generate visual interactive feedback information based on the prediction results, and update at least a portion of the scene in the initial interactive scene based on the visual interactive feedback information.
[0015] Thirdly, embodiments of this application provide an electronic device, the device comprising: Processor and memory storing programs or instructions; When the processor executes a program or instruction, it can implement the steps of the physical simulation interaction method described in the first aspect above.
[0016] Fourthly, embodiments of this application provide a computer storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of a physical simulation interaction method as described in the first aspect are implemented.
[0017] Fifthly, embodiments of this application provide a computer program product stored in a non-volatile storage medium, which is executed by at least one processor to implement the steps of a physical simulation interaction method as described in the first aspect.
[0018] As described above, the physical simulation interaction method and apparatus provided in this application generate an initial interaction scene containing the controlled object and its corresponding initial hidden state vector by acquiring text description information, and acquire static environment features and action control commands extracted at a first processing frequency. Based on this, the initial hidden state vector, static environment features, and action control commands are predicted in a low-dimensional hidden feature space at a second processing frequency greater than the first processing frequency to generate prediction results. Finally, based on the prediction results, visual interactive feedback information is generated and the scene is updated. By restricting high-frequency physical state updates to a low-dimensional hidden space, the rapid deduction of scene states can be achieved without relying on full-image pixel-level reconstruction, effectively compressing the perception feedback delay. Thus, while ensuring the consistency of physical laws, the response speed and real-time performance of physical simulation interaction are improved. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating a physical simulation interaction method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the process for generating prediction results in a physical simulation interaction method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the process for generating a target hidden state vector in a physical simulation interaction method provided in an embodiment of this application; Figure 4 This is a schematic diagram of the process for generating visual interactive feedback information in a physical simulation interaction method provided in this application embodiment; Figure 5 This is a schematic diagram of the process of updating at least a portion of the scene in the initial interaction scene in a physical simulation interaction method provided in an embodiment of this application; Figure 6 This is a flowchart illustrating another physical simulation interaction method provided in this application embodiment; Figure 7 This is a schematic diagram of the process for updating the parameters of the decision network of a prediction model in a physical simulation interaction method provided in an embodiment of this application; Figure 8 This is a schematic diagram of the system architecture of a physical simulation interaction method provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of a physical simulation interactive device provided in an embodiment of this application; Figure 10 This is a schematic diagram of the structure of an electronic device using a physical simulation interaction method provided in an embodiment of this application. Detailed Implementation
[0021] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0022] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0023] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of national laws and regulations.
[0024] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0025] Before describing the technical solutions provided in the embodiments of this application, in order to facilitate understanding of the embodiments of this application, this application first specifically explains the problems existing in the related technologies: In physical simulation and interaction scenarios such as remote robot control, virtual reality, and automated control, high-precision physics engines are typically required for frame-by-frame calculations to simulate the realistic physical interaction between the controlled object and the target object. However, high-precision physical calculations often come with huge computational overhead, which limits the response frequency of the simulation system and makes it difficult to meet the high-frequency visual feedback requirements of real-time interactive scenarios.
[0026] To improve the smoothness of interaction, some existing solutions increase processing speed by reducing the precision of physical calculations or simplifying simulation models. However, this may lead to distorted simulation results, failing to accurately reflect the true physical interaction between the controlled object and the target object, such as changes in contact force or minute deformations of the object. Therefore, how to improve the response frequency and real-time performance of simulation interaction while ensuring the realism of physical simulation is a technical problem that urgently needs to be solved in this field.
[0027] In view of the above, in order to solve the aforementioned problems in the prior art, embodiments of this application provide a physical simulation interaction method, apparatus, and device. The physical simulation interaction method provided in the embodiments of this application will be described first below.
[0028] Figure 1A flowchart illustrating a physical simulation interaction method provided in one embodiment of this application is shown. Figure 1 As shown, this physical simulation interactive method includes the following steps: S100. Obtain text description information and generate an initial interaction scene based on the text description information. The initial interaction scene includes at least a controlled object for performing operation actions on the target object. S200. Based on the initial interaction scenario, generate the initial hidden state vector of the controlled object in the current state; S300: Obtain the static environmental features of the initial interaction scene and the action control instructions of the controlled object. The static environmental features are extracted from the visual observation data of the initial interaction scene within a historical preset time period at a first processing frequency. S400: Based on the prediction model, the initial hidden state vector, static environment features, and action control commands are processed at a second processing frequency to generate prediction results. S500: Based on the prediction results, generate visual interactive feedback information, and update at least part of the scene in the initial interactive scene based on the visual interactive feedback information.
[0029] As described above, the physical simulation interaction method provided in this application obtains text description information and generates an initial interaction scene containing the controlled object, allowing users to quickly construct a simulation environment using natural language. Based on this, an initial hidden state vector of the controlled object in its current state is generated, providing a state baseline for subsequent prediction. Furthermore, static environment features extracted at a first processing frequency and the control commands of the controlled object are obtained, and the above information is processed using a prediction model at a second processing frequency greater than the first processing frequency. This achieves an asynchronous simulation architecture of low-frequency perception and high-frequency prediction, enabling the prediction process to respond at a higher frequency, balancing accurate perception of the static environment with the high-frequency feedback requirements of dynamic interaction. Subsequently, visual interactive feedback information is generated based on the prediction results, and the initial interaction scene is updated, allowing users to observe smooth interaction effects in a timely manner. Thus, through an asynchronous computing framework that separates high and low frequencies, the accuracy of static environment information is ensured while significantly improving the response speed and visual smoothness of dynamic interaction, effectively enhancing the real-time performance and realism of physical simulation interaction.
[0030] The specific implementation methods of steps 100 to 500 above will be described in detail below.
[0031] In S100, the text description information can be natural language text directly input by the user through an input device, such as a descriptive statement entered via a keyboard; or it can be text information obtained by converting the user's voice input through speech recognition technology. This text description information is used to define the semantic content of the physical interaction scene that the user expects to construct, and may include information such as the type and attributes of the target objects existing in the scene, the form and capabilities of the controlled objects, and the type of operation task to be performed.
[0032] The initial interactive scene refers to a virtual 3D interactive environment containing controlled objects and target objects, generated based on textual descriptions. This initial interactive scene can be constructed using pre-trained scene generation models, such as generative models based on Diffusion Transformer (DiT) or Vision-Language Model, to map textual descriptions into a visualized 3D scene. In some examples, the generation process of the initial interactive scene can also be combined with a pre-built scene template library to improve the efficiency and quality of scene generation.
[0033] The controlled object mentioned above refers to a virtual entity in the scene that can be manipulated by the user to perform operations on a target object. Taking robot teleoperation as an example, the controlled object can be a robot model with multi-degree-of-freedom motion capabilities, such as a virtual robotic arm, a dexterous hand, or a mobile operating platform. The target object mentioned above refers to the object in the scene that the controlled object needs to manipulate or interact with, such as a workpiece to be grasped, a box to be pushed, or parts to be assembled. For a specific example, if the text description is "on a desktop, use a six-degree-of-freedom robotic arm to grasp a red square," then the generated initial interaction scene may include a virtual desktop, a red square, and a six-degree-of-freedom robotic arm. In other examples, the controlled object can also be a manipulable entity of different forms, such as a virtual humanoid robot, a quadruped robot, or a drone, and the specific form can be determined according to the task requirements specified in the text description.
[0034] In another implementation of S100, to improve the efficiency and quality of scene generation, textual description information can be combined with a pre-stored scene template library. The scene template library can pre-define the basic layouts of various common interactive scenes. After parsing the textual description information, the scene generation model prioritizes matching scene templates with similar semantics, and then instantiates the specific target objects and controlled objects specified in the textual description into the template scene. This ensures scene diversity while reducing the computational time required for scene generation.
[0035] In S200, the initial latent state vector refers to the compressed representation of the physical state information of the controlled object in its current state within a low-dimensional latent feature space. The latent feature space is a continuous low-dimensional vector space, typically with a dimension much lower than the pixel space dimension of the original visual observation data. For example, if the pixel space dimension of a high-resolution scene image is H×W×C, where H and W are the height and width pixels of the image respectively, and C is the number of color channels, then its pixel space dimension can reach millions. The dimension of the latent feature space, however, is usually set between 512 and 2048 dimensions, such as 512, 768, 1024, or 2048, with the specific dimension chosen based on the scene complexity and model capacity. Representing the physical state of the controlled object in a low-dimensional latent feature space makes the computational complexity of subsequent physical state deduction related to the latent space dimension d rather than the number of pixels H×W×C, thus making high-frequency state updates computationally possible.
[0036] In some examples, the initial hidden state vector can be obtained by encoding visual observation data of the local region where the controlled object is located in the initial interaction scene using a pre-trained visual encoding network. This visual encoding network can be, for example, an encoder based on a visual Transformer architecture, which segments the input image into multiple image patches, extracts spatial correlation features between the patches through a self-attention mechanism, and finally outputs a compact hidden state vector. The initial hidden state vector can implicitly encode various physical state information of the controlled object, such as the spatial pose and velocity of each execution unit of the controlled object, the relative distance and orientation between the controlled object and the target object, and the potential contact interaction trends between them.
[0037] It should be added that the initial hidden state vector or the target hidden state vector not only includes the above information, but also the acoustic and mechanical properties of the material. After decoding the initial hidden state vector or the target hidden state vector, it can be extended into a multimodal output.
[0038] As an example, in the above multimodal output, the latent variables of collision and surface contact can be mapped into a high-frequency vibration intensity array through a feedforward network, and then transmitted to the operator's force feedback data glove via an ultra-low latency wireless protocol, so that the operator can feel the material hardness of the object being manipulated.
[0039] As another example, in the multimodal outputs mentioned above, physical collision intensity and material characteristics can also be mapped to specific waveform audio signals for transmission, thereby providing immersive sound feedback.
[0040] To give a concrete example, suppose the initial interaction scenario includes a six-degree-of-freedom robotic arm in a stationary state and a cube to be grasped in front of it. After the visual encoding network encodes the image data of the controlled object and its neighboring areas in the scenario, the generated initial hidden state vector can contain the implicit encoding of the current joint angles of the robotic arm, the relative positional relationship between the end effector and the cube, and the representation information that the robotic arm is currently in a standby state.
[0041] In S300, static environment features refer to the relatively slow-changing global scene semantic information in the initial interaction scene. In a typical physical interaction scene, scene elements can be divided into two categories: one is global background elements that change slowly or remain basically unchanged, such as the spatial layout structure of the scene, the distribution of lighting conditions, and the general material properties of the target object and the background environment; the other is local interaction elements that change rapidly, such as the real-time position of each joint of the controlled object, the contact state between the end effector of the controlled object and the target object, and the positional changes of the target object due to force. In this embodiment, the first type of slowly changing information is classified as static environment features for low-frequency extraction, while the second type of rapidly changing information is processed by the subsequent high-frequency latent space inference branch.
[0042] The aforementioned static environmental features are extracted from the visual observation data corresponding to the initial interaction scene within a historical preset time period using a first processing frequency. The aforementioned visual observation data refers to image data collected in the initial interaction scene through a virtual camera or observation perspective, which may include RGB color images, depth images, or RGB-D images, etc. The aforementioned historical preset time period refers to an observation time window preceding the current moment, such as the sequence of image frames within the most recent 1 to 3 seconds before the current moment t. The specific window length can be adjusted according to the actual rate of background change in the scene.
[0043] The aforementioned first processing frequency refers to the update frequency for extracting static environmental features. Its value is relatively low, for example, it can be set between 5Hz and 20Hz. As a specific example, the first processing frequency can be set to 10Hz, meaning that the global semantic features of the scene are refreshed once every approximately 100 milliseconds. Since the global background of the scene changes slowly, updating at such a frequency is usually sufficient to capture the changing trends of factors such as layout and lighting in the scene, while reserving valuable computational resources for high-frequency branches.
[0044] The extraction of static environmental features can be achieved through a low-frequency global encoding network. In some examples, this low-frequency global encoding network can be a pre-trained encoder based on a visual Transformer or spatiotemporal diffusion model, which continuously processes high-resolution visual observation sequences within a predetermined historical time period at a first processing frequency, compressing high-dimensional image data into a compact context condition vector. This context condition vector is shown in Equation (1) below: C t =Encoder globa l(O (t-k) ,...,O t (1) Among them, C t This represents the static environment features corresponding to the current time t, i.e., the context condition vector, O. t This represents the visual observation data at the current time t, where k represents the observation frame window length corresponding to the preset historical time period, and Encoder... global This represents a low-frequency global coding network. The static environment feature C... t It captures slowly varying semantic information such as spatial layout, lighting distribution, and material properties in the scene, providing a stable global semantic reference background for subsequent high-frequency predictions. The low-frequency backbone coding network updates its understanding of the scene with an update cycle of approximately 100 milliseconds.
[0045] The aforementioned motion control instructions refer to instruction data used to drive a controlled object to perform specific operational actions. In a physical simulation interaction scenario, the user inputs operational intentions to the system through a control device, and the system needs to convert the user's intuitive operational intentions into precise motion instructions that the controlled object can execute. In some embodiments, the process of acquiring motion control instructions may include: firstly, acquiring the control signal input by the user through the control device, which may contain the position and motion information of the control device in space; subsequently, performing kinematic mapping on the control signal to convert the expression of human operation actions into motion control instructions for the controlled object.
[0046] As a concrete example, if the controlled object is a multi-degree-of-freedom serial robotic arm, the spatial pose change signal input by the user via the handle is first parsed into the target pose and motion trajectory of the robotic arm's end effector. Then, using inverse kinematics (IK) calculation, the pose information of the end effector is converted into target position and velocity commands for each joint of the robotic arm, ultimately generating motion control commands containing parameters such as target angles and angular velocities for each joint. These motion control commands can be represented as multi-dimensional vectors, with each dimension corresponding to a controllable degree of freedom of the controlled object. In other examples, if the controlled object is a dexterous hand, the motion control commands may include flexion angle commands for each finger joint; if the controlled object is a mobile operating platform, the motion control commands may include a combination of chassis motion velocity commands and robotic arm joint commands.
[0047] In S400, the aforementioned prediction model can be a world model. A world model is a type of generative neural network model that emerges through pre-training on massive amounts of real-world visual and motion data, generating an intuitive understanding of physical laws. To facilitate understanding of the concept of a world model, it will be explained in detail here.
[0048] In related technologies, physical simulation mainly relies on two technical approaches: one is represented by traditional physical simulators, which are built based on analytical geometric equations and classical Newtonian rigid body dynamics. These simulators require manual and precise calibration of parameters such as the mass, inertia tensor, friction coefficient, damping coefficient, and contact dynamics model of all environmental objects. When the task scenario involves unstructured physical environments such as unknown materials, flexible deformable bodies, fluids, or complex multi-material contact, they may completely fail due to the lack of a predefined physical model. The other approach is represented by interactive world models based on video generation. These models emerge intuitive understandings of physical laws such as gravity, lighting, and fluid dynamics through unsupervised learning from massive amounts of video. However, they are essentially pixel-level video generators with inference latency typically reaching hundreds of milliseconds. Furthermore, they lack a strict alignment mechanism with the kinematic values of robot joints, making it difficult to support real-time teleoperation tasks that require low-latency closed-loop feedback.
[0049] The world model in this embodiment learns the statistical laws of physical interaction autonomously from the data through joint pre-training on massive amounts of real-world physical interaction videos and corresponding action data. It does not require manual setting of physical parameters item by item and has the ability to generalize to unstructured physical environments. For example, when faced with a flexible silicone object without a predefined geometric model, the world model can naturally present its deformation trend and reaction force transmission law when it is squeezed in the latent space, while traditional simulators may need to recalibrate material parameters in this case. At the same time, the world model restricts the prediction calculation to the latent space with a dimension much smaller than the pixel space by performing state inference in the low-dimensional latent feature space, rather than generating complete video frames pixel by pixel, thereby compressing the calculation time of a single inference to the order of milliseconds and meeting the latency requirements of real-time interaction.
[0050] In some embodiments, the pre-training phase of the world model can employ an autoregressive Transformer architecture or a diffusion transform model architecture, and be trained on a dataset containing large-scale physical interaction videos and corresponding action annotations. After pre-training, the world model learns the state transition mapping relationship from the current hidden state and input action to the next hidden state, thus possessing the ability to perform forward inference of the physical interaction process within the latent space.
[0051] The aforementioned second processing frequency refers to the update frequency at which the initial hidden state vector, static environmental features, and action control commands are processed to generate the prediction result. The second processing frequency is higher than the first processing frequency; for example, the second processing frequency can be set above 50Hz, including but not limited to 60Hz, 90Hz, 120Hz, or higher frequencies. As a specific example, the second processing frequency can be set above 60Hz, meaning the time overhead of a single prediction processing step is controlled to within approximately 16 milliseconds, thereby ensuring a low end-to-end latency from receiving the action control command to generating the prediction result.
[0052] In the specific implementation of S400, the prediction process based on the world model at a second processing frequency is completed within the low-dimensional latent feature space. The world model receives the initial latent state vector or the latent state vector updated in the previous iteration, static environmental features, and action control commands as inputs. It generates the prediction result through autoregressive state transition calculations within the latent space. This prediction result may include the target latent state vector for the next time step, which represents the physical state change of the controlled object after responding to the action control command.
[0053] In some embodiments, the state transition computation of the world model in the latent space is implemented using a lightweight causal Transformer network. This lightweight causal Transformer network has a smaller parameter count compared to low-frequency global encoders used to extract static environment features; for example, the parameter count can be approximately one-tenth or less of that of a low-frequency global encoder. This lightweight network can reside in high-speed GPU memory, avoiding frequent data exchanges with main memory during inference, thereby further reducing inference latency. Since the computation process of this network is entirely confined to the low-dimensional latent space, the computation time of a single forward propagation can be controlled to the order of milliseconds, ensuring the feasibility of high-frequency real-time interaction from a physical architecture perspective. Causality means that when the Transformer network computes the latent state at the current moment, it only depends on the input information from the current and historical moments, and not on information from future moments. This conforms to the fundamental constraint of causality in physical interaction, namely, that future physical states cannot affect the evolution of the current state.
[0054] In the aforementioned lightweight causal Transformer network, the autoregressive update process of the hidden state vector can be expressed as shown in equation (2): h t =Transformer causal {h (t-1) Embed(a t ),C t} (2) Among them, h t h represents the target hidden state vector generated by the prediction model at the current time t. (t-1) This represents the hidden state vector from the previous time step, which in the first iteration is the initial hidden state vector generated by S200 above. Embed(a t ) indicates the action control command a t The action representation vector obtained after embedding encoding, C t This represents the static environment features extracted in step S300 at the first processing frequency, i.e., the context condition vector, Transformer. causal This represents the forward propagation function of a causal Transformer network.
[0055] Furthermore, during the internal computation of the causal Transformer network, the hidden state vector h can be implemented through an attention mechanism in the hidden space. (t-1) With action representation Embed (a t ) and static environmental characteristics C tInformation fusion between them. Specifically, the action representation vector and the static environment features can be fused first to generate fused associated features; then, attention calculation in the latent space can be used to make the latent state vector selectively focus on the most critical information in the fused associated features for the deduction of the current physical state. This attention calculation process is implemented in the d-dimensional latent space, and its calculation can be shown in the following equation (3): Attention(Q,K,V)=softmax{(Q*K T / sqrt(d k ))*V}(3) Where Q represents the hidden state vector h from the previous time step. (t-1) The query vector obtained through mapping, where K and V represent the key vector and value vector obtained through mapping based on fused association features, respectively, and d k sqrt(d) represents the dimension of the key vector. k The scaling factor () is used to prevent the dot product result from becoming too large when the vector dimension is high, causing the gradient of the softmax function to tend to zero. The softmax function normalizes the attention weights into a probability distribution, and finally, the attention output vector is obtained by weighted summation of the value vector V using the attention weights. This attention output vector is then used to update the hidden state vector, generating the target hidden state vector h. t .
[0056] It should be noted that the attention calculations described above are performed entirely within a low-dimensional latent space. Their computational complexity is related to the dimension *d* of the latent space and the sequence length, rather than the number of pixels *H*×W in the original image. Since the value of *d* is much smaller than *H*×W, the computational cost of attention within the latent space is significantly lower than that of similar calculations in pixel space. Through the aforementioned autoregressive update and attention fusion mechanism within the latent space, the world model can predict the changes in the interaction state between the controlled object and the target object in a high-frequency manner, while maintaining consistency with physical laws.
[0057] In S500, the aforementioned visual interactive feedback information refers to the visual feedback content that users can observe in real time through a display device, obtained by decoding and transforming the prediction results generated by S400. After obtaining the prediction results, the state representation in the latent space can be converted into visual interactive feedback information through a decoding network. In some examples, this decoding network can be a lightweight structured prediction network, such as a multilayer perceptron with a small number of parameters or a small convolutional network, which has low inference latency and can quickly map the latent state vector into a visual representation of scene elements. Since the decoding process does not need to fully reconstruct all the details of the high-resolution pixel image, but focuses on the local state changes in the interaction area, the decoding computation can be effectively controlled at a low level.
[0058] Updating at least a portion of the initial interactive scene based on visual interactive feedback information refers to overlaying or merging visual interactive feedback information into the corresponding interactive area of the scene while keeping the background, which changes slowly or remains largely unchanged, relatively stable. This allows the scene to reflect the state changes of the controlled object in real time after responding to the action control command. In a specific example, suppose the initial interactive scene shows a six-DOF robotic arm in front of a workpiece in a static state. After the user issues a motion command to the robotic arm to move forward and attempt to grasp the workpiece, the world model predicts the approach process and contact state changes between the robotic arm's end effector and the workpiece in latent space. The prediction results are then decoded into the new spatial positions of each joint of the robotic arm and contact information between the end effector and the workpiece surface. This updates the robotic arm's posture in the interactive scene, allowing the user to observe the dynamic changes of the robotic arm in real time after responding to their control actions.
[0059] In other examples, the update frequency of the visual interactive feedback information can be kept consistent with the second processing frequency, such as above 60Hz, while the refresh frequency of the background in the initial interactive scene can be kept consistent with the first processing frequency, such as about 10Hz. That is, the low-frequency background layer of the scene updates at a slower pace, while the high-frequency interactive layer updates at a faster pace, superimposed on the background layer, and the update rhythms of the two are independent of each other. This layered update method ensures real-time visual response in the interactive area while avoiding the computational overhead and visual latency caused by re-rendering the entire scene frame by frame at full resolution, thus achieving smooth and low-latency physical interaction operations at the user experience level.
[0060] Optionally, according to some embodiments of this application, the prediction result includes at least a target hidden state vector, which is used to characterize the kinematic state of the controlled object and the relative spatial relationship and contact interaction trend between the controlled object and the target object. Combined with Figure 2 As shown, S400 above, based on the prediction model, processes the initial hidden state vector, static environment features, and action control commands at a second processing frequency to generate prediction results, including: S410, based on the action control command, generates the action representation sequence corresponding to the action control command; S420 generates fused and correlated features based on static environmental features and action representation sequences; S430: In the latent feature space, the target latent state vector is generated based on the initial latent state vector and the fused associated features.
[0061] As described above, in this embodiment, the action control command is first converted into an action representation sequence, realizing a structured mapping from the original numerical command to a latent space compatible representation. This allows action information to enter the subsequent deduction process in a form understandable to the world model. Based on this, static environmental features are fused with the action representation sequence to generate a fused associated feature. This feature carries both the global semantic context of the scene and the current manipulation intent information, thus providing complete conditional information for state deduction within the latent space. Furthermore, in the low-dimensional latent feature space, a target latent state vector is generated based on the initial latent state vector and the fused associated feature. This target latent state vector not only encodes the kinematic state changes of the controlled object after performing the action but also implicitly reflects the relative spatial relationship and contact interaction trend between the controlled object and the target object. Since the calculations of the above three steps are all confined to a latent feature space with dimensions far lower than pixel space, the computation time of a single deduction can be effectively controlled to the millisecond level, thereby achieving high-frequency real-time prediction of the interaction state while maintaining consistency with physical laws.
[0062] The specific implementation methods of steps 410 to 430 above will be described in detail below.
[0063] In S410, the action representation sequence refers to the vector sequence representation obtained by embedding and encoding the action control commands, suitable for computation and processing within the latent feature space. It can be understood that the action control commands obtained in S300 are usually physical quantities expressed in raw numerical form, such as target angle values and angular velocity values for each joint. Directly inputting these raw values into the world model may lead to low information utilization efficiency. Therefore, step 410 converts the action control commands into an action representation sequence, aligning it semantically with the latent feature space of the world model.
[0064] In some embodiments, generating action representation sequences can be achieved using an action tokenizer. An action tokenizer is a lightweight embedding encoding network that maps multidimensional action control command vectors to one or more action representation vectors with fixed dimensions. This action tokenizer can be implemented using various network structures, such as multilayer perceptrons, one-dimensional convolutional networks, or small Transformer encoders. Through the encoding of the action tokenizer, the operational intent implied in the action control command is transformed into a dense vector representation in the latent space, facilitating subsequent interactive computation with the latent state vectors in the world model.
[0065] To illustrate with a concrete example, suppose the controlled object is a six-DOF robotic arm. The motion control commands include the target angle values [θ1, θ2, θ3, θ4, θ5, θ6] of the six joints of the robotic arm and the opening and closing command g of the end effector gripper, totaling seven dimensions of raw values. After embedding and encoding these seven-dimensional vectors using an action segmenter, one or more action representation vectors can be generated. The dimension of each action representation vector can be consistent with the dimension d of the latent feature space. The resulting action representation sequence is in the same semantic space as the latent state vector of the world model in terms of vector space dimension, laying the foundation for subsequent feature fusion and state inference.
[0066] In other embodiments, the generation of action representation sequences can also consider the temporal dimension of the actions. For example, in high-frequency interaction scenarios, action control commands are continuously input in sequence, such as a 60Hz action stream. The action segmenter can perform temporal encoding on the action control commands across multiple consecutive frames to generate action representation sequences that include information on the trend of action changes. In this way, when the world model extrapolates future states, it not only refers to the action commands at the current moment but can also capture the continuous change patterns of actions, thereby making the prediction results closer to the real physical dynamics.
[0067] In S420, fused associated features refer to the comprehensive feature representation obtained by fusing static environmental features with action representation sequences. It can be understood that during physical interaction simulation, the state changes of the controlled object depend not only on the currently received action command but also on the global semantic constraints of the surrounding environment. That is, the same action command may produce drastically different physical results in different environmental layouts. For example, issuing a command to move the robotic arm 10 centimeters forward has completely different physical meanings and safety boundaries depending on whether it is executed in an open area on a table or in a narrow space where it is about to touch an obstacle. Therefore, it is necessary to fuse static environmental features representing environmental semantics with action representation sequences representing control intentions, so that subsequent state simulations can be performed within the constraints of the environmental context.
[0068] In some examples, the fusion of static environment features and action representation sequences can be achieved through feature concatenation. Specifically, the static environment features C... t The high-dimensional features are concatenated with the individual action representation vectors in the action representation sequence along the feature dimension. Then, a linear projection layer or a shallow MLP is used to map the concatenated high-dimensional features back to the latent space dimension, generating fused and associated features. The advantage of this approach is its simplicity and computational efficiency, making it suitable for real-time interactive scenarios with strict latency requirements.
[0069] In other examples, the fusion of static environmental features and action representation sequences can be achieved through a cross-attention mechanism. Specifically, the action representation sequence is used as the query, and the static environmental features as the key and value. Attention calculations allow the action representation sequence to selectively focus on the environmental semantic information within the static environmental features that is most relevant to the current action intent. For example, when an action command instructs a robotic arm to move forward, the cross-attention mechanism can make the action representation focus more on semantic information within the static environmental features related to the distribution of obstacles in the foreground space, the location of target objects, etc., thereby generating fused and correlated features with environmental awareness. This attention-based fusion method can more flexibly capture the relationship between actions and the environment, but its computational cost is slightly higher than simple concatenation.
[0070] In other examples, the generation of fused and associated features can also incorporate a gating fusion mechanism. Specifically, a learnable gating network dynamically determines the contribution ratio of the action representation sequence and the static environment features in the fused features based on their content. For example, when the action command involves fine manipulation, the gating network may assign higher weights to the static environment features to strengthen the influence of environmental constraints on state deduction; when the action command involves large-scale rapid movement, the gating network may assign higher weights to the action representation sequence to ensure the response speed of state deduction.
[0071] In S430, the target latent state vector is a latent space vector representation obtained through world model derivation, characterizing the future physical state of the controlled object after responding to action control commands. Compared to the initial latent state vector, which represents the state at the current moment, the target latent state vector represents the predicted state at the next moment or several moments in the future. This target latent state vector can implicitly encode multiple aspects of physical state information: first, the kinematic state of the controlled object, including the spatial pose, velocity, and acceleration of each actuator at the next moment; second, the relative spatial relationship between the controlled object and the target object, such as the relative distance, approach direction, and potential occlusion relationship between the end effector and the target object's surface; third, the contact interaction trend between the controlled object and the target object, such as whether a collision is imminent, the estimated direction and magnitude distribution of the contact force, and the potential displacement or deformation trend of the target object after being subjected to force. By uniformly encoding this information into a compact latent state vector, the world model can provide a complete physical state basis for visual interactive feedback in subsequent steps.
[0072] In some embodiments, the process of generating the target hidden state vector can be achieved through autoregressive state transition computation within the hidden feature space. Specifically, the lightweight causal Transformer network in the world model receives the initial hidden state vector h(t-1) and the fused correlation features f. tAs input, the target hidden state vector h is generated through forward propagation. t The calculation process can be shown in the following formula (4): h t =Transformer causal {h(t-1),f t (4) Among them, h t Let f represent the target hidden state vector generated at the current time t, h(t-1) represent the hidden state vector at the previous time, and f(t-1) is the initial hidden state vector generated by S200 in the first iteration. t This represents the fused correlation features generated in S420, using the Transformer. causal This represents the forward propagation function of a causal Transformer network.
[0073] Within the aforementioned causal Transformer network, an attention mechanism in the latent space enables information interaction between the initial hidden state vector and the fused associated features. This attention mechanism allows the initial hidden state vector to selectively focus on relevant information within the fused associated features, thereby more accurately predicting the physical state at the next time step.
[0074] In the attention calculation process, the dot product of the query vector Q and the key vector K is first calculated to obtain the attention score matrix. Each element in this score matrix reflects the degree of attention a certain dimension of the latent state vector pays to a certain dimension of the fused associated features. Dividing by a scaling factor is to prevent the dot product result from being too large when the dimension is high, thus avoiding the softmax function from entering the gradient saturation region. Subsequently, the attention score is normalized to a probability distribution using the softmax function. Finally, the value vector V is weighted and summed using attention weights to obtain the attention output vector.
[0075] The attention output vector incorporates the most relevant information from the fused associated features to the current physical state. Subsequently, the initial hidden state vector can be updated based on this attention output vector to generate the target hidden state vector h. t .
[0076] As described in S410 to S430 above, the embodiments of this application convert action control commands into action representation sequences, fuse static environmental features with action representation sequences to generate fused associated features, and realize interactive deduction of the initial hidden state vector and fused associated features based on an attention mechanism in the latent feature space. This enables the world model to simultaneously perceive the environmental semantic context and manipulation intention when deducing future physical states, rather than performing state mapping based on action commands in isolation. At the same time, since all calculations are restricted to low-dimensional latent feature space, the calculation time for a single state deduction is only on the order of milliseconds. This allows the state deduction frequency to reach a level that matches high-frequency action inputs while maintaining the ability to predict complex physical semantics such as contact action trends and changes in spatial relationships. This improves the accuracy and real-time performance of state prediction in physical simulation interaction.
[0077] Optionally, according to some embodiments of this application, in conjunction with Figure 3 As shown, in S430 above, within the latent feature space, based on the initial latent state vector and the fused associated features, a target latent state vector is generated, including: S431, the initial hidden state vector is mapped through the query weight matrix to generate a query vector; S432, the fused correlation features are mapped through the key weight matrix and the value weight matrix to generate the corresponding key vector and value vector; S433 generates an attention output vector based on the dot product of the query vector and the key vector, as well as the value vector; S434 updates the initial hidden state vector based on the attention output vector to generate the target hidden state vector.
[0078] As described above, in this embodiment, an information retrieval mechanism consisting of three elements—query, key, and value—is constructed within the latent feature space by mapping the initial latent state vector to a query vector and the fused correlation features to key and value vectors, respectively. The query vector carries the semantic intent of the conditional information needed for the current physical state; the key vector is used to match the query vector to determine the degree of association between different parts of the fused correlation features; and the value vector carries the actual information content that can be extracted from the fused correlation features. Based on this, attention weights are calculated by the dot product of the query vector and the key vector, and the value vectors are weighted and aggregated using these attention weights to generate an attention output vector. This allows the world model to adaptively select the most crucial information for state deduction from the fused correlation features based on the current physical state. Finally, the initial latent state vector is updated based on the attention output vector, and the selected conditional information is integrated into the latent state representation to generate the target latent state vector. Since the above-mentioned query, key-value mapping and attention calculation are all completed in the low-dimensional latent feature space, the computational complexity is related to the dimension of the latent space rather than the number of pixels in the original image. The computation time of a single update is effectively controlled at a low level, thus ensuring the quality of state inference while meeting the real-time requirements of high-frequency interaction.
[0079] The specific implementation methods of steps 431 to 434 above will be described in detail below.
[0080] In S431, the query weight matrix mentioned above refers to a learnable parameter matrix of the attention mechanism in the world model, denoted as W. Q The dimension of the query weight matrix is related to the dimension d of the latent feature space, and is typically a d×d matrix. k The matrix, where d is the dimension of the hidden state vector, d k The dimension of the mapped query vector is typically equal to d, but can be set to different values to achieve dimensionality compression or expansion. The parameters in the query weight matrix are learned through large-scale physical interaction data during the pre-training phase of the world model and remain fixed or fine-tuned as needed during subsequent use.
[0081] In the specific implementation, the initial hidden state vector h (t-1) By querying the weight matrix W Q Perform a linear mapping to generate the query vector Q. This mapping process can be shown in equation (5) below: Q=h (t-1) ·W Q (5) The query vector Q represents a query made to the fused correlation features from the perspective of the current physical state. Specifically, it asks what information the controlled object needs from the conditional information to help predict its state at the next moment. The initial hidden state vector encodes the controlled object's current kinematic state and spatial relationships, but the current state alone is insufficient to determine how the future state will evolve; it is also necessary to know "what physical effects will be produced by performing the current action in the current environment." The role of the query vector Q is to issue an information retrieval request to the fused correlation features, starting from the current state.
[0082] In S432, the key weight matrix and value weight matrix mentioned above are two learnable parameter matrices of the attention mechanism in the world model, denoted as W. K and W V Key weight matrix W K Used to map fused and correlated features to a key vector K, and a value weight matrix W. V This is used to map the fused associated features to a value vector V. The dimensions of the key weight matrix and the value weight matrix can typically be set to d, respectively. f ×d k and d f ×d v , where d f To integrate the dimensions of associated features, d k Let d be the dimension of the key vector. v Let be the dimension of the value vector. In some implementations, to reduce the number of parameters and computational overhead, the key weight matrix and value weight matrix can share some parameters or adopt a low-rank decomposition.
[0083] In the specific implementation, the associated features f will be fused. t Through the key weight matrix W respectively K Sum weight matrix W V A linear mapping is performed to generate the corresponding key vector K and value vector V. This mapping process can be shown in equations (6) and (7) below: K=f t *W K (6) V=f t *W V (7) In this context, the key vector K is used for matching and comparison with the query vector Q. It determines the identifier information of each dimension or part of the fused association features, enabling the query vector to find the most relevant parts of the conditional information by calculating similarity. The value vector V carries the content information of each dimension or part of the fused association features. Once the query vector has determined which parts are most relevant through key vector matching, the corresponding value vector parts are extracted as the response to the query.
[0084] In S433, based on the query vector Q generated in S431 and the key vector K and value vector V generated in S432, an attention output vector is generated through attention calculation.
[0085] The aforementioned attention output vector refers to the output vector obtained by weighted aggregation of the value vector V through an attention mechanism. Its dimension is usually the same as the dimension d of the value vector. v Consistency. The attention output vector does not simply perform an equal-weighted average of all information in the fused correlation features. Instead, it adaptively assigns different weights to different parts of the fused correlation features based on the degree of matching between the query vector Q and the key vector K. This ensures that the conditional information most relevant to the current physical state is highlighted, while irrelevant information is suppressed.
[0086] In S434, the initial hidden state vector is updated based on the attention output vector generated in S433 to generate the target hidden state vector. This step incorporates the conditional information extracted by the attention mechanism into the initial hidden state representation, enabling the hidden state vector to evolve from encoding only the current state to encoding the predicted state at the next time step under given conditions.
[0087] In a specific example, the aforementioned target hidden state vector can be determined according to the following equation (8): h t =LayerNorm[h (t-1) +FFN(h (t-1)+ Attention(Q,K,V))](8) Here, LayerNorm represents layer normalization, which is used to standardize each dimension of the intermediate update vector to keep the numerical distribution of features stable, which helps to accelerate model convergence and improve training stability. FFN represents the nonlinear transformation of the parameters in parentheses by the feedforward network. The feedforward network can usually be composed of two fully connected layers and a nonlinear activation function, and its role is to enhance the model's ability to express complex physical laws.
[0088] Equation (8) above allows the conditional information provided by the attention output vector to act on the initial hidden state vector in an incremental or modified form, rather than completely replacing the original state information. After the above update process, the target hidden state vector h t Not only does it preserve the initial hidden state vector h (t-1) The system incorporates basic information about the current kinematic state of the controlled object, and also injects conditional information from the fused and correlated features through an attention mechanism, thereby enabling the predictive encoding of the physical state at the next moment.
[0089] In some embodiments, if the causal Transformer network in the world model employs a multi-head attention mechanism, steps 431 to 433 can be executed independently in multiple parallel attention heads. Each attention head has its own independent query weight matrix, key weight matrix, and value weight matrix, enabling it to capture various association patterns between the initial hidden state vector and the fused associated features from different representation subspaces. For example, one attention head may focus on capturing spatial location-level associations, such as the geometric relationship between the end effector position of the robotic arm and the target object position; another attention head may focus on capturing mechanical-level associations, such as the physical constraint between the contact force direction and the object surface normal; and yet another attention head may focus on capturing temporal-level associations, such as the dynamic relationship between changes in motion speed and state evolution trends. The output vectors of multiple attention heads are concatenated and projected and fused through an output weight matrix to form a comprehensive attention output vector, which is then used to update the initial hidden state vector. This multi-head mechanism allows the world model to understand the physical interaction process simultaneously from multiple perspectives, helping to improve the target hidden state vector's ability to encode complex physical semantics.
[0090] It should be added that, in the overall process from steps 100 to 500, the target hidden state vector h generated in step 434... t It will be used as the new initial hidden state vector h in the next iteration. (t-1) The hidden states are input into the world model along with the action control commands for the next moment and the static environmental features, thereby achieving autoregressive continuous deduction of the hidden states. This autoregressive mechanism enables the world model to continuously predict the changes in the physical interaction state between the controlled object and the target object at a second processing frequency, forming a temporally continuous and physically consistent state evolution trajectory.
[0091] As described in steps 431 to 434 above, this embodiment of the application constructs an adaptive information retrieval mechanism in the latent feature space by mapping the initial latent state vector to a query vector and the fused associated features to key and value vectors. Specifically, the query vector represents the information requirement of the current physical state, the key vector is used to match the relevance of conditional information, and the value vector carries the substantive content of the conditional information. Attention calculation based on the query-key dot product enables the world model to dynamically adjust the extraction weights of different parts of the conditional information in the fused associated features according to the differences in the current physical state. This adaptive information filtering capability allows the world model to utilize conditional information for state deduction in the optimal way in different types of physical interaction stages, rather than processing all scenarios in a fixed pattern, thereby improving the targeting and accuracy of latent space state deduction. Simultaneously, all mapping and attention calculations are limited to a low-dimensional latent feature space, and the computational complexity is related to the dimension of the latent space rather than the number of pixels in the original image. The computation time for a single update can be effectively controlled at a low level, ensuring the real-time requirements of high-frequency interaction scenarios.
[0092] Optionally, according to some embodiments of this application, the prediction result includes at least the target hidden state vector. Combined with Figure 4 As shown, S500 above generates visual interactive feedback information based on the prediction results, including: S510. Based on the target hidden state vector, generate structured feature data. The structured feature data includes at least one of the following: the projection coordinates of the three-dimensional coordinates of each execution unit of the controlled object onto the two-dimensional plane, the contact point position and contact force distribution between the controlled object and the target object, and the bounding box change parameters of the target object. S520 generates visual interactive feedback information based on structured feature data.
[0093] As described above, in this embodiment, after obtaining the target hidden state vector, it is not directly decoded into a complete high-resolution pixel image. Instead, it is first transformed into low-dimensional structured feature data with clear physical meaning through structured decoding. These structured feature data are all feature quantities with dimensions much lower than the total number of pixels in the image, and their decoding process requires only lightweight computational overhead. Based on this, visual interactive feedback information is generated based on these structured feature data, allowing the image rendering to focus on the local updates of the interactive area, rather than regenerating all pixels of the entire scene frame by frame. This two-stage processing method of first structured decoding and then local rendering avoids the high latency problem caused by traditional pixel-level decoders reconstructing high-resolution images pixel by pixel, thereby effectively reducing the conversion latency from the hidden state to the visualized image while ensuring that the visualized feedback information accurately reflects the physical interactive state.
[0094] The specific implementation methods of steps 510 to 520 above will be described in detail below.
[0095] In S510, structured feature data refers to structured information extracted from the target hidden state vector that has a clear physical meaning and a dimension much lower than the original image pixel space. This can be understood as the target hidden state vector h... t Although the code encodes rich physical state information, including the kinematic state of the controlled object, the relative spatial relationship between the controlled object and the target object, and the tendency of contact interaction, this information exists in a high-dimensional vector in the form of implicit encoding and cannot be directly used for screen rendering or presentation to the user. Therefore, a decoding process is needed to transform the implicit encoding into an explicit, structured feature representation.
[0096] Unlike traditional pixel-level decoding methods, the structured decoding in this embodiment extracts only a few physical features most critical to the visual interactive feedback and organizes them into structured feature data. The dimensionality of this structured feature data is typically much lower than the pixel dimension of the entire image. For example, the 3D coordinate projection of each joint of a robotic arm may involve only a few dozen floating-point values, and the contact point position and force distribution may involve only a few hundred values, while a high-resolution RGB image contains over six million pixel values. Because the dimensionality of the decoding target is significantly reduced, the number of parameters and computational complexity of the decoding network are correspondingly reduced, and the decoding inference latency can be controlled at a low level, far lower than that of full-pixel decoding schemes.
[0097] The three feature types included in structured feature data will be explained in detail below.
[0098] In the structured feature data of S510, an execution unit refers to a structural component within the controlled object that can move independently or be controlled, such as the joints and links of a robotic arm, the fingers of a dexterous hand, the chassis and wheel assembly of a mobile platform, or the limb parts of a humanoid robot. In a 3D virtual scene, each execution unit has its own 3D spatial coordinates in the world coordinate system or the robot's base coordinate system. In visual interactive feedback, users typically observe the scene through a 2D display device; therefore, it is necessary to project the 3D coordinates of each execution unit onto a 2D imaging plane to obtain its display position on the screen.
[0099] The aforementioned projection coordinates refer to the pixel coordinates or normalized coordinates obtained by mapping three-dimensional spatial coordinates onto a two-dimensional image plane according to the projection model of a virtual camera. Taking a six-degree-of-freedom robotic arm as an example, the three-dimensional spatial positions of its seven main execution units are transformed by projection, resulting in seven corresponding two-dimensional projection coordinate points. These coordinate points can be used to overlay and draw the skeletal wireframe or key point markers of the robotic arm on the scene.
[0100] In practical implementation, the projected coordinates of the three-dimensional coordinates of each execution unit of the controlled object onto the two-dimensional plane can be obtained in the following way: target hidden state vector h t The implicit encoding in the structured decoding network determines the three-dimensional spatial position of each execution unit in the next time step. t The three-dimensional coordinate sequence of each execution unit is regressed, and then combined with the intrinsic and extrinsic parameter matrices of the virtual camera in the scene for projection transformation to obtain the corresponding two-dimensional projected coordinate sequence. In other examples, the structured decoding network can also directly learn the end-to-end mapping from the hidden state vector to the two-dimensional projected coordinates, skipping the explicit three-dimensional coordinate regression step to further reduce computational overhead.
[0101] To give a specific example, suppose the controlled object is a seven-degree-of-freedom robotic arm with parallel grippers. The structured decoding network decodes the three-dimensional coordinates of the seven key joints of the robotic arm from the target hidden state vector, and then projects them to obtain seven two-dimensional screen coordinates. The broken line formed by these coordinate sequences constitutes the skeleton representation of the robotic arm in the current interactive screen.
[0102] The contact point location mentioned above refers to the spatial position where physical contact occurs between the controlled object and the surface of the target object. During physical interaction, the contact point location changes dynamically with the actions of the controlled object and the object's response. Taking the robotic arm grasping a rubber ball as an example, the contact point location is the spatial coordinate of the actual point of contact between the robotic arm's gripper and the surface of the rubber ball.
[0103] The aforementioned contact force distribution refers to a quantitative description of the force situation in the area near the contact point, which can include the magnitude, direction, and distribution range of the contact force. The contact force distribution reflects the intensity characteristics of the physical interaction; for example, a slight touch generates a small and concentrated contact force, while a strong squeeze generates a larger contact force that may be distributed over a wider contact surface. In some examples, the contact force distribution can be represented in the form of a force vector field or a force tensor, that is, by labeling the magnitude and direction of the force at each discrete spatial point near the contact point.
[0104] In practical implementation, the contact point location and contact force distribution can be obtained from the target hidden state vector h through a structured decoding network. t Obtained through decoding. Target hidden state vector h t During the generation process via world model deduction, environmental semantics and action intent information have been fused through an attention mechanism, implicitly encoding the contact interaction trend between the controlled object and the target object. The structured decoding network can then process h... t The implicit coding dimensions related to contact are decoded to output the explicit three-dimensional spatial coordinates of the contact point and discrete sampled values of the contact force distribution. Since the amount of data for the contact point location and force distribution is usually small, the decoding overhead is effectively controlled.
[0105] In some embodiments, the extraction of contact force distribution can also be combined with the implicit encoding of the target object's material properties in the target's hidden state vector. For example, when the world model has learned the differences in response to forces on objects of different materials during the pre-training phase, the structured decoding network can simultaneously decode the pattern type of the force distribution and the corresponding force value from the hidden state vector.
[0106] The bounding box mentioned above refers to the smallest circumscribed geometry that encloses a target object. It can usually be represented as an axis-aligned bounding box (AABB) or an oriented bounding box (OBB). The bounding box is a simplified geometric representation commonly used in computer graphics and physics simulations to approximate the spatial occupancy and general shape of an object.
[0107] The bounding box variation parameters mentioned above refer to the parameter descriptions of changes in the bounding box of the target object during physical interaction, and may include at least one of the following: changes in the spatial position of the bounding box, changes in the size of the bounding box, and changes in the orientation of the bounding box. Taking the compression of an elastic rubber ball by a robotic arm as an example, the size of the bounding box of the rubber ball decreases in the direction of force, and may increase slightly in the direction perpendicular to the direction of force. The center position of the bounding box may also change due to the overall displacement of the ball.
[0108] In practical implementation, the bounding box transformation parameters can be obtained from the target hidden state vector h through a structured decoding network. t The target's latent state vector encodes the world model's predictions of the object's morphological evolution under force. The structured decoding network transforms these implicit codes into explicit bounding box parameters, such as the 3D coordinate offset of the bounding box center point, the scaling factors of each side length, and the rotation angle of the orientation angle. Since the bounding box parameters typically contain only a small number of floating-point values, their decoding overhead is extremely low.
[0109] In some examples, for target objects with complex shapes, the bounding box variation parameters can further include the segmented variation information of the bounding box, that is, the object is divided into multiple segments along a certain direction, and the bounding box parameters of each segment are output separately, so as to describe the non-uniform deformation of the object in a segmented approximation.
[0110] It should be noted that the three types of structured feature data mentioned above do not necessarily need to be generated simultaneously. In practical applications, one, two, or all three types can be generated depending on the specific needs of the interaction scenario and the available computing resources. For example, in a simple scenario where only the robotic arm's motion trajectory needs to be displayed, only the projected coordinates can be generated; in scenarios involving contact operations such as grasping and pushing, both the projected coordinates, contact point positions, and force distribution can be generated simultaneously; and in scenarios involving object deformation analysis, bounding box variation parameters can be additionally generated. This on-demand decoding strategy further enhances the system's flexibility and computational efficiency.
[0111] In step S520, based on the structured feature data generated in step 510, visual interactive feedback information is generated. This visual interactive feedback information refers to the visual content ultimately presented on the user's display device, reflecting the physical interaction state between the controlled object and the target object.
[0112] In practical implementation, generating visual interactive feedback information based on structured feature data can include: overlaying and drawing interaction-related visual elements onto the scene using structured feature data, allowing users to intuitively observe the motion state of the controlled object and its interaction with the target object. Since the structured feature data has already extracted key physical information directly related to the interaction state, the visualization rendering process can focus on local updates of the interaction area, without having to re-render the entire scene frame by frame.
[0113] In other examples, the visualization and interactive feedback information generated based on structured feature data can be enhanced by combining it with existing visual elements in the scene. For instance, in a complex industrial assembly scene, a semi-transparent interactive information layer can be overlaid on the background scene. This layer contains only the visualization elements generated from the structured feature data, allowing users to simultaneously observe the complete scene background and precise interactive status information, thus achieving a layered presentation of information.
[0114] It's worth noting that, due to the low dimensionality of the structured feature data, the decoding latency from the target latent state vector to the structured feature data can be kept low. Furthermore, the rendering process for generating visual interactive feedback information based on the structured feature data only involves overlaying and drawing low-dimensional geometric elements, rather than recalculating all pixels of the entire image. Therefore, the overall latency from outputting the target latent state vector in step 400 to generating the visual interactive feedback information in step S520 can be effectively compressed. This low-latency characteristic allows user input commands via device control to receive a visual response on the screen within tens of milliseconds, providing a technical guarantee for achieving smooth real-time teleoperation interaction.
[0115] by Figure 4Taking the process shown as an example, in a complete interaction cycle: the target hidden state vector h output by the world model t First, the data is fed into a lightweight structured prediction network, which calculates the prediction from h within approximately 1 to 2 milliseconds. t The system decodes structured feature data, such as the two-dimensional projected coordinates of the seven joints of the robotic arm, the three-dimensional coordinates and force vectors of the contact points between the end effector gripper and the workpiece surface, and the displacement and deformation parameters of the workpiece bounding box. Subsequently, the rendering engine overlays these structured feature data onto the background scene, drawing visual elements such as the robotic arm skeleton wireframe, contact force arrows, and bounding box borders, generating the final visual interactive feedback information for users to observe on their display devices. Because the amount of data decoded and rendered is far less than the amount of data required for full-image pixel reconstruction, the end-to-end latency of the entire process can be kept low, facilitating high-frequency interactive visual feedback.
[0116] As described in steps 510 to 520 above, this embodiment of the application generates structured feature data from the target latent state vector, rather than directly reconstructing the complete high-resolution pixel image. This decomposes the transformation process from latent space to the visible image into two stages: lightweight structured decoding and local geometric rendering. Since the dimension of the structured feature data is much lower than the pixel dimension of the entire image, the computational overhead of the decoding network and the rendering engine's drawing overhead are significantly compressed, effectively reducing the overall latency from latent state deduction to visual feedback. Simultaneously, the structured feature data has a clear physical meaning, directly driving the precise updating of interactive visual elements such as the controlled object skeleton, contact state heatmap, and target object deformation contour. This significantly improves the real-time performance of the screen response while ensuring that the visual feedback accurately reflects the physical interaction state, providing technical support for teleoperation interaction tasks requiring low-latency visual closed-loop feedback.
[0117] Optionally, according to some embodiments of this application, in conjunction with Figure 5 As shown, in S500 above, updating at least a portion of the initial interaction scenario based on visual interactive feedback information includes: S510. Based on the target hidden state vector, generate structured feature data. The structured feature data includes at least one of the following: the projection coordinates of the three-dimensional coordinates of each execution unit of the controlled object onto the two-dimensional plane, the contact point position and contact force distribution between the controlled object and the target object, and the bounding box change parameters of the target object. S520: Generate visual interactive feedback information based on structured feature data; S530. Obtain the background scene data corresponding to the initial interaction scene. The background scene data is refreshed at the first refresh frequency. S540. The visual interactive feedback information is overlaid on at least a portion of the corresponding screen in the background scene data at a second refresh frequency to update the target interactive scene, wherein the second refresh frequency is greater than the first refresh frequency.
[0118] As described above, in this embodiment, the screen update of the interactive scene is split into two independent refresh channels: background scene data refreshed at a first refresh frequency, responsible for presenting the global screen content that changes slowly or remains basically unchanged in the scene; and visual interactive feedback information refreshed at a second refresh frequency, responsible for presenting the rapidly changing local states in the interactive area. During screen updates, the frequently generated visual interactive feedback information is overlaid on the corresponding local screen areas in the low-frequency background scene data, rather than re-rendering the entire scene, thus achieving real-time high-frequency updates of the interactive area with lower rendering computational overhead. This high- and low-frequency layered overlay update mechanism allows for a balance between the global visual quality of the scene and the response speed of the interactive area within the same frame. That is, the background scene maintains high-resolution visual details, while the interactive area achieves low-latency dynamic responses, thereby improving the overall visual smoothness and real-time operation of the physical simulation interaction.
[0119] The specific implementation methods of steps 510 to 520 have been described and will not be repeated here. The specific implementation methods of steps 530 to S540 above will be described in detail below.
[0120] In S530, the aforementioned background scene data refers to scene image data in the initial interactive scene that is relatively independent of the interactive area, changes slowly, or remains essentially unchanged. It can be understood that in a typical physical interactive scene, not all screen content needs to be updated at the same frequency. For example, elements in the scene such as the desktop, walls, ground, light source layout, and distant objects change slowly or remain unchanged during the controlled object's operation; while local interactive areas directly related to the controlled object need to be updated frequently to reflect real-time physical state changes. In this embodiment, the data of the former type of screen content is defined as background scene data, and its refresh rate can be lower than the update rate of the interactive area.
[0121] The aforementioned first refresh frequency refers to the refresh frequency of the background scene data, and its value is relatively low. In some embodiments, the first refresh frequency can be consistent with or related to the first processing frequency for extracting static environmental features in step S300. For example, the first refresh frequency can be set between 5Hz and 20Hz. As a specific example, the first refresh frequency can be set to 10Hz, meaning the background scene data is refreshed at a rate of approximately once every 100 milliseconds. In other embodiments, the first refresh frequency can also be dynamically adjusted according to the actual rate of change of background elements in the scene. For example, when the background elements in the scene are completely static, the first refresh frequency can be reduced to a lower value; when the background elements in the scene are changing slowly, the first refresh frequency can be appropriately increased.
[0122] In practical implementation, background scene data can be obtained in the following ways: while the low-frequency global encoding backbone network of the world model extracts static environment features at the first processing frequency, or using these static environment features, a complete high-resolution background scene image is generated through a high-quality scene rendering pipeline. Since the background scene data is refreshed only at a low frequency, the computational overhead of high-quality rendering can be amortized over a longer refresh cycle, thus maintaining the visual quality of the background image without affecting the overall system response speed. In some examples, the rendering of the background scene data can employ a complete 3D graphics rendering pipeline, including all stages such as geometry processing, rasterization, pixel shading, and post-processing, to generate a detailed background image with rich texture details, lighting effects, and shadows.
[0123] In other examples, background scene data is not limited to being generated through rendering; it can also be obtained from a pre-stored scene image cache. For instance, for certain static background scenes, one or more high-quality background images can be pre-rendered during scene initialization and stored in a cache. Subsequently, these images are read from the cache at a first refresh rate and used as background scene data. When the scene background undergoes slow changes, a new background rendering is triggered to update the cached content.
[0124] In S540, the aforementioned second refresh frequency refers to the refresh frequency at which the visual interactive feedback information updates the background scene data. The second refresh frequency is greater than the first refresh frequency; for example, the second refresh frequency can be set above 50Hz, including but not limited to 60Hz, 90Hz, 120Hz, or higher frequencies. In some embodiments, the second refresh frequency can be consistent with the second processing frequency of the world model's prediction processing in step 400. That is, each time the world model generates a prediction result and accordingly produces visual interactive feedback information, it updates the corresponding area in the background scene data at this frequency. In this way, the screen update frequency of the interactive area matches the physical deduction frequency of the world model, ensuring that the user can perceive the physical interaction changes between the controlled object and the target object with low latency.
[0125] The aforementioned overlay refers to superimposing the content corresponding to the visual interactive feedback information onto a corresponding local area of the background scene, based on the background scene data. This replaces or blends the original pixel content of the corresponding area in the background scene with the content of the visual interactive feedback information. For example, the background scene data provides a complete scene base map, while the visual interactive feedback information provides a foreground layer for the interactive area. With each frame update, the background scene data refreshes independently at a slower pace, while the foreground layer updates continuously at a faster pace and overlays onto the base map. The two are superimposed to form the final target interactive scene image presented to the user.
[0126] The aforementioned partial view refers to a local view area within the background scene data corresponding to the interaction area, rather than the entire view area of the background scene data. Since the movement of the controlled object and its interaction with the target object typically occur only within a local spatial range within the scene during physical interaction, the visual interaction feedback only needs to update this local area to reflect changes in the interaction state. The view areas far from the interaction area can retain the original content of the background scene data. This local overlay method significantly reduces the number of pixels that need to be updated per frame, thereby reducing rendering computational overhead and making high-frequency view updates possible even with limited computing resources.
[0127] The aforementioned target interactive scene refers to the complete interactive scene displayed on the user's display device after partially overlaying and superimposing the visual interactive feedback information onto the background scene data refreshed at the first refresh rate using a second refresh rate. The target interactive scene simultaneously includes a low-frequency refreshed high-resolution background layer and a high-frequency refreshed interactive foreground layer. Visually, this results in the static background maintaining high-quality image detail, while the dynamic elements in the interactive area respond quickly to input with low latency. This is the target interactive scene that the user observes through the display device.
[0128] In practical implementation, overlaying visual interactive feedback information onto the background scene data can be achieved through layer overlay. Specifically, the rendering pipeline maintains two independent image layers: a low-frequency background layer that stores the latest background scene data, and a high-frequency interaction layer that stores the latest visual interactive feedback information. At each frame output, the rendering pipeline first checks if the background layer needs refreshing; if so, it updates the background layer's content. Subsequently, the high-frequency interaction layer is used to partially overlay the background layer according to its corresponding image position and size, generating the final target interactive scene image for output to the display device. Since updating the high-frequency interaction layer only involves local image operations, its computational overhead is far lower than re-rendering the entire scene frame by frame.
[0129] It's worth noting that when overlaying visual interactive feedback onto background scene data, edge blending can be performed to avoid noticeable seams or visual disjointness between the foreground and background layers. For example, a gradient of transparency can be applied to the edges of the foreground layer, allowing for a smooth transition between the foreground and background layers and improving the visual harmony of the final image. In other examples, the overlay operation can also consider the depth relationship between the foreground and background layers to ensure that the occlusion relationships between the controlled object and other objects in the scene are handled correctly.
[0130] As described in steps 530 to 540 above, this embodiment of the application splits the scene image into two independent channels: background scene data refreshed at a low frequency and visual interactive feedback information refreshed at a high frequency. The high-frequency interactive layer is then partially overlaid on the low-frequency background layer. This allows the image update strategy to be differentiated according to the rate of change of the image content. That is, static or slowly changing background parts do not need to be re-rendered frame by frame; only the local image of the interactive area is updated at a high frequency. Therefore, while maintaining high-resolution visual quality in the background scene, the image response latency in the interactive area is effectively reduced to a level comparable to the high-frequency refresh cycle. Simultaneously, the computational load for rendering each frame is significantly reduced because only pixels in the local interactive area need to be processed. This balances the visual quality of the scene image with the real-time smoothness of the interactive response, providing an efficient image update mechanism for physical simulation teleoperation interactions requiring low-latency visual feedback.
[0131] Optionally, according to some embodiments of this application, the prediction result includes at least the predicted action distribution of the controlled object after executing the action control command. Combined with Figure 6 As shown, after processing the initial hidden state vector, static environment features, and action control commands at a second processing frequency based on the prediction model in S400 above to generate prediction results, this physical simulation interaction method may further include: S440, obtain the predicted motion distribution and the actual motion distribution corresponding to the motion control command; S450, based on the predicted action distribution and the actual action distribution, determine the degree of deviation between the actual action distribution and the predicted action distribution; S460 updates the parameters of the decision network of the prediction model based on historical action control commands and historical prediction results when the deviation exceeds a preset threshold.
[0132] As described above, in this embodiment, after the world model generates prediction results, it is not used merely as a passive physical deduction tool, but rather further used as a policy learning engine that can continuously evolve during interaction. Specifically, the decision network in the world model autonomously generates a predicted action distribution, which is an action suggestion inferred from existing policy knowledge in the current scene state. Simultaneously, the user's actual input of action control commands through the device constitutes the actual action distribution, representing the real actions chosen by the human operator in the current scene state. By comparing the degree of deviation between the predicted action distribution and the actual action distribution, interaction moments where there is a significant difference between the policy output of the decision network and the operational intent of the human expert can be identified. When the deviation exceeds a preset threshold, it indicates that the autonomous policy of the decision network is not performing ideally in the current scene. In this embodiment, the human operational behavior at that moment is captured as a high-value learning sample, and the parameters of the decision network are updated online, allowing the world model to absorb the operational experience of the human expert in real time during interaction to improve its policy quality. This online strategy evolution mechanism, which learns while operating, upgrades the teleoperation process from simple human demonstration and data collection to a real-time evolution platform for intelligent agents. This helps to continuously reduce the deviation between the decision network strategy and human operating preferences, thereby improving the accuracy and adaptability of autonomous strategies in physical simulation interaction.
[0133] The specific implementation methods of steps 440 to 460 above will be described in detail below.
[0134] In S440, the predicted action distribution refers to the action probability distribution autonomously generated by the decision network in the world model based on the current scene state. For ease of understanding, the decision network will be explained first. Besides its ability to infer physical states in the latent feature space, the world model can also include a decision network. This decision network is used to output action suggestions that the controlled object should perform given the scene state. The decision network can share some network parameters with the state inference branch of the world model, or it can exist as a relatively independent functional module.
[0135] The predicted action distribution can take the form of a probability distribution in a multidimensional continuous space. Taking a six-degree-of-freedom robotic arm as an example, the predicted action distribution output by the decision network can be a joint Gaussian distribution of the target angles of each joint, where each joint corresponds to a mean and a variance; or it can be an action probability vector represented by a category distribution in a discrete action space.
[0136] In practical implementation, the predicted action distribution can be generated synchronously during the world model's state deduction process at a second processing frequency. For example, the world model generates the target hidden state vector h. t Afterwards, the decision network can be based on h t The input is a lightweight action prediction head, such as a multilayer perceptron network, which outputs parameters for predicting the action distribution, thus obtaining the predicted action distribution.
[0137] The aforementioned actual action distribution refers to the action distribution corresponding to the action control commands actually input by the user through the device. It can be understood that the action control commands obtained in step S300 are deterministic operation inputs given by the user at a specific moment, rather than a probability distribution. To make a comparison with the predicted action distribution under a unified dimension, the actual action control commands can also be converted into a distribution form. In some embodiments, the actual action distribution can be represented by a narrow distribution centered on the actual action value, such as a Gaussian distribution constructed with the actual action value as the mean and a small fixed variance, or the actual action value can be directly represented as a Dirac delta function of a deterministic distribution. In other embodiments, if the user continuously inputs action control commands, multiple actual action values within a short time window can be collected, and their empirical distribution can be statistically analyzed as the actual action distribution.
[0138] It's worth noting that the predicted and actual action distributions can also be compared in the action representation space rather than the original action numerical space. For example, after the S410 converts the action control command into an action representation sequence using an action segmenter, the predicted and actual action representation distributions can be obtained separately in the action representation space. Comparing the discrepancies between the two in a unified representation space helps capture the semantic differences behind the differences in action numerical values. For instance, if two joint angles have similar numerical values but are far apart in the action representation space, it may indicate a significant difference in the physical effects of the two actions.
[0139] In step S450, based on the predicted action distribution and the actual action distribution obtained in step 440, the degree of deviation between the two is determined. This degree of deviation is a quantitative measure of the difference between the actual action distribution and the predicted action distribution, used to characterize the magnitude of the deviation between the autonomous policy output of the decision network and the actual intention of the human operator. A larger degree of deviation indicates that the decision network's judgment on what action to perform in the current scenario is less consistent with the human's operational choice, and that there is significant room for policy improvement; a smaller degree of deviation indicates that the decision network's policy is closer to human operational preferences.
[0140] In some embodiments, the degree of deviation between the actual action distribution and the predicted action distribution can be measured by KL divergence (also known as relative entropy). KL divergence is a commonly used index in information theory to measure the difference between two probability distributions. Its value is non-negative and is zero only when the two distributions are completely identical. The degree of deviation can be calculated using KL divergence as shown in the following equation (9): in, This represents the actual action distribution at the current time t. The target hidden state vector h t The corresponding predicted action distribution, For parameters In a policy network, the larger the value of D, the more significant the difference between the actual action distribution and the predicted action distribution. The asymmetry of KL divergence means that the deviation of the predicted distribution is measured against the actual action distribution, reflecting the amount of information lost when using the predicted distribution to approximate the actual distribution.
[0141] In other embodiments, the degree of bias can also be determined using other statistical distance metrics, such as JS divergence (Jensen-Shannon Divergence, a symmetric smoothed version of KL divergence) or simple L2 norm distance. The choice of metric depends on the computational efficiency and accuracy requirements of the specific scenario.
[0142] In practice, the calculation of the degree of deviation can be performed synchronously after each prediction by the world model, or it can be performed every few predictions to reduce computational overhead. For example, if the world model performs state extrapolation at 60Hz, the calculation of the degree of deviation can be performed at the same 60Hz frequency, or at a lower frequency, depending on the configuration of the system's computing resources.
[0143] In S460, when the deviation determined in step 450 exceeds a preset threshold, it indicates that the difference between the actual action distribution and the predicted action distribution has become significant enough to warrant system attention. This means that the autonomous strategy of the decision network exhibits a meaningful deviation from the human operator's preferences in the current scenario, rather than being caused by random fluctuations or operational noise. In this case, the parameters of the decision network of the prediction model are updated based on the action control commands and historical prediction results to achieve online policy fine-tuning.
[0144] The aforementioned preset threshold is a critical value used to determine whether the degree of deviation is sufficient to trigger a policy update. This preset threshold can be set based on experience or determined based on the statistical distribution pattern of the degree of deviation in historical interaction data. For example, a batch of normal interaction data can be collected during the initial use phase, the historical mean and standard deviation of the degree of deviation can be calculated, and the preset threshold can be set as the mean plus a certain multiple of the standard deviation.
[0145] In practical implementation, the parameters of the decision network can be updated by using historical action control commands and prediction results between the current time and the present time as training samples, with the goal of maximizing the log probability of the policy network in actual actions, and by using gradient descent or related optimization algorithms to update the parameters of the decision network.
[0146] In one example, to prevent policy updates from overfitting to a single human action sample, regularization constraints can be introduced when updating the decision network parameters. For instance, the KL divergence between the updated and unupdated policy distributions can be constrained to not exceed an upper bound. These regularization techniques help maintain the policy's generalization ability and robustness while incorporating human operational experience.
[0147] In other embodiments, actual action control commands can be used not only as supervision signals directly for policy updates, but also transformed into action gradient reward signals. Action gradient rewards characterize the preference direction of the actual action distribution relative to the predicted action distribution; that is, from the perspective of the current policy, whether the human operator's action choice is better or worse, and the direction and degree of this difference. By using action gradient rewards as optimization signals, the parameter updates of the decision network can be directionally improved along the direction of human preference under the guidance of rewards, rather than simply mechanically imitating.
[0148] It should be added that the above-described policy update process can run synchronously in the background of the teleoperation interaction process, without blocking the world model's state inference and visualization interaction feedback generation at a second processing frequency. In some embodiments, the policy update can be performed using independent computing resources, so that the real-time response of user operations is not affected by the policy update calculation. After the policy update is completed, the updated decision network parameters can be asynchronously synchronized to the world model and take effect in the next state inference.
[0149] As described in steps 440 to 460 above, this embodiment of the application obtains the distribution of predicted actions autonomously output by the decision network and the distribution of actual human actions after the world model generates prediction results. Based on the degree of deviation between the two, the system can automatically identify interaction moments where there is a significant difference between the decision network strategy and the operational preferences of human experts. When the degree of deviation exceeds a preset threshold, the decision network parameters are updated online using human operational actions as the learning target. This allows the world model to continuously absorb the operational experience of human experts to correct strategy deviations during the interaction process, rather than relying solely on a fixed dataset for training in the offline stage. Thus, as the number of interactions increases, the strategy distribution of the decision network gradually converges to human operational preferences. In similar scenario states, the autonomously output action suggestions become increasingly consistent with human operational choices. This maintains the real-time performance of physical simulation interaction while achieving continuous evolution of strategy quality, helping to reduce the frequency of human intervention in subsequent interactions and the cost of obtaining high-quality interaction data.
[0150] Optionally, according to some embodiments of this application, the prediction result includes at least the target hidden state vector. Combined with Figure 7 As shown, in step S460 above, when the deviation exceeds a preset threshold, the parameters of the decision network of the prediction model are updated based on historical action control commands and historical prediction results, including: S461. Transform the historical actual action distribution into action gradient reward, which is used to characterize the preference direction of the actual action distribution relative to the predicted action distribution. S462. Obtain the state value gradient corresponding to the historical target hidden state vector. The state value gradient is used to characterize the direction of long-term return change of the controlled object under the target hidden state vector. S463. Based on the action gradient reward and the state value gradient, construct a comprehensive loss function. The comprehensive loss function takes maximizing the log probability corresponding to the action gradient reward as the main optimization term and constrains the norm of the state value gradient as the regularization term. S464. Based on the comprehensive loss function, update the network parameters of the decision network of the prediction model.
[0151] As described above, in this embodiment, when the deviation exceeds a preset threshold and triggers a policy update, the historical distribution of actual actions is first transformed into action gradient rewards. These rewards not only mark human actions but also quantitatively characterize their preference direction relative to the current prediction policy of the decision network. Simultaneously, the state value gradient is extracted from the target hidden state vector generated by the historical world model. This gradient signal evaluates the current physical state's good or bad trend from the perspective of long-term returns, providing the policy update with the world model's understanding of physical evolution. Based on this, a comprehensive loss function is constructed: maximizing the log probability corresponding to the action gradient reward is used as the main optimization term, while constraining the norm of the state value gradient is used as the regularization term. By minimizing this comprehensive loss function to update the decision network parameters, the policy learns from human operational experience while being constrained by the inherent physical knowledge of the world model. This absorbs the operational wisdom of human experts without losing generalization ability or violating physical consistency due to mechanically imitating a small number of samples. Therefore, this embodiment achieves an organic combination of human experience injection and physical constraint, improving the policy's fitting accuracy to human preferences while ensuring the stability and rationality of policy updates.
[0152] The specific implementation methods of steps 461 to 464 above will be described in detail below.
[0153] In S461, during the implementation of this application embodiment, relevant data such as the target hidden state vector and the initial hidden state vector obtained at the current moment are stored. When the deviation at the current moment is greater than a preset threshold, this application embodiment updates the parameters of the policy network of the prediction model based on the historical data stored before the current moment.
[0154] For ease of understanding, it should be noted that the actual action distribution used in step 450 to calculate the degree of deviation can be based on the actual action distribution corresponding to a single moment of action control command in the history before the current moment, or it can be based on the actual action distribution constructed from multiple consecutive action control commands within a short time window before the current moment. When the degree of deviation exceeds a preset threshold, the system can extract the sequence of action control commands within a time window before the deviation moment, such as a window within 3 seconds before the current moment, to form an actual action distribution sequence. This actual action distribution sequence records the complete continuous operation behavior of the human operator during the key interaction phase that triggers the policy update. Compared with single-frame action commands, the sequence form of action data can more completely reflect the temporal characteristics of human operation, such as the action trajectory, speed changes, and operation rhythm.
[0155] The aforementioned action gradient reward refers to the reward signal obtained by transforming the actual action distribution and the predicted action distribution corresponding to the initial hidden state vector through the advantage function. It is used to characterize the preference direction of the actual action distribution relative to the predicted action distribution. The action gradient reward can be a multidimensional vector or a directional signal. It not only encodes the superiority or inferiority of the human action relative to the policy-predicted action, but more importantly, it indicates the specific preference direction. That is, in the multidimensional action space, starting from the current policy-predicted action, in which direction and with what step size should the adjustment be made to better approximate the human operator's preference.
[0156] It should be added that the length of the intercepted window for the actual action distribution can be adjusted according to the characteristics of the interaction scenario and the system's computing resource configuration. For scenarios with rapid action changes, the window length can be set shorter to capture key information for instantaneous decision-making; for scenarios with slower action changes but stronger strategic elements, the window length can be appropriately extended to retain sufficient temporal context. In some other embodiments, while intercepting the actual action distribution, the system can also simultaneously intercept the hidden state vector sequence within the time window, using it as a high-priority experience cache for backtracking the state context during subsequent policy updates.
[0157] In S462, the aforementioned state value gradient refers to the gradient signal extracted from the target hidden state vector based on the value function, used to characterize the direction of long-term reward change of the controlled object in the physical state described by the target hidden state vector. To facilitate understanding of the state value gradient, its related concepts are explained here first.
[0158] In physical simulation interaction, each state of the controlled object not only has immediate physical meaning but also long-term value related to task completion and interaction quality. This long-term value represents the expected cumulative reward that can be obtained by continuing operations according to a certain strategy from the current state. For example, in a robotic arm grasping task, a state where the robotic arm's end effector is close to the target object and in a suitable posture for grasping typically has a higher long-term value than a state where the end effector is far from the target or in a poor posture, because starting from the former state makes it easier to successfully complete the grasping task. In this embodiment, the world model, in addition to its ability to deduce physical states and predict actions, may also include a value evaluation network. This network is used to evaluate the long-term value of a given hidden state vector. The aforementioned state value gradient refers to the gradient of the long-term value output by the value evaluation network with respect to the hidden state vector.
[0159] In practical implementation, the value evaluation network can share some latent feature encoding layers with the state derivation branch of the world model, or it can exist as an independent functional module. The value evaluation network can be obtained through offline pre-training or online learning. For example, during the pre-training phase of the world model, methods such as temporal difference learning can be used to enable the value evaluation network to learn the mapping relationship from the latent state vector to the long-term expected reward. During the interaction process, the parameters of the value evaluation network can remain fixed or be appropriately updated based on the interaction data.
[0160] In S463, a comprehensive loss function is constructed based on the action gradient reward obtained in step 461 and the state value gradient obtained in step 462. This comprehensive loss function is the objective function used to guide the update of the decision network parameters.
[0161] In practice, the comprehensive loss function can consist of two parts: the main optimization term and the regularization term.
[0162] The main optimization term aims to maximize the log probability corresponding to the action gradient reward. Specifically, the main optimization term can be constructed in the form of a negative log probability, and its expression can be shown in equation (10) below: (10) in, This represents a decision network with parameter φ. For historical moment t, Representing historical moments The corresponding actual action distribution, Representing historical moments The corresponding predicted action distribution is the latent vector of the target state, where A is the advantage function. For calculation The expectation under distribution D.
[0163] In a specific example, the expression for the regularization term can be shown in equation (11): (11) The main optimization term and the regularization term are combined to construct a comprehensive loss function, which is shown in equation (12) below: In a specific example, the above loss function can be represented by the following equation (12): Among them, the above For a historic moment The corresponding next moment is The distribution of predicted actions corresponding to the target hidden state vector at time step A is the advantage function, V is the value function, E is the expectation, and λ is the balance coefficient used to adjust the relative weights between the main optimization term and the regularization term. The value of λ can be set according to the actual application scenario: when it is desired that the policy learns human operational experience more actively and allows for larger parameter updates, λ can be set to a smaller value, such as 0.01 to 0.1; when it is desired that the policy updates be more conservative and more strictly follow the physical knowledge constraints of the world model, λ can be set to a larger value, such as 0.5 to 1.0. In some embodiments, λ can also be adaptively adjusted according to the magnitude of the deviation.
[0164] In S464, the network parameters of the decision network of the prediction model are updated based on the comprehensive loss function constructed in step 463. This update process is implemented through the gradient descent optimization algorithm, the core operation of which is to calculate the gradient of the comprehensive loss function with respect to the decision network parameters, and adjust the parameter values in the opposite direction of the gradient so that the comprehensive loss function gradually decreases.
[0165] In practical implementations, besides the basic stochastic gradient descent, gradient optimization algorithms can also employ optimization algorithms with momentum and adaptive learning rate mechanisms, such as the Adam (Adaptive Moment Estimation) optimizer. The Adam optimizer adaptively calculates different learning rates for each parameter by maintaining an exponential moving average of the first and second moments of the gradient, and typically exhibits more stable and faster convergence characteristics in multidimensional parameter spaces.
[0166] As described in steps 461 to 464 above, this embodiment of the application constructs a dual-driven parameter update mechanism by simultaneously introducing two heterogeneous signals, action gradient reward and state value gradient, during policy update. Action gradient reward extracts the direction and magnitude of human operational preferences from actual action sequences, guiding the decision network towards human expert policies. State value gradient extracts evolutionary trend information from the world model's evaluation of long-term returns to physical states, regularizing the direction and magnitude of parameter updates to prevent the policy from losing generalization ability or deviating from physical consistency due to overfitting a small number of human samples. The two signals work synergistically in the comprehensive loss function through the main optimization term and the regularization term, enabling the decision network to maintain respect for physical laws while absorbing human operational experience. This improves the accuracy of the policy's fit to human preferences while ensuring the stability of online learning and the physical rationality of policy updates.
[0167] Optionally, according to some embodiments of this application, before the above-described S300 steps of obtaining the static environmental features of the initial interaction scene and the motion control instructions of the controlled object, the physical simulation interaction method may further include: The control signals of the controlled object are acquired, and kinematic mapping is performed on the control signals to generate motion control commands for the controlled object.
[0168] As described above, in this embodiment, before entering the dual-frequency decoupling prediction processing flow, a kinematic mapping channel is first established between the human operator and the controlled object. Specifically, by acquiring the control signals of the controlled object input by the user through the control device, which are typically expressed in a form of intuitive human operation, kinematic mapping is performed on them. This converts the expression of the human operation space into precise motion instructions in the execution space of the controlled object, thereby generating motion control instructions that can be directly processed by the world model. This kinematic mapping step establishes a strict mathematical alignment relationship between human operational intuition and the mechanical kinematics of the controlled object, enabling the user's natural operational actions on the control device to be accurately translated into position and velocity instructions that can be executed by each execution unit of the controlled object. This provides a precise motion input basis for the world model to perform high-frequency physical state deduction and generate visual interactive feedback based on motion control instructions in subsequent steps. Thus, this embodiment ensures the accuracy and consistency of motion information transmission throughout the entire physical simulation interaction process by completing human-machine kinematic alignment at the data acquisition source.
[0169] The specific implementation methods of the above steps will be described in detail below.
[0170] In the above steps, control signals refer to the raw signal data input by the user through the control device, used to express the intention to operate the controlled object. The specific form and content of the control signals depend on the type of control device and the interaction method used.
[0171] In some embodiments, the control signals can originate from a virtual reality controller or a VR controller. Taking a VR controller as an example, it typically incorporates an inertial measurement unit and optical tracking sensors, enabling it to acquire six degrees of freedom (DOF) pose information in three-dimensional space at a high frequency in real time. This six DDF pose information can include three translational DDFs and three rotational DDFs. Furthermore, VR controllers are usually equipped with input elements such as trigger buttons, grip buttons, joysticks, or touchpads, and signals such as press depth, joystick offset, or touch position can also serve as components of the control signals. For instance, when a user moves their hand in space while holding a VR controller, the VR controller tracks the hand's spatial trajectory in real time and outputs the pose sequence as a control signal; when the user pulls the trigger button, the trigger press depth can serve as an input component in the control signal used to control the opening and closing degree of the end effector of the controlled object.
[0172] In practical implementation, the acquisition frequency of the control signal can be consistent with or an integer multiple of the second processing frequency of the subsequent world model prediction processing. For example, if the world model performs latent space state deduction at a second processing frequency of 60Hz, the acquisition frequency of the control signal can also be set to 60Hz, so that the latest control signal is available for each frame of prediction processing, ensuring the timing alignment from action input to state deduction.
[0173] Kinematic mapping refers to the computational process of mapping control signals from the human operating space to the execution space of the controlled object. Since control signals are usually expressed in an intuitive form based on human operating habits, while the controlled object may have a completely different kinematic structure, there are differences in kinematic representation between the two. The role of kinematic mapping is to establish a transformation relationship between the two spaces, enabling human operational intentions to be accurately translated into motion commands for the controlled object.
[0174] The specific implementation of kinematic mapping can be any of the following: workspace mapping, joint space mapping, velocity level mapping, and hybrid mapping.
[0175] In practice, kinematic mapping calculations can be performed on the control device, on a cloud server, or on dedicated computing nodes in a GPU cluster. The mapping calculations need to be updated frequently to ensure that the conversion latency from control signals to motion control commands remains within acceptable limits. In some embodiments, the results of the kinematic mapping can be represented as a multi-dimensional vector and passed to subsequent steps, where each dimension of the vector corresponds to the target position or target velocity parameter of each controllable degree of freedom of the controlled object.
[0176] It should be added that, in some embodiments, preprocessing operations can be performed between the acquisition of control signals and kinematic mapping to improve the stability of the mapping and the control experience. For example, the original control signals can be low-pass filtered to eliminate high-frequency noise introduced by hand tremors; a dead-zone threshold can be applied to the control signals, treating changes in the control signals as zero when they are less than the dead-zone threshold, thus preventing the controlled object from continuing to move due to minor, unconscious hand tremors; and the control signals can be scaled, allowing users to cover a larger robot workspace with smaller hand movements, or conversely, allowing larger hand movements to correspond to fine-tuning of the robot.
[0177] As described above, this embodiment establishes an independent pre-processing stage from control signal acquisition to kinematic mapping before the static environmental characteristics and motion control commands of the controlled object enter the dual-frequency prediction processing flow. This stage precisely transforms the intuitive human operational expression into executable target position and velocity commands for each execution unit of the controlled object through mathematical mapping relationships, thus constructing a strict numerical alignment channel between human operational intuition and the mechanical kinematics of the controlled object. Consequently, the motion control commands relied upon by the subsequent world model for high-frequency physical deduction in the latent space are no longer coarse expressions of motion intent, but precise motion commands calibrated by kinematics. This enables the world model to accurately deduce the kinematic state and physical interaction effects of each joint of the controlled object after responding to the control actions, thereby ensuring the accuracy of motion transmission and the reliability of the entire interaction loop in physical simulation interaction.
[0178] In an optional embodiment, the above-described physical simulation interaction method can be deployed on, for example, Figure 8 The system architecture shown relies on a high-speed network and a distributed graphics processing unit (GPU) cluster. It consists of four parts: a user interaction layer, a hierarchical latent space interaction generation engine, a low-latency state decoding module, and an online policy fine-tuning module. The hierarchical latent space interaction generation engine implements the core functions of the prediction model in the above embodiments; the low-latency state decoding module generates visual interactive feedback information from the prediction results in the above embodiments; and the online policy fine-tuning module updates the decision network parameters of the prediction model based on the degree of deviation in the above embodiments. The following section will combine... Figure 8 The components of this system architecture are described in detail.
[0179] Figure 8 The user interaction layer includes control devices and display devices. Control devices are used to collect the user's operational intentions and generate control signals for the controlled object. For example, virtual reality (VR) controllers or six-degrees-of-freedom (6DOF) controllers can be used to capture the spatial pose and motion information of the user's hands in real time at a collection frequency no lower than the second processing frequency. Display devices are used to present the target interactive scene to the user. For example, VR headsets can be used, employing a high- and low-frequency layered rendering method to fuse background scene data with visual interactive feedback information.
[0180] Optionally, the user interaction layer may also include a haptic feedback device. In this case, the low-latency state decoding module can also decode the contact force distribution information from the target hidden state vector, and convert the contact force distribution information into a high-frequency vibration intensity array, which is then transmitted to the haptic feedback device via an ultra-low latency wireless protocol, enabling the operator to perceive tactile information such as the material hardness of the manipulated object, thereby realizing a multimodal interaction closed loop of vision and touch.
[0181] Optionally, the low-latency state decoding module can also decode the physical collision intensity and material feature information from the target hidden state vector, and map the information into a specific waveform audio signal and send it to the audio playback device to provide users with immersive sound feedback, thereby realizing a closed loop of full-modal perception of vision, touch and hearing.
[0182] The hierarchical latent space interaction generation engine is the core component of the system architecture in this application embodiment. It adopts a dual-frequency decoupling architecture, which separates the visual background generation and physical state interaction in terms of computational frequency and computational resources. It includes two parts: a low-frequency global context encoding backbone network and a high-frequency dynamic latent space evolution branch network.
[0183] The low-frequency global context encoding backbone network is used to implement the function of extracting static environmental features from visual observation data within a historical preset time period at a first processing frequency in the above embodiments. This backbone network can be implemented using a pre-trained encoder based on a visual Transformer or spatiotemporal diffusion model. It has a large number of parameters and can extract slowly varying semantic information such as the spatial layout, illumination distribution, and material properties of target objects from high-resolution image sequences, compressing this information into a compact context condition vector. Since the global background of the scene changes relatively slowly, this backbone network operates at a low update frequency; for example, the first processing frequency can be set to approximately 10Hz, or an update cycle of approximately 100 milliseconds. The inference computation of the low-frequency backbone network can be distributed across multiple high-performance GPUs, for example, four NVIDIA H100 GPUs.
[0184] The high-frequency dynamic latent space evolution branch network is used to implement the function of the prediction model in the above embodiments to perform autoregressive updates of the latent state vector in the low-dimensional latent feature space at a second processing frequency. This branch network can be implemented using a lightweight causal Transformer network, with a parameter count much smaller than that of the low-frequency backbone network, for example, about one-tenth the number of parameters of the backbone network, and the entire network resides entirely in high-speed video memory to avoid data exchange latency between the network and main memory during inference. This branch network receives the action representation sequence obtained by encoding the action control command by the action segmenter, and the static environmental features provided by the low-frequency backbone network as conditional inputs. In the latent feature space with a dimension much lower than the pixel space, it updates the latent state vector of the previous time step through the latent space attention mechanism to generate the target latent state vector. Since the computation process is completely confined to the low-dimensional latent space, the time taken for a single forward propagation is about 2 to 5 milliseconds, and it can run stably at a second processing frequency of more than 60 Hz, ensuring that the end-to-end latency is at a low level from the physical architecture level. In practical deployments, high-frequency evolutionary branch networks can be allocated to run on dedicated high-performance GPUs, such as two NVIDIA H100 GPUs, to ensure the real-time performance and determinism of high-frequency inference.
[0185] The low-frequency backbone network and the high-frequency evolutionary branch network are interconnected through a high-speed network. For example, a 100Gbps high-speed network that integrates the Ethernet Remote Direct Memory Access (RoCEv2) protocol can be used to achieve low-latency communication between multiple nodes, and the cross-node transmission latency of hidden state vectors and static environment features can be controlled within 2 milliseconds.
[0186] The low-latency state decoding module transforms the target hidden state vector output by the high-frequency dynamic latent space evolution branch network into visual interactive feedback information. This module consists of two parts: a structured prediction lightweight network and a dual-channel rendering pipeline.
[0187] A lightweight network for structured prediction is used to implement the function of decoding and generating structured feature data from the target hidden state vector in the above embodiments. This network can be implemented using a lightweight multilayer perceptron (MLP) or a small convolutional network, with approximately 50M parameters and an inference latency of about 1 to 2 milliseconds, far lower than the full-pixel decoding latency of traditional pixel-level VAEs or diffusion decoders (typically reduced by 1 to 2 orders of magnitude). This network directly regresses low-dimensional structured physical indicators from the target hidden state vector, including the projection coordinates of the three-dimensional coordinates of each execution unit of the controlled object onto the two-dimensional plane, the contact point positions and contact force distribution between the controlled object and the target object, and the bounding box variation parameters of the target object. Since the dimension of the decoded target is much lower than the pixel dimension of a full-resolution image, the decoding computational overhead is significantly compressed, thus ensuring a low-latency conversion from hidden state deduction to visualization feedback.
[0188] A dual-channel rendering pipeline is used to implement the high- and low-frequency layered rendering update mechanism described in the above embodiments. This rendering pipeline includes a low-frequency rendering channel and a high-frequency rendering channel: the low-frequency rendering channel refreshes the background scene data at a first refresh rate (e.g., approximately 10Hz), generating a high-resolution scene image with rich texture details and lighting effects using the complete graphics rendering process; the high-frequency rendering channel overlays the visual interactive feedback information corresponding to the structured feature data onto the corresponding local image area in the background scene data at a second refresh rate (e.g., above 60Hz). Specifically, the high-frequency rendering channel overlays and renders interactive visual elements such as the skeletal wireframe of the controlled object, the heatmap of contact force arrows, and the changing bounding box border of the target object on top of the background scene base map in real time. Through this high- and low-frequency layered rendering method, the static background of the scene maintains high-resolution visual quality, while the dynamic elements in the interactive area respond quickly to control input with low latency, thus balancing overall image quality and real-time interactivity.
[0189] The online policy fine-tuning module runs synchronously in the background during teleoperation interactions, continuously updating the decision network parameters of the prediction model based on the degree of deviation as described in the above embodiments. This module continuously monitors the degree of deviation between the predicted action distribution and the actual action distribution. When the deviation exceeds a preset threshold, it automatically extracts the hidden state vector sequence and action control command sequence before that time window as a high-priority experience cache, triggering online parameter updates for the decision network. The parameter update process can employ a truncated temporal backpropagation algorithm or a gradient optimization algorithm based on adaptive moment estimation, with maximizing the log probability of actual human actions as the primary optimization direction. Simultaneously, state value gradients are introduced as regularization constraints to prevent policy overfitting. This module can utilize independent computing resources for policy updates, such as allocating two NVIDIA H100 GPUs dedicated to online policy fine-tuning, thus not affecting real-time inference of high-frequency latent space evolution branches and the generation of visual interactive feedback.
[0190] In a typical system deployment configuration, the above system architecture may include: a server cluster built with 6 NVIDIA H100 GPUs, of which 4 are used for low-frequency backbone network inference and 2 for online policy fine-tuning; 2 NVIDIA H100 GPUs are dedicated to high-frequency dynamic latent space evolution branches, with their network models residing entirely in GPU memory; the GPU nodes are interconnected via a RoCEv2 100Gbps high-speed network, achieving a latent vector cross-node transmission latency of no more than 2 milliseconds. The teleoperation device can employ a PICO 4 Ultra VR headset and two six-DOF controllers, capable of acquiring and uploading joint motion signals in real time at frequencies above 60Hz; the terminal display uses a VR headset, presenting low-latency visual interactive feedback to the user through the aforementioned dual-channel overlay rendering mechanism. Optionally, the system can also be expanded with haptic feedback gloves to receive contact force signals output by the low-latency state decoding module, achieving a multimodal closed-loop interactive experience combining vision and touch.
[0191] Based on the same inventive concept, correspondingly, embodiments of this application also provide a physical simulation interaction device based on the above-mentioned, such as... Figure 9 As shown, the device 900 includes: The scene generation module 910 is used to obtain text description information and generate an initial interactive scene based on the text description information. The initial interactive scene includes at least a controlled object for performing operation actions on the target object. The state vector generation module 920 is used to generate the initial hidden state vector of the controlled object in the current state based on the initial interaction scenario. The feature acquisition module 930 is used to acquire the static environmental features of the initial interaction scene and the action control instructions of the controlled object. The static environmental features are extracted from the visual observation data of the initial interaction scene within a historical preset time period at a first processing frequency. The prediction processing module 940 is used to process the initial hidden state vector, static environmental features and action control instructions based on the prediction model at a second processing frequency to generate prediction results. The second processing frequency is greater than the first processing frequency. The feedback update module 950 is used to generate visual interactive feedback information based on the prediction results, and update at least a portion of the scene in the initial interactive scene based on the visual interactive feedback information.
[0192] Figure 10 A schematic diagram of the hardware structure of a physical simulation interaction method provided in an embodiment of this application is shown.
[0193] The device may include a processor 1011 and a memory 1012 storing computer program instructions.
[0194] Specifically, the processor 1011 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0195] Memory 1012 may include mass storage for data or instructions. For example, and not limitingly, memory 1012 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 1012 may include removable or non-removable (or fixed) media. Where appropriate, memory 1012 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 1012 is non-volatile solid-state memory.
[0196] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to embodiments of this application.
[0197] The processor 1011 reads and executes computer program instructions stored in the memory 1012 to implement any of the physical simulation interaction methods in the above embodiments.
[0198] In one example, the device may further include a communication interface 1013 and a bus 1010. Wherein, as... Figure 10 As shown, the processor 1011, memory 1012, and communication interface 1013 are connected through bus 1010 and complete communication with each other.
[0199] The communication interface 1013 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0200] Bus 1010 includes hardware, software, or both, that couples device components of a physical simulation interaction method together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 1010 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0201] The control device of the physical simulation interaction method can execute a physical simulation interaction method in the embodiments of this application, thereby realizing a physical simulation interaction method in the embodiments of this application.
[0202] Furthermore, in conjunction with the physical simulation interaction methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the physical simulation interaction methods in the above embodiments.
[0203] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the physical simulation interaction methods described in the above embodiments.
[0204] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0205] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0206] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0207] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0208] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A physical simulation interactive method, characterized in that, include: Obtain text description information and generate an initial interaction scene based on the text description information. The initial interaction scene includes at least a controlled object for performing operation actions on the target object. Based on the initial interaction scenario, an initial hidden state vector of the controlled object in its current state is generated; The static environmental features of the initial interaction scene and the action control instructions of the controlled object are obtained. The static environmental features are extracted from the visual observation data of the initial interaction scene within a historical preset time period at a first processing frequency. Based on the prediction model, the initial hidden state vector, the static environment features, and the action control command are processed at a second processing frequency to generate a prediction result, wherein the second processing frequency is greater than the first processing frequency. Based on the prediction results, visual interactive feedback information is generated, and at least some scenes in the initial interactive scene are updated based on the visual interactive feedback information.
2. The method according to claim 1, characterized in that, The prediction result includes at least a target hidden state vector, which is used to characterize the kinematic state of the controlled object and the relative spatial relationship and contact interaction trend between the controlled object and the target object. The prediction model-based process, which processes the initial hidden state vector, the static environmental features, and the action control command at a second processing frequency to generate prediction results, includes: Based on the action control command, generate the action representation sequence corresponding to the action control command; Based on the static environment features and the action representation sequence, fused correlation features are generated; Within the latent feature space, the target latent state vector is generated based on the initial latent state vector and the fused associated features.
3. The method according to claim 2, characterized in that, Based on the initial hidden state vector and the fused correlation features, the target hidden state vector is generated, including: The initial hidden state vector is mapped through the query weight matrix to generate a query vector; The fused correlation features are mapped using a key weight matrix and a value weight matrix to generate corresponding key vectors and value vectors; An attention output vector is generated based on the dot product of the query vector and the key vector, and the value vector; The initial hidden state vector is updated based on the attention output vector to generate the target hidden state vector.
4. The method according to claim 1, characterized in that, The prediction result includes at least the target hidden state vector; The step of generating visual interactive feedback information based on the prediction results includes: Based on the target hidden state vector, structured feature data is generated. The structured feature data includes at least one of the following: the projection coordinates of the three-dimensional coordinates of each execution unit of the controlled object onto the two-dimensional plane, the contact point position and contact force distribution between the controlled object and the target object, and the bounding box variation parameters of the target object. Based on the structured feature data, the visual interactive feedback information is generated.
5. The method according to claim 1, characterized in that, The step of updating at least a portion of the initial interaction scenario based on the visual interactive feedback information includes: Obtain the background scene data corresponding to the initial interaction scene, and refresh the background scene data at a first refresh frequency; The visual interactive feedback information is overlaid on at least a portion of the corresponding screen in the background scene data at a second refresh frequency to update the target interactive scene, wherein the second refresh frequency is greater than the first refresh frequency.
6. The method according to claim 1, characterized in that, The prediction result includes at least the predicted action distribution of the controlled object after executing the action control command; After processing the initial hidden state vector, the static environment features, and the action control command at a second processing frequency based on the prediction model to generate a prediction result, the method further includes: Obtain the predicted action distribution and the actual action distribution corresponding to the action control command; Based on the predicted action distribution and the actual action distribution, determine the degree of deviation between the actual action distribution and the predicted action distribution; If the deviation exceeds a preset threshold, the parameters of the decision network of the prediction model are updated based on the historical action control commands and the historical prediction results.
7. The method according to claim 6, characterized in that, The prediction result includes at least the target hidden state vector; When the deviation exceeds a preset threshold, the parameters of the decision network of the prediction model are updated based on historical action control commands and historical prediction results, including: The historical actual action distribution is transformed into action gradient reward, which is used to characterize the preference direction of the actual action distribution relative to the predicted action distribution; Obtain the state value gradient corresponding to the historical target hidden state vector, and the state value gradient is used to characterize the long-term return change direction of the controlled object under the target hidden state vector; Based on the action gradient reward and the state value gradient, a comprehensive loss function is constructed. The comprehensive loss function takes maximizing the log probability corresponding to the action gradient reward as the main optimization term and constrains the norm of the state value gradient as the regularization term. Based on the comprehensive loss function, the network parameters of the decision network of the prediction model are updated.
8. The method according to claim 1, characterized in that, Before acquiring the static environmental features of the initial interaction scene and the action control instructions of the controlled object, the method further includes: The control signal of the controlled object is acquired, and kinematic mapping is performed on the control signal to generate the motion control command of the controlled object.
9. The method according to claim 8, characterized in that, The step of acquiring the control signal of the controlled object and performing kinematic mapping on the control signal to generate the motion control command of the controlled object includes: Based on the control signal, the pose information and motion information of the controlled object are generated; The pose information and motion information are converted into position and velocity commands for each execution unit of the controlled object using inverse kinematics calculation methods. The motion control command is generated based on the position command and the speed command.
10. A physical simulation interactive device, characterized in that, include: A scene generation module is used to acquire text description information and generate an initial interactive scene based on the text description information. The initial interactive scene includes at least a controlled object for performing operation actions on a target object. The state vector generation module is used to generate the initial hidden state vector of the controlled object in the current state based on the initial interaction scenario. The feature acquisition module is used to acquire the static environmental features of the initial interaction scene and the action control instructions of the controlled object. The static environmental features are extracted from the visual observation data of the initial interaction scene within a historical preset time period at a first processing frequency. The prediction processing module is used to process the initial hidden state vector, the static environment features and the action control command based on the prediction model at a second processing frequency to generate a prediction result, wherein the second processing frequency is greater than the first processing frequency. The feedback update module is used to generate visual interactive feedback information based on the prediction results, and update at least a portion of the scene in the initial interactive scene based on the visual interactive feedback information.
