A cross-view robot operation learning method and system based on retrieval-augmented generation

By using a retrieval-enhanced generation method and leveraging third-view video feature extraction and dynamic injection mechanisms, the problems of single viewpoint and cross-scene adaptability of VLA models are solved, achieving efficient and low-cost cross-view robot operation learning.

CN123149964APending Publication Date: 2026-11-24ZHANGJIANG INST OF SCI & TECH FUDAN UNIV PUDONG SHANGHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611287026.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing VLA models suffer from limitations such as a single perspective in training data, insufficient autonomous learning ability in home scenarios, insufficient generalization ability across scenarios, and limitations in cross-perspective transfer methods, resulting in low robot operation learning efficiency, high cost, and difficulty in adapting to new environments.

Method used

A cross-view robot operation learning method based on retrieval enhancement is adopted. By contrastive learning of the visual encoder, the features of the third-view operation video are extracted to construct an operation experience base. Relevant experience is retrieved from the base using query vectors and dynamically injected into the vision-language-action model for reasoning to generate robot joint control actions.

Benefits of technology

It enables cross-perspective knowledge transfer without explicit perspective changes, efficiently utilizes internet data, supports real-time online learning, reduces training costs, and enhances the robot's autonomous learning ability and cross-scenario adaptability in the home environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123149964A_ABST
    Figure CN123149964A_ABST
Patent Text Reader

Abstract

This invention provides a cross-view robot operation learning method and system based on retrieval-enhanced generation. Addressing the problem that existing vision-language-action models cannot utilize third-view demonstration data, this invention employs a contrastive learning visual encoder to perform frame sampling and feature extraction on third-view operation demonstration videos, constructing a FAISS vector experience library. When the robot performs a task, it retrieves relevant third-view demonstration experience from the experience library based on the current first-view image and task instructions, and injects it into a modified VLA model (Transformer encoder) through a linear projection layer. The model fuses multi-source features, and the joint control action sequence is output through a noise reduction and diffusion mechanism using a motion expert model. This invention achieves cross-view knowledge transfer without explicit viewpoint switching, effectively utilizes massive amounts of third-view operation demonstration data, and significantly improves the robot's autonomous learning and operation capabilities in home scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of embodied intelligence and robot operation learning technology, specifically to a cross-perspective robot operation learning method and system based on retrieval-enhanced generation. Background Technology

[0002] Embodied intelligence is a cutting-edge research area in artificial intelligence, aiming to enable robotic systems to perceive their environment, understand language commands, and perform diverse operational tasks in a complex physical world, much like humans. In recent years, with the rapid development of large-scale pre-trained visual models and large language models, robot operating systems and corresponding methods based on vision-language-action (VLA) models have achieved significant breakthroughs in multiple benchmark tests and real-world scenarios. Representative works include RT-2, OpenVLA, and pi0, which, by jointly training visual understanding, language reasoning, and action generation capabilities on large-scale robot operation datasets, enable robots to perform various operational tasks such as grasping, placing, and assembling based on natural language commands.

[0003] However, existing VLA model training and inference paradigms face the following core bottlenecks in practical applications:

[0004] First, there's the problem of a single perspective in training data. Currently, the training data for mainstream VLA models almost entirely comes from robot first-person perspective (egocentric view, i.e., the subjective view captured by the robot's own camera) demonstration data. Building such datasets requires specialized robot operation platforms, trained teleoperators, and significant time investment, making data acquisition extremely costly and severely limiting scale. Meanwhile, the internet contains a vast amount of videos of everyday human operations filmed from an exocentric perspective (observer's view), such as cooking tutorials, furniture assembly instructions, and skill learning videos. These videos contain extremely rich operational knowledge, but due to the difference in perspective, existing VLA models cannot directly utilize these valuable data resources, resulting in a serious waste of knowledge.

[0005] Secondly, there is the issue of insufficient self-learning capabilities in home environments. In practical home service robot applications, robots need to continuously learn new personalized operating skills from their owners, such as learning the owner's specific habits of placing items or how to use specific tools. The most natural interaction method is for the owner to directly demonstrate the operation process to the robot from a third-person perspective, without needing to wear additional camera equipment. However, existing robot systems lack a mechanism to translate third-person demonstrations into operational capabilities in real time, making it difficult to achieve true online self-learning and limiting the robot's practicality in the home environment.

[0006] Third, there is the problem of insufficient cross-scene generalization ability. Existing VLA models often face significant performance degradation when encountering new scenes, new objects, or new tasks outside the training distribution. Although few-shot fine-tuning is a commonly used adaptation strategy, it requires re-collecting data and updating the model from the target perspective, which is time-consuming and labor-intensive. Moreover, this process needs to be repeated for each new scene, which cannot meet the needs of rapid adaptation to new environments in practical applications.

[0007] Fourth, the limitations of existing cross-viewpoint transfer methods. To address the viewpoint difference problem, some research has attempted to bridge the gap between third-person and first-person perspectives through the following approaches: (1) Image translation-based methods, which use generative adversarial networks (GANs) or diffusion models to convert third-person perspective images into first-person perspective images, and then input them into a conventional VLA model. These methods face problems such as unstable image conversion quality, detail distortion, and viewpoint transformation errors accumulating with each task execution step. Furthermore, the training of the generative model itself requires a large amount of paired data. (2) Kinematic mapping-based methods, which attempt to extract human skeletons or operation trajectories from third-person perspective videos and map them to the robot's joint space. These methods are highly dependent on the accuracy of human pose estimation, have poor fault tolerance in occlusion and complex backgrounds, and are difficult to handle structural differences between the human hand and the robot's end effector. (3) Viewpoint-independent feature learning-based methods, which train viewpoint-independent visual representations through contrastive learning to align feature vectors of the same operation under different viewpoints. Although these methods partially alleviate viewpoint differences, their actual generalization ability is limited due to the requirement of a large number of positive and negative sample pairs in the contrastive learning framework.

[0008] In summary, existing technologies have significant shortcomings in the field of cross-view robot operation learning, and there is an urgent need for a new method that can efficiently utilize third-view demonstration videos, eliminate the need for complex viewpoint changes, and support dynamic knowledge enhancement during reasoning. Summary of the Invention

[0009] This invention addresses the aforementioned problems and aims to provide a robot operation learning method and system that overcomes the shortcomings of existing technologies in the field of cross-perspective robot operation learning, efficiently utilizing third-view demonstration videos, eliminating the need for complex perspective changes, and supporting dynamic knowledge enhancement during reasoning. This invention provides a retrieval-enhanced generation (VLA-RAG) cross-perspective robot operation learning method and system, innovatively introducing the mature retrieval-enhanced generation (RAG) paradigm from the field of natural language processing into the field of robot operation learning. This enables the robot to dynamically retrieve and utilize third-view operation demonstration experience during reasoning, achieving efficient and low-cost cross-perspective knowledge transfer.

[0010] Specifically, the present invention adopts the following technical solution:

[0011] This invention provides a cross-view robot operation learning method based on retrieval enhancement generation. The method includes the following steps: Step S1, Feature Extraction: Frame sampling is performed on a third-view operation demonstration video to obtain an original frame sequence, and a contrastive learning visual encoder is used to extract features from the original frame sequence to obtain a feature vector sequence; Step S2, Offline Database Construction: The original frame sequence, feature vector sequence, and task description information are correspondingly stored in a vector database to form multiple experience records, constructing an operation experience database available for online retrieval; Step S3, Online Retrieval: A query vector is generated based on the first-view observation image and task instruction information, and the query vector is used to retrieve the top K most relevant experience records in the operation experience database. A feature tensor is generated based on the first-view observation image, the task instruction information, and the retrieved experience records; Step S4, Experience Injection: The feature tensor is input into the experience injection interface of a vision-language-action model, and the vision-language-action model outputs a fused latent feature vector; Step S5, Action Generation: The fused latent feature vector is input into a motion expert model, and the motion expert model generates a robot joint control action sequence through a denoising diffusion mechanism.

[0012] The cross-view robot operation learning method based on retrieval enhancement generation provided by this invention may also have the following technical features: In step S1, the contrastive learning visual encoder is a SigLIP encoder, which includes a contrastively trained visual encoder and a text encoder, the outputs of which reside in the same semantic space. In step S2, the vector database is a FAISS vector database.

[0013] The cross-view robot operation learning method based on retrieval enhancement provided by this invention may also have the following technical feature: in step S3, the relevance is determined based on a comprehensive relevance score S, which is calculated by weighting visual feature similarity Sv, task semantic similarity St, and a balance coefficient α.

[0014] S = α × Sv + (1-α) × St

[0015] After encoding the first-view observation image into a feature vector q using the visual encoder, the cosine similarity between the feature vector q and the i-th feature vector vi in ​​the empirical record is calculated, and this cosine similarity is used as the visual feature similarity Sv.

[0016] Sv = (q·vi) / (||q|| × ||vi||)

[0017] After encoding the task instruction information and the task description information into corresponding semantic vectors using the text encoder, the cosine similarity between the semantic vector of the task instruction information and the semantic vector of the task description information is calculated and used as the task semantic similarity St.

[0018] The cross-view robot operation learning method based on retrieval enhancement provided by the present invention may also have the following technical feature: in step S3, for the original frame sequence containing multiple image frames, the maximum value of the visual feature similarity Sv of all the image frames in the original frame sequence is taken as the visual similarity representative value.

[0019] The cross-view robot operation learning method based on retrieval enhancement provided by the present invention may also have the following technical features, wherein, in step S4, the vision-language-action model is an improved multimodal large language model and has a Transformer encoder, and the experience injection interface is added to the Transformer encoder.

[0020] The cross-view robot operation learning method based on retrieval enhancement provided by this invention also has the following technical features: In step S4, the vision-language-action model further has a linear projection layer, used to map the feature tensor onto the feature space of the vision-language-action model via linear projection to obtain a projection vector, and to obtain an additional context label sequence based on the projection vector. The additional context label sequence is concatenated before the visual label sequence and the language label sequence to form an input label sequence for multi-head self-attention calculation.

[0021] The cross-view robot operation learning method based on retrieval enhancement provided by the present invention may also have the following technical features: when training the vision-language-action model, only the linear projection layer is fine-tuned and the parameters of the linear projection layer are updated.

[0022] The cross-view robot operation learning method based on retrieval enhancement provided by the present invention may also have the following technical features, wherein, in step S5, the motion expert model, with the fused latent feature vector as a condition, combined with the diffusion time step embedding representation generation evolution stage, gradually denoises from the initial Gaussian noise vector through a denoising diffusion mechanism, and finally generates the robot joint control action sequence, which includes the robot's multi-degree-of-freedom joint angle increments and the end effector opening and closing states.

[0023] This invention provides a cross-view robot operation learning system based on retrieval enhancement generation. The system comprises: a contrastive visual encoding module for sampling frames from a third-view operation demonstration video to obtain an original frame sequence, and using a contrastive learning visual encoder to extract features from the original frame sequence to obtain a feature vector sequence; an experience storage module for storing the original frame sequence, the feature vector sequence, and task description information into a vector database to form multiple experience records, constructing an online retrieval-enabled operation experience library; a multimodal retrieval module for generating a query vector based on a first-view observation image and task instruction information, and using this query vector to retrieve the top K most relevant experience records from the operation experience library, and generating a feature tensor based on the first-view observation image, the task instruction information, and the retrieved experience records; an experience injection module for inputting the feature tensor into the experience injection interface of a vision-language-action model, whereby the vision-language-action model outputs a fused latent feature vector; and a cross-view action generation module for inputting the fused latent feature vector into an action expert model, whereby the action expert model generates a robot joint control action sequence through a denoising diffusion mechanism.

[0024] The role and effect of invention

[0025] The cross-view robot operation learning method and system based on retrieval enhancement generation provided by the present invention has the following significant technical advantages compared with the prior art:

[0026] First, it enables cross-view knowledge transfer without explicit viewpoint transformation. The system and method in this embodiment perform cross-view matching through a semantically aligned visual feature space. By utilizing a visual encoder trained through large-scale contrastive learning, the third-view operation demonstration frame and the current first-view observation frame have high semantic similarity in the feature space. This bypasses the technical difficulties of image domain viewpoint transformation in traditional methods and avoids problems such as image quality loss and viewpoint estimation errors.

[0027] Secondly, it efficiently utilizes the massive amount of third-person perspective data on the internet. In this embodiment, the operational experience base does not require action labeling during the database construction phase; only video frames and task description text are needed. It can directly utilize internet data sources such as YouTube tutorial videos and home videos, significantly lowering the barrier to obtaining high-quality training data and enabling the robot to continuously learn operational knowledge from a vast amount of human operation videos.

[0028] Third, the inference stage is plug-and-play, requiring no retraining of the base model. In the system and method of this embodiment, the experience injection mechanism is applied to the inference stage of the VLA model, resulting in a very small number of parameters in the linear projection layer and extremely low fine-tuning costs. For new scenarios and tasks, only relevant third-person operation demonstration videos need to be included in the operation experience library, without the need for full retraining of the VLA base model, thus achieving lightweight capability expansion.

[0029] Fourth, it supports real-time online continuous learning. The operation experience base adopts a dynamic index structure and supports incremental writing. After the robot observes new third-person perspective operation demonstrations in real time during interaction with the user, it can immediately add the new experience to the operation experience base, realizing continuous learning without offline retraining and meeting the actual needs of home service robots in constantly changing environments.

[0030] Fifth, it is compatible with various VLA base models. In the system of this embodiment, the experience injection module interacts with the VLA model through a standardized experience injection interface (linear projection interface), which has minimal intrusion into the internal structure of the VLA base model and can be easily migrated and adapted to VLA models with different architectures (such as pi0.5, OpenVLA, etc.), thus exhibiting good versatility. Attached Figure Description

[0031] Figure 1 This is a schematic diagram of the architecture of the cross-view robot operation learning system based on retrieval enhancement in an embodiment of the present invention;

[0032] Figure 2 This is a flowchart of a cross-view robot operation learning method based on retrieval enhancement in an embodiment of the present invention. Detailed Implementation

[0033] To make the technical means, creative features, objectives and effects of this invention easy to understand, the following describes in detail the cross-view robot operation learning method and system based on retrieval enhancement generation.

[0034] This embodiment provides a cross-view robot operation learning method and system based on retrieval-augmented generation. It utilizes retrieval-augmented generation (RAG) technology, uses third-view operation demonstration videos as experience sources, and enhances the vision-language-action model (VLA) reasoning ability through visual feature retrieval and injection mechanisms, thereby realizing the transfer of cross-view robot operation skills.

[0035] Figure 1 This is a schematic diagram of the architecture of the cross-view robot operation learning system based on retrieval enhancement in this embodiment.

[0036] like Figure 1 As shown, the cross-view robot operation learning system 10 based on retrieval enhancement includes: a contrastive visual encoding module 11, an experience storage module 12, a multimodal retrieval module 13, an experience injection module 14, and a cross-view action generation module 15.

[0037] The contrastive visual encoding module 11 is configured to sample frames from the third-person perspective operation demonstration video to obtain an original frame sequence, and then use a contrastive learning visual encoder to extract high-dimensional features from the original frame sequence to obtain a corresponding feature vector sequence. The third-person perspective operation demonstration video can be a video of a robot or a human operating the video.

[0038] In this embodiment, a third-view operation demonstration dataset of robot operation is used as an experience source. The module performs uniform frame sampling on each third-view operation demonstration video in the dataset at fixed time intervals to obtain an original frame sequence. The original frame sequence contains multiple image frames of the third-view operation demonstration video.

[0039] Then, the SigLIP (Sigmoid Loss for Language Image Pre-Training) encoder is used as the contrastive learning visual encoder to extract high-dimensional feature vectors for each image frame in the original frame sequence. The SigLIP encoder is a large-scale visual-language contrastive pre-training model proposed by Google Research. Compared to the traditional CLIP model, SigLIP replaces the softmax contrastive loss with sigmoid cross-entropy loss, demonstrating stronger feature discrimination ability and cross-modal semantic alignment performance in large-scale batch training. Specifically, when processing visual and text pairs, SigLIP does not need to normalize over the entire batch, but instead calculates the binary classification loss independently for each image-text pair, making the training process more numerically stable. Through large-scale image-text contrastive training, the SigLIP encoder can map visual content to a high-dimensional feature space with rich semantic information. Crucially, because the SigLIP encoder is exposed to diverse visual scenes during training, including similar operation scenarios under different viewpoints and lighting conditions, its extracted features exhibit a certain degree of viewpoint invariance: the cosine similarity of image frames of the same operation (such as "grabbing a cup") in third-person and first-person viewpoints is significantly higher than the similarity between different operation actions in the SigLIP encoder's feature space. This characteristic is the theoretical basis for this invention to achieve cross-viewpoint semantic matching without explicit viewpoint transformation.

[0040] The SigLIP encoder takes a single RGB image frame as input, with the resolution adjusted to 224×224 pixels, and outputs a feature vector with dimension d=1152. For a demonstration video of duration T seconds, this module performs uniform frame sampling at a sampling rate of fs=2 frames / second, resulting in a total of N=T×fs frames. Each frame is encoded by SigLIP to obtain a feature vector vi∈R^1152 (i=1,2,...,N).

[0041] During system deployment, the weights of the SigLIP encoder remain frozen and do not participate in any fine-tuning; they are used only for feature extraction. This ensures the stability of features in the operational experience base and the computational efficiency of the system.

[0042] The experience storage module 12 is used to store the original frame sequence, feature vector sequence and task description information together into the vector database to form multiple records of third-person perspective operation experience and build an operation experience library that can be searched online.

[0043] In this embodiment, the module employs the FAISS (Facebook AI Similarity Search) vector database for efficient storage and indexing of feature vectors from image frames of the third-person perspective demonstration video. The FAISS vector database is an open-source vector retrieval library developed by Meta AI Research, supporting millisecond-level nearest neighbor searches on billions of vectors, and is widely used in large-scale information retrieval and recommendation systems.

[0044] The data structure of each record in the operation experience database is as follows: record identifier ID; original frame sequence F={f1,f2,...,fN}; corresponding feature vector sequence V={v1,v2,...,vN}, where the dimension of each feature vector is 1152; task description text T, used to describe the operation task completed in this third-person perspective operation demonstration video; task type label L, used for category filtering during classification retrieval; and frame timestamp sequence, used to record the video time information corresponding to each image frame.

[0045] For the construction of the retrieval index, an indexing strategy combining Inverted File Index with Product Quantization (IVF-PQ) is adopted. In this strategy, the Inverted File Index (IVF) divides the feature space into several Voronoi units through K-Means clustering. During retrieval, precise searches are performed only within the few units closest to the query vector, transforming a full database search into a local search and significantly reducing retrieval complexity. Product Quantization (PQ) decomposes high-dimensional vectors into several low-dimensional sub-vectors and quantizes them separately, significantly compressing storage space. Experiments show that the retrieval latency using the IVF-PQ index in a vector database of millions is less than 5 milliseconds, which meets the latency requirements for real-time robot inference.

[0046] The initial data sources for the operation experience library include: (1) large-scale public robot operation datasets, such as the DROID dataset, which contains more than 76,000 real robot operation demonstration videos; (2) publicly available operation teaching videos on the Internet, which are included after being filtered for task relevance; and (3) personalized demonstration videos entered by users in real time during runtime. The operation experience library supports incremental writing. When a new third-person perspective operation demonstration video is included, only the index of the newly added feature vector needs to be updated, without affecting the existing index content, thus ensuring real-time performance in online learning scenarios.

[0047] The multimodal retrieval module 13 is used to generate a query vector based on the first-view observation image and task instruction information, and to retrieve the top K (Top-K) experience records with the highest relevance from the operation experience base using the query vector. It also generates a feature tensor based on the first-view observation image, task instruction information, and the retrieved experience records.

[0048] The first-person perspective image can be the current first-person perspective image captured by the robot during operation, and the task instruction information can be the task instructions given by the user through natural language or text input. During operation, the robot acquires first-person perspective images and natural language task instructions through its onboard cameras and other acquisition devices, and communicates remotely with the system, transmitting the current first-person perspective image and task instruction text to the system in real time for retrieval.

[0049] The relevance is determined based on the comprehensive relevance score S, which is calculated by weighting the visual feature similarity Sv and the task semantic similarity St, and is expressed as follows:

[0050] S = α × Sv + (1-α) × St

[0051] In the formula, α is the balance coefficient. In this embodiment, α = 0.6 is taken to give visual similarity a higher weight.

[0052] Wherein, the visual feature similarity Sv is calculated using cosine similarity. After the current first-view observation image is encoded into a feature vector q by the SigLIP visual encoder, the cosine similarity between this feature vector q and the i-th feature vector vi in ​​the experience record in the operation experience base is calculated as the visual feature similarity Sv, expressed as:

[0053] Sv = (q·vi) / (||q|| × ||vi||)

[0054] For an original frame sequence containing N image frames, the maximum value of the visual feature similarity Sv of all image frames in the original frame sequence is taken as the visual similarity representative value of the third-person perspective operation demonstration video. That is, by adopting the nearest neighbor frame matching strategy, the temporal differences in task progress in different third-person perspective operation demonstration videos can be effectively aligned.

[0055] The task semantic similarity St is also calculated using cosine similarity. After encoding the task instruction information and the task description text T into semantic vectors using the SigLIP text encoder, the cosine similarity between the semantic vector of the task instruction information and the semantic vector of the task description text T is calculated and used as the task semantic similarity St.

[0056] SigLIP's visual encoder and text encoder are trained in a comparative manner, and their outputs reside in the same semantic space. This naturally supports cross-modal similarity calculation between visual and text and between text, without the need to introduce an additional text similarity model.

[0057] After the retrieval is completed, the module returns the K experience records with the highest comprehensive relevance score S. In this embodiment, K=3 records are returned. The original frame sequence of each retrieved experience record is uniformly resampled in time to a fixed length M=8 frames to form a fixed-dimensional experience feature tensor E∈R^(K×M×1152), which can be used as input to the experience injection module 14 later.

[0058] The experience injection module 14 is used to input the feature tensor into the experience injection interface of the vision-language-action model. The vision-language-action model outputs a fused latent feature vector, which integrates the visual features of the first-view observation image, the semantic features of the task instruction text, and the visual features of the third-view operation demonstration video corresponding to the retrieved experience record.

[0059] Specifically, a multimodal large language model using a Transformer encoder is modified to obtain a vision-language-action model. After modification, the Transformer encoder of the vision-language-action model has a corresponding experience injection interface. This module uses this interface to input experience feature tensors to inject the corresponding third-person perspective operation experience into the vision-language-action model.

[0060] In this embodiment, the open-source VLA base model pi 0.5 is used as the modification target. The core of the model modification is to add an experience injection interface to its Transformer encoder. The VLA base model uses the PaliGemma multimodal large language model as the backbone of the Transformer encoder and the Flow Matching Diffusion Policy as the motion expert decoder, which has performed excellently in multiple robot operation benchmark tests.

[0061] Specifically, the model modification includes the following parts: linear projection layer design, token injection location design, attention mask design, and parameter fine-tuning strategy design.

[0062] For the linear projection layer design, a shared linear projection layer Wproj∈R^(1152×d_model) is designed for the feature tensor of each retrieved demonstration experience, where d_model is the internal feature dimension of the encoder of the VLA base model (d_model=2048 in PaliGemma-3B). The feature tensor E∈R^(K×M×1152) is linearly projected to a space consistent with the internal feature dimension of the model, resulting in the projection vector E_proj∈R^(K×M×d_model). Subsequently, the projection vector E_proj is expanded in the K and M dimensions and concatenated into a token sequence E_tokens∈R^(KM×d_model) of length K×M, which serves as the additional context token sequence, i.e., the injected experience token.

[0063] For the token injection location design, the additional context token sequence E_tokens is concatenated before the visual token sequence V_tokens (generated by image patch embedding) and the language token sequence L_tokens (generated by task instruction word embedding), forming a complete input token sequence: [E_tokens; V_tokens; L_tokens]. This sequence is used for multi-head self-attention computation, meaning that the injected experience tokens participate in multi-head self-attention computation together with the original visual and language tokens. A pre-concatenation strategy is adopted, enabling experience information to have a global impact on all visual and language tokens within the attention mechanism. Experiments have verified that pre-concatenation outperforms post-concatenation and intermediate insertion strategies.

[0064] For the attention mask design, in order to prevent language tokens from noticing experience tokens (to avoid language instructions being interfered with by the demonstration video), a one-way mask is introduced for the cross-attention between the attached context tag sequence E_tokens and the language tag sequence L_tokens in the attention calculation. This allows attention flow from the attached context tag sequence to the language tag sequence (E_tokens→L_tokens) and restricts attention flow from the attached context tag sequence to the attached context tag sequence (L_tokens→E_tokens).

[0065] For the parameter fine-tuning strategy, all parameters of the VLA base model are frozen, and fine-tuning is performed only on the linear projection layer Wproj. The number of parameters in the linear projection layer Wproj is approximately 1152 × 2048 ≈ 2.36 million, which is negligible compared to the total number of parameters in the VLA base model (approximately 3 billion). The fine-tuning cost is extremely low, and convergence can be achieved in about 2000 steps (approximately 4 hours) on a single A100 GPU.

[0066] The cross-view motion generation module 15 is used to inject experience-based visual-language-motion models and outputs fused latent feature vectors. The motion expert model, conditioned on the fused latent feature vectors, generates robot joint control motion sequences through a denoising diffusion mechanism.

[0067] The motion expert model includes a motion decoder based on a denoising diffusion mechanism, specifically employing flow matching technology to optimize the diffusion process. The input of the motion expert model consists of three parts: (1) the fused latent feature vector q∈R^d_model output by the vision-language-motion model; (2) a randomly initialized Gaussian noise vector z0~N(0,I), whose dimension is consistent with the length of the motion sequence; and (3) the diffusion time step embedding. The motion expert model uses the fused latent feature vector q as a condition, combined with the diffusion time step embedding to represent the generation evolution stage, and gradually denoises from the initial Gaussian noise vector z0 through the denoising diffusion mechanism, finally outputting a smooth and continuous robot joint control motion sequence â∈R^(H×Da), where H is the temporal length of the motion sequence, H=16 in this embodiment, i.e., predicting the next 16 steps of motion; Da is the dimension of a single step motion, Da=8, which includes the robot's seven degrees of freedom joint angle increment and the opening and closing state of the end effector.

[0068] In the training of the action expert model, flow matching loss is employed. Specifically, during training, time steps t are sampled from the interpolation path between the labeled real action sequence a and random noise z0. The model is required to predict the interpolation direction v, and the loss function is L_FM = E[||v_θ(zt,t,q) - (a-z0)||^2]. Compared to the traditional Denoising Diffusion Probability Model (DDPM), the action expert model trained using flow matching loss only requires 10 inference steps to achieve action quality comparable to the traditional DDPM's 100 inference steps, significantly reducing the inference latency for action generation.

[0069] In this embodiment, during actual deployment, the end-to-end latency of the entire online inference process (including image encoding, experience retrieval, attention calculation, and 10-step diffusion denoising) on ​​a workstation equipped with an NVIDIA GeForce RTX 4090 GPU is approximately 80 to 120 milliseconds, which meets the 10Hz frequency requirement for real-time robot control.

[0070] Figure 2 This is a flowchart of the cross-view robot operation learning method based on retrieval enhancement in this embodiment.

[0071] like Figure 2As shown, corresponding to the above system configuration, the cross-view robot operation learning method based on retrieval enhancement includes the following steps: Step S1, feature extraction; Step S2, offline database construction; Step S3, online retrieval; Step S4, experience injection; Step S5, action generation. Through steps S1 and S2, an operation experience database is constructed that allows for real-time retrieval of third-view operation demonstration experience. Through steps S3 to S5, the robot can provide the received task instruction information and the currently acquired first-view observation image to the system of this embodiment, which then performs online inference.

[0072] The following will explain each of the above steps in detail.

[0073] Step S1, feature extraction: Frame sampling is performed on a large number of third-view operation demonstration videos to obtain an original frame sequence, and a contrastive learning visual encoder is used to extract high-dimensional features from the original frame sequence to obtain a feature vector sequence. For details of step S1, please refer to the description of the contrastive visual encoding module 11 above.

[0074] Step S2 involves offline database construction, where the original frame sequence, corresponding feature vector sequence, and task description information are stored in a vector database to form multiple experience records of third-person perspective operation experience, thus building an operation experience database that can be searched online. For details of step S2, please refer to the description of experience storage module 12 above.

[0075] Step S3 involves online retrieval. A query vector is generated based on the first-view observation image and task instruction information. This query vector is then used to retrieve the top K most relevant experience records from the operational experience database. A feature tensor is generated based on the first-view observation image, task instruction information, and the retrieved experience records. For details on step S3, please refer to the description of the multimodal retrieval module 13 above.

[0076] Step S4, experience injection: The feature tensor is input into the experience injection interface of the vision-language-action model. The vision-language-action model outputs a fused latent feature vector, which integrates the visual features of the first-person view observation image, the semantic features of the task instruction text, and the visual features of the third-person view operation demonstration video corresponding to the retrieved experience record. For details of step S4, please refer to the description of experience injection module 14 above.

[0077] Step S5, motion generation: The fused latent feature vector is input into the motion expert model, which generates a sequence of robot joint control actions through a denoising diffusion mechanism. For details on step S5, please refer to the description of the cross-view motion generation module 15 above.

[0078] The role and effect of the embodiments

[0079] The cross-view robot operation learning method and system based on retrieval enhancement generation provided in this embodiment have the following significant technical advantages compared with the prior art:

[0080] First, it enables cross-view knowledge transfer without explicit viewpoint transformation. The system and method in this embodiment perform cross-view matching through a semantically aligned visual feature space. By utilizing a visual encoder trained through large-scale contrastive learning, the third-view operation demonstration frame and the current first-view observation frame have high semantic similarity in the feature space. This bypasses the technical difficulties of image domain viewpoint transformation in traditional methods and avoids problems such as image quality loss and viewpoint estimation errors.

[0081] Secondly, it efficiently utilizes the massive amount of third-person perspective data on the internet. In this embodiment, the operational experience base does not require action labeling during the database construction phase; only video frames and task description text are needed. It can directly utilize internet data sources such as YouTube tutorial videos and home videos, significantly lowering the barrier to obtaining high-quality training data and enabling the robot to continuously learn operational knowledge from a vast amount of human operation videos.

[0082] Third, the inference stage is plug-and-play, requiring no retraining of the base model. In the system and method of this embodiment, the experience injection mechanism is applied to the inference stage of the VLA model, resulting in a very small number of parameters in the linear projection layer and extremely low fine-tuning costs. For new scenarios and tasks, only relevant third-person operation demonstration videos need to be included in the operation experience library, without the need for full retraining of the VLA base model, thus achieving lightweight capability expansion.

[0083] Fourth, it supports real-time online continuous learning. The operation experience base adopts a dynamic index structure and supports incremental writing. After the robot observes new third-person perspective operation demonstrations in real time during interaction with the user, it can immediately add the new experience to the operation experience base, realizing continuous learning without offline retraining and meeting the actual needs of home service robots in constantly changing environments.

[0084] Fifth, it is compatible with various VLA base models. In the system of this embodiment, the experience injection module interacts with the VLA model through a standardized experience injection interface (linear projection interface), which has minimal intrusion into the internal structure of the VLA base model and can be easily migrated and adapted to VLA models with different architectures (such as pi0.5, OpenVLA, etc.), thus exhibiting good versatility.

[0085] Furthermore, compared with various representative existing technologies, the system and method of this embodiment demonstrate significant advantages in several key characteristics, as follows:

[0086] Compared to cross-viewpoint methods based on image translation (such as ViewCrafter and EgoMimic), image translation methods require additional training of generative models and perform viewpoint transformations for each frame of image during inference, resulting in high computational overhead and a high risk of image distortion. The system and method in this embodiment achieve cross-viewpoint matching in the feature space without requiring pixel-level viewpoint transformations, resulting in low computational overhead and no risk of image quality loss.

[0087] Compared to standard few-shot fine-tuning methods (such as Meta-World Few-shot Finetuning), which require collecting paired data from the target perspective and updating model parameters, and needing offline retraining when adapting to new tasks, the system and method in this embodiment dynamically inject third-person perspective experience during inference, without updating model parameters, and supports real-time online learning.

[0088] Compared to the application of the standard RAG method in the field of NLP: In NLP, RAG uses text blocks as retrieval units and injects them by text concatenation; In the system and method of this embodiment, video frame feature vectors are used as retrieval units, and the retrieval results are innovatively injected into the multimodal model in the form of visual tokens. Attention mask design is used to ensure the purity of language instructions, which is an important extension of the RAG paradigm in the field of multimodal robotics.

[0089] Comparative Example 1

[0090] In this comparative example, to verify the effectiveness of the method and system of the present invention, the inventors deployed the method and system of the embodiments on the LIBERO robot operation benchmark test platform and conducted comparative experiments. The platform provides multiple sub-task sets, covering multiple dimensions such as spatial understanding, object manipulation, target recognition, and language understanding, with several reference demonstrations provided for each task.

[0091] The experimental setup is as follows: An operational experience base was constructed using the DROID dataset (containing a large number of third-person perspective operation demonstration videos) as described above. This base contains approximately 2.3 million original frame sequences from over 76,000 third-person perspective operation demonstration videos and their corresponding feature vector sequences. First-person perspective evaluation frames from the LIBERO task were used as query input. The modified VLA base model pi0.5 (i.e., the model with only an additional linear projection layer trained above) was compared with the unmodified VLA base model pi0.5 (i.e., the baseline model).

[0092] Experimental results show that, on the four subtask sets LIBERO-Spatial, LIBERO-Object, LIBERO-Goal, and LIBERO-Long, VLA-RAG improves the average task success rate by 18.3%, 22.7%, 15.6%, and 27.4% respectively compared to the baseline method. The improvement is most significant on the LIBERO-Long task, which requires long-term planning, demonstrating the significant role of cross-perspective demonstration experience in improving the success rate of long tasks.

[0093] Comparative Example 2

[0094] In this comparative example, the inventors used the methods and systems of the embodiments in a home service robot scenario and conducted comparative experiments.

[0095] In this scenario, the user wants the home service robot to learn the skill of "putting a pen into a bowl." A pen and a bowl are randomly placed on the table, and their positions and orientations are randomly perturbed during each evaluation.

[0096] First, during the user demonstration and input phase, the user records their action of placing a pen into a bowl from a third-person perspective, for example, by holding a mobile phone and filming for approximately 10 seconds, thus obtaining a corresponding third-person perspective operation demonstration video. The system in this embodiment performs uniform frame sampling on this video at a sampling frequency of 2 frames per second, obtaining 20 image frames. After these image frames are processed by a SigLIP encoder to extract feature vectors, the 20 image frames, the corresponding feature vectors, and the task description text "Put the pen in the bowl" are written as 20 experience records in real time into the FAISS operation experience database, using the task description text as index information. The entire writing process takes approximately 3 seconds.

[0097] Then, during the task execution phase, the home service robot receives the natural language task instruction "Put the pen in the bowl," and acquires multiple frames of first-person perspective images of the current tabletop. In each image frame, the pen and bowl are in new random positions. The system in this embodiment encodes the current first-person perspective images and the task instruction text to generate a query vector. Based on the query vector, it searches the operation experience database to obtain the three experience records with the highest comprehensive relevance score S. The retrieved experience records may include those from recently recorded user demonstration videos. The feature vector sequence from the three retrieved experience records is linearly projected and injected into a modified VLA base model. This model integrates the first-person perspective images, task instruction information, and third-person perspective operation demonstration knowledge, and generates a 16-step action sequence through a 10-step diffusion denoising process using a motion expert model. The home service robot then completes the entire operation of grasping the pen, moving it above the bowl, and releasing it according to the generated action sequence.

[0098] Experimental results show that, without user demonstration, i.e. using a pure baseline VLA model, the robot's success rate in 20 random placement evaluations was only 40%. However, after adding a user's third-person perspective demonstration, i.e. using the system and method of this invention, the robot's success rate in 20 random placement evaluations increased to 85%, verifying the superiority of the system and method of this invention and its practical value in quickly endowing robots with new skills in home settings.

[0099] The above embodiments are merely illustrative of specific implementations of the present invention, and the present invention is not limited to the scope of the description of the above embodiments. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are only for illustrating the principles of the present invention. Various changes and modifications can be made to the present invention without departing from the spirit and scope thereof, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A cross-view robot operation learning method based on retrieval-enhanced generation, characterized in that, Includes the following steps: Step S1, Feature extraction: Frame sampling is performed on the third-view operation demonstration video to obtain the original frame sequence, and a contrastive learning visual encoder is used to extract features from the original frame sequence to obtain a feature vector sequence. Step S2: Offline database construction. The original frame sequence, the feature vector sequence, and the task description information are stored in the vector database to form multiple experience records and build an operation experience database that can be searched online. Step S3: Online retrieval. Generate a query vector based on the first-view observation image and task instruction information, and use the query vector to retrieve the top K most relevant experience records in the operation experience base. Generate a feature tensor based on the first-view observation image, the task instruction information, and the retrieved experience records. Step S4, experience injection: The feature tensor is input into the experience injection interface of the vision-language-action model, and the vision-language-action model outputs the fused latent feature vector. Step S5, motion generation: The fused latent feature vector is input into the motion expert model, which generates a sequence of robot joint control motions through a denoising diffusion mechanism.

2. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 1, characterized in that: in, In step S1, the contrastive learning visual encoder is a SigLIP encoder, which includes a contrastively trained visual encoder and a text encoder, the outputs of which reside in the same semantic space. In step S2, the vector database is the FAISS vector database.

3. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 2, characterized in that: in, In step S3, the relevance is determined based on a comprehensive relevance score S, which is calculated by weighting visual feature similarity Sv, task semantic similarity St, and a balance coefficient α. S = α × Sv + (1-α) × St After encoding the first-view observation image into a feature vector q using the visual encoder, the cosine similarity between the feature vector q and the i-th feature vector vi in ​​the empirical record is calculated, and this cosine similarity is used as the visual feature similarity Sv. Sv = (q·vi) / (||q|| × ||vi||) After encoding the task instruction information and the task description information into corresponding semantic vectors using the text encoder, the cosine similarity between the semantic vector of the task instruction information and the semantic vector of the task description information is calculated and used as the task semantic similarity St.

4. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 3, characterized in that: in, In step S3, for the original frame sequence containing multiple image frames, the maximum value of the visual feature similarity Sv of all the image frames in the original frame sequence is taken as the visual similarity representative value.

5. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 1, characterized in that: in, In step S4, the vision-language-action model is an improved multimodal large language model with a Transformer encoder, and the experience injection interface is added to the Transformer encoder.

6. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 5, characterized in that: in, In step S4, the vision-language-action model further includes a linear projection layer, used to map the feature tensor onto the feature space of the vision-language-action model via linear projection to obtain a projection vector, and to obtain an additional context label sequence based on the projection vector. The additional context marker sequence is concatenated before the visual marker sequence and the language marker sequence to form the input marker sequence, which is used for multi-head self-attention computation.

7. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 6, characterized in that: in, When training the vision-language-action model, only the linear projection layer is fine-tuned and its parameters are updated.

8. The cross-view robot operation learning method based on retrieval enhancement generation according to claim 1, characterized in that: in, In step S5, the motion expert model uses the fused latent feature vector as a condition and combines the diffusion time step embedding representation to generate the evolution stage. Through a denoising diffusion mechanism, it gradually denoises the initial Gaussian noise vector and finally generates the robot joint control motion sequence, which includes the robot's multi-degree-of-freedom joint angle increments and the opening and closing states of the end effector.

9. A cross-view robot operation learning system based on retrieval-enhanced generation, characterized in that, include: The contrastive visual encoding module is used to sample frames from the third-person perspective operation demonstration video to obtain an original frame sequence, and to extract features from the original frame sequence using a contrastive learning visual encoder to obtain a feature vector sequence. An experience storage module is used to store the original frame sequence, the feature vector sequence, and the task description information into a vector database to form multiple experience records and build an operation experience database that can be retrieved online. The multimodal retrieval module is used to generate a query vector based on the first-view observation image and task instruction information, and use the query vector to retrieve the top K most relevant experience records in the operation experience base, and generate a feature tensor based on the first-view observation image, the task instruction information and the retrieved experience records. An experience injection module is used to input the feature tensor into the experience injection interface of the vision-language-action model, and the vision-language-action model outputs a fused latent feature vector. as well as A cross-view motion generation module is used to input the fused latent feature vector into a motion expert model, which generates a sequence of robot joint control motions through a denoising diffusion mechanism.