Robot action driven multi-view generative simulation method

By optimizing the generated model through offline geometric calibration and supervised fine-tuning training, the reliability problem of the relationship between the robot and the camera was solved, and unified multi-view conditions for different robotic arm movements were achieved, thereby improving the efficiency of robot motion simulation and data generation.

CN123181673APending Publication Date: 2026-11-27INST OF AUTOMATION CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611472585.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to establish a reliable relationship between robots and cameras, and the difficulty in converting motion information from different robotic arm movements into unified multi-view conditions means that generated models cannot accurately reflect changes after motion modifications.

Method used

The camera parameters and robot installation offset are obtained through offline geometric calibration. Shared action conditions are constructed, and supervised fine-tuning training and reinforcement learning are performed by combining real multi-view future videos to optimize the generative model, enabling it to generate multi-view future videos after the robot performs specified actions.

Benefits of technology

It improves the efficiency of robot motion simulation and data construction, reduces the misalignment between control conditions and real images caused by camera and installation errors, and can optimize the generated model in the absence of real future video, adapting to the motion transitions of different robotic arms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181673A_ABST
    Figure CN123181673A_ABST
Patent Text Reader

Abstract

The application provides a robot action-driven multi-view generation simulation method, which comprises the following steps: performing offline geometric calibration according to real robot records and camera information to obtain calibrated camera parameters and calibrated robot installation offset; constructing a shared action condition according to a robot action sequence, a robot description, the calibrated camera parameters and the calibrated robot installation offset; performing supervised fine-tuning training on a generation model based on the shared action condition and real multi-view future videos; and performing reinforcement learning training on the fine-tuned generation model according to a reference flow, an anti-fact flow and an embodied video reward model to obtain an optimized generation model. The application can generate multi-view future videos after a robot performs a specified action.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot vision and intelligent simulation technology, and in particular to a multi-view generative simulation method for robot motion-driven simulation. Background Technology

[0002] In operations such as grasping, carrying, and placing, robots need to assess the environmental changes that different actions may cause. However, real-world testing relies on robotic arms, a suitable environment, target objects, and repeated resetting, making it difficult to repeatedly collect data on deviations from the target or grasping failures at low cost and on a large scale. Utilizing generative models to simulate the visual evolution of a robot after performing actions provides a scalable technical path for action simulation, offline evaluation, and data construction.

[0003] There are three main existing technical approaches. The first is motion-conditional robot video generation. This method predicts future observations based on robot actions and can be used for robot strategy development and evaluation. However, different robotic arms have different structures, motion dimensions, and camera layouts. How to convert motion information into shareable control conditions that accurately correspond to images from different viewpoints remains a problem to be solved. The second is vision-conditional video generation and editing. This method can use images, depth, or other visual cues to control the generated results. However, in robotic scenarios, robotic arm movements simultaneously change the robot's projection, occlusion relationships, and wrist camera viewpoints; providing only local visual cues is insufficient to clarify the geometric relationships between these changes. The third is a generative model optimization method based on quality feedback. This method can improve the generation quality using a judgment model. However, after the robot's actions are modified, the original recorded video may no longer correspond to the correct future. If the original reference supervision is still used, the model will tend to restore the original action result rather than reflect the changes caused by the modified action.

[0004] In summary, the technical issues addressed by existing technologies are: how to establish a reliable relationship between the robot and the camera from existing robot recordings, how to organize different robotic arm movements into unified multi-view conditions, and how to continue optimizing the generation model when there is a lack of real video corresponding to the modified movements. Summary of the Invention

[0005] This invention provides a multi-view generative simulation method for robot motion-driven operation, which solves the problems in the prior art of how to establish a reliable relationship between the robot and the camera from existing robot records, and how to organize the motions of different robotic arms into unified multi-view conditions.

[0006] This invention provides a multi-view generative simulation method for robot motion-driven operation, comprising the following steps: Acquire real robot records, camera information, robot descriptions, initial multi-view observations, task instructions, robot action sequences, and real multi-view future videos; Based on the actual robot records and the camera information, offline geometric calibration is performed to obtain the calibrated camera parameters and the calibrated robot installation offset. Shared motion conditions are constructed based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset. Based on the shared action conditions and the real multi-view future video, the generative model is trained under supervision to obtain the fine-tuned generative model. Based on the reference stream, counterfactual stream, and embodied video reward model, the fine-tuned generative model is trained by reinforcement learning to obtain the optimized generative model. The current initial multi-view observations, task instructions, and shared action conditions are input into the optimized generation model for simulation to obtain a multi-view future video of the robot after it performs the specified action.

[0007] In one embodiment, the real robot record includes robot topology, joint states, base trajectory, and multi-view video; The step of performing offline geometric calibration based on the real robot record and the camera information to obtain calibrated camera parameters and calibrated robot installation offset includes: Based on the camera information, obtain the camera parameters and the robot component installation offset; Based on the robot topology, the joint states, and the base trajectory, the shape and position of the robot model in each frame are determined; Based on camera parameters and robot component installation offsets, the shape and position of the robot model in each frame are rendered to obtain robot rendering results; the robot rendering results include robot mask and rendered surface points; Dense matching and segmentation are performed on the multi-view video to obtain dense matching results and observation segmentation masks; Based on the robot rendering results, the dense matching results, and the observation segmentation mask, construct a 3D-2D alignment set, a synchronous viewpoint pixel matching set, and a cross-frame static background matching set for the same camera. Calculate the 3D-2D reprojection loss based on the aforementioned 3D-2D alignment set; Calculate the two-dimensional ray coplanar loss based on the synchronous viewpoint pixel matching set and the same camera cross-frame static background matching set; Determine the mask intersection-union ratio based on the robot mask and the observation segmentation mask; The alignment quality of the offline geometric calibration is determined based on the 3D-2D reprojection loss and the mask intersection-union ratio. If the alignment quality is not up to standard, the camera parameters, robot component installation offset, and correspondence confidence are jointly optimized based on the 3D-2D reprojection loss and the 2D-2D ray coplanarity loss until the alignment quality is up to standard, thus obtaining the calibrated camera parameters and calibrated robot installation offset.

[0008] In one embodiment, constructing shared motion conditions based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot mounting offset includes: The robot's motion sequence is converted to obtain the joint configuration and gripper state; Based on the joint configuration, robot description, calibrated camera parameters, and calibrated robot installation offset, the robot model is rendered to obtain the robot RGB appearance image, robot depth image, and robot complete mask; Based on the camera intrinsic parameters and camera pose in the calibrated camera parameters, a geometric code is constructed for each pixel in the corresponding multi-view image; the geometric code includes the unit ray direction in the world coordinate system and the cross product of the camera center and the unit ray direction; The gripper state is encoded into the background color channel of the robot's RGB appearance image to obtain the encoded robot RGB appearance image; The encoded RGB appearance image of the robot, the depth image of the robot, the complete mask of the robot, and the geometric code are combined to construct shared action conditions.

[0009] In one embodiment, the generative model includes a pre-trained video variational autoencoder (VAE), a 3D convolutional encoder, a VACE layer, and a DiT layer; the step of inputting the current initial multi-view observations, task instructions, and shared action conditions into the optimized generative model for simulation to obtain a multi-view future video of the robot performing a specified action includes: The initial multi-view observations are input into the pre-trained video VAE to obtain reference latent frames for each viewpoint; The reference latent frames of each viewpoint are arranged along the width in viewpoint order to obtain multi-view reference latent frames; The robot's RGB appearance image and normalized depth in the shared action conditions are input into the pre-trained video VAE, and encoded per viewpoint to obtain RGB features and depth features; The robot complete mask and geometric code in the shared action conditions are input into the three-dimensional convolutional encoder for joint encoding to obtain mask features and geometric code features. Based on the VACE layer, the RGB features, the depth features, the mask features, the geometric coding features, and the multi-view reference latent frames are laid out and aligned, and then concatenated into a VACE layer conditional context. The VACE layer conditional context is injected into the DiT layer through conditional branches to guide the generation of multi-view future videos.

[0010] In one embodiment, the step of supervising and fine-tuning the generative model based on the shared action conditions and the real multi-view future video to obtain the fine-tuned generative model includes: Encode the real multi-view future video into real multi-view future video latent variables; Sampling noise is added to the latent variables of the real multi-view future video to obtain noisy latent variables; The generation conditions are determined based on the shared action conditions, the initial multi-view observations, and the task instructions. The generation model is used to process the noisy latent variables and the generation conditions to obtain the flow matching speed; The first loss is determined based on the flow matching speed and the flow matching speed target; The parameters of the generative model are optimized using the first loss to obtain a fine-tuned generative model.

[0011] In one embodiment, the step of training the fine-tuned generative model with reinforcement learning based on the reference stream, counterfactual stream, and embodied video reward model to obtain an optimized generative model includes: The reference stream and the counterfactual stream are combined to obtain hybrid data; From the mixed data, conditions are sampled, and for each condition, a set of candidate videos differing only in randomness are generated; The embodied video reward model is used to evaluate the set of candidate videos that differ only in randomness, and the generation quality reward of the candidate videos is obtained. Based on the generation quality reward and fidelity of the candidate videos, the advantage mapping value of the candidate videos is obtained; Conditions are sampled from mixed data, and candidate latent variables are sampled using an exponential moving average generator; Add noise to the candidate latent variables to obtain noisy latent variables; The noisy latent variable is predicted by using the fine-tuned generative model and the exponential moving average generator respectively, to obtain the current model speed prediction result and the exponential moving average speed prediction result. Based on the exponential moving average velocity prediction result, and with the velocity difference between the current model velocity prediction result and the exponential moving average velocity prediction result as the direction, a normalized reconstruction loss for positive and negative predictions is constructed. Based on the advantage mapping value of the candidate video, the normalized reconstruction loss of positive and negative predictions is weighted to obtain the second loss; The fine-tuned generative model is optimized based on the second loss to obtain the optimized generative model.

[0012] In one embodiment, evaluating the set of candidate videos that differ only in randomness using the embodied video reward model to obtain a generation quality reward for the candidate videos includes: The embodied video reward model is used to predict the candidate videos, resulting in quality labels for multiple quality dimensions. The quality labels of the multiple quality dimensions are normalized respectively to obtain the quality probabilities of the multiple quality dimensions. Based on the quality probabilities of the multiple quality dimensions, quality rewards for each of the multiple quality dimensions are determined; the quality rewards for the multiple quality dimensions constitute the generated quality reward. The multiple quality dimensions include a first quality dimension, a second quality dimension, and a third quality dimension; the first quality dimension is used to evaluate robot replication, disappearance, structural or appearance anomalies; the second quality dimension is used to evaluate object replication, disappearance, deformation, or appearance anomalies; and the third quality dimension is used to evaluate the physical consistency of contact and motion relationships and interaction processes.

[0013] The present invention also provides a multi-view generative simulation device for robot motion driving, comprising the following modules: The data acquisition module is used to acquire real robot records, camera information, robot descriptions, initial multi-view observations, task instructions, robot action sequences, and real multi-view future videos; The geometric calibration module is used to perform offline geometric calibration based on the real robot record and the camera information to obtain the calibrated camera parameters and the calibrated robot installation offset. The motion condition construction module is used to construct shared motion conditions based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset. The supervised fine-tuning training module is used to perform supervised fine-tuning training on the generative model based on the shared action conditions and the real multi-view future video, so as to obtain the fine-tuned generative model. The reinforcement learning training module is used to perform reinforcement learning training on the fine-tuned generative model based on the reference stream, counterfactual stream, and embodied video reward model to obtain an optimized generative model. The generative simulation module is used to input the current initial multi-view observations, task instructions, and shared action conditions into the optimized generative model for simulation, and obtain multi-view future videos of the robot after it performs the specified actions.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a multi-view generative simulation method for robot motion driving as described above.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a multi-view generative simulation method for robot motion driving as described above.

[0016] This invention provides a multi-view generative simulation method for robot motion-driven operation. It performs offline geometric calibration based on real robot records and camera information to obtain calibrated camera parameters and robot installation offsets. This ensures that the robot control conditions, when projected onto the image, align with the robot's position in the real image, reducing misalignment between control conditions and the real image caused by camera and installation errors. Shared motion conditions are constructed based on the robot motion sequence, robot description, calibrated camera parameters, and calibrated robot installation offsets. This converts the actions of different robotic arms into unified multi-view conditions, reducing interface inconsistencies caused by differences in robotic arm structures, motion dimensions, and camera layouts. The generative model is then supervised and fine-tuned based on the shared motion conditions and real multi-view future videos. This results in a fine-tuned generative model that learns the correspondence between the initial scene, robot motion, and multi-view futures, improving the ability to generate motion-driven multi-view future videos. Finally, the fine-tuned generative model is trained using reinforcement learning based on reference flow, counterfactual flow, and embodied video reward models. This results in an optimized generative model, eliminating the need to acquire additional real future videos for modified actions when a corresponding real future is missing, thus improving the feasibility of optimizing the generative model in situations where a paired real future is unavailable. Simulations based on the optimized generative model yield multi-view future videos of the robot performing specified actions, improving the efficiency of robot action result simulation and data construction. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating the multi-view generative simulation method for robot motion driving provided by the present invention.

[0019] Figure 2This is a schematic diagram of the structure of the multi-view generative simulation device for robot motion driving provided by the present invention.

[0020] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0022] Figure 1 This is a flowchart illustrating the multi-view generative simulation method for robot motion-driven operation provided by this invention. Robot motion-driven operation means that this method uses a robot motion sequence as one of the input conditions. The robot motion sequence refers to the motion trajectory of each joint or end effector of the robotic arm changing over time. This method constructs shared motion conditions based on the robot motion sequence, robot description, calibrated camera parameters, and calibrated robot installation offset. These shared motion conditions are used as input to the generative model, enabling the model to generate corresponding multi-view future videos based on specified actions. This method does not directly generate videos based on task instructions; instead, the generation process is driven by the robot motion sequence. This method is designed for scenarios where multiple cameras simultaneously capture images, with multiple cameras corresponding to multiple viewpoints. Generative simulation refers to using a generative model to predict the visual evolution process of the robot after performing a specified action. The generative simulation in this method does not rely on a traditional physics engine; instead, it generates multi-view future videos through a generative model based on initial multi-view observations, task instructions, and shared motion conditions. These videos are used to analyze robot motion results and for offline robot evaluation.

[0023] like Figure 1 As shown, the method includes the following: S110: Acquire real robot records, camera information, robot description, initial multi-view observations, task instructions, robot action sequences, and real multi-view future videos.

[0024] Real robot recordings refer to the data recorded when a robot performs a task. Robot description refers to a complete set of parameters and models describing the robot's structure and motion. Robot description includes both kinematic and geometric descriptions; the geometric description describes the robot's structure, and the kinematic description describes its motion. Camera information refers to camera intrinsic parameters, extrinsic parameters, camera mounting position, and the installation relationship between the camera and robot components. Task instructions refer to the text or instructions describing the task objective. Robot motion sequence refers to the motion trajectory of each joint or end effector of the robotic arm over time. Initial multi-view observations refer to the initial image frames from multiple perspectives at the starting moment. Real multi-view future video refers to future multi-view video corresponding to the robot motion sequence from the real robot recordings. Real multi-view future video is used for supervised fine-tuning training of the generative model.

[0025] S120. Based on the actual robot record and the camera information, perform offline geometric calibration to obtain the calibrated camera parameters and the calibrated robot installation offset.

[0026] Offline geometric calibration refers to processing real robot recordings to obtain the correspondence between multi-view videos and between robot rendering results and actual observations, and then optimizing camera parameters and robot component mounting offsets based on these correspondences. Camera parameters refer to the intrinsic and extrinsic parameters that determine camera imaging. Robot component mounting offsets refer to the relative mounting positions between various robot components.

[0027] Errors may exist in the camera parameters and robot installation geometry recorded by the real robot, causing misalignment between the robot control conditions and the real image. Offline geometric calibration can obtain more accurate calibrated camera parameters and calibrated robot installation offsets, ensuring that the robot control conditions and the real image share a common spatial reference, thus reducing the misalignment between control conditions and the real image caused by camera and installation errors.

[0028] S130. Construct shared motion conditions based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset.

[0029] Shared motion conditions are used as input to the generative model, enabling different robotic arms to access the shared model through a consistent multi-view format. Different robotic arms differ in structure, motion dimensions, and camera layout. Based on the robot's motion sequence, robot description, calibrated camera parameters, and calibrated robot mounting offset, shared motion conditions are constructed. This transforms the movements of different robotic arms into unified multi-view conditions, reducing interface inconsistencies caused by differences in robotic arm structure, motion dimensions, and camera layout.

[0030] S140. Based on the shared action conditions and the real multi-view future video, supervised fine-tuning training is performed on the generative model to obtain the fine-tuned generative model.

[0031] A generative model refers to a neural network that generates multi-view future videos based on initial multi-view observations, task instructions, and shared action conditions. Multi-view future videos refer to videos from multiple perspectives within a future time period predicted by the generative model. Initial multi-view observations provide the starting frame, task instructions provide the task objective, and shared action conditions provide the control information corresponding to the robot's actions. The generative model generates multi-view future videos based on these initial multi-view observations, task instructions, and shared action conditions.

[0032] By supervising and fine-tuning the generative model, the model learns the correspondence between initial multi-view observations, task instructions, and shared action conditions and real multi-view videos, thereby improving the model's ability to generate action-driven multi-view future videos.

[0033] S150. Based on the reference stream, counterfactual stream, and embodied video reward model, the fine-tuned generative model is trained using reinforcement learning to obtain the optimized generative model.

[0034] The reference stream contains recorded actions and corresponding real-world multi-view future videos. Recorded actions are the original action sequences recorded by the real robot. The counterfactual stream contains modified actions, which are action sequences obtained by perturbing local end-effector trajectories in the recorded actions. These modified actions are used to change the action trajectory or gripper state, constructing possible futures different from the original records. Modified actions can lead to task failure, and there are no corresponding real-world multi-view future videos for each modified action. Based on the reference stream, counterfactual stream, and generation quality reward, the fine-tuned generative model is trained using reinforcement learning. This allows the reference stream and counterfactual stream to jointly participate in the optimization of the generative model, improving its ability to generate multi-view future videos for modified actions.

[0035] S160. Input the current initial multi-view observations, task instructions, and shared action conditions into the optimized generation model for simulation to obtain a multi-view future video of the robot after it performs the specified action.

[0036] After the model training is completed, the initial multi-view observations, task instructions and shared action conditions corresponding to the specified action are input into the optimized generative model to generate a multi-view future video of the robot after it performs the specified action.

[0037] This invention provides a multi-view generative simulation method for robot motion-driven operation. It performs offline geometric calibration based on real robot records and camera information to obtain calibrated camera parameters and robot installation offsets. This ensures that the robot control conditions, when projected onto the image, align with the robot's position in the real image, reducing misalignment between control conditions and the real image caused by camera and installation errors. Shared motion conditions are constructed based on the robot motion sequence, robot description, calibrated camera parameters, and calibrated robot installation offsets. This converts the actions of different robotic arms into unified multi-view conditions, reducing interface inconsistencies caused by differences in robotic arm structures, motion dimensions, and camera layouts. Initial multi-view observations, task instructions, and shared motion conditions are input into the generative model to obtain multi-view future videos. The generative model is then subjected to supervised fine-tuning training based on the shared motion conditions and real multi-view future videos, resulting in a fine-tuned model. This allows the generative model to learn the correspondence between the initial scene, robot motion, and multi-view futures, improving the ability to generate motion-driven multi-view future videos. The fine-tuned generative model is trained using reinforcement learning based on reference flow, counterfactual flow, and embodied video reward models to obtain an optimized generative model. This optimizes the model so that when a modified action lacks a corresponding real future, it is not necessary to separately collect a real future video for the modified action, thus improving the feasibility of optimizing the generative model in cases where a matching real future is missing. Simulations are then performed based on the optimized generative model to obtain multi-view future videos of the robot after performing a specified action, improving the efficiency of robot action result simulation and data construction.

[0038] In one embodiment, the real robot record includes robot topology, joint states, base trajectory, and multi-view video; the robot topology is used to determine which links and joints make up the robot model, and the connection relationships between these links and joints. The joint states are used to determine the angles or positions of each joint in each frame of the robot model. The base trajectory is used to determine the base position and orientation of the robot model in each frame.

[0039] The step of performing offline geometric calibration based on the real robot record and the camera information to obtain calibrated camera parameters and calibrated robot installation offset includes: S1201. Obtain camera parameters based on the camera information. and robot component installation offset .

[0040] Camera parameter aggregation perspective The camera's local mounting pose, camera intrinsic parameters, and distortion parameters. For configurations with multiple independent robotic arms, the robot component mounting offset. Correct the relative mounting positions between the robotic arms. Robot component mounting offset. Simultaneously, the associated robot surface points and the camera poses mounted on the corresponding components are adjusted. Camera parameters and robot component mounting offsets are used to render the robot model.

[0041] S1202. Determine the shape and position of the robot model in each frame based on the robot topology, the joint state, and the base trajectory.

[0042] Based on the robot topology, establish the link and joint connection relationships of the robot model. Set the angle or position of each joint in each frame according to the joint state. Set the position and orientation of the robot base in each frame according to the base trajectory, and obtain the shape and position of the robot model in each frame.

[0043] S1203. Based on the current camera parameters and the current robot component installation offset, render the shape and position of the robot model in each frame to obtain the robot rendering result.

[0044] Based on the camera intrinsic parameters, extrinsic parameters, distortion parameters, and local camera pose, as well as the robot component mounting offset, the shape and position of the robot model in each frame are projected onto the image plane of each viewpoint to obtain the robot rendering result. The robot rendering result includes a robot mask and rendered surface points. The robot mask represents the area occupied by the robot in the image. Rendered surface points represent three-dimensional points on the surface of the robot model.

[0045] S1204. Perform dense matching and segmentation on the multi-view video to obtain dense matching results and observation segmentation mask; RoMaV2 was used to perform dense matching on images in multi-view videos to obtain dense matching results. Dense matching refers to establishing a pixel-by-pixel correspondence between images in multi-view videos. Based on the dense matching results, pixel matching relationships between synchronized viewpoints and static background matching relationships across frames of the same camera were obtained. SAM3 was used to segment images in multi-view videos, relevant image regions were filtered, and observation segmentation masks were obtained.

[0046] S1205. Based on the robot rendering results, the dense matching results, and the observation segmentation mask, construct a 3D-2D alignment set, a synchronous viewpoint pixel matching set, and a cross-frame static background matching set for the same camera. Establish a correspondence between the rendered surface points in the robot rendering results and the two-dimensional observation pixels in the multi-view video to form a three-dimensional-two-dimensional aligned set. 3D-2D aligned sets It includes the correspondence between rendered surface points and 2D observation pixels.

[0047] The pixel matching relationships between images from different viewpoints at the same time are organized to form a synchronous viewpoint pixel matching set. Synchronized viewpoint pixel matching set It includes pixel matching relationships between different viewpoints at the same time.

[0048] The static background matching relationships between images taken at different times from the same camera are organized to form a cross-frame static background matching set for the same camera. Set of static backgrounds matched across frames from the same camera. Includes pixel matching relationships between static backgrounds at different times from the same camera. Static background matching relationships across frames from the same camera refer to pixel matching relationships between static backgrounds captured by the same camera at different times. Time-corresponding frames are selected using frames with sufficiently large camera pose changes (e.g., pose changes greater than a preset threshold), excluding robot regions and segments potentially affected by the movement of the carried object.

[0049] S1206. Calculate the 3D-2D reprojection loss based on the 3D-2D alignment set; calculate the 2D-2D ray coplanar loss based on the synchronized viewpoint pixel matching set and the same camera cross-frame static background matching set.

[0050] For a 3D-2D aligned set, let For robot component installation offset Corrected robot surface points, To and Matched observed pixels. Projection operator. According to time The robot's state determines the camera's world pose, and... Projected onto distorted image pixels. 3D-to-2D reprojection loss. for: ; in, From the perspective Camera parameters, For the first Each point corresponds to a specific time. Represents a 3D-2D aligned set The confidence-weighted average.

[0051] 3D-2D Alignment Set Each point pair consisting of a robot surface point and an observed pixel has a learnable confidence level. The confidence-weighted average is: ; in, Represents a set Confidence-weighted average, It can be any of the above sets. For the first Confidence of the correspondence between point pairs For the first The value of a pair of points in the 3D-2D reprojection loss. For the first The reprojection error of a pair of points, i.e. .

[0052] For the synchronized viewpoint pixel matching set Matching set of static backgrounds across frames from the same camera For each pair of two-dimensional observed pixels, back-projection is performed using the camera parameters of the viewpoint and time to which each pixel belongs, as well as the robot component installation offset, to obtain the camera center in the world coordinate system. , With the distortion-reduced ray vector , The rays are parameterized at a depth per unit optical axis, and both rays are constrained to be coplanar with the camera baseline via a scalar triple product. Two-dimensional ray coplanarity loss. for: ; in, , These are the camera centers in the world coordinate system obtained by back-projecting each pixel in the two-dimensional observation pixel pair. , These are the distortion-corrected ray vectors obtained by back-projecting each pixel in the two-dimensional observation pixel pair. express The transpose of .

[0053] S1207. Determine the mask intersection-union ratio based on the robot mask and the observation segmentation mask.

[0054] The cross-union ratio (CUI) of the robot mask and the observation segmentation mask is calculated to obtain the mask CUI.

[0055] S1208. Determine the alignment quality of the offline geometric calibration based on the three-dimensional-two-dimensional reprojection loss and the mask intersection-union ratio; Alignment quality is judged based on both reprojection error and mask intersection-over-union ratio. For example, if the reprojection error is less than a first set threshold and the mask intersection-over-union ratio is greater than a second set threshold, the alignment quality is qualified; otherwise, the alignment quality is unqualified.

[0056] S1209. If the alignment quality is not up to standard, then based on the 3D-2D reprojection loss and the 2D-2D ray coplanarity loss, jointly optimize the camera parameters, the robot component installation offset, and the correspondence confidence until the alignment quality is up to standard, and obtain the calibrated camera parameters and the calibrated robot installation offset.

[0057] If the alignment quality is not up to standard, then according to and Determine the total loss, and jointly optimize the camera parameters based on the total loss. Robot component installation offset and confidence level of correspondence The optimized camera parameters and optimized robot component installation offsets were obtained. The system is initialized with dense matching results and optimized using sigmoid parameterization to reduce the weight of unreliable matches. Based on the optimized camera parameters and the optimized robot component mounting offset, steps S1203-S1209 are repeated until the alignment quality is satisfactory, yielding the calibrated camera parameters. and the installation offset of robot parts after calibration .

[0058] This invention constructs a 3D-2D alignment set, a synchronized viewpoint pixel matching set, and a cross-frame static background matching set for the same camera. This organizes the matching between robot rendering and real observation, the pixel matching between synchronized viewpoints, and the cross-frame static background matching for the same camera into corresponding sets. This ensures that offline geometric calibration has corresponding constraints in robot rendering, synchronized viewpoints, and cross-frame static backgrounds, which helps reduce control deviations caused by geometric misalignment. The 3D-2D reprojection loss is calculated based on the 3D-2D alignment set, and the 2D-2D ray coplanarity loss is calculated based on the synchronized viewpoint pixel matching set and the cross-frame static background matching set for the same camera. The mask intersection-union ratio (CIU) is determined based on the robot mask and the observation segmentation mask. The alignment of the offline geometric calibration is measured from both reprojection and CIU perspectives, improving the reliability of alignment quality judgment. The alignment quality is determined based on the 3D-2D reprojection loss and the mask intersection-union ratio. If the alignment quality is not up to standard, the camera parameters, robot component installation offset, and correspondence confidence are jointly optimized based on the 3D-2D reprojection loss and the 2D-2D ray coplanarity loss until the alignment quality is up to standard. This yields the calibrated camera parameters and the calibrated robot installation offset, improving the spatial consistency between the robot control conditions and the real image, and helping to reduce control deviations caused by geometric misalignment.

[0059] The generative model of this invention is: given initial multi-view observations Task instructions and robot action sequences The robot learns to predict the conditional distribution of future videos. The movements of different robotic arms are first converted into joint configurations and gripper states, then combined with robot kinematics and camera geometry to create shared motion conditions. This indicates a description of the robot. The generated multi-view future video represents the camera parameters that change over time for each viewpoint. for: in, Represents a generative model with action-sharing conditions. The actions of different robot forms and camera configurations are converted into dense conditions with time, viewpoint, and pixel alignment; datasets composed of demonstration data from different robots share generative model parameters. . and These represent the total number of time steps and the total number of viewpoints, respectively. Counterfactual prediction keeps the initial observations and mission instructions unchanged, changes the input actions, and predicts the future compatible with the new actions.

[0060] In one embodiment, constructing shared motion conditions based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot mounting offset includes: S1301. The robot's action sequence is converted to obtain the joint configuration and gripper state.

[0061] Joint configuration This refers to the angle or position of each joint of the robotic arm in each frame. Gripper status refers to the continuous opening and closing amount of the gripper. , These refer to the opening and closing amounts of the left and right grippers, respectively. Specific conversion methods can be found in existing technologies and will not be repeated here.

[0062] S1302, Based on the joint configuration, the robot description, and the calibrated camera parameters. and the calibration of the robot installation offset The robot model is rendered to obtain the robot's RGB appearance image, robot depth image, and robot complete mask.

[0063] Specifically, at each time step, based on the joint configuration Render the robot's RGB appearance image, robot depth map, and robot full mask for each viewpoint: ; in, Indicates perspective ,time RGB appearance image of the robot Indicates perspective ,time robot depth map Indicates perspective ,time The robot's complete mask. This is the rendering function. The robot's RGB appearance map represents the robot's appearance before it is occluded by scene objects. The robot's depth map represents the surface geometry of the robot before it is occluded by scene objects. The robot's full mask represents the area covered by the robot's projection before it is occluded by scene objects.

[0064] S1303. Construct a geometric code for each pixel in the corresponding multi-view image based on the camera intrinsic parameters and camera pose in the calibrated camera parameters; the geometric code includes the unit ray direction in the world coordinate system and the cross product of the camera center and the unit ray direction. ; Geometric encoding is constructed for each pixel using camera intrinsics and camera pose. , indicating perspective ,time Pixels The geometric encoding. Among them... From the perspective ,time Pixels The corresponding unit ray direction in the world coordinate system, The camera center is used. Geometric encoding provides the observation geometry corresponding to each pixel. This geometric encoding can use Plücker encoding.

[0065] S1304. Encode the gripper state into the background color channel of the robot's RGB appearance image to obtain the encoded robot RGB appearance image.

[0066] Continuous gripper opening and closing amount Encoding to robot RGB appearance image From the background color channel, we obtain the encoded RGB appearance image of the robot. .

[0067] S1305. Combine the encoded robot RGB appearance image, the robot depth map, the robot complete mask, and the geometric code to construct shared action conditions. The shared action conditions are: ; in, This represents shared motion conditions. Shared motion conditions are aligned with future videos from multiple perspectives in terms of time, viewpoint, and pixel coordinates, enabling the generation of models from different robots through a unified visual interface.

[0068] This invention renders the robot model based on joint configuration, robot description, calibrated camera parameters, and calibrated robot installation offset, obtaining an RGB appearance map, a depth map, and a complete mask. This allows the robot's appearance, surface geometry, and projected coverage area before being occluded by scene objects to be expressed under multi-view visual conditions, reducing inconsistencies caused by differences in different robotic arm structures and camera layouts. Geometric encoding is constructed for each pixel in the corresponding multi-view image based on the camera intrinsic parameters and camera pose in the calibrated camera parameters. The geometric encoding includes the unit ray direction in the world coordinate system and the cross product of the camera center and the unit ray direction, enabling explicit expression of the observation geometry corresponding to each pixel and providing camera geometric information for shared motion conditions. The gripper state is encoded into the background color channel of the robot's RGB appearance map, resulting in an encoded RGB appearance map, allowing the continuous gripper opening and closing amount to follow the robot's RGB appearance. Figure 1 Furthermore, the input reduces interface differences caused by separate input of gripper states. The encoded robot RGB appearance image, robot depth map, robot complete mask, and geometric encoding are combined to construct shared motion conditions. This allows the actions of different robotic arms to be input into the generated model through a unified vision interface, improving the convenience of sharing the generated model across different robotic arms and camera configurations.

[0069] In one embodiment, the generative model includes a pre-trained video variational autoencoder (VAE), a 3D convolutional encoder, a video all-in-one creation and editing (VACE) layer, and a diffusion transformer (DiT) layer; the step of inputting the current initial multi-view observations, task instructions, and shared action conditions into the optimized generative model for simulation to obtain a multi-view future video of the robot performing a specified action includes: S1601. Input the initial multi-view observations into the pre-trained video VAE to obtain reference latent frames for each view.

[0070] In the initial multi-view observation, the initial image frame of each view is input into the encoder of the pre-trained video variational autoencoder (VAE), which compresses the initial image frame into the latent space and outputs the reference latent frame corresponding to each view. The reference latent frame corresponding to each view carries the initial image information of that view.

[0071] S1602. Arrange the reference latent frames of each viewpoint along the width in order of viewpoint to obtain multi-view reference latent frames.

[0072] S1603. Input the robot's RGB appearance image and normalized depth from the shared action conditions into the pre-trained video VAE, and encode it per viewpoint to obtain RGB features and depth features.

[0073] The RGB appearance image of the robot under shared motion conditions is encoded per view to obtain RGB features. The normalized depth under shared motion conditions is encoded per view to obtain depth features.

[0074] S1604. Input the robot complete mask and geometric code in the shared action conditions into the three-dimensional convolutional encoder for joint encoding to obtain mask features and geometric code features.

[0075] The robot's complete mask and geometric code in the shared motion conditions are input into the 3D convolutional encoder. The 3D convolutional encoder performs convolution processing on the robot's complete mask and geometric code, and outputs mask features and geometric code features.

[0076] S1605. Based on the VACE layer, the RGB features, the depth features, the mask features, the geometric coding features, and the multi-view reference latent frames are laid out and aligned, and then concatenated into a VACE layer conditional context.

[0077] The VACE layer places RGB features, depth features, mask features, geometric coding features, and multi-view reference latent frames in the same layout, aligning them in time, view, and pixel coordinates. Then, the aligned RGB features, depth features, mask features, geometric coding features, and multi-view reference latent frames are concatenated to obtain the VACE layer conditional context.

[0078] S1606. Inject the residual into the DiT layer through the conditional branch of the VACE layer conditional context to guide the generation of multi-view future video.

[0079] The conditional branch receives the VACE layer conditional context, generates residuals based on the VACE layer conditional context, and injects the residuals into the DiT layer. During generation, noise latent variables are sampled from the prior noise distribution and used as the current latent variables. The DiT layer predicts the stream matching speed based on the current latent variables and the residuals injected by the conditional branch, updates the current latent variables according to the stream matching speed, and uses the updated current latent variables as the new current latent variables, gradually obtaining the multi-view future video latent variables. The multi-view future video latent variables are decoded by the pre-trained Video Variational Autoencoder (VAE) to obtain the multi-view future video.

[0080] The VACE layer conditional context is injected into the DiT layer via conditional branches, guiding the generation of multi-view future videos. Specifically, the conditional branches inject residuals into the DiT layer based on the VACE layer conditional context, and the DiT layer uses the injected residuals to guide the generation of multi-view future videos.

[0081] This invention inputs the robot's RGB appearance image and normalized depth from shared motion conditions into a pre-trained video VAE, encodes them view-by-view to obtain RGB and depth features, and inputs the robot's complete mask and geometric code from the shared motion conditions into a 3D convolutional encoder for joint encoding to obtain mask and geometric code features. This transforms the robot's RGB appearance image, normalized depth, complete mask, and geometric code from the shared motion conditions into features corresponding to the multi-view layout. Based on the VACE layer, the RGB features, depth features, mask features, geometric code features, and multi-view reference latent frames are aligned in layout and concatenated into a VACE layer conditional context. This aligns the shared motion conditions with the multi-view reference latent frames in terms of time, viewpoint, and pixel coordinates, reducing the differences in motion conditions under different robot shapes and camera configurations. The VACE layer conditional context is injected into the DiT layer through conditional branches to guide the generation of multi-view future videos. This allows the actions of different robotic arms to be input into the generation model through a unified visual interface, improving the consistency of multi-view future video generation.

[0082] This invention trains the generative model in two stages. The first stage uses shared action conditions and real multi-view future videos for supervised fine-tuning training, enabling the model to learn the correspondence between initial multi-view observations, task instructions, shared action conditions, and real multi-view future videos, resulting in a fine-tuned generative model. The second stage uses reference streams, counterfactual streams, and generation quality rewards to perform reinforcement learning training on the fine-tuned generative model, allowing the reference streams and counterfactual streams to jointly participate in the optimization of the generative model, resulting in an optimized generative model.

[0083] In one embodiment, the step of supervising and fine-tuning the generative model based on the shared action conditions and the real multi-view future video to obtain the fine-tuned generative model includes: S1401. Encode the real multi-view future video into real multi-view future video latent variables; add sampling noise to the real multi-view future video latent variables to obtain noisy latent variables.

[0084] By inputting real multi-view future videos into the pre-trained video variational autoencoder (VAE) in the generation model, the latent variables of the real multi-view future videos are obtained. At that moment Latent variables of real multi-view future videos Add sampling noise To obtain the noisy latent variables .

[0085] S1402. Determine the generation conditions based on the shared action conditions, the initial multi-view observations, and the task instructions.

[0086] Shared action conditions Initial multi-view observation and task instructions Organize to obtain generation conditions , .

[0087] S1403. The generation model is used to process the noisy latent variable and the generation conditions to obtain the flow matching speed; Generation conditions The encoded RGB appearance image and normalized depth of the robot are then encoded per view using a pre-trained video VAE to obtain RGB features and depth features. Generation conditions The robot's complete mask and geometric code are jointly encoded by a 3D convolutional encoder to obtain mask features and geometric code features. Generation conditions The initial multi-view observations are encoded using a pre-trained video VAE and arranged along the width in viewpoint order to obtain multi-view reference latent frames. RGB features, depth features, mask features, geometrically encoded features, and multi-view reference latent frames are aligned and concatenated to obtain the VACE layer conditional context. The VACE layer conditional context injects residuals into the DiT layer through conditional branches. The DiT layer outputs the stream matching speed based on the noisy latent variables and the injected residuals. .

[0088] S1404, Based on the flow matching speed and the flow matching speed target Determine the first loss .

[0089] ; in, The mixed distribution of robot demonstrations refers to the distribution of demonstration data recorded by multiple robots when performing tasks. Indicates a mixed distribution from robot demonstrations Mid-sampled real multi-view future video latent variables and generation conditions and sampling time and sampling noise .

[0090] S1405. The parameters of the generative model are optimized using the first loss to obtain the fine-tuned generative model.

[0091] Based on the first loss, the gradient descent method is used to optimize the parameters of the generative model until the set stopping condition is met, resulting in a fine-tuned generative model.

[0092] This invention encodes real multi-view future videos into real multi-view future video latent variables. Sampling noise is added to these latent variables to obtain noisy latent variables, thus converting the real multi-view future videos into noisy latent variables, providing training input for the generative model. Shared action conditions, initial multi-view observations, and task instructions are organized to obtain generation conditions, which are then combined into the input conditions for the generative model, enabling it to predict flow matching speed based on these conditions. The generative model processes the noisy latent variables and generation conditions to obtain the flow matching speed. Based on the flow matching speed and its target, a first loss is determined. This first loss is used to optimize the parameters of the generative model, resulting in a fine-tuned model. This model learns the correspondence between initial multi-view observations, task instructions, shared action conditions, and real multi-view future videos on a heterogeneous robot demonstration, improving its ability to generate action-driven multi-view future videos.

[0093] In one embodiment, the step of training the fine-tuned generative model with reinforcement learning based on the reference stream, counterfactual stream, and embodied video reward model to obtain an optimized generative model includes: S1501. Combine the reference stream and the counterfactual stream to obtain mixed data; sample conditions from the mixed data, and generate a set of candidate videos with only different randomness for each condition; The reference stream contains recorded actions and real multi-view future video. The counterfactual stream contains modified actions. Both the reference and counterfactual streams maintain the initial multi-view observations and mission instructions unchanged.

[0094] Conditions are sampled from the mixed data, including initial multi-view observations, task instructions, and shared action conditions. For each condition, a set of candidate videos, differing only in randomness, is generated using a fine-tuned generative model.

[0095] S1502. The embodied video reward model is used to evaluate the group of candidate videos that differ only in randomness, and the generation quality reward of the candidate videos is obtained.

[0096] A set of candidate videos, differing only in randomness, is input into the embodied video reward model to obtain a generation quality reward for each candidate video.

[0097] S1503. Based on the generation quality reward and fidelity of the candidate videos, obtain the advantage mapping value of the candidate videos; The fidelity of a candidate video refers to its proximity to the real multi-view future video in the reference stream. The generation quality reward of the candidate video is normalized using batch standard deviation, and the fidelity is normalized using within-group standard deviation. The normalized generation quality reward and fidelity are linearly combined to obtain the combined reward of the candidate video. This combined reward is then subjected to cross-device batch centering and normalization to obtain the candidate video's advantage. The advantage of the candidate video is truncated and monotonically mapped to a set interval to obtain the advantage mapping value. The advantage mapping value of the candidate video is used to weight the positive and negative prediction losses and the normalized reconstruction loss.

[0098] Specifically, record For the sample condition set, For cross-device batch channel Valid scoring samples, advantages of candidate videos for: ; in: ; in, For the sample In the passage Advantages of the above for Central Channel The average reward within the group, For the sample In the passage The standard deviation of rewards, It is the stability constant. For the sample In the passage The rewards. For cross-device batch channel The standard deviation of the reward for the effective score sample. for Central Channel The standard deviation of rewards. For fidelity channels.

[0099] The quality channel uses batch standard deviation, while fidelity uses within-group standard deviation. Candidate videos in the counterfactual stream do not have corresponding real multi-view future videos; therefore, the fidelity channels corresponding to candidate videos in the counterfactual stream are invalid channels. Invalid channels are not included in the statistics and their advantage contribution is zero. The advantage of candidate videos is obtained by linearly combining the scores of each channel and then performing cross-device batch centralization and standardization.

[0100] S1504. Sample conditions from mixed data and use an exponential moving average generator to sample candidate latent variables.

[0101] The exponential moving average generator is a generative model that is structurally identical to the fine-tuned generative model, but uses the exponential moving average of the fine-tuned generative model's parameters. The exponential moving average generator samples latent noise variables from the prior noise distribution and uses these latent noise variables as the current latent variables. Based on the sampling conditions and the current latent variables, it predicts the flow matching velocity. The current latent variables are then updated based on the flow matching velocity to obtain candidate latent variables. .

[0102] S1505. Add noise to the candidate latent variables to obtain the noisy latent variables. ; ; in, For a moment, For the sample Sampling noise.

[0103] S1506. The fine-tuned generation model and the exponential moving average generator are used respectively to predict the velocity of the noisy latent variable, so as to obtain the current model velocity prediction result and the exponential moving average velocity prediction result.

[0104] Using a fine-tuned generative model to add noise to latent variables Flow matching velocity prediction is performed to obtain the current model's velocity prediction results. An exponential moving average generator is used to modify the noisy latent variables. Perform flow matching velocity prediction to obtain the exponential moving average velocity prediction result.

[0105] S1507. Based on the exponential moving average velocity prediction result, and with the velocity difference between the current model velocity prediction result and the exponential moving average velocity prediction result as the direction, construct the normalized reconstruction loss for positive and negative predictions.

[0106] The normalized reconstruction loss for positive prediction refers to the loss calculated along the direction of the velocity difference between the current model's velocity prediction and the exponential moving average velocity prediction, after restoring the exponential moving average velocity prediction to latent variables, and then comparing it with the candidate latent variables. The reconstruction difference is compared, and the loss is obtained after normalizing the reconstruction difference. The normalized reconstruction loss of negative prediction refers to the loss obtained by restoring the exponential moving average velocity prediction to latent variables in the opposite direction of the velocity difference between the current model velocity prediction result and the exponential moving average velocity prediction result, and then comparing it with the candidate latent variables. By comparison, the reconstruction differences are obtained, and the loss is obtained after normalizing the reconstruction differences.

[0107] S1508. Based on the advantage mapping value of the candidate videos, the normalized reconstruction loss of positive and negative predictions is weighted to obtain the second loss. ; in, For the positively predicted normalized reconstruction loss, For negative prediction, the normalized reconstruction loss, This is the advantage mapping value obtained after truncating the advantage and monotonically mapping it to [0,1].

[0108] S1509. Optimize the fine-tuned generative model based on the second loss to obtain the optimized generative model.

[0109] Based on the second loss, gradient descent is used to optimize the fine-tuned generative model. This optimization is achieved through the combined participation of the reference flow and the counterfactual flow, thereby improving the model's ability to generate multi-view future videos with modified actions. Reinforcement learning training only trains the low-rank adaptations in the DsT layer and the VACE layer.

[0110] In one embodiment, the step of evaluating the set of candidate videos that differ only in randomness using the embodied video reward model to obtain a generation quality reward for the candidate videos includes: S210. The embodied video reward model is used to predict the candidate video to obtain quality labels for multiple quality dimensions; Embodied video reward model is denoted as Its model parameters are denoted as The embodied video reward model includes multiple quality dimensions. As shown in Table 1, these dimensions include a first quality dimension L1, a second quality dimension L2, and a third quality dimension L3. The first quality dimension is used to evaluate robot duplication, disappearance, structural or appearance anomalies. The second quality dimension is used to evaluate object duplication, disappearance, deformation, or appearance anomalies. The third quality dimension is used to evaluate contact and motion relationships and the physical consistency of the interaction process.

[0111] Table 1 Dimension Assessment content Label L1: Ontology Robot copying, disappearing, structural or appearance abnormalities None / Severe L2: Object Objects are copied, disappear, deformed, or have abnormal appearances. None / Severe L3: Interaction Physical consistency of contact-motion relationship and interaction process None / Yes Input candidate videos and fixed evaluation prompts into the embodied video reward model Embodied Video Reward Model The candidate videos are predicted to obtain a first quality label, a second quality label, and a third quality label. The first quality label corresponds to the first quality dimension. The second quality label corresponds to the second quality dimension. The third quality label corresponds to the third quality dimension.

[0112] S220. Normalize the quality labels of the multiple quality dimensions to obtain the quality probabilities of the multiple quality dimensions.

[0113] The first quality label is normalized within the set of valid labels corresponding to the first quality dimension to obtain the first quality probability. The second quality label is normalized within the set of valid labels corresponding to the second quality dimension to obtain the second quality probability. The third quality label is normalized within the set of valid labels corresponding to the third quality dimension to obtain the third quality probability.

[0114] Specifically, let For quality dimensions The set of legal tags, This is the prefix for the response generated up to this position, which is the sequence of tokens generated before the embodied video reward model generates the response up to this tag position. For tags The unnormalized score logit. Quality dimension. Next tag quality probability for: ; in, A set of legal tags Candidate quality labels in In order to be in Down The unnormalized score logit, This represents the candidate video. The first quality probability, second quality probability, and third quality probability come from different label positions in the same response.

[0115] S230. Based on the quality probabilities of the multiple quality dimensions, determine the quality rewards for each of the multiple quality dimensions; the quality rewards for the multiple quality dimensions constitute the generated quality reward. Specifically, let Indicates label The degree of abnormality is categorized, with 0 representing no abnormality and 1 representing severe or present abnormalities for each quality dimension. Quality Dimensions Quality Award for: .

[0116] The first, second, and third quality rewards are all located in the range [-1, 0], with higher values ​​indicating a lower degree of anomaly in the prediction. The first, second, and third quality rewards generated from the same video evaluation are each sent to a separate post-training reward channel, without being pre-merged into a single quality score. The embodied video reward model is validated and then frozen for reinforcement learning training of the generative model.

[0117] This invention employs an embodied video reward model to predict candidate videos, obtaining quality labels across multiple quality dimensions. This allows for the separate evaluation of robot structure, object states, and interaction processes within the video, reducing bias caused by judging solely based on the overall video quality. The quality labels for each quality dimension are normalized to obtain quality probabilities for each dimension, ensuring that the quality labels within each dimension are re-normalized within the set of valid labels, thus improving the accuracy of the quality probabilities. Based on the quality probabilities of each quality dimension, quality rewards are determined for each dimension. These rewards constitute the generated quality reward, enabling the quality of the generated video to be measured separately from the first, second, and third quality dimensions, improving the comprehensiveness of the evaluation of the generated results. The first quality dimension is used to evaluate robot duplication, disappearance, and structural or appearance anomalies; the second quality dimension is used to evaluate object duplication, disappearance, deformation, or appearance anomalies; and the third quality dimension is used to evaluate the physical consistency of contact and motion relationships and interaction processes. This allows for the separate evaluation of the robot body, objects, and interaction processes in the generated video, enhancing the ability of the generated quality reward to distinguish the quality of the generated video.

[0118] The following describes the multi-view generative simulation device for robot motion drive provided by the present invention. The multi-view generative simulation device for robot motion drive described below can be referred to in correspondence with the multi-view generative simulation method for robot motion drive described above.

[0119] This invention also provides a multi-view generative simulation device for robot motion driving, referring to... Figure 2 As shown, it includes the following modules: The data acquisition module 310 is used to acquire real robot records, camera information, robot description, initial multi-view observations, task instructions, robot action sequences, and real multi-view future videos; The geometric calibration module 320 is used to perform offline geometric calibration based on the real robot record and the camera information to obtain the calibrated camera parameters and the calibrated robot installation offset. The motion condition construction module 330 is used to construct shared motion conditions based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset. The supervised fine-tuning training module 340 is used to perform supervised fine-tuning training on the generative model based on the shared action conditions and the real multi-view future video, so as to obtain the fine-tuned generative model. The reinforcement learning training module 350 is used to perform reinforcement learning training on the fine-tuned generative model based on the reference stream, counterfactual stream, and embodied video reward model to obtain an optimized generative model. The generative simulation module 360 ​​is used to input the current initial multi-view observations, task instructions, and shared action conditions into the optimized generative model for simulation, so as to obtain a multi-view future video of the robot after it performs the specified action.

[0120] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440. The processor 410, communications interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions from the memory 430 to execute a multi-view generative simulation method for robot motion driving.

[0121] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0122] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a multi-view generative simulation method for robot motion driving provided by the methods described above.

[0123] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0124] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-view generative simulation method for robot motion-driven simulation, characterized in that, include: Acquire real robot records, camera information, robot descriptions, initial multi-view observations, task instructions, robot action sequences, and real multi-view future videos; Based on the actual robot records and the camera information, offline geometric calibration is performed to obtain the calibrated camera parameters and the calibrated robot installation offset. Shared motion conditions are constructed based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset. Based on the shared action conditions and the real multi-view future video, the generative model is trained under supervision to obtain the fine-tuned generative model. Based on the reference stream, counterfactual stream, and embodied video reward model, the fine-tuned generative model is trained by reinforcement learning to obtain the optimized generative model. The current initial multi-view observations, task instructions, and shared action conditions are input into the optimized generation model for simulation to obtain a multi-view future video of the robot after it performs the specified action.

2. The multi-view generative simulation method for robot motion driving according to claim 1, characterized in that, The real robot record includes robot topology, joint states, base trajectory, and multi-view video; The step of performing offline geometric calibration based on the real robot record and the camera information to obtain calibrated camera parameters and calibrated robot installation offset includes: Based on the camera information, obtain the camera parameters and the robot component installation offset; Based on the robot topology, the joint states, and the base trajectory, the shape and position of the robot model in each frame are determined; Based on camera parameters and robot component installation offsets, the shape and position of the robot model in each frame are rendered to obtain robot rendering results; the robot rendering results include robot mask and rendered surface points; Dense matching and segmentation are performed on the multi-view video to obtain dense matching results and observation segmentation masks; Based on the robot rendering results, the dense matching results, and the observation segmentation mask, construct a 3D-2D alignment set, a synchronous viewpoint pixel matching set, and a cross-frame static background matching set for the same camera. Calculate the 3D-2D reprojection loss based on the aforementioned 3D-2D alignment set; Calculate the two-dimensional ray coplanar loss based on the synchronous viewpoint pixel matching set and the same camera cross-frame static background matching set; Determine the mask intersection-union ratio based on the robot mask and the observation segmentation mask; The alignment quality of the offline geometric calibration is determined based on the 3D-2D reprojection loss and the mask intersection-union ratio. If the alignment quality is not up to standard, the camera parameters, robot component installation offset, and correspondence confidence are jointly optimized based on the 3D-2D reprojection loss and the 2D-2D ray coplanarity loss until the alignment quality is up to standard, thus obtaining the calibrated camera parameters and calibrated robot installation offset.

3. The multi-view generative simulation method for robot motion driving according to claim 1, characterized in that, The step of constructing shared action conditions based on the robot action sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset includes: The robot's motion sequence is converted to obtain the joint configuration and gripper state; Based on the joint configuration, robot description, calibrated camera parameters, and calibrated robot installation offset, the robot model is rendered to obtain the robot RGB appearance image, robot depth image, and robot complete mask; Based on the camera intrinsic parameters and camera pose in the calibrated camera parameters, a geometric code is constructed for each pixel in the corresponding multi-view image; the geometric code includes the unit ray direction in the world coordinate system and the cross product of the camera center and the unit ray direction; The gripper state is encoded into the background color channel of the robot's RGB appearance image to obtain the encoded robot RGB appearance image; The encoded RGB appearance image of the robot, the depth image of the robot, the complete mask of the robot, and the geometric code are combined to construct shared action conditions.

4. The multi-view generative simulation method for robot motion driving according to claim 1, characterized in that, The generative model includes a pre-trained video variational autoencoder (VAE), a 3D convolutional encoder, a VACE layer, and a DiT layer. The process involves inputting the current initial multi-view observations, task instructions, and shared action conditions into the optimized generative model for simulation, resulting in a multi-view future video of the robot performing a specified action, including: The initial multi-view observations are input into the pre-trained video VAE to obtain reference latent frames for each viewpoint; The reference latent frames of each viewpoint are arranged along the width in viewpoint order to obtain multi-view reference latent frames; The robot's RGB appearance image and normalized depth in the shared action conditions are input into the pre-trained video VAE, and encoded per viewpoint to obtain RGB features and depth features; The robot complete mask and geometric code in the shared action conditions are input into the three-dimensional convolutional encoder for joint encoding to obtain mask features and geometric code features. Based on the VACE layer, the RGB features, the depth features, the mask features, the geometric coding features, and the multi-view reference latent frames are laid out and aligned, and then concatenated into a VACE layer conditional context. The VACE layer conditional context is injected into the DiT layer through conditional branches to guide the generation of multi-view future videos.

5. The multi-view generative simulation method for robot motion driving according to claim 1, characterized in that, The step of supervising and fine-tuning the generative model based on the shared action conditions and the real multi-view future video to obtain the fine-tuned generative model includes: Encode the real multi-view future video into real multi-view future video latent variables; Sampling noise is added to the latent variables of the real multi-view future video to obtain noisy latent variables; The generation conditions are determined based on the shared action conditions, the initial multi-view observations, and the task instructions. The generation model is used to process the noisy latent variables and the generation conditions to obtain the flow matching speed; The first loss is determined based on the flow matching speed and the flow matching speed target; The parameters of the generative model are optimized using the first loss to obtain a fine-tuned generative model.

6. The multi-view generative simulation method for robot motion driving according to claim 1, characterized in that, The fine-tuned generative model is trained using reinforcement learning based on the reference stream, counterfactual stream, and embodied video reward model to obtain the optimized generative model. The reference stream and the counterfactual stream are combined to obtain hybrid data; From the mixed data, conditions are sampled, and for each condition, a set of candidate videos differing only in randomness are generated; The embodied video reward model is used to evaluate the set of candidate videos that differ only in randomness, and the generation quality reward of the candidate videos is obtained. Based on the generation quality reward and fidelity of the candidate videos, the advantage mapping value of the candidate videos is obtained; Conditions are sampled from mixed data, and candidate latent variables are sampled using an exponential moving average generator; Add noise to the candidate latent variables to obtain noisy latent variables; The noisy latent variable is predicted by using the fine-tuned generative model and the exponential moving average generator respectively, to obtain the current model speed prediction result and the exponential moving average speed prediction result. Based on the exponential moving average velocity prediction result, and with the velocity difference between the current model velocity prediction result and the exponential moving average velocity prediction result as the direction, a normalized reconstruction loss for positive and negative predictions is constructed. Based on the advantage mapping value of the candidate video, the normalized reconstruction loss of positive and negative predictions is weighted to obtain the second loss; The fine-tuned generative model is optimized based on the second loss to obtain the optimized generative model.

7. The multi-view generative simulation method for robot motion driving according to claim 6, characterized in that, The step of evaluating the set of candidate videos that differ only in randomness using the embodied video reward model to obtain a generation quality reward for the candidate videos includes: The embodied video reward model is used to predict the candidate videos, resulting in quality labels for multiple quality dimensions. The quality labels of the multiple quality dimensions are normalized to obtain the quality probabilities of the multiple quality dimensions. Based on the quality probabilities of the multiple quality dimensions, quality rewards for each of the multiple quality dimensions are determined; the quality rewards for the multiple quality dimensions constitute the generated quality reward. The multiple quality dimensions include a first quality dimension, a second quality dimension, and a third quality dimension; the first quality dimension is used to evaluate robot replication, disappearance, structural or appearance anomalies; the second quality dimension is used to evaluate object replication, disappearance, deformation, or appearance anomalies; and the third quality dimension is used to evaluate the physical consistency of contact and motion relationships and interaction processes.

8. A multi-view generative simulation device for robot motion driving, characterized in that, include: The data acquisition module is used to acquire real robot records, camera information, robot descriptions, initial multi-view observations, task instructions, robot action sequences, and real multi-view future videos; The geometric calibration module is used to perform offline geometric calibration based on the real robot record and the camera information to obtain the calibrated camera parameters and the calibrated robot installation offset. The motion condition construction module is used to construct shared motion conditions based on the robot motion sequence, the robot description, the calibrated camera parameters, and the calibrated robot installation offset. The supervised fine-tuning training module is used to perform supervised fine-tuning training on the generative model based on the shared action conditions and the real multi-view future video, so as to obtain the fine-tuned generative model. The reinforcement learning training module is used to perform reinforcement learning training on the fine-tuned generative model based on the reference stream, counterfactual stream, and embodied video reward model to obtain an optimized generative model. The generative simulation module is used to input the current initial multi-view observations, task instructions, and shared action conditions into the optimized generative model for simulation, and obtain multi-view future videos of the robot after it performs the specified actions.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the multi-view generative simulation method for robot motion driving as described in any one of claims 1 to 6.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the multi-view generative simulation method for robot motion driving as described in any one of claims 1 to 6.