A method and system for information retrieval based on semantic analysis
By constructing a knowledge-enhanced cross-modal semantic association model and an incremental learning algorithm, the problem of image and audio semantic processing in multimodal archive retrieval was solved, achieving efficient and accurate multimodal archive retrieval and improving retrieval efficiency and accuracy.
Patent Information
- Application Number
- CN202611098862.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-23
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies are ill-suited to the needs of multimodal archive retrieval, cannot directly process image spatial semantics and audio contextual semantics, lack dynamic data incremental learning mechanisms, and have not established multimodal semantic associations, resulting in low retrieval efficiency and insufficient accuracy.
A knowledge-enhanced cross-modal semantic association model is constructed. Through semantic mapping guided by knowledge graphs and dynamic weight optimization, deep semantic associations between multimodal semantic features are established. An incremental learning algorithm is used to locally update the model to achieve cross-modal associative retrieval.
Breaking through the limitations of text-centricity, it directly extracts semantic information from images and audio, constructs a unified semantic space, and achieves efficient and accurate multimodal archive retrieval, improving retrieval convenience and timeliness while reducing computational costs.
Smart Images

Figure CN123178656A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to an information retrieval method and system based on semantic analysis. Background Technology
[0002] In recent years, with the deep application of digital information technology in the field of archival management, the form of archives has been rapidly evolving from traditional single paper texts to multimodal integrated forms. In archives of government, medical, construction and enterprise sectors, the proportion of multimodal archives, including policy documents, engineering drawings, meeting recordings, medical records, interview transcripts and other data, has been rising continuously. These archives carry spatial information, contextual information and scene details that cannot be replaced by structured texts, and have become key data assets supporting business decisions, tracing workflows and passing on core knowledge.
[0003] Currently, Chinese invention patent CN119961435A discloses an intelligent retrieval method for archival information based on semantic analysis. This method involves scanning and collecting archival data, performing semantic analysis on the archival information dataset to extract search keywords, generating a first-letter sequence list, dividing the archival information retrieval into sections, setting hierarchical retrieval verification methods, and constructing a training set to obtain an archival retrieval model. Ultimately, it achieves semantic retrieval and security management of archival information. However, the retrieval paradigm in this technology remains limited to text-centric approaches and does not address the semantic essence of non-textual modalities. Therefore, OCR and speech-to-text conversion are still needed to transform images and audio into text. Post-retrieval cannot directly extract spatial semantics from images and contextual semantics from audio; it lacks a semantic mapping mechanism guided by knowledge graphs, making it impossible to establish deep semantic connections between multimodal features based on domain knowledge, thus hindering the formation of a unified semantic space; it also lacks dynamic weight optimization strategies, failing to adjust the weight ratio of each modal feature in the association calculation according to the quality of modal data, making it susceptible to interference from low-quality data; furthermore, it lacks an adaptive incremental learning mechanism, requiring retraining of the entire model for newly added archive data, resulting in delayed data retrieval. This makes it impossible to achieve cross-modal associative information acquisition, and it is difficult to guarantee retrieval accuracy and timeliness, failing to meet the efficient retrieval needs of multimodal archives. Summary of the Invention
[0004] The technical problem solved by this invention is that existing technologies are difficult to adapt to the needs of multimodal archive retrieval. They cannot directly process image spatial semantics and audio contextual semantics to break through the limitations of text-centrism, lack dynamic data incremental learning mechanisms, and have not established multimodal semantic associations, making it difficult to achieve efficient and associative multimodal archive retrieval.
[0005] To address the aforementioned technical problems, this invention provides the following technical solution: an information retrieval method based on semantic analysis, comprising the following steps:
[0006] Step S1: Acquire multimodal profile data and perform preprocessing;
[0007] Step S2: Extract multimodal semantic features from the preprocessed multimodal archive data.
[0008] Step S3: Construct a knowledge-enhanced cross-modal semantic association model. Through semantic mapping guided by knowledge graph and dynamic weight optimization, establish deep semantic associations between multimodal semantic features to form a unified semantic space with reasoning capabilities.
[0009] Step S4: When new archive data is added, the incremental learning algorithm is used to update the local parameters of the knowledge-enhanced cross-modal semantic association model, and the semantic features of the new archive data are embedded into the unified semantic space.
[0010] Step S5: Receive user search requests, convert search requests into corresponding semantic features and map them to a unified semantic space, perform matching search in the unified semantic space, generate and return multimodal search results.
[0011] As a preferred embodiment of the information retrieval method based on semantic analysis described in this invention, step S1 includes the following sub-steps:
[0012] Step S101: The multimodal archive data includes text data, image data, and audio data. Collect text archive data, perform text cleaning on the text data to remove redundant characters, special symbols, and invalid information, and perform word segmentation, part-of-speech tagging, and stop word removal. The text archive data includes policy documents, technical documents, and explanatory text.
[0013] Step S102: Collect image data. For the image data, first perform noise reduction and size normalization processing. If the image data is an engineering drawing or design sketch, perform region segmentation to separate the key regions. The image data includes engineering drawings, design sketches and on-site photos. The key regions include dimension annotation areas, component type areas and spatial layout areas.
[0014] Step S103: Acquire audio data, perform audio noise reduction and unified sampling rate processing on the audio data, convert the audio data into text using speech recognition technology, and extract the speech tone features of the audio. The audio data includes meeting recordings, interview transcripts, and narration audio.
[0015] As a preferred embodiment of the information retrieval method based on semantic analysis described in this invention, step S2 includes the following sub-steps:
[0016] Step S201: For the preprocessed text data, a pre-trained language model is used to extract text semantic features, which include domain-specific lexical semantics and sentence logical semantics.
[0017] Step S202: For the preprocessed image data, a convolutional neural network is used to extract features from key regions of the image to obtain image semantic features. The image semantic features include entity features and structural features. The entity features include size labels and component types. The structural features include spatial layout relationships.
[0018] Step S203: For the preprocessed audio data, analyze the speech tone features through a speech emotion recognition model, determine the importance of each part of the audio content and add key marks, combine the text converted from speech recognition and the key marks, and use an audio semantic analysis model to extract audio semantic features. The audio semantic features include the semantics of key content corresponding to the emphasis tone in the meeting recording and the semantics of core information in the interview recording.
[0019] As a preferred embodiment of the information retrieval method based on semantic analysis described in this invention, the text semantic features, image semantic features, and audio semantic features are used as multimodal semantic features. The audio semantic analysis model establishes a mapping relationship between tone intensity and information importance by associating speech intonation features with corresponding text semantics, prioritizing the extraction of high-importance audio semantic features corresponding to emphasis tone, and retaining key identification information in the extraction results.
[0020] As a preferred embodiment of the semantic analysis-based information retrieval method of the present invention, step S3 includes the following sub-steps:
[0021] Step S301: Construct a domain knowledge graph, which includes entities and relationships between entities extracted from multimodal semantic features. The entities include technical terms in text, component objects in images, and event subjects in audio. The relationships between entities include hierarchical relationships between text terms, assembly relationships between image components, and temporal relationships between audio events. A knowledge representation learning algorithm is used to convert each entity and relationship between entities in the domain knowledge graph into a low-dimensional dense vector of a preset dimension, forming an entity vector library and a relationship vector library. The entity vectors and relationship vectors together constitute semantic association priors.
[0022] Step S302, based on the semantic association prior, train the cross-modal mapping model using a contrastive learning approach, specifically including:
[0023] The multimodal semantic features are used as input, and the mapping relationship between different modal features is optimized through the triplet loss function;
[0024] Step S303: Introduce a dynamic weighting mechanism to adjust the weight ratio of the multimodal semantic features in the association calculation in real time according to the modal data quality parameters. The modal data quality parameters include text clarity parameters, image resolution parameters, and audio signal-to-noise ratio parameters.
[0025] Step S304: The entity vector, relation vector and cross-modal mapping features corresponding to the semantic association prior are fused to construct a unified semantic space. The reasoning relationship between semantic features in the unified semantic space is modeled by a graph neural network. The reasoning relationship includes the association path between the image semantic features of the component and the text semantic features of the installation process.
[0026] As a preferred embodiment of the semantic analysis-based information retrieval method described in this invention, the contrastive learning training process employs a hard negative sample mining strategy, specifically including:
[0027] From the multimodal semantic features, a set of semantically related cross-modal features are selected as positive sample pairs. The positive sample pairs include text semantic features and corresponding image semantic features, text semantic features and corresponding audio semantic features, and image semantic features and corresponding audio semantic features.
[0028] Based on the domain knowledge graph and semantic association prior, cross-modal features that have partial semantic overlap but are not completely related to the features in the positive sample pair are selected as difficult negative samples. The difficult negative samples include features that belong to different modalities from the features in the positive sample pair and have indirect or homologous associations with the corresponding entities of the positive samples in the domain knowledge graph.
[0029] The positive sample pairs and the hard negative samples are input into the cross-modal mapping model. The feature discrimination between the positive sample pairs and the hard negative samples is enhanced by the triple loss function, so that the distance between the positive sample pairs in the mapped vector space is less than a preset threshold, while the distance between the corresponding features of the hard negative samples and the positive sample pairs is greater than the preset threshold.
[0030] As a preferred embodiment of the semantic analysis-based information retrieval method of the present invention, step S4 includes the following sub-steps:
[0031] Step S401: Identify the modal type of the newly added archive data and perform preprocessing;
[0032] Step S402: Using an incremental semantic encoder, the semantic features of the newly added archive data are compared bidirectionally with the existing features in the unified semantic space and the knowledge graph entities to obtain the comparison results, which include related entities and newly added relationships.
[0033] Step S403: Based on the comparison results, update the local parameters associated with the semantic features of the newly added archive data in the cross-modal mapping model and the incremental subgraph of the knowledge graph, embed the semantic features of the newly added archive data into a unified semantic space, and maintain the consistency of semantic reasoning relationships through the knowledge graph completion algorithm.
[0034] As a preferred embodiment of the information retrieval method based on semantic analysis described in this invention, step S5 includes the following sub-steps:
[0035] Step S501: Receive a search request input by the user through the search interface. The search request includes text keywords, image examples, and audio clips.
[0036] Step S502: Convert the retrieval request into corresponding semantic features, and perform semantic expansion operation in combination with the knowledge graph. The semantic expansion includes expanding text keywords into related entities and projecting the expanded semantic features onto the unified semantic space.
[0037] Step S503: In the unified semantic space, a comprehensive matching degree is calculated by fusing cosine similarity and knowledge graph path similarity. The knowledge graph path similarity includes the shortest association path length between two entities. Archive data with a comprehensive matching degree greater than a first preset threshold are selected as candidate results. The data are sorted and categorized according to the comprehensive matching degree, and key semantic matching points and knowledge association paths are marked before being fed back to the user.
[0038] As a preferred embodiment of the information retrieval method based on semantic analysis described in this invention, when the retrieval request is a text keyword, the returned multimodal retrieval results include text data that directly matches the text keyword, image data containing entity features corresponding to the text keyword, audio data that mentions the text keyword and has a key marker, and extended results in the knowledge graph that are indirectly associated with the entity of the text keyword. The extended results include associated technical standards and similar cases.
[0039] A semantic analysis-based information retrieval system, applied in the aforementioned semantic analysis-based information retrieval method, includes a data acquisition module, an extraction module, an association module, an incremental learning module, and a retrieval matching module;
[0040] The acquisition module is used to acquire multimodal archive data and perform preprocessing operations;
[0041] The extraction module is used to extract multimodal semantic features from the preprocessed multimodal archive data.
[0042] The association module is used to construct a knowledge-enhanced cross-modal semantic association model, which projects multimodal semantic features onto a unified semantic space through knowledge graph guidance and comparative learning optimization.
[0043] The incremental learning module is used to identify the modality type of newly added archive data, extract the semantic features of the newly added archive data and embed them into the unified semantic space, and synchronously update the knowledge graph.
[0044] The retrieval and matching module is used to receive user retrieval requests, generate multimodal retrieval results through semantic expansion and comprehensive similarity calculation, label matching information and knowledge association paths, and feed them back to the user.
[0045] The beneficial effects of this invention are as follows: It overcomes the limitations of text-centric approaches by directly extracting spatial semantics from images and contextual semantics from audio through targeted models, preserving key semantic information from non-textual modalities, and accurately adapting to multimodal archive retrieval needs; relying on knowledge graph-guided semantic mapping and dynamic weight optimization, it constructs a unified semantic space, establishes deep association and reasoning capabilities for multimodal features, and achieves cross-modal associative retrieval without repeatedly searching various modal databases, thus improving retrieval convenience; employing an incremental learning algorithm, it locally updates model parameters and incremental subgraphs of the knowledge graph to complete the embedding of semantic features of newly added archives, avoiding full model retraining, ensuring retrieval timeliness, and reducing computational costs; it integrates cosine similarity and knowledge graph path similarity to calculate comprehensive matching degree, combined with semantic expansion and hard negative sample mining, improving retrieval accuracy and recall, and providing comprehensive multimodal archive support for business decisions. Attached Figure Description
[0046] Figure 1 A flowchart illustrating the steps of an information retrieval method based on semantic analysis, provided in one embodiment of the present invention;
[0047] Figure 2 This is a basic flowchart of an information retrieval system based on semantic analysis, provided as an embodiment of the present invention. Detailed Implementation
[0048] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0049] Example 1, referring to Figure 1 This paper provides an information retrieval method based on semantic analysis, which includes the following steps:
[0050] Step S1: Acquire multimodal profile data and perform preprocessing;
[0051] Step S2: Extract multimodal semantic features from the preprocessed multimodal archive data.
[0052] Step S3: Construct a knowledge-enhanced cross-modal semantic association model. Through semantic mapping guided by knowledge graph and dynamic weight optimization, establish deep semantic associations between multimodal semantic features to form a unified semantic space with reasoning capabilities.
[0053] Step S4: When new archive data is added, the incremental learning algorithm is used to update the local parameters of the knowledge-enhanced cross-modal semantic association model, and the semantic features of the new archive data are embedded into the unified semantic space.
[0054] Step S5: Receive user search requests, convert search requests into corresponding semantic features and map them to a unified semantic space, perform matching search in the unified semantic space, generate and return multimodal search results.
[0055] This invention focuses on the end-to-end semantic processing and efficient retrieval of multimodal archival data. It acquires multimodal archival data including text, image, and audio data, and performs preprocessing for each modality. Text data undergoes cleaning and word segmentation to remove invalid information. Image data is optimized for feature extraction through noise reduction, size normalization, and key region segmentation (for engineering drawings, etc.). Audio data is converted into text after noise reduction and sampling rate unification, and speech intonation features are extracted. Based on the preprocessed data, an adaptive model is used to extract multimodal semantic features. Text semantic features (including domain-specific vocabulary and sentence logic semantics) are obtained through a pre-trained language model. Image semantic features (including entity and structural features) are extracted using a convolutional neural network. Audio semantic features are obtained by combining speech emotion recognition and audio semantic analysis models. A knowledge-enhanced cross-domain... The modal semantic association model first extracts entities and relationships from multimodal semantic features to construct a domain knowledge graph and transforms it into vectors to form a semantic association prior. Then, based on this prior, a cross-modal mapping model is trained through contrastive learning. Combined with a dynamic weight mechanism (adjusting modal weights according to data quality), the knowledge graph vectors and cross-modal mapping features are integrated to construct a unified semantic space with reasoning capabilities. For newly added archive data, after modality recognition and preprocessing, an incremental semantic encoder compares it with existing features and knowledge graph entities, updating only the model parameters and knowledge graph subgraphs locally to embed the new semantic features into the unified semantic space. When receiving user multimodal retrieval requests, the model transforms them into semantic features and maps them to the unified semantic space after knowledge graph expansion. The model then filters and ranks the results through comprehensive similarity calculation, labels matching points and association paths, and provides feedback to achieve efficient cross-modal retrieval.
[0056] Step S1 includes the following sub-steps:
[0057] Step S101, the multimodal archive data includes text data, image data and audio data, collect text archive data, perform text cleaning on the text data, remove redundant characters, special symbols and invalid information, perform word segmentation, part-of-speech tagging and stop word removal processing, and the text archive data includes policy documents, technical documents and explanatory text;
[0058] Step S102, collect image data, perform denoising and size normalization processing on the image data first, if the image data is engineering drawings or design sketches, perform area segmentation to separate key areas, the image data includes engineering drawings, design sketches and on-site photos, and the key areas include dimension marking areas, component type areas and spatial layout areas;
[0059] Step S103, obtain audio data, perform audio denoising and sampling rate unification processing on the audio data, convert the audio data into text through speech recognition technology, and extract the speech intonation features of the audio at the same time, the audio data includes conference recordings, interview records and explanation audios.
[0060] In one embodiment, through the adaptive processing of different modal data, a high-quality data foundation is laid for subsequent semantic feature extraction. The text archive data involved in processing the text archive data covers policy documents, technical documents and explanatory text supporting business scenarios. First, remove redundant characters, special symbols and invalid information (such as meaningless garbled characters and repeated content) in the data through text cleaning operations, and then perform word segmentation (disassembling the text into analyzable word units), part-of-speech tagging (marking the grammatical attributes of each word, such as nouns and verbs) and stop word removal (removing high-frequency words without substantive semantics such as "de" and "le") in sequence to complete the standardization of text data; the collected image data includes engineering drawings, design sketches and on-site photos, etc., first perform denoising (eliminating interference noise in the image to improve clarity) and size normalization (adjusting images of different resolutions to a preset uniform size for subsequent model processing) operations, if the image data is of a type containing professional structured information such as engineering drawings or design sketches, additionally perform area segmentation processing to accurately separate key information areas such as dimension marking areas (areas recording component dimension parameters), component type areas (areas marking component names and specifications) and spatial layout areas (areas showing the positional relationship between components); for audio data processing, the obtained audio data includes conference recordings, interview records and explanation audios. First, complete basic optimization through audio denoising (removing background noise and current sound interference) and sampling rate unification (adjusting audios of different sampling rates to a consistent standard), and then convert audio signals into analyzable text data with the help of speech recognition technology, and simultaneously extract speech intonation features (such as speech rate, pitch changes and tone intensity) in the audio, so as to provide a basis for key content recognition in subsequent audio semantic feature extraction.
[0061] Step S2 includes the following sub-steps:
[0062] Step S201: For the preprocessed text data, a pre-trained language model is used to extract text semantic features, which include domain-specific lexical semantics and sentence logical semantics.
[0063] Step S202: For the preprocessed image data, a convolutional neural network is used to extract features from the key regions of the image to obtain image semantic features. Image semantic features include entity features and structural features. Entity features include size labels and component types, and structural features include spatial layout relationships.
[0064] Step S203: For the preprocessed audio data, analyze the speech tone features through a speech emotion recognition model, determine the importance of each part of the audio content and add key marks, combine the text converted from speech recognition and the key marks, and use an audio semantic analysis model to extract audio semantic features. The audio semantic features include the semantics of key content corresponding to the emphasis tone in the meeting recording and the semantics of core information in the interview recording.
[0065] Text semantic features, image semantic features, and audio semantic features are used as multimodal semantic features. The audio semantic analysis model establishes a mapping relationship between tone intensity and information importance by associating speech intonation features with corresponding text semantics during training. It prioritizes the extraction of high-importance audio semantic features corresponding to emphasis tone and retains key identification information in the extraction results.
[0066] In one embodiment, for the preprocessed text data, a pre-trained language model (such as the BERT series models adapted to the domain scenario) is used to perform text semantic feature extraction. The extracted text semantic features cover two types of core information: first, domain-specific vocabulary semantics (such as the meaning of professional terms like "concrete strength" and "component assembly" in the construction field); second, sentence logical semantics (such as the causal and parallel logical relationships between sentences in technical documents). Step S202, for the preprocessed image data, uses a convolutional neural network (such as CNN and its improved models) to extract features from key areas of the image (dimension annotation areas of engineering drawings or design sketches, component type areas, spatial layout areas, and core target areas of on-site photos). The obtained image semantic features are divided into entity features and structural features. Entity features include dimension annotations in the image (such as the length and width parameters of components) and component types (such as the category information of components like "beam" and "column"). Structural features refer to the spatial layout relationships between components (such as the relative positions and connection methods of components). For the preprocessed audio data, the extracted speech tone features (speech rate, pitch, and intensity) are first processed by a speech emotion recognition model. The analysis quantifies the intensity of the tone into a numerical range of 0-100, with a preset threshold of 70. A tone intensity ≥ 70 is considered emphatic and marked as "highly important," while a tone intensity < 70 is marked as "regularly important." Combining the text data converted from speech recognition with the aforementioned markers, an audio semantic analysis model is used to extract audio semantic features. These features specifically include the semantic meaning of highly important key content corresponding to emphatic tone in meeting recordings (such as repeatedly emphasized decision-making matters in meetings) and the semantic meaning of core information in interview recordings (such as key viewpoints in expert interviews). (Points); Among them, the audio semantic analysis model constructs a mapping relationship between tone intensity and information importance by pre-training the association between speech intonation features and corresponding text semantics (i.e., "tone intensity ≥ 70" corresponds to "high information importance"). It can prioritize the extraction of high-importance audio semantic features corresponding to emphasis tone, and retain key identification information in the extraction results for subsequent association and retrieval. Finally, the text semantic features, image semantic features and audio semantic features extracted in steps S201, S202 and S203 are integrated into multimodal semantic features, laying the foundation for subsequent cross-modal semantic association.
[0067] Step S3 includes the following sub-steps:
[0068] Step S301: Construct a domain knowledge graph. The domain knowledge graph includes entities and relationships between entities extracted from multimodal semantic features. Entities include technical terms in text, component objects in images, and event subjects in audio. Relationships between entities include hierarchical relationships between text terms, assembly relationships between image components, and temporal relationships between audio events. A knowledge representation learning algorithm is used to convert each entity and relationship between entities in the domain knowledge graph into a low-dimensional dense vector of a preset dimension, forming an entity vector library and a relationship vector library. The entity vectors and relationship vectors together constitute the semantic association prior.
[0069] Step S302, based on semantic association priors, trains a cross-modal mapping model using a contrastive learning approach, specifically including:
[0070] Multimodal semantic features are used as input, and the mapping relationship between different modal features is optimized through the triplet loss function;
[0071] Step S303 introduces a dynamic weighting mechanism to adjust the weight ratio of multimodal semantic features in association calculation in real time according to modal data quality parameters. Modal data quality parameters include text clarity parameters, image resolution parameters, and audio signal-to-noise ratio parameters.
[0072] Step S304: The entity vectors, relation vectors and cross-modal mapping features corresponding to the semantic association prior are fused to construct a unified semantic space. The reasoning relationship between semantic features in the unified semantic space is modeled by a graph neural network. The reasoning relationship includes the association path between the image semantic features of the component and the text semantic features of the installation process.
[0073] The contrastive learning training process employs a hard negative sample mining strategy, specifically including:
[0074] From the multimodal semantic features, a set of semantically related cross-modal features are selected as positive sample pairs. Positive sample pairs include text semantic features and corresponding image semantic features, text semantic features and corresponding audio semantic features, and image semantic features and corresponding audio semantic features.
[0075] Based on the domain knowledge graph and semantic association prior, cross-modal features that have partial semantic overlap with the features in the positive sample pair but are not completely related are selected as difficult negative samples. Difficult negative samples include features that belong to different modalities in the positive sample pair and have indirect or homologous associations with the corresponding entities of the positive sample in the domain knowledge graph.
[0076] Positive sample pairs and hard negative samples are input into the cross-modal mapping model. The feature discrimination between positive sample pairs and hard negative samples is enhanced by the triple loss function, so that the distance between positive sample pairs in the mapped vector space is less than a preset threshold, while the distance between the corresponding features of hard negative samples and positive sample pairs is greater than a preset threshold.
[0077] In one embodiment, a domain knowledge graph is constructed. Entities (technical terms in text, component objects in images, and event subjects in audio) and relationships between entities (hierarchical relationships between text terms, assembly relationships between image components, and temporal relationships between audio events) are extracted from the multimodal semantic features. Then, a knowledge representation learning algorithm (such as TransE or Node2Vec) is used to convert each entity and relationship into a low-dimensional dense vector of a preset dimension (such as 128 or 256 dimensions), forming an entity vector library and a relationship vector library, which together constitute a semantic association prior. Based on this semantic association prior, a cross-modal mapping model is trained using a contrastive learning approach. Multimodal semantic features are used as input, and the mapping relationships between different modal features are optimized through a triplet loss function. The contrastive learning process employs a hard negative sample mining strategy: semantically related cross-modal features are selected from the multimodal semantic features as positive sample pairs (such as text semantic features and corresponding image / audio semantic features, image semantic features and corresponding audio semantic features). Based on the domain knowledge graph and semantic association priors, cross-modal features that partially overlap with positive sample pairs but are not fully related (belonging to different modalities and whose corresponding entities are indirectly or at the same level in the knowledge graph) are selected as hard-negative samples. After inputting positive sample pairs and hard-negative samples into the model, the discrimination is enhanced by a triplet loss function, ensuring that the vector distance of positive sample pairs after mapping is less than 0.3, and the distance between the hard-negative samples and the corresponding features of positive samples is greater than this threshold. A dynamic weighting mechanism is introduced to adjust the weight ratio of multimodal semantic features in association calculation in real time according to modal data quality parameters (text clarity parameters, image resolution parameters, audio signal-to-noise ratio parameters), with higher data quality modalities having larger weights. The entity vectors and relation vectors corresponding to the semantic association priors are fused with the output cross-modal mapping features to construct a unified semantic space. Then, a graph neural network is used to model the reasoning relationships between semantic features in the space (such as the association path between the image semantic features of components and the text semantic features of the installation process), enabling the unified semantic space to have cross-modal semantic reasoning capabilities.
[0078] Step S4 includes the following sub-steps:
[0079] Step S401: Identify the modal type of the newly added archive data and perform preprocessing;
[0080] Step S402: Using an incremental semantic encoder, the semantic features of the newly added archive data are compared bidirectionally with the existing features and knowledge graph entities in the unified semantic space to obtain the comparison results, which include related entities and newly added relationships.
[0081] Step S403: Based on the comparison results, update the local parameters associated with the semantic features of the newly added archive data in the cross-modal mapping model and the incremental subgraph of the knowledge graph, embed the semantic features of the newly added archive data into the unified semantic space, and maintain the consistency of semantic reasoning relationships through the knowledge graph completion algorithm.
[0082] In one embodiment, the newly added archive data undergoes modality type identification to determine whether it belongs to text, image, or audio data. Text data is cleaned and segmented; image data undergoes noise reduction, size normalization, and key region segmentation (e.g., for engineering drawings); audio data undergoes noise reduction, sampling rate unification, and speech-to-text conversion and intonation feature extraction to ensure format consistency between the newly added and existing archive data. An incremental semantic encoder is introduced to bidirectionally compare the semantic features of the preprocessed newly added archive data with existing multimodal semantic features in a unified semantic space and entity vectors in a domain knowledge graph. By calculating feature similarity and entity association, features containing "new features" are obtained. The comparison results of "related existing entities" and "new relationships between new features and existing entities" are used. Based on the above comparison results, only the local parameters directly related to the new semantic features in the cross-modal mapping model are updated (without retraining the entire model). At the same time, an incremental subgraph of the knowledge graph (containing new entities and new relationships) is generated. The new semantic features are embedded into the corresponding positions in the unified semantic space. Simultaneously, a knowledge graph completion algorithm (such as a completion method based on rule reasoning or embedding propagation) is used to verify and correct the logical consistency between the new relationships and existing relationships, ensuring the coherence and accuracy of semantic reasoning relationships in the unified semantic space, and realizing the rapid online deployment and retrieval of new archive data.
[0083] Step S5 includes the following sub-steps:
[0084] Step S501: Receive a search request input by the user through the search interface. The search request includes text keywords, image examples, and audio clips.
[0085] Step S502: Convert the retrieval request into corresponding semantic features, and perform semantic expansion operations in conjunction with the knowledge graph. Semantic expansion includes expanding text keywords into related entities and projecting the expanded semantic features into a unified semantic space.
[0086] Step S503: In the unified semantic space, the comprehensive matching degree is calculated by fusing cosine similarity and knowledge graph path similarity. The knowledge graph path similarity includes the shortest association path length between two entities. Archive data with a comprehensive matching degree greater than the first preset threshold are selected as candidate results. The data are sorted and classified according to the comprehensive matching degree, and the key semantic matching points and knowledge association paths are marked and then fed back to the user.
[0087] When the search request is a text keyword, the returned multimodal search results include text data that directly matches the text keyword, image data containing entity features corresponding to the text keyword, audio data that mentions the text keyword and is highlighted, and extended results in the knowledge graph that are indirectly related to the entities of the text keyword. The extended results include related technical standards and similar cases.
[0088] In one embodiment, a multimodal search request input by a user through a search interface is received. This request can cover various forms, such as text keywords (e.g., "concrete strength testing"), image examples (e.g., design sketches of a certain type of component), and audio clips (e.g., recordings of a meeting mentioning a specific technology), to adapt to different users' search habits and information needs. For the user's input search request, the feature extraction method consistent with step S2 is used to convert it into corresponding semantic features (text requests extract text semantic features, image requests extract image semantic features, and audio requests extract audio semantic features). Then, a semantic expansion operation is performed in conjunction with the domain knowledge graph. Taking text keywords as an example, the entity corresponding to the keyword is expanded to the entity associated in the knowledge graph (e.g., "concrete strength testing" is expanded to "C30 grade concrete" and "compression test standard"). The expanded complete semantic features are then... The data is projected onto the unified semantic space constructed in step S3 to ensure that the retrieval scope covers semantically related multimodal data. In step S503, the comprehensive matching degree is calculated in the unified semantic space by fusing two similarity indicators: one is cosine similarity, which measures the vector similarity between the semantic features of the retrieval and the semantic features of the archival data; the other is knowledge graph path similarity, which is based on the shortest path length between two entities (the shorter the path, the higher the similarity) to quantify the closeness of the connection between the two in knowledge logic. Then, archival data with a comprehensive matching degree greater than 0.6 are selected as candidate results, sorted from high to low according to the comprehensive matching degree, and classified and organized according to text, image, and audio modal types. At the same time, key semantic matching points (such as text keywords, image size annotations, and key audio segments) and knowledge connection paths (such as the connection links between retrieval keywords and result entities in the knowledge graph) are marked and fed back to the user. When the search request is a text keyword, the returned multimodal search results include four types of information: text data that directly matches the keyword (such as testing technical documents), image data containing the entity features corresponding to the keyword (such as photos of concrete testing sites), audio data that mentions the keyword and has a key marker (such as audio clips emphasizing testing standards in meetings), and extended results in the knowledge graph that are indirectly related to the keyword entity (such as associated technical standard documents and similar engineering testing cases), realizing one-stop cross-modal information acquisition.
[0089] Example 2, refer to Figure 2This paper provides an information retrieval system based on semantic analysis, which is applied to an information retrieval method based on semantic analysis. The system includes a collection module, an extraction module, an association module, an incremental learning module, and a retrieval matching module.
[0090] The acquisition module is used to acquire multimodal archive data and perform preprocessing operations;
[0091] The extraction module is used to extract multimodal semantic features from the preprocessed multimodal archive data.
[0092] The association module is used to build a knowledge-enhanced cross-modal semantic association model, which projects multimodal semantic features onto a unified semantic space through knowledge graph guidance and comparative learning optimization.
[0093] The incremental learning module is used to identify the modality type of newly added archive data, extract the semantic features of the newly added archive data and embed them into a unified semantic space, and update the knowledge graph synchronously.
[0094] The retrieval and matching module receives user retrieval requests, generates multimodal retrieval results through semantic expansion and comprehensive similarity calculation, labels matching information and knowledge association paths, and feeds them back to the user.
[0095] This invention achieves efficient processing, association modeling, and accurate retrieval of multimodal archival data through the collaborative work of multiple functional modules. The acquisition module is responsible for acquiring and preprocessing multimodal archival data, collecting archival data containing text, images, and audio, and performing preprocessing operations such as text cleaning and word segmentation, image denoising and key region segmentation, audio denoising, speech-to-text conversion, and intonation feature extraction according to unified standards, providing standardized data for subsequent feature extraction. The extraction module, based on the preprocessed data output by the acquisition module, uses adaptation techniques to extract semantic features for different modalities. It extracts text semantic features (including domain-specific vocabulary and sentence logic semantics) through a pre-trained language model, extracts image semantic features (including entity features and structural features) using a convolutional neural network, and extracts audio semantic features (including meeting emphasis content and core information semantics) by combining a speech emotion recognition and audio semantic analysis model, ultimately integrating them to form multimodal semantic features. The association module, as the core processing module, is responsible for constructing a knowledge-enhanced cross-modal semantic association model. It first extracts entities and relationships from the multimodal semantic features to construct a domain knowledge graph and converts it into vectors to form semantic association priors, and then guides the process through the knowledge graph. The system optimizes the cross-modal mapping model using contrastive learning (including hard negative sample mining strategies) and combines it with a dynamic weighting mechanism (adjusting modal weights based on data quality) to fuse knowledge graph vectors with cross-modal mapping features, constructing a unified semantic space with reasoning capabilities. The incremental learning module, for newly added archival data, first identifies its modality type and completes preprocessing and semantic feature extraction. Then, through an incremental semantic encoder, it compares the semantic features of the newly added archival data with existing features in the unified semantic space and knowledge graph entities. Only the relevant parameters of the model in the association module and the incremental subgraph of the knowledge graph are locally updated, thus embedding the semantic features of the newly added archival data into the unified semantic space. Simultaneously, the consistency of reasoning relationships is maintained through a knowledge graph completion algorithm. The retrieval and matching module, catering to user retrieval needs, receives multi-form retrieval requests such as text keywords, image examples, and audio clips. After converting these into semantic features, it performs semantic expansion in conjunction with the knowledge graph. Then, it calculates the comprehensive matching degree by fusing cosine similarity and knowledge graph path similarity in the unified semantic space, filters and sorts candidate results, categorizes them by modality, and labels key matching points and knowledge association paths. Finally, it provides users with multi-modal retrieval results, achieving one-stop cross-modal information acquisition.
[0096] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. An information retrieval method based on semantic analysis, characterized in that, Includes the following steps: Step S1: Acquire multimodal profile data and perform preprocessing; Step S2: Extract multimodal semantic features from the preprocessed multimodal archive data. Step S3: Construct a knowledge-enhanced cross-modal semantic association model. Through semantic mapping guided by knowledge graph and dynamic weight optimization, establish deep semantic associations between multimodal semantic features to form a unified semantic space with reasoning capabilities. Step S4: When new archive data is added, the incremental learning algorithm is used to update the local parameters of the knowledge-enhanced cross-modal semantic association model, and the semantic features of the new archive data are embedded into the unified semantic space. Step S5: Receive user search requests, convert search requests into corresponding semantic features and map them to a unified semantic space, perform matching search in the unified semantic space, generate and return multimodal search results.
2. The information retrieval method based on semantic analysis as described in claim 1, characterized in that, Step S1 includes the following sub-steps: Step S101: The multimodal archive data includes text data, image data, and audio data. Collect text archive data, perform text cleaning on the text data to remove redundant characters, special symbols, and invalid information, and perform word segmentation, part-of-speech tagging, and stop word removal. The text archive data includes policy documents, technical documents, and explanatory text. Step S102: Collect image data. For the image data, first perform noise reduction and size normalization processing. If the image data is an engineering drawing or design sketch, perform region segmentation to separate the key regions. The image data includes engineering drawings, design sketches and on-site photos. The key regions include dimension annotation areas, component type areas and spatial layout areas. Step S103: Acquire audio data, perform audio noise reduction and unified sampling rate processing on the audio data, convert the audio data into text using speech recognition technology, and extract the speech tone features of the audio. The audio data includes meeting recordings, interview transcripts, and narration audio.
3. The information retrieval method based on semantic analysis as described in claim 2, characterized in that, Step S2 includes the following sub-steps: Step S201: For the preprocessed text data, a pre-trained language model is used to extract text semantic features, which include domain-specific lexical semantics and sentence logical semantics. Step S202: For the preprocessed image data, a convolutional neural network is used to extract features from key regions of the image to obtain image semantic features. The image semantic features include entity features and structural features. The entity features include size labels and component types. The structural features include spatial layout relationships. Step S203: For the preprocessed audio data, analyze the speech tone features through a speech emotion recognition model, determine the importance of each part of the audio content and add key marks, combine the text converted from speech recognition and the key marks, and use an audio semantic analysis model to extract audio semantic features. The audio semantic features include the semantics of key content corresponding to the emphasis tone in the meeting recording and the semantics of core information in the interview recording.
4. The information retrieval method based on semantic analysis as described in claim 3, characterized in that, The text semantic features, image semantic features, and audio semantic features are used as multimodal semantic features. The audio semantic analysis model establishes a mapping relationship between tone intensity and information importance by associating speech intonation features with corresponding text semantics during training. It prioritizes the extraction of high-importance audio semantic features corresponding to emphasis tone and retains key identification information in the extraction results.
5. The information retrieval method based on semantic analysis as described in claim 3, characterized in that, Step S3 includes the following sub-steps: Step S301: Construct a domain knowledge graph, which includes entities and relationships between entities extracted from multimodal semantic features. The entities include technical terms in text, component objects in images, and event subjects in audio. The relationships between entities include hierarchical relationships between text terms, assembly relationships between image components, and temporal relationships between audio events. A knowledge representation learning algorithm is used to convert each entity and relationship between entities in the domain knowledge graph into a low-dimensional dense vector of a preset dimension, forming an entity vector library and a relationship vector library. The entity vectors and relationship vectors together constitute semantic association priors. Step S302, based on the semantic association prior, train the cross-modal mapping model using a contrastive learning approach, specifically including: The multimodal semantic features are used as input, and the mapping relationship between different modal features is optimized through the triplet loss function; Step S303: Introduce a dynamic weighting mechanism to adjust the weight ratio of the multimodal semantic features in the association calculation in real time according to the modal data quality parameters. The modal data quality parameters include text clarity parameters, image resolution parameters, and audio signal-to-noise ratio parameters. Step S304: The entity vector, relation vector and cross-modal mapping features corresponding to the semantic association prior are fused to construct a unified semantic space. The reasoning relationship between semantic features in the unified semantic space is modeled by a graph neural network. The reasoning relationship includes the association path between the image semantic features of the component and the text semantic features of the installation process.
6. The information retrieval method based on semantic analysis as described in claim 5, characterized in that, The contrastive learning training process employs a hard negative sample mining strategy, specifically including: From the multimodal semantic features, a set of semantically related cross-modal features are selected as positive sample pairs. The positive sample pairs include text semantic features and corresponding image semantic features, text semantic features and corresponding audio semantic features, and image semantic features and corresponding audio semantic features. Based on the domain knowledge graph and semantic association prior, cross-modal features that have partial semantic overlap but are not completely related to the features in the positive sample pair are selected as difficult negative samples. The difficult negative samples include features that belong to different modalities from the features in the positive sample pair and have indirect or homologous associations with the corresponding entities of the positive samples in the domain knowledge graph. The positive sample pairs and the hard negative samples are input into the cross-modal mapping model. The feature discrimination between the positive sample pairs and the hard negative samples is enhanced by the triple loss function, so that the distance between the positive sample pairs in the mapped vector space is less than a preset threshold, while the distance between the corresponding features of the hard negative samples and the positive sample pairs is greater than the preset threshold.
7. The information retrieval method based on semantic analysis as described in claim 6, characterized in that, Step S4 includes the following sub-steps: Step S401: Identify the modal type of the newly added archive data and perform preprocessing; Step S402: Using an incremental semantic encoder, the semantic features of the newly added archive data are compared bidirectionally with the existing features in the unified semantic space and the knowledge graph entities to obtain the comparison results, which include related entities and newly added relationships. Step S403: Based on the comparison results, update the local parameters associated with the semantic features of the newly added archive data in the cross-modal mapping model and the incremental subgraph of the knowledge graph, embed the semantic features of the newly added archive data into a unified semantic space, and maintain the consistency of semantic reasoning relationships through the knowledge graph completion algorithm.
8. The information retrieval method based on semantic analysis as described in claim 5, characterized in that, Step S5 includes the following sub-steps: Step S501: Receive a search request input by the user through the search interface. The search request includes text keywords, image examples, and audio clips. Step S502: Convert the retrieval request into corresponding semantic features, and perform semantic expansion operation in combination with the knowledge graph. The semantic expansion includes expanding text keywords into related entities and projecting the expanded semantic features onto the unified semantic space. Step S503: In the unified semantic space, a comprehensive matching degree is calculated by fusing cosine similarity and knowledge graph path similarity. The knowledge graph path similarity includes the shortest association path length between two entities. Archive data with a comprehensive matching degree greater than a first preset threshold are selected as candidate results. The data are sorted and categorized according to the comprehensive matching degree, and key semantic matching points and knowledge association paths are marked before being fed back to the user.
9. The information retrieval method based on semantic analysis as described in claim 8, characterized in that, When the search request is a text keyword, the returned multimodal search results include text data that directly matches the text keyword, image data containing entity features corresponding to the text keyword, audio data that mentions the text keyword and has a key marker, and extended results in the knowledge graph that are indirectly associated with the entity of the text keyword. The extended results include associated technical standards and similar cases.
10. An information retrieval system based on semantic analysis, applied in an information retrieval method based on semantic analysis as described in any one of claims 1-9, characterized in that, It includes a data acquisition module, an extraction module, an association module, an incremental learning module, and a retrieval and matching module; The acquisition module is used to acquire multimodal archive data and perform preprocessing operations; The extraction module is used to extract multimodal semantic features from the preprocessed multimodal archive data. The association module is used to construct a knowledge-enhanced cross-modal semantic association model, which projects multimodal semantic features onto a unified semantic space through knowledge graph guidance and comparative learning optimization. The incremental learning module is used to identify the modality type of newly added archive data, extract the semantic features of the newly added archive data and embed them into the unified semantic space, and synchronously update the knowledge graph. The retrieval and matching module is used to receive user retrieval requests, generate multimodal retrieval results through semantic expansion and comprehensive similarity calculation, label matching information and knowledge association paths, and feed them back to the user.
Citation Information
Patent Citations
Intelligent archive information retrieval method based on semantic analysis
CN119961435A
