# US 2026/0073290 A1 · Target model training method, multimodal data processing method, and devices therefor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0073290 A1
- Document ID: US20260073290A1
- Status: Published application
- Kind: A1
- Application number: 18/960,285
- Filed: 2024-11-26
- Published: 2026-03-12
- Earliest claimed: 2024-09-06
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science Technology Co., Ltd.
- Inventors: Xue XU; Hao DU; Jie YANG; Jiachen LIU; Xinyan XIAO; Hua WU
- Web page: https://patentgrep.com/patent/US20260073290A1

## CPC

- G06N 20/00: Machine learning
- G06V 10/82: using neural networks
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/096: Transfer learning
- G06V 10/26: Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V 10/77: Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
- G06V 10/806: {of extracted features}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Provided is a target model training method, a multimodal data processing method, and devices therefor, relating to the field of artificial intelligence technology, and in particular to the fields of computer vision, deep learning, large model and other technologies. The target model training method includes: inputting sample data into a preset model to obtain initial multimodal features of the sample data; and using the initial multimodal features and a preset noise feature to perform model training on N diffusion networks in the preset model to obtain a target model when parameters of an image-text encoder of the preset model are fixed.

## Claims

### Claim 1

A target model training method, comprising:
inputting sample data into a preset model to obtain initial multimodal features of the sample data, wherein the sample data comprises at least a sample text and at least one entity image, the sample text comprises at least one entity text, and the entity image comprises an image corresponding to the entity text; the initial multimodal features comprise an image feature of the entity image and a text feature of the entity text, and the image feature of the entity image is behind the text feature of the entity text corresponding to the entity image; and
using the initial multimodal features and a preset noise feature to perform model training on N diffusion networks in the preset model to obtain a target model after a determination that parameters of an image-text encoder of the preset model are fixed, wherein N is a positive integer.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
inserting instruction information into the initial multimodal features, wherein the instruction information comprises an image feature of an entity image to be adjusted and an adjustment instruction.

### Claim 3 (depends on 2)

The method of claim 2, wherein inserting the instruction information into the initial multimodal features, comprises:
concatenating the instruction information at a head of a feature sequence representing the initial multimodal features.

### Claim 4 (depends on 1)

The method of claim 1, wherein the N diffusion networks comprise all dual information flow diffusion networks, and each dual information flow diffusion network comprises: a first information flow for processing the initial multimodal features, and a second information flow for compressing the initial multimodal features based on the preset noise feature to represent the initial multimodal features in a latent space;
wherein the N diffusion networks are connected in series when N is greater than or equal to 2l; wherein an output of a first information flow in an i-th diffusion network among the N diffusion networks is an input of a first information flow in an (i+1)-th diffusion network among the N diffusion networks; and an output of a second information flow in the i-th diffusion network among the N diffusion networks is an input of a second information flow in the (i+1)-th diffusion network among the N diffusion networks.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
performing a mask operation on some features among the initial multimodal features to obtain masked initial multimodal features.

### Claim 6 (depends on 5)

The method of claim 5, wherein using the initial multimodal features and the preset noise feature to perform model training on the N diffusion networks in the preset model comprises:
using the masked initial multimodal features as an input of a first information flow of a first diffusion network among the N diffusion networks, and using the preset noise feature as an input of a second information flow of the first diffusion network among the N diffusion networks, to use the N diffusion networks to perform feature diffusion and obtain a total prediction result; wherein the total prediction result comprises a first prediction result and a second prediction result, the first prediction result is a result output by a first information flow of a last diffusion network among the N diffusion networks, and at least represents a predicted mask position corresponding to a predicted mask operation; and the second prediction result is a result output by a second information flow of the last diffusion network among the N diffusion networks, and represents a prediction result of a generation task indicated by predicted sample data in the latent space;
obtaining a loss value of a target loss function based on the first prediction result and the second prediction result; wherein the target loss function is used to calculate a difference between the predicted mask position and an actual mask position, and calculate a difference between the prediction result of the generation task indicated by the sample data in the latent space and an actual result in the latent space; and
adjusting at least some adjustable network parameters in the N diffusion networks based on the loss value of the target loss function;
wherein each dual information flow diffusion network comprises: a first conditional information flow module and a second conditional information flow module corresponding to the first information flow, and a first latent space flow module and a second latent space flow module corresponding to the second information flow;
an input of the first information flow is an input of the first conditional information flow module, and an output of the second conditional information flow module is an output of the first information flow; and
an input of the second information flow is an input of the first latent space flow module, and an output of the second latent space flow module is an output of the second information flow.

### Claim 7 (depends on 6)

The method of claim 6, wherein using the N diffusion networks to perform feature diffusion comprises:
using the i-th diffusion network among the N diffusion networks to perform feature diffusion by following steps:
inputting an output of a first information flow in an (i−1)-th diffusion network into a first conditional information flow module in the i-th diffusion network for processing, and inputting an output of a second information flow in the (i−1)-th diffusion network into a first latent space flow module in the i-th diffusion network for processing;
performing an element-wise operation on a feature processed by the first conditional information flow module in the i-th diffusion network and a feature processed by the first latent space flow module in the i-th diffusion network to concatenate the feature processed by the first conditional information flow module and the feature processed by the first latent space flow module;
performing self-attention processing on concatenated features to obtain fused features; and
inputting a feature corresponding to the first information flow among the fused features into a second conditional information flow module in the i-th diffusion network to obtain an output of the second conditional information flow module; and inputting a feature corresponding to the second information flow among the fused features into a second latent space flow module in the i-th diffusion network to obtain an output of the second latent space flow module.

### Claim 8 (depends on 1)

The method of claim 1, wherein feature expression of the image feature of the entity image comprises at least one of: a position feature of the entity image, a segmentation feature of a segmentation map corresponding to the entity image, an image feature of a crop map of the entity image, an image depth feature of the entity image, or a local feature of the entity image;
wherein obtaining the initial multimodal features of the sample data comprises:
selecting one or more of the above feature expressions using the image-text encoder in the preset model and based on a sample feature of the sample data, to obtain the image feature of the entity image contained in the sample data and obtain the initial multimodal features of the sample data; or
selecting one or more of the above feature expressions randomly, to obtain the image feature of the entity image contained in the sample data and obtain the initial multimodal features of the sample data.

### Claim 9

A multimodal data processing method, comprising:
inputting multimodal prompt information into a pre-trained target model to obtain target multimodal features of the multimodal prompt information, wherein the multimodal prompt information comprises at least a target text and at least one target entity image, the target text comprises at least one target entity text, and the target entity image comprises an image corresponding to the target entity text; the target multimodal features comprise an image feature of the target entity image and a text feature of the target entity text, and the image feature of the target entity image is behind the text feature of the target entity text corresponding to the target entity image; and
using N target diffusion networks in the pre-trained target model to perform feature diffusion on the target multimodal features to obtain a target inference result comprising an image and/or a text associated with the multimodal prompt information; wherein N is a positive integer.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
inserting target instruction information into the target multimodal features, wherein the target instruction information comprises an image feature of a target entity image to be adjusted and a target adjustment instruction.

### Claim 11 (depends on 10)

The method of claim 10, wherein inserting the target instruction information into the target multimodal features comprises:
concatenating the target instruction information at a head of a target feature sequence representing the target multimodal features.

### Claim 12 (depends on 9)

The method of claim 9, wherein the N target diffusion networks comprise all dual information flow target diffusion networks, and each dual information flow target diffusion network comprises: a first target information flow for processing the target multimodal features, and a second target information flow for compressing the target multimodal features based on a preset target noise feature to represent the target multimodal features in a latent space;
wherein the N target diffusion networks are connected in series when N is greater than or equal to 2; wherein an output of a first target information flow in an i-th target diffusion network among the N target diffusion networks is an input of a first target information flow in an (i+1)-th target diffusion network among the N target diffusion networks; and an output of a second target information flow in the i-th target diffusion network among the N target diffusion networks is an input of a second target information flow in the (i+1)-th target diffusion network among the N target diffusion networks.

### Claim 13 (depends on 12)

The method of claim 12, wherein using the N target diffusion networks in the pre-trained target model to perform feature diffusion on the target multimodal features comprises:
using the target multimodal features as an input of a first target information flow of a first target diffusion network among the N target diffusion networks, and using the preset target noise feature as an input of a second target information flow of the first target diffusion network among the N target diffusion networks, to use the N target diffusion networks to perform feature diffusion and obtain an initial inference result, wherein the initial inference result is obtained based on a result output by a second target information flow of a last target diffusion network among the N target diffusion networks, and represents a prediction result of a predicted target generation task in the latent space; and
after determining that the initial inference result comprises an image feature, decoding the image feature in the initial inference result using an image decoder in the pre-trained target model to obtain the target inference result.

### Claim 14 (depends on 13)

The method of claim 13, wherein each dual information flow target diffusion network comprises: a first target conditional information flow module and a second target conditional information flow module corresponding to the first target information flow, and a first target latent space flow module and a second target latent space flow module corresponding to the second target information flow;
an input of the first target information flow is an input of the first target conditional information flow module, and an output of the second target conditional information flow module is an output of the first target information flow; and
an input of the second target information flow is an input of the first target latent space flow module, and an output of the second target latent space flow module is an output of the second target information flow.

### Claim 15 (depends on 14)

The method of claim 14, wherein using the N target diffusion networks to perform feature diffusion comprises:
using the i-th target diffusion network among the N target diffusion networks to perform feature diffusion by:
inputting an output of a first target information flow in an (i−1)-th target diffusion network into a first target conditional information flow module in the i-th target diffusion network for processing, and inputting an output of a second target information flow in the (i−1)-th target diffusion network into a first target latent space flow module in the i-th target diffusion network for processing;
performing an element-wise operation on a feature processed by the first target conditional information flow module in the i-th target diffusion network and a feature processed by the first target latent space flow module in the i-th target diffusion network to concatenate the feature processed by the first target conditional information flow module and the feature processed by the first target latent space flow module;
performing self-attention processing on concatenated features to obtain target fused features; and
inputting a feature corresponding to the first target information flow among the target fused features into a second target conditional information flow module in the i-th target diffusion network to obtain an output of the second target conditional information flow module; and inputting a feature corresponding to the second target information flow among the target fused features into a second target latent space flow module in the i-th target diffusion network to obtain an output of the second target latent space flow module.

### Claim 16 (depends on 10)

The method of claim 10, wherein obtaining the target multimodal features of the multimodal prompt information comprises:
selecting one or more of following feature expressions using an image-text encoder in the pre-trained target model and based on a data feature of the multimodal prompt information, to obtain the image feature of the target entity image contained in the multimodal prompt information and obtain the target multimodal features comprising:
a position feature of the target entity image, a segmentation feature of a segmentation map corresponding to the target entity image, an image feature of a crop map of the target entity image, an image depth feature of the target entity image, and a local feature of the target entity image.

### Claim 17 (depends on 1)

An electronic device, comprising:
at least one processor; and
a memory connected in communication with the at least one processor;
wherein the memory stores an instruction executable by the at least one processor, and the instruction, when executed by the at least one processor, enables the at least one processor to execute the method of claim 1.

### Claim 18 (depends on 9)

An electronic device, comprising:
at least one processor; and
a memory connected in communication with the at least one processor;
wherein the memory stores an instruction executable by the at least one processor, and the instruction, when executed by the at least one processor, enables the at least one processor to execute the method of claim 9.

### Claim 19 (depends on 1)

A non-transitory computer-readable storage medium storing a computer instruction thereon, wherein the computer instruction is used to cause a computer to execute the method of claim 1.

### Claim 20 (depends on 9)

A non-transitory computer-readable storage medium storing a computer instruction thereon, wherein the computer instruction is used to cause a computer to execute the method of claim 9.
