A method and system for processing cross-modal information

By employing cross-modal information processing methods and utilizing natural language descriptors and intent analysis, the problem of missing intent-related material in existing technologies is solved, thereby achieving accuracy and factual support for the generated results.

CN123157752APending Publication Date: 2026-11-24QIXIUHUI ARTIFICIAL INTELLIGENCE TECHNOLOGY (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing search enhancement generation methods rely on similarity retrieval, which truncates or omits key materials needed for intent, resulting in generated results that lack factual support and fail to respond to users' real needs.

Method used

By acquiring source materials from multiple modalities, descriptor processing is performed to generate natural language descriptors. Intent analysis is used to match target descriptors, representative layer vector similarity is retrieved, and the descriptors are integrated into the main model context for generation.

Benefits of technology

Ensure that the generated results are supported by sufficient facts, accurately respond to the user's true intentions, and avoid truncating or omitting key materials due to their lower similarity ranking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157752A_ABST
    Figure CN123157752A_ABST
Patent Text Reader

Abstract

This application discloses a method and system for processing cross-modal information. By replacing the original content of the source material with natural language descriptors and loading it into the main context, the context occupancy is reduced, and a unified retrieval basis is provided for cross-modal source materials. At the same time, by performing intent analysis on the current request information of the main model and matching the request intent with descriptors, the retrieval method that relies on surface vector similarity is replaced. This allows key source materials that are not similar to the literal and semantic meaning of the query but meet the intent to be accurately recalled. The recalled source materials are then integrated into the context of the main model for generation, avoiding the truncation and omission of key materials due to their low similarity ranking. This ensures that the generated results have sufficient factual support and ultimately effectively respond to the user's true intent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method and system for processing cross-modal information. Background Technology

[0002] Retrieval-enhanced generation (RAG) involves segmenting, vectorizing, and indexing an external knowledge base. During inference, it retrieves relevant content based on the vector similarity between the query and the fragment, incorporating it into the context for the large language model to generate a response. This mechanism effectively alleviates the problem of knowledge solidification in model parameters and has become the mainstream technical approach for expanding the factual information of current models. However, its retrieval mechanism and context organization directly affect the quality of generation.

[0003] In existing retrieval enhancement generation methods, each source material is first divided into fixed-length segments, and each segment is encoded into a dense vector using an embedding model to establish a vector index. Then, the information queried by the user is encoded into a query vector. Next, the cosine similarity between the query vector and all segment vectors is calculated, and the top k most similar segments are retrieved in descending order. Finally, these segments are concatenated into the system prompt words in their original order, and the final answer is generated by a large language model.

[0004] Because existing retrieval enhancement methods rely solely on surface vector similarity as the retrieval criterion, they assume that the query and the required material must be semantically similar. However, in real-world tasks, many requests are intentional, and the required material and the query are often not similar in literal and semantic terms. Therefore, similarity ranking cannot locate these key contents, resulting in the model lacking the core materials necessary to complete the intentional task. It can only answer based on surface-related content, and the generated results lack factual support, ultimately failing to respond to the user's real needs, causing the actual failure of the retrieval enhancement process. Summary of the Invention

[0005] In view of the shortcomings of the prior art, this application provides a method and system for processing cross-modal information to solve the problem that key materials required for intent are truncated or omitted when relying on similarity retrieval, resulting in distorted generated results.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] The first aspect of this application provides a method for processing cross-modal information, including:

[0008] Acquire source materials with multiple modes;

[0009] Each of the source materials is processed by descriptor processing to obtain a natural language descriptor corresponding to each source material; wherein, the natural language descriptor is used to characterize the content summary of the source material;

[0010] Replace each of the aforementioned source materials with the corresponding natural language descriptor;

[0011] Obtain the current request information of the main model and perform intent analysis on the current request information to obtain the request intent; wherein, the current request information indicates the information issued by the main model during the generation process for requesting to obtain the target source material;

[0012] Search for the target descriptor that matches the request intent from all natural language descriptors, and retrieve the target source material corresponding to the target descriptor from storage;

[0013] The target source material is integrated into the context corresponding to the main model, and the main model generates and outputs the result based on the integrated context.

[0014] Optionally, in the above-described method for processing cross-modal information, after replacing each source material with a corresponding natural language descriptor, the method further includes:

[0015] Each of the aforementioned source materials and its corresponding natural language descriptor is mapped and stored.

[0016] Optionally, in the above-described method for processing cross-modal information, obtaining the target source material corresponding to the target descriptor from storage includes:

[0017] Based on the mapping relationship of the target descriptors, the target source material corresponding to the target descriptor is obtained from the storage.

[0018] Optionally, in the above-described method for processing cross-modal information, before integrating the target source material into the context corresponding to the main model, the method further includes:

[0019] Determine whether the amount of data for the target source material is greater than a preset amount of data;

[0020] If the data volume of the target source material is greater than the preset data volume, then the content fragment corresponding to the current request information is selected from the target source material, and the content fragment is used as the target source material;

[0021] If the amount of data of the target source material is not greater than the preset amount of data, then the process of integrating the target source material into the context corresponding to the main model is executed, and the main model generates and outputs the result based on the integrated context.

[0022] Optionally, the above-described method for processing cross-modal information further includes:

[0023] When no target descriptor matching the requested intent is found among all natural language descriptors, a prompt message indicating no matching source material is sent to the main model to maintain the context of the main model.

[0024] A second aspect of this application provides a system for processing cross-modal information, comprising:

[0025] Acquisition unit, used to acquire source materials in multiple modes;

[0026] A processing unit is configured to perform descriptor processing on each of the source materials to obtain a natural language descriptor corresponding to each of the source materials; wherein the natural language descriptor is used to characterize the content summary of the source material;

[0027] A replacement unit is used to replace each of the source materials with a corresponding natural language descriptor;

[0028] The analysis unit is used to obtain the current request information of the main model and perform intent analysis on the current request information to obtain the request intent; wherein, the current request information indicates the information issued by the main model during the generation process for requesting to obtain the target source material;

[0029] The material acquisition unit is used to search for a target descriptor that matches the request intent from all natural language descriptors, and to retrieve the target source material corresponding to the target descriptor from the storage;

[0030] The integration unit is used to integrate the target source material into the context corresponding to the main model, and the main model generates and outputs the result based on the integrated context.

[0031] Optionally, the above-mentioned cross-modal information processing system further includes:

[0032] A storage unit is used to map and store each of the source materials and its corresponding natural language descriptors.

[0033] Optionally, in the above-described cross-modal information processing system, the material acquisition unit includes:

[0034] The material acquisition subunit is used to acquire the target source material corresponding to the target descriptor from the storage according to the mapping relationship of the target descriptor.

[0035] Optionally, the above-mentioned cross-modal information processing system further includes:

[0036] The judgment unit is used to determine whether the data volume of the target source material is greater than a preset data volume; wherein, when the judgment unit determines that the data volume of the target source material is not greater than the preset data volume, the integration unit performs the process of integrating the target source material into the context corresponding to the main model, and the main model generates and outputs the result based on the integrated context;

[0037] The filtering unit is configured to, if the amount of data in the target source material is greater than the preset amount of data, filter out the content fragment corresponding to the current request information from the target source material and use the content fragment as the target source material.

[0038] Optionally, the above-mentioned cross-modal information processing system further includes:

[0039] The feedback unit is used to provide a prompt message indicating that there is no matching source material to the main model when no target descriptor matching the request intent is found among all natural language descriptors, so as to maintain the context of the main model unchanged.

[0040] This application provides a method for processing cross-modal information. By replacing the original content of the source material with natural language descriptors and loading it into the main context, the context occupancy is reduced, and a unified retrieval basis is provided for cross-modal source materials. At the same time, by performing intent analysis on the current request information of the main model and using request intent matching descriptors, the retrieval method that relies on surface vector similarity is replaced. This allows key source materials that are not similar to the literal and semantic meaning of the query but meet the intent to be accurately recalled. The recalled source materials are then integrated into the context of the main model for generation, avoiding the truncation and omission of key materials due to their low similarity ranking. This ensures that the generated results have sufficient factual support and ultimately effectively respond to the user's true intent. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0042] Figure 1 This application provides a schematic diagram of the architecture of a processing system.

[0043] Figure 2 A flowchart illustrating a method for processing cross-modal information provided in an embodiment of this application;

[0044] Figure 3This is a schematic diagram of the structure of a cross-modal information processing system provided in another embodiment of this application. Detailed Implementation

[0045] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0046] In this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0047] This application provides a method for processing cross-modal information, applied to a processing system, to solve the problem that key materials required for intent are truncated or omitted when relying on similarity retrieval, resulting in distorted generated results.

[0048] Optionally, such as Figure 1 As shown, this application provides a processing system including: a descriptor generation unit (1), a descriptor-source mapping persistent storage (2), a main context (descriptor layer) (3), an intent retrieval LLM unit (4), a content filtering unit (5), a fusion and injection unit (6), and a generation unit (main model) (7).

[0049] Descriptor generation unit (1): Receives source material from each modality and generates a compact natural language descriptor for each source material.

[0050] Descriptor-Source Mapping Persistent Storage (2): Persistently save the mapping of "descriptor → source material" so that the complete content of the source material can be retrieved on demand without loss.

[0051] Main Context (Descriptor Layer) (3): In the context of the main model, the original content of the source material is replaced with descriptors, retaining only lightweight descriptors. This layer also acts as a cross-modal normalization layer.

[0052] Intent retrieval LLM unit (4): When source material is needed, read the descriptor set in the query and descriptor layer, analyze the query intent through reasoning, select the source material related to the intent, and retrieve its complete content from persistent storage (2) according to the mapping.

[0053] Content filtering unit (5): When the selected source material is large, filter out the content fragments that are relevant to the current query.

[0054] Fusion and Injection Unit (6): Fusion and injection of the selected source material (filtered) into the main model context (and can write back to the descriptor layer).

[0055] Generating unit (main model) (7): Generates and produces output based on injected materials, and sends a query to the intent retrieval LLM unit (4) when source materials are needed.

[0056] Based on the system described above, corresponding embodiments of this application provide a method for processing cross-modal information, such as... Figure 2 As shown, the specific steps include:

[0057] S201. Obtain source materials with multiple modes.

[0058] Specifically, "source materials" refer to various files and data objects generated or referenced during task execution, including but not limited to data in different modalities such as text, code, tables, and images. Multiple modalities mean that the source materials cover at least two of the above data types, for example, simultaneously containing text documents and image files, or simultaneously containing tabular data and code files. Source materials can originate from local storage, network resources, or external databases.

[0059] It is easy to understand that the specific type and quantity of source materials depend on the scope of knowledge involved in the current task, therefore this application embodiment does not limit this.

[0060] S202. Perform descriptor processing on each source material to obtain the natural language descriptor corresponding to each source material.

[0061] Natural language descriptors are used to characterize the content summary of the source material.

[0062] Specifically, "descriptor processing" refers to the operation of content understanding and summary generation of source materials using natural language processing techniques. For text-based source materials, descriptor processing can be achieved through semantic understanding and key information extraction of the entire text. For image-based source materials, visual content can be extracted and converted into text descriptions through image description generation models. For table-based source materials, descriptions of table topics, row and column meanings, and data ranges can be generated through structure recognition and content summarization. For code-based source materials, functions, inputs, outputs, and dependencies can be extracted through code semantic analysis. A natural language descriptor is a concise natural language description of "what" and "what" the source material "is," used to replace the complete content of the source material in the main context, and its form is one or more short text descriptions.

[0063] Optionally, in another embodiment of this application, the natural language descriptor can be generated by a large language model, or it can be generated by combining file metadata, structural summaries, header or outline extraction, etc. The granularity of the descriptor can be at the whole file level or at the chapter level. For example, for a research report, its natural language descriptor can be summarized as "This report contains the experimental design, experimental data and result analysis of Experiment A". For a chart, its natural language descriptor can be summarized as "This chart shows the changing trends of variables X and Y within the time period T".

[0064] It is easy to understand that natural language descriptors only carry indexing information for retrieval and location, rather than the complete content of the source material.

[0065] S203. Replace each source material with the corresponding natural language descriptor.

[0066] Specifically, the replacement operation occurs within the main context. The "main context" refers to the context window currently loaded by the main model and used for inference and generation. By replacing the original content of the source material with natural language descriptors within the main context, the main context no longer carries the complete data of the source material, retaining only lightweight descriptor information, thus achieving context compression. The original content of the replaced source material is not discarded; instead, it is stored outside the main context after establishing a mapping relationship with the corresponding natural language descriptors.

[0067] Optionally, in another embodiment of this application, after replacing each source material with its corresponding natural language descriptor, it is also necessary to store each source material and its corresponding natural language descriptor. Therefore, after performing step S203, the method further includes:

[0068] Each source material and its corresponding natural language descriptor are mapped and stored.

[0069] It is understood that mapping storage refers to establishing and persistently saving a two-way correspondence between "natural language descriptors and source materials" so that the complete source materials can be retrieved later based on the natural language descriptors. The mapping relationship can be stored in a file system, key-value store, or database, therefore, this application embodiment does not limit it in this regard.

[0070] S204. Obtain the current request information of the main model, and perform intent analysis on the current request information to obtain the request intent.

[0071] The current request information indicates the information issued by the main model during the generation process to request the acquisition of the target source material.

[0072] Specifically, the "main model" refers to the large language model used to perform the generation task, and its context window contains all the information required for reasoning and generation in the current task. The request information is used to request information from external knowledge sources to obtain missing target source material.

[0073] Understandably, the current request information of the main model can be the request content expressed in natural language during the inference process. For example, when the main model is performing a report generation task, if it finds that it needs to refer to the specific content of a certain document, the current request information can be expressed as "Please provide the experimental data of experiment Y in document X".

[0074] "Intent analysis" refers to semantic understanding and demand parsing of the current request information to extract the "request intent" expressed by the request. Request intent represents the essential need of the target source material that the main model currently expects to obtain, rather than the superficial literal matching relationship between the request information and the source material. "Intent analysis" differs from retrieval methods based on keyword matching or vector similarity; its core lies in understanding what the main model "truly needs" rather than "what the text says."

[0075] It should be noted that, in this embodiment, the current request information of the main model may contain multiple intent types. For example, if the main model requests "I need to refer to the structure of report R to organize the current output," the corresponding request intent is "to obtain the structural information of report R," rather than "to obtain a fragment containing the keyword 'report R'." It is easy to understand that the expression of the request intent is a functional abstraction of the current request information, and its form can be a set of intent tags, an intent vector, or a natural language description of the intent. This embodiment does not limit this.

[0076] S205. Search for the target descriptor that matches the request intent from all natural language descriptors, and retrieve the target source material corresponding to the target descriptor from storage.

[0077] Specifically, after obtaining the request intent, a matching search is performed on the natural language descriptors corresponding to each source material based on this intent. This compares the request intent with the content summary represented by each natural language descriptor to determine whether the source material corresponding to the descriptor is relevant to the request intent. Unlike retrieval methods based on vector similarity, this step does not rely on calculating the vector cosine similarity between the query and the descriptor. Instead, it determines whether there is a match by analyzing the semantic relevance between the request intent and the content expressed by the descriptor.

[0078] Optionally, in another embodiment of this application, after mapping and storing each source material and its corresponding natural language descriptor as described above, the source material corresponding to the natural language descriptor can be quickly found according to the pre-established mapping relationship. Therefore, a specific implementation of obtaining the target source material corresponding to the target descriptor from the storage in step S205 specifically includes:

[0079] Based on the mapping relationship of the target descriptors, the target source material corresponding to the target descriptor is retrieved from the storage.

[0080] Understandably, since the complete content of the source material is always stored in persistent storage, replacing the source content with natural language descriptors only occurs at the main context level. Therefore, the complete information of the source material can be retrieved without loss. Here, "persistent storage" refers to a storage medium or storage system independent of the main context, used to store the complete original content of the source material and its mapping relationship with natural language descriptors.

[0081] Optionally, the matching result of step S205 can be in two states: there is a target descriptor that matches the request intent, and there is no target descriptor that matches the request intent. For the latter, in another embodiment of this application, it further includes:

[0082] When no target descriptor matching the request intent is found among all natural language descriptors, a message indicating no matching source material is sent to the main model to maintain the context of the main model.

[0083] In essence, when all natural language descriptors fail to semantically match the request intent, it indicates that none of the currently stored source materials are capable of responding to the main model's current request. In this case, the system does not retrieve or integrate any source materials; instead, it returns a message to the main model indicating that no matching source material exists. This message informs the main model that its current request cannot be fulfilled, and the main model then continues generating or adjusting the requested content accordingly. This feedback mechanism effectively avoids introducing noise due to forced matching of incorrect source materials, thus ensuring the quality of the generated content.

[0084] S206. Integrate the target source material into the context corresponding to the main model, and the main model generates and outputs the results based on the integrated context.

[0085] Specifically, "integration" refers to the operation of injecting the retrieved target source material into the context window of the main model. The target source material can be inserted in its original form at the end of the context window or at a preset position, or it can be formatted before insertion to fit the input format requirements of the main model. After the integration operation is completed, the context window of the main model contains the target source material, and the main model performs subsequent generation based on the integrated context.

[0086] It should be noted that after the target source material (or filtered content fragments) is integrated into the main context, the main model's context window contains all the information needed to complete the current generation task. The main model continues to perform inference and generation operations based on this integrated context, outputting the final result. Because the target source material is accurately recalled based on request intent rather than surface similarity, the factual information relied upon by the main model is reliable and highly targeted, and the generated results effectively respond to the user's real needs.

[0087] Optionally, the target source materials retrieved in step S205 may have varying data volumes. For cases with large data volumes, directly incorporating them might consume too much context space. Therefore, in another embodiment of this application, before performing step S206, the following is further included:

[0088] If the data volume of the target source material is greater than a preset data volume, and if so, a content fragment corresponding to the current request information is selected from the target source material and used as the target source material. If the data volume of the target source material is not greater than the preset data volume, the process of integrating the target source material into the context corresponding to the main model is executed, and the main model generates and outputs the result based on the integrated context.

[0089] Here, "preset data volume" refers to a pre-set data volume threshold. Its value can be determined based on the remaining capacity of the main model's context window, or it can be set based on measurement units such as the number of tokens, bytes, or lines. The purpose of content filtering is that when the target source material is too large, directly integrating its complete content into the main context may quickly fill the remaining space of the context window, preventing other necessary information from being loaded. Therefore, it is necessary to filter out content fragments related to the current request information from the target source material, integrating only the truly needed parts into the context, which can effectively save context space. The filtered content fragments related to the current request information are used as the target source material, and step S206 is continued. When the size of the target source material is within the range of the preset data volume, step S206 is executed directly.

[0090] It is understandable that there are multiple ways to filter content fragments. For example, in one implementation, a large language model can be used to extract content from the target source material, identifying paragraphs or chapters semantically related to the currently requested information. In another implementation, rule-based extraction can be used to extract relevant content based on keyword location or structural tags. Yet another implementation can select by structural unit, such as filtering by function, chapter, or table column. This application does not limit the specific filtering method.

[0091] This application provides a method for processing cross-modal information. By replacing the original content of the source material with natural language descriptors and loading it into the main context, the context occupancy is reduced, and a unified retrieval basis is provided for cross-modal source materials. At the same time, by performing intent analysis on the current request information of the main model and using request intent matching descriptors, the retrieval method that relies on surface vector similarity is replaced. This allows key source materials that are not similar to the literal and semantic meaning of the query but meet the intent to be accurately recalled. The recalled source materials are then integrated into the context of the main model for generation, avoiding the truncation and omission of key materials due to their low similarity ranking. This ensures that the generated results have sufficient factual support and ultimately effectively respond to the user's true intent.

[0092] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0093] Although the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous.

[0094] Another embodiment of this application provides a cross-modal information processing system, such as... Figure 3 As shown, it includes the following units:

[0095] Acquisition unit 301 is used to acquire source materials in multiple modes.

[0096] The processing unit 302 is used to perform descriptor processing on each type of source material to obtain a natural language descriptor corresponding to each type of source material. The natural language descriptor is used to represent a summary of the content of the source material.

[0097] Replacement unit 303 is used to replace each source material with the corresponding natural language descriptor.

[0098] Analysis unit 304 is used to obtain the current request information of the main model and perform intent analysis on the current request information to obtain the request intent. The current request information indicates the information issued by the main model during the generation process to request the acquisition of the target source material.

[0099] The material acquisition unit 305 is used to search for a target descriptor that matches the request intent from all natural language descriptors, and to retrieve the target source material corresponding to the target descriptor from the storage.

[0100] The integration unit 306 is used to integrate the target source material into the context corresponding to the main model, and the main model generates and outputs the results based on the integrated context.

[0101] It should be noted that the specific working process of the above-mentioned units in the embodiments of this application can be referred to steps S201 to S206 in the above method embodiments, and will not be repeated here.

[0102] Optionally, another embodiment of this application provides a cross-modal information processing system, which further includes:

[0103] The storage unit is used to map and store each source material and its corresponding natural language descriptor.

[0104] Optionally, in another embodiment of this application, a cross-modal information processing system includes a material acquisition unit 305, comprising:

[0105] The material acquisition subunit is used to retrieve the target source material corresponding to the target descriptor from the storage according to the mapping relationship of the target descriptor.

[0106] Optionally, another embodiment of this application provides a cross-modal information processing system, which further includes:

[0107] The judgment unit is used to determine whether the data volume of the target source material is greater than the preset data volume. Specifically, when the judgment unit determines that the data volume of the target source material is not greater than the preset data volume, the integration unit performs the integration of the target source material into the context corresponding to the main model, and the main model generates and outputs the results based on the integrated context.

[0108] The filtering unit is used to filter out content fragments corresponding to the current request information from the target source material if the data volume of the target source material is greater than the preset data volume, and to use the content fragments as the target source material.

[0109] Optionally, another embodiment of this application provides a cross-modal information processing system, which further includes:

[0110] The feedback unit is used to provide a prompt message to the main model that there is no matching source material when no target descriptor matching the request intent is found among all natural language descriptors, so as to maintain the context of the main model unchanged.

[0111] It should be noted that the specific working process of each unit provided in the above embodiments of this application can be referred to the corresponding steps in the above method embodiments, and will not be repeated here.

[0112] It should also be noted that the cross-modal information processing system provided in this application has the technical effects of any of the above embodiments, and will not be described in detail here.

[0113] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0114] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing cross-modal information, characterized in that, include: Acquire source materials with multiple modes; Each of the source materials is processed by descriptor processing to obtain a natural language descriptor corresponding to each source material; wherein, the natural language descriptor is used to characterize the content summary of the source material; Replace each of the aforementioned source materials with the corresponding natural language descriptor; Obtain the current request information of the main model and perform intent analysis on the current request information to obtain the request intent; wherein, the current request information indicates the information issued by the main model during the generation process for requesting to obtain the target source material; Search for the target descriptor that matches the request intent from all natural language descriptors, and retrieve the target source material corresponding to the target descriptor from storage; The target source material is integrated into the context corresponding to the main model, and the main model generates and outputs the result based on the integrated context.

2. The method according to claim 1, characterized in that, After replacing each of the source materials with the corresponding natural language descriptor, the method further includes: Each of the aforementioned source materials and its corresponding natural language descriptor is mapped and stored.

3. The method according to claim 2, characterized in that, The step of retrieving the target source material corresponding to the target descriptor from storage includes: Based on the mapping relationship of the target descriptors, the target source material corresponding to the target descriptor is obtained from the storage.

4. The method according to claim 1, characterized in that, Before incorporating the target source material into the context corresponding to the main model, the method further includes: Determine whether the amount of data for the target source material is greater than a preset amount of data; If the data volume of the target source material is greater than the preset data volume, then the content fragment corresponding to the current request information is selected from the target source material, and the content fragment is used as the target source material; If the amount of data of the target source material is not greater than the preset amount of data, then the process of integrating the target source material into the context corresponding to the main model is executed, and the main model generates and outputs the result based on the integrated context.

5. The method according to claim 1, characterized in that, Also includes: When no target descriptor matching the requested intent is found among all natural language descriptors, a prompt message indicating no matching source material is sent to the main model to maintain the context of the main model.

6. A cross-modal information processing system, characterized in that, include: Acquisition unit, used to acquire source materials in multiple modes; A processing unit is configured to perform descriptor processing on each of the source materials to obtain a natural language descriptor corresponding to each of the source materials; wherein the natural language descriptor is used to characterize the content summary of the source material; A replacement unit is used to replace each of the source materials with a corresponding natural language descriptor; The analysis unit is used to obtain the current request information of the main model and perform intent analysis on the current request information to obtain the request intent; wherein, the current request information indicates the information issued by the main model during the generation process for requesting to obtain the target source material; The material acquisition unit is used to search for a target descriptor that matches the request intent from all natural language descriptors, and to retrieve the target source material corresponding to the target descriptor from the storage; The integration unit is used to integrate the target source material into the context corresponding to the main model, and the main model generates and outputs the result based on the integrated context.

7. The system according to claim 6, characterized in that, Also includes: A storage unit is used to map and store each of the source materials and its corresponding natural language descriptors.

8. The system according to claim 7, characterized in that, The material acquisition unit includes: The material acquisition subunit is used to acquire the target source material corresponding to the target descriptor from the storage according to the mapping relationship of the target descriptor.

9. The system according to claim 6, characterized in that, Also includes: The judgment unit is used to determine whether the data volume of the target source material is greater than a preset data volume; wherein, when the judgment unit determines that the data volume of the target source material is not greater than the preset data volume, the integration unit performs the process of integrating the target source material into the context corresponding to the main model, and the main model generates and outputs the result based on the integrated context; The filtering unit is configured to, if the amount of data in the target source material is greater than the preset amount of data, filter out the content fragment corresponding to the current request information from the target source material and use the content fragment as the target source material.

10. The system according to claim 6, characterized in that, Also includes: The feedback unit is used to provide a prompt message indicating that there is no matching source material to the main model when no target descriptor matching the request intent is found among all natural language descriptors, so as to maintain the context of the main model unchanged.