Multimodal information processing method, device, equipment and storage medium

The pre-trained language model is used to perform vector representation and information fusion on the single-modal or multi-modal information of the intelligent question and answer system, which solves the problem of single-modal input and output of the existing intelligent question and answer system, realizes multi-modal information processing, and improves improve information processing efficiency and applicability.

CN112148836BActive Publication Date: 2024-10-15DOUYIN VISION CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202010928220.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2024-10-15
Estimated Expiration
2040-10-15

AI Technical Summary

Technical Problem

The input and output of existing intelligent question and answer systems are single-modal, which cannot meet users' needs for information diversity presentation and has low applicability.

Method used

The pre-trained language model performs vector representation and information fusion on the input single-modal or multi-modal information to achieve multi-modal information output and support the input and output of multiple modalities such as text, speech, images, and videos.

Benefits of technology

It improves information processing efficiency and applicability, meets users' needs for information diversity presentation, and realizes single-modal or multi-modal information input and output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112148836B_ABST
    Figure CN112148836B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a multimodal information processing method, device, equipment and storage medium. The method includes: obtaining at least one first modal information; determining multimodal information corresponding to at least one first modal information according to at least one first modal information; and outputting multimodal information. This can meet user needs and improve the applicability of the multimodal information processing method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of computer technology, and more specifically, to a multimodal information processing method, apparatus, device, and storage medium. Background Art

[0002] At present, many information query technologies have integrated natural language processing, information retrieval, artificial intelligence and other technologies. For example, intelligent question-answering technology is a new type of information service technology that integrates natural language processing, information retrieval, artificial intelligence and other technologies. Unlike traditional search engines, automatic question-answering systems ask questions in natural voice sentences, analyze and understand users' questions, and return the answers users want. Summary of the invention

[0003] Embodiments of the present application provide a multimodal information processing method, apparatus, device, and storage medium.

[0004] In a first aspect, an embodiment of the present application provides a multimodal information processing method, comprising: acquiring at least one first modal information; determining multimodal information corresponding to the at least one first modal information based on the at least one first modal information; and outputting the multimodal information.

[0005] In a second aspect, an embodiment of the present application provides a multimodal information processing method, comprising: obtaining first training data, the first training data comprising: at least one second modal information; training a pre-trained language model through the first training data; wherein the pre-trained language model is used to determine multimodal information corresponding to at least one first modal information based on at least one first modal information.

[0006] In a third aspect, an embodiment of the present application provides a multimodal information processing device, comprising: a first acquisition module, a determination module, and an output module, wherein the first acquisition module is used to acquire at least one first modal information; the determination module is used to determine multimodal information corresponding to at least one first modal information based on at least one first modal information; and the output module is used to output multimodal information.

[0007] In a fourth aspect, an embodiment of the present application provides a multimodal information processing device, comprising: a first acquisition module and a first training module, wherein the first acquisition module is used to acquire first training data, and the first training data includes: at least one second modal information; the first training module is used to train a pre-trained language model through the first training data; wherein the pre-trained language model is used to determine multimodal information corresponding to at least one first modal information based on at least one first modal information.

[0008] In a fifth aspect, an electronic device is provided, including:

[0009] A processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the method of any embodiment of the present application.

[0010] In a sixth aspect, a computer-readable storage medium is provided for storing a computer program, wherein the computer program enables a computer to execute the method of any embodiment of the present application.

[0011] In an embodiment of the present application, multimodal information corresponding to at least one first modal information can be determined based on at least one first modal information. That is, in an embodiment of the present application, single-modal or multi-modal information input and multi-modal information output are implemented. Compared with the single-modal information input and output method, this single-modal or multi-modal information input and multi-modal information output can meet the user's demand for diverse information presentation, and can also improve the applicability of the multi-modal information processing method.

[0012] Furthermore, the embodiment of the present application realizes end-to-end input and output through a pre-trained language model, that is, the pre-trained language model is a model based on a neural network, and only needs to input at least one modal information into the model to output multimodal information. This end-to-end input and output method can improve information processing efficiency.

[0013] Furthermore, the embodiments of the present application perform information processing based on a neural network model rather than based on a traditional machine learning model or artificial rules. Compared with information processing methods based on traditional machine learning models or artificial rules, the information processing method based on a neural network model of the present application can improve information processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1A This is a schematic diagram of an intelligent question-answering scenario provided by an embodiment of the present application;

[0015] Figure 1B This is a schematic diagram of an intelligent question-answering scenario provided by an embodiment of the present application;

[0016] Figure 2 A schematic diagram of a multimodal information processing process provided by an embodiment of the present application;

[0017] Figure 3 A schematic diagram of a problem of an image modality provided by an embodiment of the present application;

[0018] Figure 4 A flowchart of a multimodal information processing method provided in one embodiment of the present application;

[0019] Figure 5 A flow chart of a method for determining multimodal information provided in an embodiment of the present application;

[0020] Figure 6 A schematic diagram of a pre-trained language model provided in an embodiment of the present application;

[0021] Figure 7 A schematic diagram of a pre-trained language model provided in another embodiment of the present application;

[0022] Figure 8 A flow chart of a method for determining multimodal information provided by another embodiment of the present application;

[0023] Fig. 9 A schematic diagram of a pre-trained language model provided in yet another embodiment of the present application;

[0024] Fig.10 A schematic diagram of a pre-trained language model provided in yet another embodiment of the present application;

[0025] Fig.11 A flowchart of a multimodal information processing method provided by another embodiment of the present application;

[0026] Fig.12 A flowchart of a multimodal information processing method provided in yet another embodiment of the present application;

[0027] Fig.13 A flow chart of a method for processing at least one third reference information provided in an embodiment of the present application;

[0028] Fig.14 A flow chart of a method for processing at least one third reference information provided by another embodiment of the present application;

[0029] Fig.15 A schematic diagram of a multimodal information processing device 1500 provided in accordance with an embodiment of the present application;

[0030] Fig.16 A schematic diagram of a multimodal information processing device 1600 provided in accordance with an embodiment of the present application;

[0031] Fig.17 It is a schematic block diagram of an electronic device 1700 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] Currently, the input of the intelligent question-answering system is a single text question, and the output is also a single text answer. Obviously, the current information query technology, such as the single-modal information processing method based on the current intelligent question-answering system, cannot meet the needs of users and has the problem of low applicability.

[0033] In order to solve the above technical problems, the inventive concept of the present application is to perform vector representation and information fusion on the input unimodal information or multimodal information to output multimodal information.

[0034] The technical solution of the embodiment of the present application can be applied to the following scenarios, but is not limited thereto:

[0035] Scenario 1: Intelligent question-answering scenario, for example: Users can enter Figure 1A The smart question and answer interface shown, and the user's interaction on the smart question and answer interface are a smart question and answer scenario. Figure 1A Currently, the questions are in the image mode. Users can also enter questions in voice, video, text and other modes on the interface. Optionally, users can click a plug-in, icon or virtual button on the terminal to enter the smart question and answer interface. There are many ways to present the smart question and answer interface. Figure 1A What is shown is an intelligent question-answering interface. Figure 1B It is another intelligent question-and-answer interface that users enter by clicking the "Customer Service" icon on an application (Application, APP).

[0036] Scenario 2: Other prediction scenarios, such as predicting the next sentence of the current sentence, or predicting the coherence between sentences.

[0037] It should be understood that in the embodiments of the present application, the terminal device can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, etc., and the embodiments of the present application are not limited to this.

[0038] The technical solution of the embodiment of the present application will be described in detail below:

[0039] In an embodiment of the present application: a pre-trained language model is used to perform vector representation and information fusion on the input unimodal information or multimodal information to output multimodal information. Therefore, the following will focus on how to perform vector representation and information fusion on the input unimodal information or multimodal information through a pre-trained language model to output multimodal information and the training process of the pre-trained language model. Among them, the training of the pre-trained language model can be divided into unsupervised training and supervised training.

[0040] For example, taking the application in intelligent question-answering scenario as an example, Figure 2A schematic diagram of a multimodal information processing process provided by an embodiment of the present application is shown as follows: Figure 2 As shown, the data needs to be annotated in supervised training, that is, the data input to the model includes the following two-tuple <at least one modal question, multimodal answer>, or the data input to the model includes the following three-tuple <at least one modal question, at least one reference information, multimodal answer>, where the reference information is the reference information of the modal question, also described as reference material. Further, the pre-trained language model can be trained with the annotated data.

[0041] Furthermore, at least one modal question or a two-tuple <at least one modal question, at least one reference information> can be input into the trained pre-trained language model. The pre-trained language model can process the input data, such as vector representation and information fusion, and finally output a multi-modal answer.

[0042] It should be noted that in an embodiment of the present application, a modality may be a text modality, a voice modality, an image modality, or a video modality. That is, at least one modality question may include: at least one of a text modality question, a voice modality question, an image modality question, and a video modality question. Multimodal answers include: at least two of an answer in a text modality, an answer in a voice modality, an answer in an image modality, and an answer in a video modality. At least one reference information is also referred to as reference information of at least one modality, which may include: at least one of reference information of a text modality, reference information of a voice modality, reference information of an image modality, and reference information of a video modality.

[0043] For at least one modality question, an exemplary explanation is given: suppose for the question "In which dynasty did the Song of Immortality come from and who wrote it?", the question of text modality is the text of "In which dynasty did the Song of Immortality come from and who wrote it?". The question of speech modality is the speech of "In which dynasty did the Song of Immortality come from and who wrote it?". The question of image modality is, for example, Figure 3 As shown in the figure, a question in the video mode can be a video about "In which dynasty was "Song of the Wine" written by which person?"

[0044] For the multiple modal answers, an example is given: Assuming that for the question "Which dynasty and who wrote "Song of the Song of Wine", the text modal answer can be the text "Song of the Song of Wine was written by Li Bai, a poet of the Tang Dynasty". The voice modal answer is the voice of "Song of the Song of Wine was written by Li Bai, a poet of the Tang Dynasty". The image modal answer is an image showing "Song of the Song of Wine was written by Li Bai, a poet of the Tang Dynasty". The video modal answer can be a video about "Song of the Song of Wine was written by Li Bai, a poet of the Tang Dynasty".

[0045] For at least one modality of reference information, an exemplary description is given: assuming that for the question "Which dynasty and who wrote "Shang Jin Jiu", the text reference information may be the content of "Shang Jin Jiu". The text reference information may also be an introduction to Li Bai. The voice reference information may be a recitation of "Shang Jin Jiu". The image reference information may be an image including the content of "Shang Jin Jiu". The video reference information may be a video of poetry analysis about "Shang Jin Jiu".

[0046] It should be understood that in the embodiments of the present application, the modality of the reference information corresponding to a modality question may be the same as or different from the modality of the modality question, and the embodiments of the present application do not limit this. For example, a text modality question may correspond to reference information of text modality, and there may be reference information of voice, image, or video modalities.

[0047] It should be understood that the above-mentioned one modality can be a modality of at least one first modal information in the embodiment of the present application, or a modality of multimodal information corresponding to at least one first modal information, or a modality of first reference information corresponding to at least one first modal information, or a modality of at least one second modal information in the embodiment of the present application, or a modality of second reference information corresponding to at least one second modal information, or a modality of at least one third modal information in the embodiment of the present application, or a modality of at least one modal information corresponding to at least one third modal information, or a modality of third reference information corresponding to at least one third modal information.

[0048] It should be understood that the reference information of at least one modal information is reference information related to at least one modal information, and the reference information of at least one modal information can be used to assist in obtaining the modal information ultimately output by the pre-trained model. For example: at least one first reference information of at least one first modal information is used to assist in obtaining multimodal information corresponding to at least one first modal information. At least one second reference information of at least one second modal information is used to assist in obtaining multimodal information corresponding to at least one second modal information. At least one reference information can also be used to assist in obtaining modal information in a supervised training process, for example: at least one third reference information corresponding to at least one third modal information can be used to assist in obtaining at least one modal information corresponding to at least one third modal information in a supervised training process.

[0049] Optionally, the above reference information may be reference information about modality information obtained through a search engine.

[0050] Figure 4A flowchart of a multimodal information processing method provided in an embodiment of the present application, the execution subject of the method may be part or all of a terminal device, wherein the part of the terminal device may be a processor of the terminal device, and the execution subject of the method may also be a terminal device and a server, that is, Figure 4 Some steps are executed by the terminal device, and other steps are executed by the server, and this application does not limit this. Figure 4 As shown, the method includes:

[0051] Step S410: Obtain at least one first modal information.

[0052] Step S420: Determine multimodal information corresponding to at least one first modal information according to at least one first modal information.

[0053] Step S430: output multimodal information.

[0054] Among them, the various modes of at least one first modal information are as described above, and the embodiments of the present application will not be repeated here.

[0055] The following describes step S420 in detail:

[0056] Optional method 1: Determine multimodal information corresponding to at least one first modal information based on at least one first modal information.

[0057] Optional method two: Determine multimodal information corresponding to at least one first modal information based on at least one first modal information and at least one first reference information.

[0058] The following describes the optional method 1:

[0059] Optionally, Figure 5 A flow chart of a method for determining multimodal information provided in an embodiment of the present application, such as Figure 5 As shown, the method includes:

[0060] Step S510: for each type of first modal information in at least one type of first modal information, map the first modal information into a plurality of first representation vectors.

[0061] Step S520: for each type of the at least one type of first reference information, map the first reference information into a plurality of second representation vectors.

[0062] Step S530: Fusing a plurality of first characterization vectors corresponding to at least one first modal information and a plurality of second characterization vectors corresponding to at least one first reference information to obtain a fused vector.

[0063] Step S540: Determine multimodal information corresponding to at least one first modal information according to the fused vector.

[0064] Optionally, any first characterization vector is used to characterize the spatiotemporal information, content or type of any element in the first modal information.

[0065] Exemplarily, assume that the first modal information is a text modal question: "In which dynasty did "Jiang Jinjiu" write? "Each word in the text is an element of the first modal information, and each element corresponds to multiple first representation vectors. For example, the element "Jiang" can correspond to spatiotemporal information, content, and type. The spatiotemporal information includes: time and / or space information, for example: the time information of "Jiang" can be its input time, through which the time sequence between each sentence and between each word within each sentence can be determined. The spatial information of "Jiang" can be its spatial coordinates in the text. The content of "Jiang" can also be represented by coordinates, for example: (1,1) represents the word "Jiang". The type of "Jiang" is also the type of the first modal information in which it is located, for example: the type of the first modal information is the question type.

[0066] It should be noted that for other modal information such as images, voices, and videos, the corresponding first representation vectors are similar to the first representation vectors corresponding to textual modal information, and the embodiments of the present application will not go into details therein.

[0067] Optionally, any second characterization vector is used to characterize the spatiotemporal information, content or type of any element in the first reference information.

[0068] Exemplarily, assume that the reference information is text modal reference information, and its content is an introduction to Li Bai. Each character in the text is an element of the reference information, and each element corresponds to multiple second representation vectors. For example, the element "Li" can correspond to spatiotemporal information, content, and type. The spatiotemporal information includes: time and / or space information, for example: the time information of "Li" can be its acquisition time, through which the time sequence between each sentence and between each character within each sentence can be determined. The spatial information of "Li" can be its spatial coordinates in the text. The content of "Li" can also be represented by coordinates, for example: (1,2) represents the character "Li". The type of "Li" is the type of the reference information in which it is located, for example: the type of the reference information is the reference information type.

[0069] It should be noted that for reference information in other modalities such as images, voices, and videos, the corresponding second representation vectors are similar to the second representation vectors corresponding to textual modal information, and the embodiments of the present application will not go into details therein.

[0070] Optionally, after acquiring multiple first characterization vectors corresponding to at least one first modal information and multiple second characterization vectors corresponding to at least one first reference information, the terminal device may obtain a fused vector by summing the first characterization vectors and the second characterization vectors, or calculating the inner product, etc. Figure 6 As shown, the pre-trained language model includes: an input layer, a processing layer and an output layer, wherein the processing layer includes: a representation sublayer and a fusion sublayer. The input layer is used to obtain at least one first modal information, and optionally, at least one first reference information. The representation sublayer can be used to map each first modal information into a plurality of first representation vectors, and to map each first reference information into a plurality of second representation vectors. The fusion sublayer is used to obtain a fused vector by summing the first representation vectors and the second representation vectors, or calculating the inner product, etc. The output layer is used to obtain multimodal information based on the pre-trained language model and the fused vector.

[0071] Optionally, the first characterization vector or the second characterization vector corresponding to each element is summed with the first characterization vector or the second characterization vector of the element after and / or before the element, or the inner product is calculated, so as to obtain the intermediate vector corresponding to the element, and the intermediate vector of the element is summed with the intermediate vector of the element after and / or before the element, or the inner product is calculated, and so on, until the vector of each element is obtained. Figure 7 As shown, the pre-trained language model includes: an input layer, a processing layer and an output layer, wherein the processing layer includes: a representation sublayer and a fusion sublayer. The input layer is used to obtain at least one first modal information, and optionally, at least one first reference information. The representation sublayer can be used to map each first modal information into multiple first representation vectors, and map each first reference information into multiple second representation vectors. The fusion sublayer is used to sum, or calculate the inner product, etc., the first representation vector or the second representation vector corresponding to each element with the first representation vector or the second representation vector of the element after and / or before the element, to obtain the intermediate vector corresponding to the element, and sum, or calculate the inner product, etc., the intermediate vector of the element with the intermediate vector of the element after and / or before the element, and so on, until the fused vector of each element is obtained. The output layer is used to obtain multimodal information based on the pre-trained language model and the fused vector.

[0072] Optionally, the feature information of the first characterization vector or the second characterization vector corresponding to each element is summed with the feature information of the first characterization vector or the second characterization vector of the element after and / or before the element, or the inner product is calculated to obtain the intermediate vector corresponding to the element, and the intermediate vector of the element is summed with the intermediate vectors of the elements after and / or before the element, or the inner product is calculated, and so on, until the fused vector of each element is obtained.

[0073] The following describes the second option:

[0074] Optionally, Figure 8 A flowchart of a method for determining multimodal information provided by another embodiment of the present application is as follows: Figure 8 As shown, the method includes:

[0075] Step S810: For each type of first modal information in at least one type of first modal information, map the first modal information into a plurality of first representation vectors.

[0076] Step S820: Fusing multiple first representation vectors corresponding to at least one first modal information to obtain a fused vector.

[0077] Step S830: Determine multimodal information corresponding to at least one first modal information according to the fused vector.

[0078] Optionally, any first characterization vector is used to characterize the spatiotemporal information, content or type of any element in the first modal information.

[0079] It should be noted that, for the explanation of the first characterization vector, reference may be made to the explanation of the first characterization vector in the above text, and the embodiments of the present application will not elaborate on this.

[0080] Optionally, after acquiring multiple first characterization vectors corresponding to at least one first modality information, the terminal device may obtain a fused vector by summing up the first characterization vectors or calculating the inner product thereof. Fig. 9 As shown, the pre-trained language model includes: an input layer, a processing layer and an output layer, wherein the processing layer includes: a representation sublayer and a fusion sublayer. The input layer is used to obtain at least one first modal information. The representation sublayer can be used to map each first modal information into multiple first representation vectors. The fusion sublayer is used to obtain a fused vector by summing these first representation vectors, or calculating the inner product, etc. The output layer is used to obtain multimodal information based on the pre-trained language model and the fused vector.

[0081] Optionally, the first characterization vector corresponding to each element is summed with the first characterization vectors of the elements before and / or after the element, or the inner product is calculated to obtain the intermediate vector corresponding to the element, and the intermediate vector of the element is summed with the intermediate vectors of the elements before and / or after the element, or the inner product is calculated, and so on, until the vector of each element is obtained. Fig.10 As shown, the pre-trained language model includes: an input layer, a processing layer and an output layer, wherein the processing layer includes: a representation sublayer and a fusion sublayer. The input layer is used to obtain at least one first modal information. The representation sublayer can be used to map each first modal information into multiple first representation vectors. The fusion sublayer is used to sum, or calculate the inner product, etc., the first representation vector corresponding to each element with the first representation vector of the element after and / or before the element, to obtain the intermediate vector corresponding to the element, and sum, or calculate the inner product, etc., the intermediate vector of the element with the intermediate vector of the element after and / or before the element, and so on, until the fused vector of each element is obtained. The output layer is used to obtain multimodal information based on the pre-trained language model and the fused vector.

[0082] Optionally, feature information of the first characterization vector corresponding to each element is summed with feature information of the first characterization vector of the element after and / or before the element, or the inner product is calculated to obtain the intermediate vector corresponding to the element, and the intermediate vector of the element is summed with the intermediate vectors of the elements after and / or before the element, or the inner product is calculated, and so on, until the fused vector of each element is obtained.

[0083] In summary, in the embodiment of the present application, the multimodal information corresponding to at least one first modal information can be determined according to at least one first modal information, that is, in the embodiment of the present application, single-mode or multi-modal information input, and, multi-modal information output are realized. Compared with the single-mode information input and output mode, this single-mode or multi-modal information input, and, multi-modal information output can meet the user's demand for information diversity presentation, and can also improve the applicability of the multi-modal information processing method. Further, the embodiment of the present application realizes end-to-end input and output through a pre-trained language model, that is, the pre-trained language model is a model based on a neural network, and only needs to input at least one modal information into the model to output multi-modal information. This end-to-end input and output method can improve the efficiency of information processing. In addition, the embodiment of the present application performs information processing based on a neural network model, rather than performing information processing based on a traditional machine learning model or artificial rules. Compared with the information processing method based on a traditional machine learning model or artificial rules, the information processing method based on a neural network model of the present application can improve the efficiency of information processing.

[0084] The following is an explanation of the training process of the pre-trained language model:

[0085] Fig.11 A flowchart of a multimodal information processing method provided in another embodiment of the present application, the execution subject of the method may be part or all of a terminal device, wherein the part of the terminal device may be a processor of the terminal device, and the execution subject of the method may also be a terminal device and a server, that is, Fig.11 Some steps are executed by the terminal device, and other steps are executed by the server, and this application does not limit this. Fig.11 As shown, the method includes:

[0086] Step S1110: Acquire first training data, where the first training data includes: at least one type of second modality information.

[0087] Step S1120: training the pre-trained language model using the first training data.

[0088] Optionally, the first training data further includes: at least one second reference information corresponding to at least one second modal information.

[0089] It should be understood that this embodiment is an unsupervised training process for the pre-trained language model.

[0090] Optionally, when training a pre-trained language model with the first training data, that is, the first training data needs to be input into the pre-trained language model, the first training data is vector represented and information fused through the pre-trained language model to obtain a fused vector, and multimodal information corresponding to the first training data is obtained based on the fused vector, and the parameters in the pre-trained language model are adjusted through the multimodal information.

[0091] It should be understood that the vector representation and information fusion of the first training data through the pre-trained language model to obtain the fused vector can refer to the processing process of at least one first modal information through the pre-trained language model, or refer to the processing process of at least one first modal information and at least one first reference information through the pre-trained language model, and the embodiments of the present application will not go into details.

[0092] In summary, in an embodiment of the present application, the terminal device can use an unsupervised training method to train the pre-trained language model to improve the accuracy of the pre-trained language model, thereby obtaining more accurate multimodal information.

[0093] Fig.12 A flowchart of a multimodal information processing method provided for another embodiment of the present application, wherein the execution subject of the method may be part or all of a terminal device, wherein the part of the terminal device may be a processor of the terminal device, and the execution subject of the method may also be a terminal device and a server, that is, Fig.12 Some steps are executed by the terminal device, and other steps are executed by the server, and this application does not limit this. Fig.12 As shown, the method includes:

[0094] Step S1210: Acquire second training data, where the second training data includes: at least one third modal information and at least one modal information corresponding to the at least one third modal information.

[0095] Step S1220: training the pre-trained language model using the second training data.

[0096] Taking the application in the intelligent question-answering scenario as an example, the third modal information may be a third modal question, and its corresponding at least one modal information may be at least one modal answer.

[0097] Optionally, the second training data further includes: at least one third reference information corresponding to at least one third modal information.

[0098] It should be understood that this embodiment is a supervised training process for the pre-trained language model.

[0099] Optionally, when training the pre-trained language model with the second training data, that is, the second training data needs to be input into the pre-trained language model, the second training data is vector represented and information fused through the pre-trained language model to obtain a fused vector, and multimodal information corresponding to the second training data is obtained based on the fused vector, and the parameters in the pre-trained language model are adjusted through the multimodal information.

[0100] It should be understood that the vector representation and information fusion of the second training data through the pre-trained language model to obtain the fused vector can refer to the processing process of at least one first modal information through the pre-trained language model, or refer to the processing process of at least one first modal information and at least one reference information through the pre-trained language model, and the embodiments of the present application will not go into details.

[0101] It should be noted that Fig.12 The corresponding supervised training process is Fig.11 The corresponding unsupervised training processes can be performed in combination or independently, and the embodiments of the present application are not limited to this.

[0102] In summary, in an embodiment of the present application, the terminal device can use a supervised training method to train the pre-trained language model to improve the accuracy of the pre-trained language model, thereby obtaining more accurate multimodal information.

[0103] Optionally, the terminal device may also process at least one third reference information based on at least one third modal information to obtain at least one modal information corresponding to the at least one third modal information.

[0104] Optionally, the processing includes at least one of: extracting, rewriting, and combining.

[0105] It should be noted that the embodiment of the present application does not limit the order and number of extraction, rewriting, and combination. For example, at least one third reference information is first extracted, and then rewriting and combining are performed. The third reference information can also be rewritten first, and then combined and extracted. The following is an explanation through a specific example:

[0106] Example 1: Fig.13 A flowchart of a method for processing at least one third reference information provided in an embodiment of the present application, such as Fig.13 As shown, the method comprises the following steps:

[0107] Step S1310: extract relevant content of at least one third modal information from at least one third reference information.

[0108] Step S1320: Obtain at least one modal information corresponding to at least one third modal information according to the relevant content.

[0109] For example, assuming that the third modal information is "in which dynasty and by which person was The Song of Wine written", the relevant content extracted from at least one third reference information may be the entire content or a fragment of The Song of Wine, or a brief introduction to Li Bai.

[0110] Optionally, the relevant content may be determined as at least one modal information corresponding to at least one third modal information. Alternatively, the relevant content may be rewritten according to at least one third modal information to obtain at least one modal information corresponding to at least one third modal information. Alternatively, the relevant content may be rewritten according to at least one third modal information, and the rewritten content may be combined to obtain at least one modal information corresponding to at least one third modal information.

[0111] Exemplarily, assuming that the third modal information is "In which dynasty was "Jiang Jinjiu" written by which person", the entire content or a fragment of "Jiang Jinjiu" is used as at least one modal information corresponding to at least one third modal information.

[0112] Exemplarily, assume that the third modal information is "Which dynasty and which person wrote 'Bringing in the Wine'". The terminal device rewrites the introduction of Li Bai. For example, the introduction of Li Bai is: Li Bai (701 - 762), courtesy name Taibai, is the most outstanding poet in the prosperous Tang Dynasty and also a great romantic poet after Qu Yuan in the history of Chinese literature, and is known as the "Immortal of Poetry". After partial rewriting, the following content is obtained: Li Bai, courtesy name Taibai, also known as the Lay Buddhist of Qinglian and the "Banished Immortal", is the most outstanding romantic poet in the prosperous Tang Dynasty and is praised as the "Immortal of Poetry" by later generations. This content serves as at least one modal information corresponding to at least one third modal information.

[0113] Exemplarily, assume that the third modal information is "Which dynasty and which person wrote 'Bringing in the Wine'". Combine all or a fragment of "Bringing in the Wine" with the rewritten content: Li Bai, courtesy name Taibai, also known as the Lay Buddhist of Qinglian and the "Banished Immortal", is the most outstanding romantic poet in the prosperous Tang Dynasty and is praised as the "Immortal of Poetry" to serve as at least one modal information corresponding to at least one third modal information.

[0114] It should be noted that the combination in the embodiments of the present application can be the merging of information. For example, the combination of information A and information B results in <information A, information B>.

[0115] Example 2: Fig.14 This is a flowchart of a method for processing at least one third reference information provided in another embodiment of the present application, as Fig.14 shown. The method includes the following steps:

[0116] Step S1401: Rewrite at least one third reference information to obtain rewritten content.

[0117] Step S1402: Obtain at least one modal information corresponding to at least one third modal information according to the rewritten content.

[0118] Optionally, the rewritten content can be determined as at least one modal information corresponding to at least one third modal information. Or, according to at least one third modal information, the rewritten content is combined to obtain at least one modal information corresponding to at least one third modal information.

[0119] Exemplarily, assume that the third modal information is "Which dynasty and which person wrote 'Bringing in the Wine'". The rewritten content after rewriting at least one third reference information can be: Li Bai, courtesy name Taibai, also known as the Lay Buddhist of Qinglian and the "Banished Immortal", is the most outstanding romantic poet in the prosperous Tang Dynasty and is praised as the "Immortal of Poetry". The rewritten content can be used as at least one modal information corresponding to at least one third modal information.

[0120] For example, suppose one rewritten content is that Li Bai, with the courtesy name Taibai, the pseudonym Qinglian Jushi, and the pseudonym "Zhexianren", is the most outstanding romantic poet in the prosperous Tang Dynasty and is praised as the "Poet Immortal" by later generations. Another rewritten content is that Li Bai and Du Fu are both called "Li Du". These two rewritten contents can be combined to obtain at least one modal information corresponding to at least one third modal information.

[0121] In summary, in the supervised training process of the embodiment of the present application, at least one third reference information can be extracted, rewritten, combined, etc. to obtain at least one modal information corresponding to at least one third modal information, that is, the at least one modal information does not need to be acquired through manual or machine learning models, but is obtained through extraction, rewriting, combination, etc., thereby improving information acquisition efficiency and information accuracy.

[0122] Fig.15 A schematic diagram of a multimodal information processing device 1500 provided in one embodiment of the present application is shown as follows: Fig.15 As shown, the device includes: a first acquisition module 1510, a determination module 1520 and an output module 1530. The first acquisition module 1510 is used to acquire at least one first modal information. The determination module 1520 is used to determine multimodal information corresponding to at least one first modal information according to at least one first modal information. The output module 1530 is used to output multimodal information.

[0123] Optionally, the device further includes: a second acquisition module 1540, configured to acquire at least one first reference information corresponding to at least one first modal information. Accordingly, the determination module 1520 is specifically configured to: determine multimodal information corresponding to at least one first modal information according to at least one first modal information and at least one first reference information.

[0124] Optionally, the determination module 1520 is specifically used to: for each first modal information in at least one first modal information, map the first modal information into multiple first characterization vectors, any one of which is used to characterize the spatiotemporal information, content or type of any element in the first modal information. For each first reference information in at least one first reference information, map the first reference information into multiple second characterization vectors, any one of which is used to characterize the spatiotemporal information, content or type of any element in the first reference information. Fuse the multiple first characterization vectors corresponding to at least one first modal information and the multiple second characterization vectors corresponding to at least one first reference information to obtain a fused vector. Determine the multimodal information corresponding to at least one first modal information based on the fused vector.

[0125] Optionally, the determination module 1520 is specifically used to: for each first modal information in at least one first modal information, map the first modal information into multiple first characterization vectors, any one of which is used to characterize the spatiotemporal information, content or type of any element in the first modal information. Fuse the multiple first characterization vectors corresponding to at least one first modal information to obtain a fused vector. Determine the multimodal information corresponding to at least one first modal information based on the fused vector.

[0126] Optionally, a modality is a text modality, a voice modality, an image modality, or a video modality.

[0127] Optionally, the first modal information is a first modal question, and the multimodal information is a multimodal answer.

[0128] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Fig.15 The device 1500 shown may perform Figure 4 , Figure 5 and Figure 8 The corresponding method embodiments, and the aforementioned and other operations and / or functions of each module in the device 1500 are respectively to implement Figure 4 , Figure 5 and Figure 8 For the sake of brevity, the corresponding processes in each method are not repeated here.

[0129] The above describes the device 1500 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0130] Fig.16 A schematic diagram of a multimodal information processing device 1600 provided in one embodiment of the present application is shown as follows: Fig.16As shown, the device includes: a first acquisition module 1610 and a first training module 1620, wherein the first acquisition module 1610 is used to acquire first training data, and the first training data includes: at least one second modal information. The first training module 1620 is used to train a pre-trained language model through the first training data. The pre-trained language model is used to determine multimodal information corresponding to at least one first modal information based on at least one first modal information.

[0131] Optionally, the first training data further includes: at least one second reference information corresponding to at least one second modal information.

[0132] Optionally, the device further includes: a second acquisition module 1630 and a second training module 1640, the second acquisition module 1630 is used to acquire second training data, the second training data includes: at least one third modal information and at least one modal information corresponding to the at least one third modal information. The second training module 1640 is used to train the pre-trained language model using the second training data.

[0133] Optionally, the second training data further includes: at least one third reference information corresponding to at least one third modal information.

[0134] Optionally, the device further includes: a processing module 1650, configured to process at least one third reference information according to at least one third modal information to obtain at least one modal information corresponding to the at least one third modal information.

[0135] Optionally, the processing module 1650 is specifically configured to: extract relevant content of at least one third modal information from at least one third reference information, and obtain at least one modal information corresponding to the at least one third modal information according to the relevant content.

[0136] Optionally, the processing module 1650 is specifically used to: determine the relevant content as at least one modal information corresponding to at least one third modal information. Alternatively, rewrite the relevant content according to at least one third modal information to obtain at least one modal information corresponding to at least one third modal information. Alternatively, rewrite the relevant content according to at least one third modal information, and combine the rewritten content to obtain at least one modal information corresponding to at least one third modal information.

[0137] Optionally, the processing module 1650 is specifically configured to: rewrite at least one third reference information to obtain rewritten content, and obtain at least one modality information corresponding to the at least one third modality information according to the rewritten content.

[0138] Optionally, the processing module 1650 is specifically configured to: determine the rewritten content as at least one modal information corresponding to at least one third modal information. Or, according to at least one third modal information, combine the rewritten content to obtain at least one modal information corresponding to at least one third modal information.

[0139] Optionally, the processing module 1650 is specifically used for: a modality of at least one second modality information is a text modality, a voice modality, an image modality or a video modality.

[0140] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Fig.16 The device 1600 shown may perform Figures 11 to 14 The corresponding method embodiments, and the aforementioned and other operations and / or functions of each module in the device 1600 are respectively to implement Figures 11 to 14 For the sake of brevity, the corresponding processes in each method are not repeated here.

[0141] The above describes the device 1600 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0142] Fig.17 It is a schematic block diagram of an electronic device 1700 provided in an embodiment of the present application.

[0143] like Fig.17 As shown, the electronic device 1700 may include:

[0144] The memory 1710 and the processor 1720, the memory 1710 is used to store the computer program and transmit the program code to the processor 1720. In other words, the processor 1720 can call and run the computer program from the memory 1710 to implement the method in the embodiment of the present application.

[0145] For example, the processor 1720 may be configured to execute the above method embodiments according to instructions in the computer program.

[0146] In some embodiments of the present application, the processor 1720 may include but is not limited to:

[0147] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0148] In some embodiments of the present application, the memory 1710 includes but is not limited to:

[0149] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

[0150] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 1710 and executed by the processor 1720 to complete the method provided in the embodiment of the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1700.

[0151] like Fig.17 As shown, the electronic device 1700 may further include:

[0152] The transceiver 1730 may be connected to the processor 1720 or the memory 1710 .

[0153] The processor 1720 may control the transceiver 1730 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 1730 may include a transmitter and a receiver. The transceiver 1730 may further include an antenna, and the number of antennas may be one or more.

[0154] It should be understood that the various components in the electronic device 1700 are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0155] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0156] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.

[0157] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0158] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0159] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0160] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A multimodal information processing method, characterized in that: include: Acquiring at least one first modality information; For each of the at least one first modal information, mapping the first modal information into a plurality of first characterization vectors, any one of the first characterization vectors being used to characterize spatiotemporal information, content or type of any element in the first modal information; Fusing a plurality of first representation vectors corresponding to the at least one first modal information to obtain a fused vector; Determine multimodal information corresponding to the at least one first modal information according to the fused vector; outputting the multimodal information; The step of fusing the multiple first representation vectors corresponding to the at least one first modal information to obtain a fused vector includes: For a first characterization vector corresponding to any element in the first modal information, sum or find the inner product of the first characterization vector corresponding to the element with the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element with the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; or, For feature information of the first characterization vector corresponding to the element, sum or find the inner product of the feature information of the first characterization vector corresponding to the element and feature information of the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element and the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; A modality is a text modality, a voice modality, an image modality, or a video modality.

2. The method according to claim 1, characterized in that The first modal information is a first modal question, and the multimodal information is a multimodal answer.

3. A multimodal information processing method, characterized in that: include: Acquire at least one first modal information, and acquire at least one first reference information corresponding to the at least one first modal information; For each of the at least one first modal information, mapping the first modal information into a plurality of first characterization vectors, any one of the first characterization vectors being used to characterize spatiotemporal information, content or type of any element in the first modal information; For each type of the at least one first reference information, mapping the first reference information into a plurality of second representation vectors, wherein any one of the second representation vectors is used to represent the spatiotemporal information, content or type of any element in the first reference information; fusing a plurality of first characterization vectors corresponding to the at least one first modal information and a plurality of second characterization vectors corresponding to the at least one first reference information to obtain a fused vector; Determine multimodal information corresponding to the at least one first modal information according to the fused vector; outputting the multimodal information; The step of fusing the plurality of first representation vectors corresponding to the at least one first modal information and the plurality of second representation vectors corresponding to the at least one first reference information to obtain the fused vectors includes: For a first characterization vector corresponding to any element in the first modal information or a second characterization vector corresponding to any element in the first reference information, sum or find the inner product of the first characterization vector or the second characterization vector corresponding to the element with the first characterization vector or the second characterization vector of the element located after and / or before the element to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element with the intermediate vector of the element located after and / or before the element to obtain a vector after the elements are fused; or, For feature information of the first characterization vector or the second characterization vector corresponding to the element, sum or calculate the inner product of the feature information of the first characterization vector or the second characterization vector corresponding to the element and the feature information of the first characterization vector or the second characterization vector of the element located after and / or before the element to obtain an intermediate vector corresponding to the element, and sum or calculate the inner product of the intermediate vector of the element and the intermediate vector of the element located after and / or before the element to obtain a vector after the element is fused; A modality is a text modality, a voice modality, an image modality, or a video modality.

4. The method according to claim 3, characterized in that The first modal information is a first modal question, and the multimodal information is a multimodal answer.

5. A multimodal information processing method, characterized in that: include: Acquire first training data, where the first training data includes: at least one second modality information; Training a pre-trained language model using the first training data; The pre-trained language model is used to determine multimodal information corresponding to the at least one first modal information according to the at least one first modal information; The determining, according to at least one first modal information, multimodal information corresponding to the at least one first modal information includes: For each of the at least one first modal information, mapping the first modal information into a plurality of first characterization vectors, any one of the first characterization vectors being used to characterize spatiotemporal information, content or type of any element in the first modal information; For a first characterization vector corresponding to any element in the first modal information, sum or find the inner product of the first characterization vector corresponding to the element with the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element with the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; or, For feature information of the first characterization vector corresponding to the element, sum or find the inner product of the feature information of the first characterization vector corresponding to the element and feature information of the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element and the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; Determine multimodal information corresponding to the at least one first modal information according to the vector obtained by merging each of the elements; A modality is a text modality, a voice modality, an image modality, or a video modality.

6. The method according to claim 5, characterized in that The first training data also includes: at least one second reference information corresponding to the at least one second modal information.

7. The method according to claim 5, characterized in that Also includes: Acquire second training data, where the second training data includes: at least one third modal information and at least one modal information corresponding to the at least one third modal information; The pre-trained language model is trained using the second training data.

8. The method according to claim 7, characterized in that The second training data also includes: at least one third reference information corresponding to the at least one third modal information.

9. The method according to claim 8, characterized in that Also includes: The at least one third reference information is processed according to the at least one third modal information to obtain at least one modal information corresponding to the at least one third modal information.

10. The method according to claim 9, characterized in that The processing of the at least one third reference information to obtain at least one modal information corresponding to the at least one third modal information includes: Extracting relevant content of the at least one third modal information from the at least one third reference information; At least one modal information corresponding to the at least one third modal information is obtained based on the related content.

11. The method according to claim 10, characterized in that The obtaining, according to the related content, at least one modal information corresponding to the at least one third modal information includes: Determine the relevant content as at least one modal information corresponding to the at least one third modal information; or, rewriting the relevant content according to the at least one third modal information to obtain at least one modal information corresponding to the at least one third modal information; or The related content is rewritten according to the at least one third modal information, and the rewritten content is combined to obtain at least one modal information corresponding to the at least one third modal information.

12. The method according to claim 9, characterized in that The processing of the at least one third reference information to obtain at least one modal information corresponding to the at least one third modal information includes: rewriting the at least one third reference information to obtain rewritten content; At least one modal information corresponding to the at least one third modal information is obtained according to the rewritten content.

13. The method according to claim 12, characterized in that The obtaining, according to the rewritten content, at least one modal information corresponding to the at least one third modal information includes: determining the rewritten content as at least one modality information corresponding to the at least one third modality information; or, The rewritten contents are combined according to the at least one third modal information to obtain at least one modal information corresponding to the at least one third modal information.

14. The method according to any one of claims 5 to 13, characterized in that: The first modal information is a first modal question, and the multimodal information is a multimodal answer.

15. A multimodal information processing device, characterized in that: include: A first acquisition module, used to acquire at least one first modal information; a determination module, configured to: for each of the at least one first modal information, map the first modal information into a plurality of first representation vectors, any one of the first representation vectors being used to represent the spatiotemporal information, content or type of any element in the first modal information; Fusing a plurality of first representation vectors corresponding to the at least one first modal information to obtain a fused vector; and determining multimodal information corresponding to the at least one first modal information according to the fused vector; An output module, used for outputting the multimodal information; The step of fusing the multiple first representation vectors corresponding to the at least one first modal information to obtain a fused vector includes: For a first characterization vector corresponding to any element in the first modal information, sum or find the inner product of the first characterization vector corresponding to the element with the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element with the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; or, For feature information of the first characterization vector corresponding to the element, sum or find the inner product of the feature information of the first characterization vector corresponding to the element and feature information of the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element and the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; A modality is a text modality, a voice modality, an image modality, or a video modality.

16. A multimodal information processing device, characterized in that: include: A first acquisition module, used to acquire at least one first modal information; A second acquisition module, used to acquire at least one first reference information corresponding to the at least one first modal information; a determination module, configured to: for each of the at least one first modal information, map the first modal information into a plurality of first representation vectors, any one of the first representation vectors being used to represent the spatiotemporal information, content or type of any element in the first modal information; For each type of the at least one first reference information, mapping the first reference information into a plurality of second representation vectors, wherein any one of the second representation vectors is used to represent the spatiotemporal information, content or type of any element in the first reference information; fusing a plurality of first characterization vectors corresponding to the at least one first modal information and a plurality of second characterization vectors corresponding to the at least one first reference information to obtain a fused vector; Determine multimodal information corresponding to the at least one first modal information according to the fused vector; An output module, used for outputting the multimodal information; The step of fusing the plurality of first representation vectors corresponding to the at least one first modal information and the plurality of second representation vectors corresponding to the at least one first reference information to obtain the fused vectors includes: For a first characterization vector corresponding to any element in the first modal information or a second characterization vector corresponding to any element in the first reference information, sum or find the inner product of the first characterization vector or the second characterization vector corresponding to the element with the first characterization vector or the second characterization vector of the element located after and / or before the element to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element with the intermediate vector of the element located after and / or before the element to obtain a vector after the elements are fused; or, For feature information of the first characterization vector or the second characterization vector corresponding to the element, sum or calculate the inner product of the feature information of the first characterization vector or the second characterization vector corresponding to the element and the feature information of the first characterization vector or the second characterization vector of the element located after and / or before the element to obtain an intermediate vector corresponding to the element, and sum or calculate the inner product of the intermediate vector of the element and the intermediate vector of the element located after and / or before the element to obtain a vector after the element is fused; A modality is a text modality, a voice modality, an image modality, or a video modality.

17. A multimodal information processing device, characterized in that: include: A first acquisition module is used to acquire first training data, where the first training data includes: at least one second modality information; A first training module, used for training a pre-trained language model using the first training data; The pre-trained language model is used to determine multimodal information corresponding to the at least one first modal information according to the at least one first modal information; The determining, according to at least one first modal information, multimodal information corresponding to the at least one first modal information includes: For each of the at least one first modal information, mapping the first modal information into a plurality of first characterization vectors, any one of the first characterization vectors being used to characterize spatiotemporal information, content or type of any element in the first modal information; For a first characterization vector corresponding to any element in the first modal information, sum or find the inner product of the first characterization vector corresponding to the element with the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element with the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; or, For feature information of the first characterization vector corresponding to the element, sum or find the inner product of the feature information of the first characterization vector corresponding to the element and feature information of the first characterization vector of the element located after and / or before the element in the first modal information to obtain an intermediate vector corresponding to the element, and sum or find the inner product of the intermediate vector of the element and the intermediate vector of the element located after and / or before the element in the first modal information to obtain a vector after the element is fused; Determine multimodal information corresponding to the at least one first modal information according to the vector obtained by merging each of the elements; A modality is a text modality, a voice modality, an image modality, or a video modality.

18. An electronic device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 14.

19. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Multi-mode intelligent question answering system and method

    CN105574133A

  • Child teaching method and device orienting to intelligent robot

    CN105894873A

  • System and method capable of achieving intelligent questioning and answering

    CN106682050A

  • Emotion recognition method, device and apparatus, and storage medium

    CN108985358A

  • Visual question and answer model, electronic equipment and storage medium

    CN109902166A