Robot collaborative operation method based on hierarchical perceptual coding and generative optimization

By employing hierarchical perceptual coding and generative optimization methods, the problems of multimodal data fusion and motion collaboration modeling in dual-arm robots were solved, enabling high-precision and high-stability collaborative operation of dual-arm robots, suitable for complex industrial scenarios.

CN123129144APending Publication Date: 2026-11-20CHONGQING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611304151.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing imitation learning methods for dual-arm robots suffer from semantic differences in multimodal data, including multi-view visual information, robot joint states, and task information. This makes it difficult to fully explore the internal features of different modalities and cross-modal correlation information. Furthermore, the ability to model the collaborative relationship between the left and right robotic arms is limited during the motion generation process, resulting in insufficient environmental perception and uncoordinated motions in complex operation scenarios, which affects the performance of tasks.

Method used

A hierarchical perceptual coding and generative optimization approach is adopted. Multi-scale visual features are extracted through convolutional neural networks and attention modules. Feature extraction and fusion are performed by combining interleaved stacked intramodal coding modules and cross-modal fusion modules. Conditional variational autoencoders are used to construct latent variables for the left and right arms. A cross-arm interaction module is introduced into the dual-arm interactive decoder for action prediction. Adaptive fusion weights with sliding buffer windows are used to optimize action control.

Benefits of technology

It significantly enhances the robot's perception and understanding capabilities in complex operating environments, achieves high-precision dual-arm collaborative operation, improves the stability and continuity of motion output, and can reliably meet the task requirements in complex industrial scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123129144A_ABST
    Figure CN123129144A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of robot intelligent control, and particularly relates to a robot collaborative operation method based on hierarchical perception coding and generative optimization, comprising the following steps: S1, acquiring multi-view RGB images and robot state information; S2, obtaining a visual feature sequence of a focused key operation area; S3, inputting the visual feature sequence of S2 and the robot state information of S1 into a hierarchical perception coding network, and outputting multi-modal semantic features; S4, generating a two-arm future action prediction sequence under the condition of multi-modal semantic features; S5, acquiring a historical prediction sequence generated in a plurality of previous control cycles stored in a preset sliding cache window; obtaining an action control sequence; S6, sending the action control sequence to a two-arm robot control system, and driving the two-arm robot to complete a collaborative operation task. The method can fully integrate multi-modal information, enhance the two-arm action collaborative capability, and improve the stability of the action output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot intelligent control technology, and in particular to a robot cooperative operation method based on hierarchical perception coding and generative optimization. Background Technology

[0002] In recent years, with the rapid development of intelligent manufacturing, flexible manufacturing, and human-robot collaboration technologies, dual-arm robots, with their ability to simulate the collaborative operation of human hands to complete complex tasks, have been widely used in fields such as precision assembly, material handling, product inspection, and service robots. Compared to single-arm robots, dual-arm robots have higher operational flexibility and stronger task adaptability, enabling them to complete complex tasks such as object transfer, collaborative grasping, and two-handed assembly, thus becoming an important research direction in the field of intelligent robots.

[0003] With the development of deep learning technology, imitation learning-based robot control methods have gradually become an important research direction for motion generation in dual-arm robots. These methods establish a mapping relationship between robot state, environmental perception information, and control actions by learning from human demonstration data. This avoids the manual design of complex control strategies and improves the robot's ability to learn complex tasks. Among them, generative motion prediction methods based on action chunking can predict action sequences at multiple future moments simultaneously. While improving inference efficiency, this also effectively enhances the continuity of motion generation, thus gradually becoming an important research direction for imitation learning in dual-arm robots.

[0004] However, existing imitation learning methods for dual-arm robots still have the following shortcomings:

[0005] 1) There are significant semantic differences among multimodal data such as multi-view visual information, robot joint status and task information. Most existing methods use a unified encoding method for feature extraction, which makes it difficult to fully explore the internal features of different modalities and cross-modal correlation information, resulting in insufficient environmental perception ability in complex operation scenarios.

[0006] 2) In the process of generating dual-arm motions, existing methods have limited ability to model the collaborative relationship between the left and right robotic arms, making it difficult to accurately describe the complex motion association characteristics during dual-arm collaborative operation. This can easily lead to uncoordinated motions and affect the performance of the task.

[0007] 3) Existing motion-time integration strategies typically use fixed weights to fuse historical motions with current predicted motions, without fully considering the semantic differences between different motions. This can easily lead to unreasonable motion fusion and reduce the stability and continuity of robot motion execution.

[0008] Therefore, how to fully integrate multimodal information, enhance the collaborative operation capability of dual-arm robots, and improve the stability of motion output to meet the high-precision and high-stability collaborative operation requirements of dual-arm robots in complex industrial scenarios has become a problem that tethering is currently trying to solve. Summary of the Invention

[0009] To address the aforementioned shortcomings of existing technologies, the present invention aims to provide a robot collaborative operation method based on hierarchical perceptual coding and generative optimization. This method can fully integrate multimodal information, enhance the collaborative capability of dual-arm movements, and improve the stability of action output, thereby meeting the high-precision and high-stability collaborative operation requirements of dual-arm robots in complex industrial scenarios.

[0010] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows:

[0011] A robot cooperative operation method based on hierarchical perceptual coding and generative optimization includes the following steps:

[0012] S1. Acquire multi-view RGB images and robot status information during the collaborative operation of the dual-arm robot;

[0013] S2. Use a convolutional neural network to extract features from the multi-view RGB image described in S1 to obtain multi-scale visual features, and use an attention module to establish feature associations for the multi-scale visual features to adjust the feature weights of different regions, thereby obtaining a visual feature sequence that focuses on the key operation region.

[0014] S3. Input the visual feature sequence described in S2 and the robot state information described in S1 into a hierarchical perceptual coding network. Extract the internal features of the visual feature sequence and the robot state information respectively through interleaved stacked intramodal coding modules and cross-modal fusion modules. Perform cross-modal fusion on the internal features of the visual feature sequence and the robot state information to output multimodal semantic features.

[0015] S4. Using the multimodal semantic features described in S3 as conditional constraints, construct the latent variables of the left arm and the right arm respectively through a conditional variational autoencoder to characterize the action distribution of the left and right arms, and input the multimodal semantic features, the latent variables of the left arm and the latent variables of the right arm into the dual-arm interactive decoder.

[0016] The dual-arm interactive decoder includes a left-arm decoding branch and a right-arm decoding branch arranged symmetrically in parallel, and a cross-arm interaction module is set between the left-arm decoding branch and the right-arm decoding branch. The cross-arm interaction module concatenates the intermediate layer features output by the left-arm decoding branch and the right-arm decoding branch during the decoding process to form a dual-arm joint action representation. After adding position encoding to the dual-arm joint action representation, the correlation between the left and right arm action representations is calculated through a multi-head self-attention mechanism to obtain cross-arm attention features. The cross-arm attention features are then residually connected with the dual-arm joint action representation, and a dual-arm future action prediction sequence is generated based on the joint representation after residual connection.

[0017] S5. Obtain the historical prediction sequences generated in the previous multiple control cycles stored in the preset sliding buffer window; for each time step in the dual-arm future action prediction sequence described in S4, calculate the similarity between the current predicted action of the time step and the historical predicted action corresponding to the time step in each historical prediction sequence, generate an adaptive fusion weight based on the similarity, and perform weighted fusion between the current predicted action of the time step and each historical predicted action, and obtain the action control sequence after traversing all time steps.

[0018] S6. Send the motion control sequence described in S5 to the dual-arm robot control system to drive the dual-arm robot to complete the collaborative operation task.

[0019] Compared with the prior art, the present invention has the following advantages:

[0020] 1. Compared with the existing technology that uses a unified encoder to process heterogeneous data, which leads to difficulties in semantic alignment, this method uses a hierarchical perceptual coding network. It utilizes interleaved stacked intramodal coding modules and cross-modal fusion modules to deeply mine the internal structural characteristics of visual feature sequences and robot state information, and achieves deep cross-modal semantic fusion on this basis. At the same time, it combines an attention mechanism to focus on key regions of multi-scale visual features, effectively overcoming the semantic gap between multi-source heterogeneous data, and significantly enhancing the robot's ability to perceive and understand key task information in complex operating environments.

[0021] 2. To address the shortcomings of existing methods in modeling the coordination relationship between the left and right arms during the action decoding stage, which can easily lead to miscoordination of action coordination, this method introduces a cross-arm interaction module in the dual-arm interactive decoder. By establishing a splicing mechanism of intermediate layer features and a multi-head self-attention interaction mechanism between the left and right symmetrical decoding branches, the spatiotemporal correlation between the action representations of the two arms is explicitly modeled. Furthermore, by combining a conditional variational autoencoder, latent variables for the left and right arms are constructed to represent their respective action distributions. This enables the generated dual-arm future action prediction sequence to achieve high-precision dual-arm coordination while maintaining the rationality of independent arm movements.

[0022] 3. Unlike existing technologies that use fixed weights to fuse historical and current predicted actions, which can cause motion jitter or lag, this method uses a sliding buffer window to generate fusion weights by calculating the similarity between the current predicted action and each historical predicted action at the same time step. This strategy can dynamically adjust the contribution ratio of each prediction result according to the semantic consistency between actions, effectively suppressing action jumps caused by environmental changes or model prediction uncertainties, and ensuring smooth transition and high reliability of action output during continuous robot control.

[0023] 4. This method organically integrates hierarchical sensing encoding, cross-arm interactive decoding, and adaptive temporal fusion into an end-to-end collaborative operation framework, forming a closed-loop optimization from perception and decision-making to execution. Compared with the limitations of existing methods that design each link independently and lack global collaborative optimization, this solution shows stronger generalization and anti-interference capabilities when facing dynamically changing industrial operation scenarios. It can stably cope with complex tasks with high requirements for timing accuracy and spatial coordination, such as precision assembly and material transfer.

[0024] In summary, this method is a collaborative operation method for dual-arm robots that can fully integrate multimodal information, enhance the collaborative capability of dual-arm movements, and improve the stability of movement output, so as to meet the high-precision and high-stability collaborative operation requirements of dual-arm robots in complex industrial scenarios.

[0025] Preferably, in S2, the convolutional neural network is an EfficientNet backbone network, and the attention module is an EMA attention module. The multi-view RGB image is input into the EfficientNet backbone network, and multi-scale visual features are extracted through a multi-layer convolutional structure. The multi-scale visual features are then input into the EMA attention module to establish feature associations from the spatial and channel dimensions, dynamically adjust the feature weights of different regions, and obtain the visual feature sequence that focuses on the key operation region.

[0026] This setup uses EfficientNet as the backbone network, leveraging its composite scaling strategy to achieve a balanced optimization between model depth, width, and input resolution. This allows for efficient extraction of multi-scale visual features while maintaining low computational overhead. Simultaneously, the introduction of the EMA attention module establishes feature associations from both spatial and channel dimensions and dynamically adjusts regional feature weights. Compared to single-dimensional attention mechanisms, this approach can more comprehensively capture the semantic information of key operational regions, thereby improving feature extraction efficiency while enhancing the ability to perceive and focus on key regions in complex operational scenarios.

[0027] Preferably, in S3, the intramodal encoding module independently encodes the visual feature sequence and the robot state information, respectively, and extracts the internal features of the visual modality and the internal features of the robot state modality;

[0028] The cross-modal fusion module employs a cross-attention mechanism to perform cross-modal interaction on the modal features output by the intramodal encoding module, and outputs cross-modal fusion features of visual information and robot state information as the multimodal semantic features.

[0029] This setup, through the organic combination of independent intramodal encoding and cross-modal attention fusion, achieves high-quality semantic alignment and deep fusion of multimodal information.

[0030] Preferably, the hierarchical sensing coding network includes N sequentially connected coding layers, each coding layer including the intra-modal coding module and the cross-modal fusion module;

[0031] In each of the coding layers, the intramodal coding module independently encodes the input visual features and robot state features to obtain the visual internal features and state internal features of the current layer; the cross-modal fusion module uses the visual internal features and state internal features of the current layer as input to perform cross-modal interaction to obtain the fused features of the current layer.

[0032] Wherein, the visual internal features and state internal features output by the (i-1)th coding layer are used as the visual feature input and robot state feature input of the intramodal coding module of the i-th coding layer, respectively, 1 < i ≤ N; the fusion features output by the cross-modal fusion module of the Nth coding layer are used as the multimodal semantic features.

[0033] Compared to single-layer encoding or serial structures that encode first and then fuse, this layered interleaved architecture can continuously strengthen the semantic alignment between modalities while progressively improving the level of feature abstraction, thereby obtaining a more discriminative and semantically rich multimodal fusion representation.

[0034] Preferably, in S4, the conditional variational autoencoder inputs the multimodal semantic features and the corresponding taught action sequence into the encoder during the training phase to obtain the mean of the latent distribution of the left arm movement. and standard deviation and the mean of the potential distribution of right arm movements and standard deviation The latent variables of the left arm were obtained by reparameterization. and right arm latent variables :

[0035] ;

[0036] in, and Let be a random variable that follows a standard normal distribution.

[0037] The teaching action sequence is demonstration action data used to train the conditional variational autoencoder.

[0038] Compared to deterministic mapping methods that only output a single motion trajectory, this probabilistic modeling approach can effectively capture the diversity and uncertainty of actions in teaching data. This allows the generated action sequences to not only conform to the semantic constraints of the task but also have a reasonable range of action variations, thereby improving the generalization ability and naturalness of dual-arm collaborative operation in different scenarios.

[0039] Preferably, the total loss function during training of the conditional variational autoencoder for:

[0040] ;

[0041] in, The action reconstruction loss is used to measure the consistency between the predicted action sequence and the taught action sequence. The KL divergence between the latent distribution of the left arm movement and the standard normal prior distribution is given. The KL divergence between the latent distribution of right arm movement and the standard normal prior distribution; This is the regularization coefficient.

[0042] This setup, through joint optimization of reconstruction loss and independent KL regularization terms for both arms, achieves an effective balance between motion fidelity and potential spatial structuring.

[0043] Preferably, before training, the acquired teaching motion sequence of the conditional variational autoencoder is further subjected to offline smoothing: the joint angle sequence is read, and the joint angle is smoothed by a moving average filter. for:

[0044] ;

[0045] in, is the original joint angle at time t+1; M is the preset half-window width;

[0046] For moments at the edges of the sequence where the full window width is not met, the original joint angle values ​​are kept unchanged; the filtered teaching action sequence is used as the supervision signal during the training phase.

[0047] Compared to training directly using noisy raw teaching data, this preprocessing method can effectively reduce the risk of model overfitting to noise, making the learned action potential distribution more stable and reliable, thereby improving the smoothness and execution safety of the generated action sequence.

[0048] Preferably, in S4, the cross-arm interaction module further includes a feedforward neural network and a layer normalization layer located after the multi-head self-attention mechanism; the dual-arm interaction decoder further includes independent action output heads, which are respectively disposed at the ends of the left arm decoding branch and the right arm decoding branch;

[0049] The generation of the bi-arm future movement prediction sequence based on the joint representation after residual connection includes:

[0050] The joint representation after the residual concatenation is divided into left-arm enhancement features and right-arm enhancement features according to the channel dimension, and then fed back to the corresponding decoding branches to continue decoding.

[0051] After subsequent decoding and normalization processing, the independent motion output head generates a left robotic arm motion prediction sequence based on the left arm enhancement features and the right arm enhancement features, respectively. And right robotic arm motion prediction sequence ;

[0052] The left robotic arm motion prediction sequence and the right robotic arm motion prediction sequence Combined into a sequence for predicting future arm movements .

[0053] This setup allows both arms to share cross-arm interaction information while maintaining the exclusivity and independence of each arm's motion decoding through channel separation and independent output heads. It fully utilizes the collaborative semantics between the two arms and avoids the coupling interference of left and right arm movements caused by sharing the output head, thereby improving the accuracy of the collaborative motion prediction of the two arms and the autonomous controllability of each arm's movement.

[0054] Preferably, in S5, the sliding buffer window stores the predicted sequence of future arm movements generated in the previous H consecutive control cycles, as the historical prediction sequence;

[0055] The step of calculating the similarity between the current predicted action at the time step and the corresponding historical predicted actions in each historical prediction sequence, generating adaptive fusion weights based on the similarity, and then performing a weighted fusion of the current predicted action at the time step and each historical predicted action, includes:

[0056] Predict the action of the current control cycle at this time step. The historical prediction action corresponding to that time step in each of the historical prediction sequences. to , forming a candidate action set { , , …, };

[0057] Calculate each candidate action and Similarity between The adaptive fusion weights are generated using the following formula. :

[0058] ;

[0059] Where τ is a preset similarity sensitivity coefficient; j traverses all candidate actions in the candidate action set;

[0060] The predicted action after fusion at this time step is obtained by weighting and fusing the data using the following formula. :

[0061] ;

[0062] Where i traverses all candidate actions in the candidate action set;

[0063] After traversing all time steps, the action control sequence is obtained.

[0064] Compared to relying solely on single-frame prediction results to directly output control commands, this multi-cycle adaptive fusion mechanism effectively smooths prediction fluctuations and abrupt changes between adjacent control cycles, suppresses random errors in single predictions, and thus significantly improves the temporal coherence, smoothness, and execution stability of the final action control sequence.

[0065] Preferably, in S6, when the motion control sequence is sent to the dual-arm robot control system for execution, the following safety smoothing process is also performed:

[0066] Obtain the joint command value executed in the previous control cycle as the starting action. And obtain the first predicted action in the current action control sequence as the target action. ;

[0067] calculate and The difference across each joint dimension is taken as the maximum value of the difference. ;

[0068] when Exceeding the preset threshold At that time, according to and Determine the number of interpolation points ;exist and Insert evenly between joints A transitional movement ensures that the change in each joint dimension between any two immediately preceding or following movements does not exceed the preset threshold. ;

[0069] when Not exceeding At that time, execute directly. .

[0070] This setup effectively eliminates joint abrupt changes and shocks caused by predictive jumps during cross-control cycles, providing rigid motion safety constraints for the dual-arm robot at the execution level, thereby ensuring the smoothness of the robotic arm's operation, the safety of the mechanism, and the reliability of human-machine collaboration. Attached Figure Description

[0071] To make the objectives, technical solutions, and advantages of the invention clearer, the invention will now be described in further detail with reference to the accompanying drawings, wherein:

[0072] Figure 1 This is a flowchart of the method;

[0073] Figure 2 This is a schematic diagram of the overall architecture when the method in Example 1 is implemented;

[0074] Figure 3 This is a schematic diagram of the EfficientNet-EMA network structure in Example 1;

[0075] Figure 4 This is a schematic diagram of the hierarchical sensing coding network structure in Example 1;

[0076] Figure 5 This is a schematic diagram of the offline smoothing effect in Example 1;

[0077] Figure 6 This is a schematic diagram of the dual-arm interactive decoder in Embodiment 1;

[0078] Figure 7 This is a flowchart of the action similarity time integration strategy in Example 1;

[0079] Figure 8 This is a schematic diagram of the safe smoothing effect in Example 1. Detailed Implementation

[0080] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0081] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of them. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to represent selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0082] Example 1

[0083] like Figure 1 , Figure 2 As shown, this invention provides a robot cooperative operation method based on hierarchical perceptual coding and generative optimization, including the following steps:

[0084] S1. Acquire multi-view RGB images and robot status information during the collaborative operation of the dual-arm robot.

[0085] In practice, after acquiring the data, time synchronization, abnormal data removal, normalization processing, and dataset partitioning are also performed.

[0086] S2. Use a convolutional neural network to extract features from the multi-view RGB image described in S1 to obtain multi-scale visual features, and use an attention module to establish feature associations for the multi-scale visual features to adjust the feature weights of different regions, thereby obtaining a visual feature sequence that focuses on the key operation region.

[0087] In practice, the EfficientNet-EMA network is used to extract visual features of the robot's operating environment, with the structure as follows: Figure 3 As shown. The convolutional neural network is the EfficientNet backbone network, and the attention module is the EMA attention module.

[0088] First, the multi-view RGB image is input into the EfficientNet backbone network. Multi-scale visual features of the target object, robot end effector and operating environment are extracted through a multi-layer convolutional structure, which improves the image feature representation ability while ensuring computational efficiency.

[0089] Subsequently, the aforementioned visual features are input into the EMA attention module to establish feature associations from the spatial and channel dimensions, dynamically adjust the feature weights of different regions, so that the network focuses on key operational areas such as the robot gripper, target object, and contact area, and reduces the impact of background information on feature extraction results.

[0090] Finally, the visual features from different perspectives are uniformly mapped to the same dimension to form a visual feature sequence, which serves as the input to the hierarchical perception coding network in step 3, providing a feature basis for the subsequent fusion of visual information and robot state information.

[0091] EfficientNet was chosen as the backbone network. Its composite scaling strategy achieves a balanced optimization between model depth, width and input resolution, enabling efficient extraction of multi-scale visual features while maintaining low computational overhead. At the same time, the EMA attention module was introduced to establish feature associations from both spatial and channel dimensions and dynamically adjust the weights of regional features. Compared with a single-dimensional attention mechanism, it can capture the semantic information of key operation regions more comprehensively, thereby improving feature extraction efficiency and enhancing the ability to perceive and focus on key regions in complex operation scenarios.

[0092] S3. Input the visual feature sequence described in S2 and the robot state information described in S1 into a hierarchical perceptual coding network (HAE). The structure of the hierarchical perceptual coding network (HAE) is as follows: Figure 4 As shown, the visual feature sequence and the robot state information are extracted respectively by an interleaved stacked intra-modal coding module (WME) and a cross-modal fusion module (CME). Then, cross-modal fusion is performed on the internal features of the visual feature sequence and the robot state information to output multimodal semantic features. .

[0093] In specific implementation, the intramodal encoding module independently encodes the visual feature sequence and the robot state information, extracting the internal features of the visual modality and the internal features of the robot state modality;

[0094] The cross-modal fusion module employs a cross-attention mechanism to perform cross-modal interaction on the modal features output by the intra-modal encoding module, outputting cross-modal fusion features of visual information and robot state information as the multimodal semantic features. .

[0095] In specific implementation, the hierarchical sensing coding network includes N sequentially connected coding layers, and each coding layer includes the intra-modal coding module and the cross-modal fusion module;

[0096] In each of the coding layers, the intramodal coding module independently encodes the input visual features and robot state features to obtain the visual internal features and state internal features of the current layer; the cross-modal fusion module uses the visual internal features and state internal features of the current layer as input to perform cross-modal interaction to obtain the fused features of the current layer.

[0097] Wherein, the visual internal features and state internal features output by the (i-1)th encoding layer are used as the visual feature input and robot state feature input of the intra-modal encoding module of the i-th encoding layer, respectively, 1 < i ≤ N; the fused features output by the cross-modal fusion module of the N-th encoding layer are used as the multimodal semantic features. .

[0098] Compared to single-layer encoding or sequential structures that encode first and then fuse, this hierarchical interleaved architecture can continuously strengthen the semantic alignment between modalities while progressively improving the level of feature abstraction, thereby obtaining a more discriminative and semantically rich multimodal fusion representation.

[0099] S4. The multimodal semantic features described in S3 Input the HDC-ACT dual-arm collaborative motion generation network; use the multimodal semantic features described in S3. As a conditional constraint, latent variables for the left and right arms are constructed using a conditional variational autoencoder (CVAE) to represent the action distributions of the left and right arms respectively, and the multimodal semantic features are then used to construct these latent variables. The latent variables of the left and right arms are input into the dual-arm interactive decoder (DAM).

[0100] Among them, the HDC-ACT dual-arm collaborative motion generation network improves upon the conditional variational autoencoder CVAE by no longer using a single latent variable to uniformly describe the overall movement of both arms, but instead using multimodal semantic features. As constraints, latent variables for the left and right arms were constructed separately to enhance the model's ability to express the differences, coordination, and multimodal teaching action distribution of the two arms.

[0101] In practice, during the training phase, the conditional variational autoencoder processes the multimodal semantic features. The corresponding taught action sequence is input into the encoder to obtain the mean of the latent distribution of the left arm movement. and standard deviation and the mean of the potential distribution of right arm movements and standard deviation The latent variables of the left arm were obtained by reparameterization. and right arm latent variables :

[0102] ;

[0103] in, and Let be a random variable that follows a standard normal distribution.

[0104] The teaching action sequence is demonstration action data used to train the conditional variational autoencoder.

[0105] The total loss function when training the conditional variational autoencoder for:

[0106] ;

[0107] in, The action reconstruction loss is used to measure the consistency between the predicted action sequence and the taught action sequence. The KL divergence between the latent distribution of the left arm movement and the standard normal prior distribution is given. The KL divergence between the latent distribution of right arm movement and the standard normal prior distribution; This is the regularization coefficient.

[0108] Through the above improvements, the model is able to more fully characterize the differentiated movement patterns in bi-arm coordinated operation while maintaining generative modeling capabilities.

[0109] In specific implementation, before training the conditional variational autoencoder, the left and right robotic arm joint angles, end effector status, and timestamps in each teleoperation teaching data are read and synchronized with the visual frames and body state data according to the control cycle. Subsequently, the acquired teaching action sequence is also subjected to offline smoothing: the joint angle sequence is read, and the joint angles are smoothed using a moving average filter. The filtered joint angles are then... for:

[0110] ;

[0111] in, is the original joint angle at time t+1; M is the preset half-window width;

[0112] For moments at the edges of the sequence where the full window width is not met, the original joint angle values ​​are kept unchanged; the filtered teaching action sequence is used as the supervision signal during the training phase.

[0113] The filtered action sequence, used as a supervision signal, together with the original visual observations and the robot's state, constitutes the training samples to reduce the model's fitting to unintentional jitters, with the following effect: Figure 5 As shown.

[0114] Compared to training directly using noisy raw teaching data, this preprocessing method can effectively reduce the risk of model overfitting to noise, making the learned action potential distribution more stable and reliable, thereby improving the smoothness and execution safety of the generated action sequence.

[0115] The structure of the dual-arm interactive decoder (DAM) is as follows: Figure 6As shown, the dual-arm interactive decoder (DAM) includes a left-arm decoding branch and a right-arm decoding branch arranged symmetrically in parallel, and a cross-arm interactive module (CAIM) is set between the left-arm decoding branch and the right-arm decoding branch. The cross-arm interactive module concatenates the intermediate layer features output by the left-arm decoding branch and the right-arm decoding branch during the decoding process to form a dual-arm joint action representation. After adding position encoding to the dual-arm joint action representation, the correlation between the left and right arm action representations is calculated through a multi-head self-attention mechanism to obtain cross-arm attention features. The cross-arm attention features are then residually connected with the dual-arm joint action representation, and a dual-arm future action prediction sequence is generated based on the joint representation after residual connection.

[0116] In a specific implementation, the cross-arm interaction module further includes a feedforward neural network and a layer normalization layer located after the multi-head self-attention mechanism; the dual-arm interaction decoder further includes independent action output heads, which are respectively located at the ends of the left arm decoding branch and the right arm decoding branch;

[0117] The generation of the bi-arm future movement prediction sequence based on the joint representation after residual connection includes:

[0118] The joint representation after the residual concatenation is divided into left-arm enhancement features and right-arm enhancement features according to the channel dimension, and then fed back to the corresponding decoding branches to continue decoding.

[0119] After subsequent decoding and normalization processing, the independent motion output head generates a left robotic arm motion prediction sequence based on the left arm enhancement features and the right arm enhancement features, respectively. And right robotic arm motion prediction sequence ;

[0120] The left robotic arm motion prediction sequence and the right robotic arm motion prediction sequence Combined into a sequence for predicting future arm movements .

[0121] While sharing cross-arm interaction information, the two arms maintain the exclusivity and independence of each arm's motion decoding through channel separation and independent output heads. This fully utilizes the collaborative semantics between the two arms and avoids the coupling interference of left and right arm movements caused by sharing the output head, thereby improving the accuracy of the two-arm collaborative motion prediction and the autonomous controllability of each arm's movement.

[0122] S5. Obtain the historical prediction sequences generated in the previous multiple control cycles stored in the preset sliding buffer window; for each time step in the dual-arm future action prediction sequence described in S4, calculate the similarity between the current predicted action of the time step and the historical predicted action corresponding to the time step in each historical prediction sequence, generate an adaptive fusion weight based on the similarity, and perform weighted fusion between the current predicted action of the time step and each historical predicted action, and obtain the action control sequence after traversing all time steps.

[0123] In practice, the Action Similarity Time Integration Module (ASTE) is used to implement the process in S5, which is as follows: Figure 7 As shown.

[0124] The sliding buffer window stores the predicted sequence of future arm movements generated in the previous H consecutive control cycles, as the historical prediction sequence;

[0125] The step of calculating the similarity between the current predicted action at the time step and the corresponding historical predicted actions in each historical prediction sequence, generating adaptive fusion weights based on the similarity, and then performing a weighted fusion of the current predicted action at the time step and each historical predicted action, includes:

[0126] Predict the action of the current control cycle at this time step. The historical prediction action corresponding to that time step in each of the historical prediction sequences. to , forming a candidate action set { , , …, };

[0127] Calculate each candidate action and Similarity between The adaptive fusion weights are generated using the following formula. :

[0128] ;

[0129] Where τ is a preset similarity sensitivity coefficient; j traverses all candidate actions in the candidate action set. Historical predicted actions with higher similarity receive greater weight, while cross-modal actions with significant semantic differences are weakened, thereby avoiding the simple averaging of different behavioral patterns and improving the continuity and stability of the action sequence.

[0130] The predicted action after fusion at this time step is obtained by weighting and fusing the data using the following formula. :

[0131] ;

[0132] Where i traverses all candidate actions in the candidate action set;

[0133] After traversing all time steps, the action control sequence is obtained.

[0134] Compared to relying solely on single-frame prediction results to directly output control commands, this multi-cycle adaptive fusion mechanism can effectively smooth prediction fluctuations and abrupt changes between adjacent control cycles, suppress random errors in single predictions, and thus significantly improve the temporal coherence, smoothness, and execution stability of the final action control sequence.

[0135] S6. Send the motion control sequence described in S5 to the dual-arm robot control system to drive the dual-arm robot to complete the collaborative operation task.

[0136] In practice, the control system drives each joint of the left and right robotic arms and the end gripper according to the final action sequence, enabling the robot to complete tasks such as collaborative grasping, assembly by both hands, and object transfer.

[0137] In practice, when the motion control sequence is sent to the dual-arm robot control system for execution, the following safety and smoothing processes are also performed:

[0138] Obtain the joint command value executed in the previous control cycle as the starting action. And obtain the first predicted action in the current action control sequence as the target action. ;

[0139] calculate and The difference across each joint dimension is taken as the maximum value of the difference. ;

[0140] when Exceeding the preset threshold At that time, according to and Determine the number of interpolation points : ;exist and Insert evenly between joints A transitional movement ensures that the change in each joint dimension between any two immediately preceding or following movements does not exceed the preset threshold. This suppresses joint jumps and instantaneous impacts caused by action block switching, with effects such as... Figure 8 As shown.

[0141] when Not exceeding At that time, execute directly. .

[0142] This effectively eliminates joint mutations and shocks caused by predicted jumps during cross-control cycles, providing rigid motion safety constraints for the dual-arm robot at the execution level, thereby ensuring the smoothness of the robotic arm's operation, the safety of the mechanism, and the reliability of human-machine collaboration.

[0143] This invention designs a hierarchical perception coding method to achieve unified modeling of visual information and robot state information, thereby improving the perceptual expression capability in complex environments. Furthermore, this invention employs an improved conditional variational autoencoder for generative motion modeling, improving the prediction accuracy of future action sequences for both arms. Additionally, this invention designs a dual-arm interactive decoding method to achieve interaction of motion information between the left and right robotic arms, improving the consistency and coordination of the two-arm motion execution.

[0144] This invention proposes a semantic-temporal integration method for actions, which adaptively fuses historical predictions with current predictions based on action similarity to improve the continuity of action output. Furthermore, this invention combines teaching trajectory filtering and action abrupt change suppression to reduce the impact of teaching noise and action jumps during the inference phase on the execution process of low-cost robotic arms, thereby improving the robot's motion smoothness.

[0145] This method is a collaborative operation method for dual-arm robots that can fully integrate multimodal information, enhance the collaborative capability of dual-arm movements, and improve the stability of movement output, so as to meet the high-precision and high-stability collaborative operation requirements of dual-arm robots in complex industrial scenarios.

[0146] Example 2

[0147] To better illustrate the effectiveness of this method, the following experimental verification was conducted.

[0148] To verify the feasibility and effectiveness of the proposed dual-arm robot collaborative operation method based on hierarchical perceptual coding and generative action optimization, a real dual-arm robot teleoperation and experimental verification platform was built on the LeRobot platform. The following were selected: ACT proposed in the paper "Zhao TZ, Kumar V, Levine S, et al. Learning fine-grained bimanualmanipulation with low-cost hardware[C] / / Proceedings of Robotics: Science and Systems (RSS). 2023."; DiffusionPolicy proposed in the paper "Chi C, Xu Z, Feng S, et al. Diffusionpolicy: Visuomotor policy learning via action diffusion[J]. The International Journal of Robotics Research, 2025, 44(10-11): 1684-1704"; and InterACT proposed in the paper "Lee A, Chuang I, Chen LY, et al. InterACT: Inter-dependencyaware action chunking with hierarchical attention transformers for bimanualmanipulation[C] / / 8th Conference on Robot". InterACT, proposed in Learning-CORL-Annual. 2024: 1730-1743, serves as a comparison method.

[0149] The experiment included five real-world dual-arm collaborative operation tasks: "cleaning the desktop," "placing paper cups," "folding towels," "tidying drawers," and "assembling turbine blades." The first four tasks were used to verify the algorithm's adaptability in everyday operational scenarios, while "turbine blade assembly" was used to verify the collaborative control accuracy and execution stability in complex assembly tasks. All methods were trained using real teleoperation teaching data and tested on the same hardware platform, with the same data scale and evaluation metrics. Task success rate was used as the primary evaluation metric.

[0150] For this experiment, the main network parameters were set as follows: 100,000 training iterations, action block length of 100, batch size of 8, learning rate of 1e-5, regularization coefficient β of 10, and temporal ensemble weight decay coefficient of 0.01. To reduce the influence of random factors, each model was repeatedly tested under the same conditions, and the task success rate was statistically analyzed.

[0151] Experimental results show that the success rates of the method of the present invention in the tasks of "cleaning the desktop", "placing paper cups", "folding towels", "tidying up drawers", and "assembling turbine blades" are 46.34%, 41.78%, 75.00%, 42.67%, and 38.34%, respectively; the corresponding success rates of the ACT method are 33.89%, 26.67%, 69.11%, 38.44%, and 21.56%. Compared with the ACT method, the average success rate of the method of the present invention is increased from approximately 37.93% to approximately 48.83%, an average improvement of approximately 10.85%.

[0152] It is evident that this invention can effectively improve the motion generation accuracy, dual-arm coordination, and task success rate of dual-arm robots in complex collaborative operation tasks, verifying its feasibility and effectiveness.

[0153] 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 the technical solutions. Those skilled in the art should understand that any modifications or equivalent substitutions to the technical solutions of the present invention without departing from the spirit and scope of the present invention should be covered within the scope of the claims of the present invention.

Claims

1. A robot cooperative operation method based on hierarchical perceptual coding and generative optimization, characterized in that, Includes the following steps: S1. Acquire multi-view RGB images and robot status information during the collaborative operation of the dual-arm robot; S2. Use a convolutional neural network to extract features from the multi-view RGB image described in S1 to obtain multi-scale visual features, and use an attention module to establish feature associations for the multi-scale visual features to adjust the feature weights of different regions, thereby obtaining a visual feature sequence that focuses on the key operation region. S3. Input the visual feature sequence described in S2 and the robot state information described in S1 into a hierarchical perceptual coding network. Extract the internal features of the visual feature sequence and the robot state information respectively through interleaved stacked intramodal coding modules and cross-modal fusion modules. Perform cross-modal fusion on the internal features of the visual feature sequence and the robot state information to output multimodal semantic features. S4. Using the multimodal semantic features described in S3 as conditional constraints, construct the latent variables of the left arm and the right arm respectively through a conditional variational autoencoder to characterize the action distribution of the left and right arms, and input the multimodal semantic features, the latent variables of the left arm and the latent variables of the right arm into the dual-arm interactive decoder. The dual-arm interactive decoder includes a left arm decoding branch and a right arm decoding branch arranged symmetrically in parallel, and a cross-arm interactive module is provided between the left arm decoding branch and the right arm decoding branch; The cross-arm interaction module concatenates the intermediate layer features output by the left and right arm decoding branches during the decoding process to form a dual-arm joint action representation. After adding position encoding to the dual-arm joint action representation, the correlation between the left and right arm action representations is calculated through a multi-head self-attention mechanism to obtain cross-arm attention features. The cross-arm attention features are then residually connected with the dual-arm joint action representation. Based on the joint representation after residual connection, a dual-arm future action prediction sequence is generated. S5. Obtain the historical prediction sequences generated in the previous multiple control cycles stored in the preset sliding buffer window; for each time step in the dual-arm future action prediction sequence described in S4, calculate the similarity between the current predicted action of the time step and the historical predicted action corresponding to the time step in each historical prediction sequence, generate an adaptive fusion weight based on the similarity, and perform weighted fusion between the current predicted action of the time step and each historical predicted action, and obtain the action control sequence after traversing all time steps. S6. Send the motion control sequence described in S5 to the dual-arm robot control system to drive the dual-arm robot to complete the collaborative operation task.

2. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 1, characterized in that, In S2, the convolutional neural network is the EfficientNet backbone network, and the attention module is the EMA attention module. The multi-view RGB image is input into the EfficientNet backbone network, and multi-scale visual features are extracted through a multi-layer convolutional structure. Then, the multi-scale visual features are input into the EMA attention module to establish feature associations from the spatial and channel dimensions, dynamically adjust the feature weights of different regions, and obtain the visual feature sequence that focuses on the key operation region.

3. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 1, characterized in that, In S3, the intramodal encoding module independently encodes the visual feature sequence and the robot state information, respectively, and extracts the internal features of the visual modality and the internal features of the robot state modality; The cross-modal fusion module employs a cross-attention mechanism to perform cross-modal interaction on the modal features output by the intramodal encoding module, and outputs cross-modal fusion features of visual information and robot state information as the multimodal semantic features.

4. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 3, characterized in that, The hierarchical sensing coding network includes N sequentially connected coding layers, each of which includes an intra-modal coding module and a cross-modal fusion module; In each of the coding layers, the intramodal coding module independently encodes the input visual features and robot state features to obtain the visual internal features and state internal features of the current layer; the cross-modal fusion module uses the visual internal features and state internal features of the current layer as input to perform cross-modal interaction to obtain the fused features of the current layer. Wherein, the visual internal features and state internal features output by the (i-1)th coding layer are used as the visual feature input and robot state feature input of the intramodal coding module of the i-th coding layer, respectively, 1 < i ≤ N; the fusion features output by the cross-modal fusion module of the Nth coding layer are used as the multimodal semantic features.

5. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 1, characterized in that, In S4, during the training phase, the conditional variational autoencoder inputs the multimodal semantic features and the corresponding taught action sequence into the encoder to obtain the mean of the latent distribution of the left arm movement. and standard deviation and the mean of the potential distribution of right arm movements and standard deviation The latent variables of the left arm were obtained by reparameterization. and right arm latent variables : ; in, and Let be a random variable that follows a standard normal distribution. The teaching action sequence is demonstration action data used to train the conditional variational autoencoder.

6. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 5, characterized in that, The total loss function when training the conditional variational autoencoder for: ; in, The action reconstruction loss is used to measure the consistency between the predicted action sequence and the taught action sequence. The KL divergence between the latent distribution of the left arm movement and the standard normal prior distribution is given. The KL divergence between the latent distribution of right arm movement and the standard normal prior distribution; This is the regularization coefficient.

7. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 5, characterized in that, Before training, the conditional variational autoencoder also performs offline smoothing on the acquired teaching motion sequence: it reads the joint angle sequence, uses a moving average filter to smooth the joint angles, and then performs the smoothing on the filtered joint angles. for: ; in, is the original joint angle at time t+1; M is the preset half-window width; For moments at the edges of the sequence where the full window width is not met, the original joint angle values ​​are kept unchanged; the filtered teaching action sequence is used as the supervision signal during the training phase.

8. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 1, characterized in that, In S4, the cross-arm interaction module further includes a feedforward neural network and a layer normalization layer located after the multi-head self-attention mechanism; the dual-arm interaction decoder further includes independent action output heads, which are respectively located at the ends of the left arm decoding branch and the right arm decoding branch; The generation of the bi-arm future movement prediction sequence based on the joint representation after residual connection includes: The joint representation after the residual concatenation is divided into left-arm enhancement features and right-arm enhancement features according to the channel dimension, and then fed back to the corresponding decoding branches to continue decoding. After subsequent decoding and normalization processing, the independent motion output head generates a left robotic arm motion prediction sequence based on the left arm enhancement features and the right arm enhancement features, respectively. And right robotic arm motion prediction sequence ; The left robotic arm motion prediction sequence and the right robotic arm motion prediction sequence Combined into a sequence for predicting future arm movements .

9. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 1, characterized in that, In S5, the sliding buffer window stores the predicted sequence of future arm movements generated in the previous H consecutive control cycles, as the historical prediction sequence; The step of calculating the similarity between the current predicted action at the time step and the corresponding historical predicted actions in each historical prediction sequence, generating adaptive fusion weights based on the similarity, and then performing a weighted fusion of the current predicted action at the time step and each historical predicted action, includes: Predict the action of the current control cycle at this time step. The historical prediction action corresponding to that time step in each of the historical prediction sequences. to , forming a candidate action set { , …, }; Calculate each candidate action and similarity between The adaptive fusion weights are generated using the following formula. : ; Where τ is a preset similarity sensitivity coefficient; j traverses all candidate actions in the candidate action set; The predicted action after fusion at this time step is obtained by weighting and fusing the data using the following formula. : ; Where i iterates through all candidate actions in the candidate action set; After traversing all time steps, the action control sequence is obtained.

10. The robot cooperative operation method based on hierarchical perceptual coding and generative optimization according to claim 1, characterized in that, In S6, when the motion control sequence is sent to the dual-arm robot control system for execution, the following safety smoothing process is also performed: Obtain the joint command value executed in the previous control cycle as the starting action. And obtain the first predicted action in the current action control sequence as the target action. ; calculate and The difference across each joint dimension is taken as the maximum value of the difference. ; when Exceeding the preset threshold At that time, according to and Determine the number of interpolation points ;exist and Insert evenly between joints A transitional movement ensures that the change in each joint dimension between any two immediately preceding or following movements does not exceed the preset threshold. ; when Not exceeding At that time, execute directly. .