Bid document comparison method and system based on multi-modal feature fusion

By using a multimodal feature fusion method, the text and image data of the tender documents are parsed and classified, feature vectors are generated and similarity is calculated, which solves the problems of high computational cost and difficulty in recognition in the existing technology, and realizes efficient and accurate comparison of tender documents.

CN123159306APending Publication Date: 2026-11-24国泰新点软件股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing bid document comparison technologies struggle to fully and accurately identify anomalous similarities in text content and image content of different formats across multiple bid documents while controlling computational overhead. This is especially true as the number of documents and images increases, leading to a significant increase in computational overhead and a tendency to miss anomalous similarities.

Method used

A multimodal feature fusion method is adopted. By parsing the tender documents to obtain text data, image data and chapter structure information, classification and deep visual feature extraction are performed to generate image feature vectors and text binary set features. Combined with Jaccard similarity and cosine similarity calculation, a multimodal candidate set is formed and a similarity analysis report is generated.

Benefits of technology

It achieves complete and accurate identification of abnormally similar information in text and image content in tender documents while controlling computational overhead, avoiding information loss and duplicate calculations, and improving the accuracy and efficiency of comparison.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159306A_ABST
    Figure CN123159306A_ABST
Patent Text Reader

Abstract

This application relates to the field of multimodal information processing technology, and in particular to a method and system for comparing tender documents based on multimodal feature fusion. The method includes parsing multiple tender documents to be detected, obtaining text data, image data, and chapter structure information; filtering and classifying the image data to obtain supplementary text data and image data to be encoded; extracting deep visual features from the image data to be encoded, generating image feature vectors and storing them in an image vector library; splitting and filtering the text data and supplementary text data based on chapter structure information, generating bitmap binary set features and storing them in a document vector library; retrieving similar candidate results for both text and images, forming a multimodal candidate set, and generating a similarity analysis report after fusion, deduplication, and continuous sentence aggregation. This application can completely and accurately identify abnormal similarities in text content and image content of different forms in multiple tender documents while controlling computational overhead.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of multimodal information processing technology, and in particular to a method and system for comparing tender documents based on multimodal feature fusion. Background Technology

[0002] With the widespread adoption of electronic bidding in the engineering construction sector, bid documents are gradually shifting from paper to electronic formats. A typical engineering project involves multiple bids submitted by different bidders. Each bid includes technical solutions, construction organization designs, personnel configurations, qualification certificates, price quotes, and supporting materials, and exists in various formats such as text, tables, scanned copies, certificates, screenshots of web searches, and stamped documents. During the post-bidding supervision process, regulatory authorities need to compare the bids submitted by different bidders to determine if there are any unusual or identical contents, providing a basis for identifying bid rigging, misuse of qualifications, and other irregular bidding practices.

[0003] Existing bid document comparison typically employs either manual review or automated computer analysis. Manual review involves supervisory personnel examining each bid document page-by-page to determine for duplicates or similarities. Automated computer analysis usually begins by parsing the bid documents, extracting textual information, and then using methods such as keyword matching, TF-IDF, BM25, or text vector retrieval to calculate the similarity between different texts. For image content, matching is typically based on image pixels or local feature points. When faced with multiple bid documents, pairwise comparisons are performed according to the relationships between the documents, and similar texts or images are summarized to form the bid document comparison results.

[0004] However, the effective information in actual bid documents is scattered across text and various image formats. Comparing only the parsed text cannot cover content such as certificates, screenshots, stamped documents, and table images that have not been fully converted into text. Furthermore, images may change their pixel and local features after cropping, rotating, mirroring, resizing, compressing, or partially modifying, increasing the difficulty of identifying similar content. Simultaneously, as the number of bid documents, paragraphs, and images increases, pairwise comparisons between documents generate a large number of computational operations. Performing high-precision comparisons directly on all content significantly increases computational overhead with data size, while simple filtering methods may miss anomalously similar content. Therefore, in large-scale pairwise comparisons of multiple bid documents, it is difficult to completely and accurately identify anomalously similar information existing in both text content and image content of different formats while controlling computational overhead. Summary of the Invention

[0005] This application provides a method and system for comparing tender documents based on multimodal feature fusion. This method can completely and accurately identify anomalous similarities in text content and image content of different formats across multiple tender documents while controlling computational overhead. The technical solution provided in this application is as follows: Firstly, this application provides a bid document comparison method based on multimodal feature fusion, the method comprising: Multiple tender documents to be inspected are obtained, and parsed and normalized according to the document type and content status to obtain text data, image data and chapter structure information; The image data is filtered and classified, and text extraction, feature generation or filtering is performed according to the image category to obtain supplementary text data and image data to be encoded. Deep visual features are extracted from the image data to be encoded to generate image feature vectors, which are then stored in an image vector library. Based on the chapter structure information, the text data and supplementary text data are split and filtered, field attributes are marked and bitmap binary set features are generated and stored in the document vector library; The document vector library retrieves similar texts by field attributes and chapter structure information, calculates Jaccard similarity based on the bitmap binary set features, and obtains text similarity candidate results; the image vector library retrieves image similarity candidate results based on the image feature vectors; the text retrieval scope is limited according to the completed pairwise comparison results, and a multimodal candidate set is obtained. The multimodal candidate set is fused, duplicate results are merged and continuous sentences are aggregated to form a list of pairwise comparison results and generate a similarity analysis report.

[0006] In a specific feasible implementation, the step involves acquiring multiple tender documents to be inspected, parsing and normalizing them according to document type and content status to obtain text data, image data, and chapter structure information, including: Obtain multiple tender documents to be inspected, and determine the file type of each tender document, whether it is a pure image file, and whether there is garbled text. For tender documents consisting solely of images or containing garbled characters, MinerU / TextIn is used for parsing; for PDF files that are not purely images and do not contain garbled characters, WordCom is used for parsing to extract the text, tables, and images from the tender documents respectively. The data obtained from different parsing methods are normalized. Priority is given to parsing the chapters and directory structure of the tender documents to determine the directory level and chapter information corresponding to the technical bid content. At the same time, the relationship between text, images and corresponding chapters is established to obtain text data, image data and chapter structure information.

[0007] In one specific implementation scheme, the step of filtering and classifying the image data, performing text extraction, feature generation, or filtering according to image category, to obtain supplementary text data and image data to be encoded includes: An image classification model is used to identify the categories of the filtered image data, classifying the image data into plain text images, certificate images, flowcharts, block diagrams, and other images. Filter the plain text image, locate the relevant chapter of the certificate image, extract the certificate text using TextIn or MinerU, infer the certificate type based on the extracted content, determine the corresponding entity using entity enumeration, and perform fuzzy matching on the enumerated entities to obtain the supplementary text data; The flowchart, block diagram, and other images are identified as the image data to be encoded.

[0008] In one specific implementation scheme, the step of extracting deep visual features from the image data to be encoded, generating an image feature vector, and storing it in an image vector library includes: The image data to be encoded is input into the DINOv3 ViT-H / 16+ deep visual feature extraction model to extract image patch features from the image data to be encoded; global max pooling is performed on the image patch features to obtain the image feature vector; the image feature vector is stored in the image vector library.

[0009] In a specific implementation scheme, the step of splitting and filtering the text data and supplementary text data based on the chapter structure information, marking field attributes and generating bitmap binary set features, and storing them in a document vector library includes: The text data and supplementary text data are preprocessed, and the text content is split and merged. Based on the table of contents and chapter structure of the tender documents, the text of the technical bid section is manually or semi-automatically split into paragraphs, and the corresponding field attributes are marked for different paragraphs and the chapter information is recorded; The system uses a sliding window to merge short sentences and short paragraphs formed after paragraph splitting, and retains some overlapping text in adjacent windows according to the preset overlapping window size. Manually entered text that does not need to participate in the similarity analysis is entered into the whitelist, and the template document is parsed in the same way as the tender document to be detected. The parsed template paragraph text is then automatically entered into the whitelist. The processed text is filtered to remove the table of contents, and the whitelist is used to filter chapters and paragraphs that are consistent with the manually entered text or template paragraph text. The filtered text is mapped to bitmap binary set features, and the bitmap binary set features are stored in the document vector library.

[0010] In one specific implementation, the step of retrieving and aggregating a multimodal candidate set from a document vector library and an image vector library includes: Based on the field attributes and chapter information of the text, query the document vector library sentence by sentence for similar texts to the current text, filter the data of the current tender document itself, and calculate the Jaccard similarity based on the bitmap binary set features to obtain the text similarity candidate results; After all paragraphs of a bid document have been compared, when querying the next bid document, exclude the bid document itself and bid documents that have already been compared pairwise, and reuse the existing pairwise comparison results. The image feature vector of the current bid document is used as a query vector and input into the image vector library. The image data of the current bid document itself is filtered, and the cosine similarity between the query vector and the image feature vector in the image vector library is calculated. Images with a cosine similarity greater than a preset cosine similarity threshold are identified as initial image similarity candidates. The main color component similarity of paired images in the initial image similarity candidates is calculated, and the average value of the cosine similarity and the main color component similarity is calculated. Initial image similarity candidates with an average value greater than a preset comprehensive similarity threshold are identified as image similarity candidates. The text similarity candidate results and image similarity candidate results are combined to form the multimodal candidate set.

[0011] In one specific implementation, the process of fusing the multimodal candidate set, merging duplicate results, aggregating consecutive sentences, forming a list of pairwise comparison results, and generating a similarity analysis report includes: According to the combination of tender documents, the text similarity candidate results and image similarity candidate results in the multimodal candidate set are collected. The candidate results corresponding to the same combination of tender documents and the same comparison content are merged. According to the arrangement order of the text in the tender documents, the text similarity candidate results corresponding to consecutive sentences are aggregated into consecutive text similarity results, forming a list of pairwise comparison results. The paired texts, paired images, and their similarity results from the pairwise comparison result list are input into the Agent for deep analysis. The Agent outputs deep analysis results containing similarity judgment results and analysis conclusions. At the same time, the paired texts are input into the misspelling recognition model to identify the misspellings and their positions contained in the similar texts in the two tender documents, and to determine whether the similar texts contain the same misspellings. The text similarity candidate results and image similarity candidate results are used as the basic comparison results, and the continuous text similarity results replace the multiple single-sentence text similarity candidate results contained therein; the deep analysis results are associated with the corresponding basic comparison results to determine the similarity judgment results corresponding to each basic comparison result, and when the similar texts have the same typos, the corresponding text similarity results are marked as enhanced similarity results; the basic comparison results, similarity judgment results and enhanced similarity results are compiled according to the bid document combination to generate the similarity analysis report.

[0012] Secondly, this application provides a bid document comparison system based on multimodal feature fusion, which adopts the following technical solution: A bid document comparison system based on multimodal feature fusion includes: The document parsing and acquisition module is used to acquire multiple tender documents to be inspected, and to parse and normalize them according to the file type and content status to obtain text data, image data and chapter structure information. The image classification and processing module is used to filter and classify the image data, and perform text extraction, feature generation or filtering according to the image category to obtain supplementary text data and image data to be encoded. The image feature generation module is used to extract deep visual features from the image data to be encoded, generate image feature vectors, and store them in the image vector library. The text feature generation module is used to split and filter the text data and supplementary text data based on the chapter structure information, mark field attributes and generate bitmap binary set features, and store them in the document vector library; The candidate result retrieval module is used to retrieve similar texts from the document vector library by field attributes and chapter structure information, calculate Jaccard similarity based on the bitmap binary set features, and obtain text similarity candidate results; retrieve image similarity candidate results from the image vector library based on the image feature vectors; limit the text retrieval scope according to the completed pairwise comparison results, and collect a multimodal candidate set; The comparison result fusion module is used to fuse the multimodal candidate set, merge duplicate results and aggregate continuous sentences to form a list of pairwise comparison results and generate a similarity analysis report.

[0013] Thirdly, this application provides an electronic device, the device including a processor and a memory; the memory stores a program, the program being loaded and executed by the processor to implement a bid document comparison method based on multimodal feature fusion as described in the first aspect.

[0014] Fourthly, this application provides a computer-readable storage medium storing a program that, when executed by a processor, is used to implement a bid document comparison method based on multimodal feature fusion as described in the first aspect.

[0015] First, the tender documents are parsed and normalized based on their file type and content status, simultaneously obtaining text data, image data, and chapter structure information. This ensures that subsequent comparisons are not limited to directly parsed text. Furthermore, instead of simply retaining or deleting all images, text extraction, image feature generation, or filtering are performed based on image category. This transforms image content suitable for textual processing into supplementary text data, while images requiring visual content retention become the data to be encoded. This approach includes information from the image carriers within the comparison scope while avoiding the computational burden of indiscriminately processing all images. For the images to be encoded, deep visual features are extracted to generate image feature vectors, which are then stored in an image vector library. This allows image similarity retrieval to move beyond relying directly on pixel consistency, instead matching based on the deep visual features corresponding to the image content. This reduces the impact of image morphological changes such as cropping and local modifications on similar image recognition. For text data and supplementary text data, the data is split, filtered, and tagged with field attributes based on chapter structure information. This limits text retrieval to content corresponding to chapters and fields, avoiding meaningless comparisons between different content types. Bitmap binary set features are used to represent text, and text retrieval is performed based on Jaccard similarity. This reduces the complexity of large-scale text similarity calculations through binary set operations. Candidate results for text similarity and image similarity are obtained from document vector libraries and image vector libraries respectively. This allows large-scale document comparisons to first form a candidate range through feature retrieval, eliminating the need for direct comparison of all text and images one by one. Further, the text retrieval range is limited based on the completed pairwise comparison results, preventing the same combination of tender documents from being repeatedly queried. In the candidate result stage, text similarity and image similarity candidate results are merged. Through merging duplicate results and aggregating continuous sentences, similar results scattered across different modalities and paragraphs are grouped into pairwise comparison results between tender documents. Therefore, this application employs a progressive processing approach of "classification and diversion - feature retrieval - scope limitation - multimodal fusion." At the front end, it retains comparable information existing separately in text and image carriers. In the intermediate stage, it progressively compresses the range of data and file combinations actually involved in the retrieval. Finally, in the result stage, it merges the associated information formed by the two comparison paths of text and images. This avoids information loss caused by single text comparison, difficulty in identifying similar content due to image cropping or partial modification, and redundant calculations caused by full pairwise comparisons. It achieves complete and accurate identification of abnormally similar information in text content and image content of different forms in multiple tender documents while controlling computational overhead.

[0016] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, the preferred embodiments of this application are described in detail below with reference to the accompanying drawings. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the bid document comparison method based on multimodal feature fusion in the embodiments of this application.

[0018] Figure 2 This is a schematic diagram of the overall process of the bid document comparison method based on multimodal feature fusion in the embodiments of this application.

[0019] Figure 3 This is a structural block diagram of the tender document comparison system based on multimodal feature fusion in the embodiments of this application.

[0020] Figure 4 This is a block diagram of an electronic device for bid document comparison based on multimodal feature fusion in an embodiment of this application. Detailed Implementation

[0021] The specific embodiments of this application will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate this application, but are not intended to limit the scope of this application.

[0022] Optionally, this application uses the bid document comparison method based on multimodal feature fusion provided in various embodiments as an example of its application in an electronic device. The electronic device is a terminal or a server. The terminal can be a computer, tablet computer, etc. This embodiment does not limit the type of electronic device.

[0023] Reference Figure 1 This is a flowchart illustrating a bid document comparison method based on multimodal feature fusion provided in one embodiment of this application. The method includes at least the following steps: Step S100: Obtain multiple tender documents to be tested, parse and normalize them according to the document type and content status to obtain text data, image data and chapter structure information.

[0024] In step S100, multiple bid documents that need to be compared in the same bidding project are obtained, the file type and content status of each bid document are determined, and the corresponding parsing method is selected according to the judgment result to extract the text, table and image content in the bid documents respectively; the data obtained by different parsing methods are normalized, and the chapter and directory structure of the bid documents are parsed to establish the association relationship between text, images and chapters.

[0025] Specifically, multiple tender documents to be inspected are obtained, and the file type of each tender document is determined, whether it is a pure image file, and whether there is garbled text. For tender documents consisting solely of images or containing garbled characters, MinerU / TextIn is used for parsing; for PDF files that are not purely images and do not contain garbled characters, WordCom is used for parsing to extract the text, tables, and images from the tender documents respectively. The data obtained from different parsing methods are normalized. Priority is given to parsing the chapters and directory structure of the tender documents to determine the directory level and chapter information corresponding to the technical bid content. At the same time, the relationship between text, images and corresponding chapters is established to obtain text data, image data and chapter structure information.

[0026] Among them, a pure image file refers to a tender document in which the page content is saved as an image and the text content cannot be directly extracted; a tender document with garbled characters refers to a tender document in which the extracted text cannot form recognizable character content; a PDF file that is not a pure image file and does not contain garbled characters refers to a PDF file in which the page contains text data that can be directly extracted and formed into recognizable character content.

[0027] MinerU and TextIn are document content parsing tools used to parse the page content of tender documents that are purely image-based or contain garbled characters, extracting text, tables, and images. WordCom is a document content parsing component used to read PDF files that are not purely image-based and do not contain garbled characters, and extract text, tables, and images.

[0028] In one implementation, after MinerU or TextIn completes the parsing of the tender document, it generates a parsing result containing an "imgs" folder, a Markdown file, a node-structured JSON file, and a PDF file. The "imgs" folder stores images extracted from the tender document, the Markdown file records the extracted text and table content, and the node-structured JSON file records the content nodes in the tender document and their structural relationships. The text, tables, and images parsed by WordCom are converted according to the same data organization format.

[0029] Data obtained from different parsing methods is normalized, including standardizing the content types and data formats of text, tables, and images, and recording the corresponding tender documents for each content item. Through normalization, the parsing results obtained from MinerU, TextIn, and WordCom are converted into data that can be read and processed in the same way.

[0030] Furthermore, the chapter and table of contents structure of each tender document is analyzed first. Based on the correspondence between table of contents items and main text titles, the table of contents level, chapter titles, and chapter scope corresponding to the technical bid content are determined. Each paragraph of text and each image is associated with its respective chapter, and the corresponding tender document, table of contents level, and chapter identifier are recorded to form chapter structure information. In one implementation, the table of contents level, chapter identifier, and the association relationship between text, images, and chapters are written into a tb.xml file, and the chapter information of the tender document is marked through the tb.xml file.

[0031] By selecting the appropriate parsing method for different file types and content states, it is possible to extract text, tables, and image content from pure image files, files containing garbled characters, and PDF files where text can be directly read; through normalization processing, the data format obtained from different parsing methods can be unified; by parsing the chapter and directory structure and establishing the relationship between text, images, and chapters, the structural position of each item in the tender document can be determined.

[0032] Step S200: Filter and classify the image data, and perform text extraction, feature generation or filtering according to the image category to obtain supplementary text data and image data to be encoded.

[0033] In step S200, the image data parsed in step S100 is initially filtered to reduce the number of images that are small, have a single color, or have simple content from participating in feature generation and image retrieval. Then, an image classification model is used to identify the category of the filtered images, and filtering, text extraction, or image feature generation are performed according to the category to obtain supplementary text data and image data to be encoded.

[0034] Specifically, an image classification model is used to identify the categories of the filtered image data, dividing the image data into plain text images, certificate images, flowcharts, block diagrams and other images. Filter plain text images, locate the relevant chapters of the certificate image, extract the certificate text using TextIn or MinerU, infer the certificate type based on the extracted content, determine the corresponding entity using entity enumeration, and perform fuzzy matching on the enumerated entities to obtain supplementary text data; Flowcharts, block diagrams, and other images are identified as image data to be encoded.

[0035] Before category recognition, the image data obtained in step S100 is first preliminarily filtered. Preliminary filtering includes removing small images, solid color images, and simple images. Small images refer to images whose size or number of pixels does not meet a preset size condition; solid color images refer to images where the pixel color is concentrated in the same color or the color variation range does not meet a preset color variation condition; simple images refer to images whose graphics, textures, and content information do not meet a preset content complexity condition. In one implementation, WordCom is used to determine the image size, pixel color distribution, and content complexity, and images that meet the above filtering conditions are removed from the image data.

[0036] The initially filtered images are then categorized using an image classification model. Based on text distribution, layout, graphic structure, and document format, the model classifies images into plain text images, document images, flowcharts, block diagrams, and other types, outputting the category identification results for each image. These results are used to determine the appropriate processing method for each type of image.

[0037] For images containing only text, they will no longer be treated as ordinary images for image feature generation and comparison. The text content in images containing only text has already been converted into corresponding text data during the file parsing process in step S100. Therefore, filtering images containing only text can prevent the same text content from being repeatedly compared in both text and image formats.

[0038] For certificate images, they are not treated as ordinary images in the image feature generation process. Instead, based on the chapter structure information obtained in step S100, the relevant chapter of the certificate image is located, and the certificate text is extracted from the image using TextIn or MinerU. The certificate type is inferred from the extracted certificate text, and a corresponding entity enumeration range is established based on the certificate type. Entities corresponding to the certificate text are then determined from the enumeration range. For name variations in the certificate text caused by differences in character recognition, fuzzy matching is used to match the certificate text with the enumerated entities, obtaining supplementary text data and entity matching results corresponding to the certificate image.

[0039] For flowcharts, block diagrams, and other images, the image content is retained and identified as image data to be encoded, thus initiating image feature generation processing. The image data to be encoded retains the corresponding tender document identifier and chapter information to distinguish images in different tender documents and clearly identify the chapter position of the image.

[0040] By initially filtering small, solid-color, and simple images, the number of images entering image classification and feature generation processes can be reduced. By performing filtering, text extraction, and image feature generation separately according to image categories, images with different content types can be avoided from being compared in the same way. By performing text extraction, certificate type inference, and entity fuzzy matching on certificate images, entity information in certificate images can be converted into data that can participate in text processing. By retaining flowcharts, block diagrams, and other images, image data to be encoded can be formed for image feature generation.

[0041] It should be noted that the image classification model can use existing image classification models, such as ResNet, MobileNet, or EfficientNet. The image classification model is pre-trained or fine-tuned using sample images labeled as plain text images, ID card images, flowcharts, block diagrams, and other types of images. The filtered images are then input into the image classification model, which outputs the probability of each image belonging to each image category. The category with the highest probability is determined as the image's category recognition result. This application does not involve improvements to the network structure or training algorithm of the image classification model; it only utilizes existing image classification models to complete image category recognition.

[0042] By performing character recognition on certificate images and generating supplementary text data, the certificate text that originally only existed in the image carrier can be included in the subsequent text feature generation and similarity retrieval process, avoiding the exclusion of certificate text from the comparison range because it cannot be directly read. Combining certificate type inference, entity enumeration and fuzzy matching can also reduce the impact of image clarity, font differences and character recognition deviations on the entity determination results, thereby improving the completeness and accuracy of the text content in certificate images in the comparison of similar documents in tender documents.

[0043] Step S300: Extract deep visual features from the image data to be encoded, generate image feature vectors, and store them in the image vector library.

[0044] In step S300, the image data to be encoded is input into the DINOv3 ViT-H / 16+ deep visual feature extraction model to extract image patch features from the image data to be encoded; global max pooling is performed on the image patch features to obtain the image feature vector; and the image feature vector is stored in the image vector library.

[0045] Specifically, DINOv3 ViT-H / 16+ is an existing deep visual feature extraction model. The image data to be encoded obtained in step S200 is input into DINOv3 ViT-H / 16+, and this model is used to extract the image patch features corresponding to each image patch in the image to be encoded. This application does not involve any improvement to the network structure or training method of DINOv3 ViT-H / 16+, but rather utilizes this model to complete the deep visual feature extraction of the image data to be encoded.

[0046] DINOv3 ViT-H / 16+ can output cls_token and the corresponding image patch features for each image patch. Here, cls_token is a classification label feature formed by the model based on the entire image, and its representation result is easily influenced by the subject category of the image. When different images contain subjects of similar categories, directly using cls_token as the image representation may result in an inflated similarity between corresponding images. Therefore, this implementation does not use cls_token as the image representation vector, but instead performs global max pooling on the image patch features corresponding to each image patch.

[0047] Global max pooling of image patch features involves selecting the maximum value from all image patches' feature values ​​for each feature dimension, and then combining these maximum values ​​sequentially to obtain the image feature vector. This image feature vector preserves the strong visual features from different image patches, reduces the likelihood of high image similarity due to similar subject categories, and provides a feature base for subsequent identification of similar images that have been cropped or partially modified.

[0048] When storing image feature vectors in the image vector library, the image feature vectors are associated with the corresponding bid document identifier, image identifier, and chapter information for subsequent similarity retrieval based on the image feature vectors, and the bid documents and chapters to which similar images belong are determined based on the associated information.

[0049] By extracting deep visual features from the image data to be encoded and performing global max pooling on the extracted image patch features, we can avoid the problem of high similarity between images of the same subject caused by directly using classification label features. By uniformly storing the obtained image feature vectors into an image vector library, we can provide a data foundation for subsequent screening of image similarity candidates based on cosine similarity and main color component similarity.

[0050] Step S400: Based on the chapter structure information, split and filter the text data and supplementary text data, mark the field attributes and generate bitmap binary set features, and store them in the document vector library.

[0051] In step S400, text preprocessing is performed on the text data and supplementary text data, and the text content is split and merged; combined with the table of contents and chapter structure of the tender document, the text of the technical bid section is manually or semi-automatically split into paragraphs, and the corresponding field attributes are marked for different paragraphs and chapter information is recorded; the short sentences and short paragraphs formed after paragraph splitting are merged using a sliding window, and the adjacent windows retain some overlapping text according to the preset overlapping window size; the manually input text that does not need to participate in the similarity analysis is entered into a whitelist, and the template file is parsed in the same parsing method as the tender document to be detected, and the parsed template paragraph text is automatically entered into the whitelist; the processed text is filtered to remove the table of contents, and the whitelist is used to filter chapters and paragraphs that are consistent with the manually input text or template paragraph text; the filtered text is mapped to bitmap binary set features, and the bitmap binary set features are stored in the document vector library.

[0052] Specifically, firstly, text preprocessing is performed on the text data and supplementary text data, and the text content is split and merged. Text preprocessing includes removing redundant spaces, line breaks, and invalid characters, and standardizing text encoding and punctuation. The text content is initially split according to sentence-ending punctuation such as periods, semicolons, question marks, and exclamation marks to obtain sentences and paragraphs arranged in the original text order.

[0053] Secondly, based on the table of contents and chapter structure of the tender documents, the text of the technical bid section is manually or semi-automatically split into paragraphs. Different paragraphs are marked with corresponding field attributes, and chapter information is recorded. Based on the chapter structure information generated in step S100, the table of contents and chapter scope corresponding to the technical bid section are determined. The technical bid section is split according to the content expressed in each paragraph, and each paragraph is marked with field attributes such as construction organization design, technical solutions, personnel configuration, or other corresponding attributes. This allows text belonging to the same field in different tender documents to establish a correspondence based on field attributes and chapter information.

[0054] Subsequently, a sliding window is used to merge the short sentences and paragraphs formed after the paragraph splitting, and the adjacent windows retain a portion of overlapping text according to a preset overlap window size. Specifically, text windows are constructed according to the order of short sentences and paragraphs in the tender document, and consecutive short sentences or paragraphs in the same chapter with the same field attributes are merged into a single text segment. Once the current text window is formed, it is moved by a preset distance, and the last part of the text in the current text window is simultaneously placed in the next text window. The preset overlap window size is formed by the amount of text retained by adjacent text windows.

[0055] By retaining some overlapping text in adjacent windows, we can avoid separating related content at window boundaries into different text fragments and allow some text to participate in subsequent vector comparisons in a redundant form. At the same time, merging short sentences and paragraphs provides a more complete context for subsequent agent-based deep analysis, enabling the agent to determine whether the text in different tender documents is truly identical by combining the preceding and following content of similar text.

[0056] Furthermore, manually entered text that does not require participation in the similarity analysis is added to a whitelist. The template document is then parsed using the same parsing method as the tender document to be tested, and the parsed template paragraph text is automatically added to the whitelist. The template document refers to an example or template file used in the tender document. During manual input, pre-determined fixed expressions, general clauses, or template content are added to the whitelist; during automatic input, the template document is parsed using the parsing and normalization method for the tender document to be tested in step S100 to obtain the chapter structure information and paragraph text of the template document, and the template paragraph text that does not require participation in the text similarity analysis is added to the whitelist.

[0057] The processed text is filtered to remove the table of contents and uses a whitelist to filter chapters and paragraphs that match manually entered text or template paragraphs. Specifically, the processed chapter and paragraph texts are matched against the whitelist. When a chapter or paragraph matches a manually entered text or template paragraph in the whitelist, the corresponding chapter or paragraph is filtered out to prevent it from participating in subsequent text similarity analysis. This allows for both manual maintenance of the whitelist and automatic supplementation of whitelist content through parsing template files, preventing template content used in different tender documents from being identified as abnormally similar.

[0058] Finally, the filtered text is mapped to bitmap binary set features, and these features are stored in the document vector library. Specifically, a feature space containing multiple text feature terms is established, and the text content is mapped to bitmap binary set features based on whether the filtered text contains the corresponding text feature terms. ; in, The first characteristic in the bitmap binary set is... Bit, Represents the first in the feature space Each text feature term This represents the set of text feature items corresponding to the current text. The dimension of the bitmap binary set feature can be set to 1024 or 4096 dimensions. The generated bitmap binary set feature is associated with the corresponding tender document identifier, chapter information, field attributes, and text content and stored in the document vector library.

[0059] Using bitmap binary set features as text feature representations, this approach enables rapid similarity retrieval of ultra-large-scale texts through binary set operations and vectorized retrieval methods, reducing the complexity of text similarity calculations. In a test dataset containing 99 documents and 1,952,598 text segments, a full Top 99 query took 0.023 seconds with 1024-dimensional text features and 0.06 seconds with 4096-dimensional text features, meeting the needs of large-scale batch comparisons between multiple tender documents.

[0060] By merging short sentences and paragraphs through a sliding window and retaining some overlapping text, excessive text segmentation can be avoided; a whitelist can be created through both manual input and automatic parsing of template files to filter fixed content that does not need to participate in the similarity analysis; and the filtered text can be represented by bitmap binary set features to improve the processing efficiency of large-scale text similarity retrieval.

[0061] Step S500: Retrieve similar texts from the document vector library by field attributes and chapter structure information, calculate Jaccard similarity based on bitmap binary set features, and obtain text similarity candidate results; retrieve image similarity candidate results from the image vector library based on the image feature vectors; limit the text retrieval scope according to the completed pairwise comparison results, and collect a multimodal candidate set.

[0062] In step S500, based on the field attributes and chapter information of the text, similar texts are queried sentence by sentence from the document vector library. The data of the current tender document itself is filtered, and Jaccard similarity is calculated based on bitmap binary set features to obtain text similarity candidate results. After all paragraphs of a tender document have been compared, when querying the next tender document, the tender document itself and tender documents that have already been compared pairwise are excluded, and the existing pairwise comparison results are reused. The image feature vector of the current tender document is used as the query vector and input into the image vector library. The image data of the current tender document itself is filtered, and the cosine similarity between the query vector and the image feature vector in the image vector library is calculated. Images with a cosine similarity greater than a preset cosine similarity threshold are determined as initial image similarity candidate results. The main color component similarity of paired images in the initial image similarity candidate results is calculated, and the average value of the cosine similarity and the main color component similarity is calculated. Initial image similarity candidate results with an average value greater than a preset comprehensive similarity threshold are determined as image similarity candidate results. The text similarity candidate results and image similarity candidate results are collected to form a multimodal candidate set.

[0063] Specifically, firstly, based on the field attributes and chapter information of the text, similar texts are queried sentence by sentence from the document vector library. Data from the current tender document itself is filtered out, and Jaccard similarity is calculated based on bitmap binary set features to obtain candidate text similarity results. During retrieval, the search scope is determined based on the field attributes and chapter information corresponding to the current text. The current text is compared with texts in other tender documents that have the same field attributes and corresponding chapter information to avoid texts from different fields or different chapters participating in the similarity calculation.

[0064] For the bitmap binary set features corresponding to the current text and similar texts, the Jaccard similarity is calculated based on the number of common feature terms and the total number of feature terms in the two bitmap binary set features. Similar texts with a Jaccard similarity reaching a preset text similarity threshold are identified as candidate text similarity results. Manually input text and sample paragraph texts that have already been filtered according to the whitelist in step S400 are no longer included in the text similarity retrieval.

[0065] Secondly, after all paragraphs of a bid document have been compared, when querying the next bid document, the bid document itself and bid documents that have already undergone pairwise comparisons are excluded, and the existing pairwise comparison results are reused. Specifically, when two bid documents have already undergone pairwise comparisons, during the retrieval of one bid document as the current query document, the other bid document is not queried repeatedly. Instead, the existing pairwise comparison results between the two bid documents are directly reused, and only other bid documents that have not yet undergone pairwise comparisons are queried.

[0066] Subsequently, the image feature vector of the current bid document is used as the query vector and input into the image vector library. The image data of the current bid document itself is filtered, and the cosine similarity between the query vector and the image feature vectors in the image vector library is calculated. Cosine similarity reflects the directional proximity of two image feature vectors in the feature space; the higher the cosine similarity, the more similar the depth visual features of the corresponding images. Images with a cosine similarity greater than a preset cosine similarity threshold are identified as initial image similarity candidates.

[0067] In one implementation, the preset cosine similarity threshold is set to 0.9. Using the image feature vector of an image in the current bid document as the query vector, other bid document images with a cosine similarity greater than 0.9 are retrieved from the image vector library to form initial candidate images for similarity. Through cosine similarity retrieval, similar images that have been cropped or partially modified can be identified using the deep visual features formed in step S300.

[0068] Furthermore, the similarity of the main color components of paired images in the initial image similarity candidate results is calculated. The main color component similarity reflects the degree of similarity between paired images in terms of the main color categories and their distribution proportions. During calculation, the main color components and their corresponding distribution proportions are extracted from each paired image, and the main color component similarity is determined based on the differences between the main color components and their distribution proportions.

[0069] The average of the cosine similarity and the main color component similarity for each pair of images is calculated, and this average is used as the comprehensive similarity. Since the main color component similarity is usually generally high, a preset comprehensive similarity threshold higher than the preset cosine similarity threshold is used to further filter the initial image similarity candidates. In one embodiment, the preset comprehensive similarity threshold is set to 0.95. Initial image similarity candidates with a comprehensive similarity greater than 0.95 are determined as image similarity candidates, while initial image similarity candidates with a comprehensive similarity not greater than 0.95 are filtered out.

[0070] Deep visual feature extraction models can achieve high cosine similarity scores for images with similar subject categories but significant differences in their specific content. By further calculating the similarity of the main color components from the initial candidate similarity results, and then filtering based on the average of the cosine similarity and the main color component similarity scores, images with significant actual visual differences can be eliminated, reducing false positives for image similarity solely due to similar subject categories.

[0071] In one optional implementation, for the image similarity candidate results obtained after screening by cosine similarity and main color component similarity, a salient feature inclusion consistency check can also be performed. The salient feature inclusion consistency check is used to determine whether there is a feature correspondence between pairs of images where one image retains the main visual content of the other image, but due to cropping, local modification, local occlusion, or the addition of additional content, a non-perfectly symmetrical relationship exists.

[0072] For any candidate image similarity result, the image feature vectors formed by deep visual feature extraction and global max pooling of the paired images are obtained, denoted as follows: ; ; in, and These represent the image feature vectors of pairs of images. and These represent the first two feature vectors of the two images, respectively. eigenvalues ​​of dimension This represents the dimension of the image feature vector.

[0073] Calculate the median of each eigenvalue in the feature vectors of the two images respectively: ; ; And based on the deviations of each eigenvalue relative to the corresponding median, the median absolute deviation is calculated: ; ; in, and These represent the median activation baselines of the two image feature vectors, used to characterize the overall centrality level of each dimension of the feature values ​​in each image feature vector; and These represent the activation discrete scales of the two image feature vectors, used to characterize the typicality of each feature value deviating from the corresponding median activation baseline; This indicates taking the median.

[0074] Based on the median activation baseline and the activation discrete scale, calculate the salient activation values ​​for each dimension of the feature vectors of the two images respectively: ; ; in, and These represent the first two feature vectors of the two images, respectively. Significant activation values ​​of the dimension; This is used to preserve feature responses that are higher than the sum of the median activation baseline and the discrete activation scale; This represents the index of each dimension of the image feature vector during traversal; This indicates a positive number used to avoid a denominator of zero.

[0075] In this embodiment, the salient activation value is used to characterize the prominence of a feature dimension relative to the overall response level of the current image feature vector itself. A larger salient activation value indicates a more prominent visual response of the corresponding feature dimension in the current image; a salient activation value of zero indicates that the corresponding feature dimension does not exceed the salient response benchmark of the current image feature vector. Using the median and median absolute deviation to determine the salient response benchmark can reduce the influence of a few excessively large or small feature values ​​on the benchmark position.

[0076] The total salient activation values ​​are obtained by summing the salient activation values ​​of the feature vectors of the two images respectively: ; ; in, and These represent the total salient activations of the two image feature vectors. The total salient activations characterize the distribution range and cumulative response of salient visual features in an image within the feature space, rather than representing the number of pixels or the actual area of ​​the image.

[0077] Compare and .when At that time, Identified as significant activation value of the included side ,Will Identified as a significant activation value on the coverage side ;when At that time, Identified as significant activation value of the included side ,Will Identified as a significant activation value on the coverage side Therefore, the side with a relatively concentrated distribution of salient visual features and a relatively small cumulative response is selected as the included side, and it is determined whether its salient visual features can be found on the other side.

[0078] Construct the salient feature set of the included side and the salient feature set of the covered side respectively: ; ; And calculate the significant feature coverage: ; in, This represents the set of feature dimensions that form significant activations within the included side. This represents the set of feature dimensions that form significant activations on the covered side. This represents the salient feature coverage. Salient feature coverage characterizes the degree to which salient visual features of the included side are supported by corresponding features on the covering side. The numerator considers both whether paired feature dimensions correspond and the salient activation intensity of the corresponding dimensions, while the denominator uses the total salient activation of the included side. This ensures that the calculation result reflects the degree to which the covering side covers the main visual content of the included side, without requiring the two images to contain exactly the same amount of visual content.

[0079] Further calculate the significant feature missingness: ; in, The salient feature missingness indicates the proportion of features that have a salient response on the included side but not on the covered side. A higher salient feature missingness indicates that more major visual features on the included side cannot be found to correspond to those on the covered side.

[0080] Calculate the inclusion consistency check value based on the salient feature inclusion degree, salient feature missing degree, and main color component similarity: ; in, This indicates that a consistency check value is included; Indicates normalization to an interval The similarity of the main color components; Indicates the degree of inclusion of significant features; Indicates the degree of salient feature loss.

[0081] The inclusion consistency check value is used to characterize the degree to which paired images simultaneously satisfy the conditions of salient visual features being covered, main color components being consistent, and the inclusion side having fewer missing salient features. (Molecular) This indicates joint feature evidence supporting the inclusion relationship between paired images. Only when both the salient feature inclusion and the similarity of the main color components are high, and the salient feature loss is low, will the numerator have a large value; the denominator... , and These represent conflicting evidence arising from insufficient coverage of salient visual features, inconsistencies in major color components, and the absence of salient visual features on the included side. Therefore, the inclusion consistency check value increases with the inclusion degree of salient features and the similarity of major color components, and decreases with the degree of salient feature loss.

[0082] When the inclusion consistency check value reaches the preset inclusion consistency threshold, an inclusion consistency marker is added to the corresponding image similarity candidate result, and the significant feature inclusion degree, significant feature missing degree, main color component similarity, and inclusion consistency check value are recorded. When the inclusion consistency check value does not reach the preset inclusion consistency threshold, the original image similarity candidate result is retained and the inclusion consistency check value is recorded; the image similarity candidate result is not directly deleted based on this check. or When the value is zero, it indicates that at least one image feature vector has not formed a significant activation that can be used to determine the inclusion relationship. Therefore, the current significant feature inclusion consistency check is skipped, and the original image similarity candidate results are used instead.

[0083] Cosine similarity primarily reflects the directional similarity of the feature vectors of two complete images. When an image is formed by cropping, partially occluding, partially modifying, or adding content to another image, the feature responses generated by the unshared parts may change the overall direction of the image's feature vectors. This can affect the overall similarity of two images, even if they retain the same main content. While primary color component similarity reflects the overall color distribution of an image, it is difficult to distinguish between images with identical main content and those that are only similar in color.

[0084] The salient feature inclusion consistency check first extracts salient feature responses based on the median activation baseline and activation discrete scale of each image's feature vector. Then, it uses the side with the relatively smaller total salient activation as the included side and determines whether the main visual features of the included side can be covered by the other side. This calculation method focuses on whether the main visual content of one image is contained in another image, rather than requiring the two images to form a symmetrical and consistent relationship across all feature dimensions. Simultaneously, the main color component similarity is used to verify the color composition of the covered visual content, and the salient feature missingness is used to identify the main visual features in the included side that cannot be found on the other side. Therefore, based on the original image similarity candidate results, it can further identify inclusion correspondences between cropped images, partially modified images, and images with added content, and reduce false confirmations caused only by color similarity or accidental overlap of a few feature dimensions.

[0085] Finally, the text similarity candidate results and image similarity candidate results are aggregated to form a multimodal candidate set. The multimodal candidate set retains the tender documents, text or image content, chapter information and similarity of each candidate result, for use in step S600 to perform multimodal result fusion.

[0086] Limiting text retrieval targets by field attributes and chapter information, and excluding tender documents that have already undergone pairwise comparisons, can reduce irrelevant text retrieval and duplicate queries; generating initial image similarity candidate results by using the cosine similarity of image feature vectors, and then filtering by combining the similarity of main color components, can reduce false alarms while identifying cropped or partially modified images, and retain similarity candidate results for both text and image modalities.

[0087] Step S600: Merge the multimodal candidate set, merge duplicate results and aggregate continuous sentences to form a list of pairwise comparison results and generate a similarity analysis report.

[0088] Specifically, firstly, the text similarity candidate results and image similarity candidate results in the multimodal candidate set are collected according to the combination of bid documents. Candidate results corresponding to the same bid document combination and the same comparison content are merged. Then, according to the order of the text in the bid documents, the text similarity candidate results corresponding to consecutive sentences are aggregated into consecutive text similarity results, forming a list of pairwise comparison results.

[0089] Each bid document combination includes two bid documents for comparison. When multiple candidate results correspond to the same bid document combination and the same text or image content, the multiple candidate results are merged into one comparison result. For text-similar candidate results, they are sorted according to the text's position in the two bid documents; when multiple text-similar candidate results correspond to sentences that are consecutively arranged in both bid documents, the multiple single-sentence results are aggregated into one consecutive text-similar result, recording the corresponding consecutive text content and its position.

[0090] In step S600, candidate images for similarity are aggregated according to the combination of tender documents and the original image identifier. For candidate images for similarity with a consistency marker, the paired images, the chapter containing the images, the salient feature content, the salient feature missing content, the similarity of the main color components, and the consistency check value are all written into the pairwise comparison result list. When the same set of images generates multiple candidate images for similarity due to the original image or different transformations, the multiple candidate images for similarity are merged into one image comparison result, and the check data corresponding to the candidate image with the highest consistency check value is retained.

[0091] The inclusion consistency marker and its verification data are input into the Agent along with the paired images. Based on the actual content and verification data of the paired images, the Agent determines whether the main visual content of the included side appears on the covered side, and identifies whether the differences between the two images are caused by cropping, partial occlusion, partial modification, or the addition of additional content. When the depth analysis result matches the inclusion consistency marker, the corresponding image comparison result is determined as an inclusion-based image similarity result, and the paired images, the chapter in which the images are located, the inclusion consistency verification value, and the form of difference between the image content are recorded in the similarity analysis report. When the depth analysis result does not match the inclusion consistency marker, the corresponding image comparison result is marked as a result pending review, and no conclusion of inclusion-based image similarity is directly formed.

[0092] Secondly, the paired texts, paired images, and their similarity results from the pairwise comparison results list are input into the Agent for in-depth analysis. The Agent outputs in-depth analysis results containing similarity judgment results and analysis conclusions. At the same time, the paired texts are input into the misspelling recognition model to identify the misspellings and their positions contained in the similar texts in the two tender documents, and to determine whether the similar texts contain the same misspellings.

[0093] The agent can employ an intelligent analysis agent built upon existing large language models, such as those based on the Qwen or Llama large language models. Paired texts, paired images, and their similarity results from the pairwise comparison result list are used as input to the agent. The agent determines whether the corresponding content is similar according to preset analysis instructions and outputs the similarity judgment result and corresponding analysis conclusions. This application does not involve improvements to the large language model structure or training method used by the agent; it only utilizes existing agents to analyze pairwise comparison results.

[0094] The misspelling detection model can employ existing text correction models based on BERT or MacBERT. The model takes similar text from two bidding documents as input and outputs the identified misspellings and their locations in each similar text. When two similar texts contain the same misspelled character at corresponding positions, it is determined that the two similar texts contain the same misspelling. This application does not involve improvements to the network structure or training method of the misspelling detection model; it only utilizes existing misspelling detection models to identify misspellings and their locations.

[0095] Finally, the candidate results for text similarity and candidate results for image similarity are used as the basic comparison results, and the multiple candidate results for single-sentence text similarity contained therein are replaced with continuous text similarity results; the deep analysis results are associated with the corresponding basic comparison results to determine the similarity judgment results corresponding to each basic comparison result, and when similar texts have the same typos, the corresponding text similarity results are marked as enhanced similarity results; the basic comparison results, similarity judgment results and enhanced similarity results are compiled according to the combination of tender documents to generate a similarity analysis report.

[0096] Specifically, text similarity candidate results and image similarity candidate results are used to record the basic similarities detected between two bid documents, while continuous text similarity results are used to replace multiple single-sentence results formed by splitting the same continuous text. The similarity judgment results and analysis conclusions output by the Agent are associated with the corresponding basic comparison results; for text similarity results containing identical typos, enhanced similarity markers are added. The similarity analysis report records the corresponding text similarity content, image similarity content, continuous text positions, similarity judgment results, analysis conclusions, and identical typos on a per-bid document basis.

[0097] By merging duplicate results and aggregating consecutive sentences, the same similar content can be avoided from being recorded repeatedly. By using an agent to judge the similarity of the basic comparison results and using the results of identifying the same misspellings for enhanced marking, the similarity analysis report can clearly reflect the similar content in each combination of tender documents and the basis for judgment.

[0098] In summary, combining Figure 2This application obtains multiple tender documents to be tested, parses and normalizes them according to document type and content status to obtain text data, image data, and chapter structure information; filters and classifies the image data, performs text extraction, feature generation or filtering according to image category to obtain supplementary text data and image data to be encoded; performs deep visual feature extraction on the image data to be encoded to generate image feature vectors and stores them in an image vector library; splits and filters the text data and supplementary text data based on chapter structure information, merges short sentences and short paragraphs using a sliding window, forms a whitelist through manual input and automatic parsing of template files, marks field attributes and generates bitmap binary set features, and stores them in a document vector library; subsequently, retrieves text similarity candidate results based on bitmap binary set features and Jaccard similarity, retrieves initial image similarity candidate results based on cosine similarity of image feature vectors, and filters image similarity candidate results by combining the similarity of main color components, limits the text retrieval scope based on the completed pairwise comparison results, and forms a multimodal candidate set; finally, performs duplicate result merging, continuous sentence aggregation, deep analysis, and identical typo identification on the multimodal candidate set to generate a similarity analysis report.

[0099] By extracting and processing text and image information separately from tender documents, and converting text in certificate images into supplementary text, the scope of comparison for effective information in tender documents can be expanded. Generating image feature vectors through deep visual feature extraction and performing global max pooling on image block features can reduce the high similarity caused by similar subject categories and provide a feature basis for identifying similar images with cropping or local modifications. Filtering based on cosine similarity retrieval combined with the similarity of major color components can eliminate candidate images with significant visual differences, reducing false positives for image similarity. Merging short sentences and paragraphs using a sliding window while retaining some overlapping text preserves continuous context for text comparison and deep analysis. Creating a whitelist through manual input and automatic parsing of template files, combined with image classification filtering, field attributes, and chapter information constraints, can reduce comparisons between invalid content and content of different categories. Employing bitmap binary set features and vectorized retrieval methods supports rapid similarity retrieval of large-scale text. Excluding duplicate queries based on completed pairwise comparison results can further narrow the search scope. By combining text and image candidate results, merging duplicate results, aggregating consecutive sentences, performing in-depth analysis, and identifying identical misspellings, it is possible to completely and accurately identify abnormal and similar information in text content and image content of different forms while controlling the computational overhead of large-scale pairwise comparisons of multiple tender documents.

[0100] Figure 3 This is a structural block diagram of a tender document comparison system based on multimodal feature fusion provided in one embodiment of this application. The system includes at least the following modules: The document parsing and acquisition module is used to acquire multiple tender documents to be inspected, and to parse and normalize them according to the file type and content status to obtain text data, image data and chapter structure information. The image classification and processing module is used to filter and classify image data, and perform text extraction, feature generation or filtering according to image category to obtain supplementary text data and image data to be encoded. The image feature generation module is used to extract deep visual features from the image data to be encoded, generate image feature vectors, and store them in the image vector library. The text feature generation module is used to split and filter text data and supplementary text data based on chapter structure information, mark field attributes and generate bitmap binary set features, and store them in the document vector library; The candidate result retrieval module is used to retrieve similar texts from the document vector library by field attributes and chapter structure information, calculate Jaccard similarity based on bitmap binary set features to obtain text similarity candidate results; retrieve image similarity candidate results from the image vector library based on image feature vectors; limit the text retrieval scope based on the completed pairwise comparison results, and collect a multimodal candidate set; The comparison result fusion module is used to fuse multimodal candidate sets, merge duplicate results and aggregate continuous sentences to form a list of pairwise comparison results and generate a similarity analysis report.

[0101] For relevant details, please refer to the above method implementation examples.

[0102] Figure 4 This is a block diagram of an electronic device provided in one embodiment of this application. The device includes at least a processor 401 and a memory 402.

[0103] Processor 401 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 401 may be implemented in at least one hardware form selected from DSP (Digital Signal Processor), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). Processor 401 may also include a main processor and coprocessors. The main processor may be a CPU (Central Processing Unit) for performing processing such as bid document parsing, text and image feature generation, vector retrieval, and candidate result fusion; the coprocessors are used to assist in performing specific data processing tasks. In some embodiments, processor 401 may integrate a GPU (Graphics Processing Unit) for performing parallel operations such as image processing, vector computation, and model inference. Processor 401 may also include an AI (Artificial Intelligence) processor for performing artificial intelligence computing tasks such as image classification, deep analysis, and typo recognition.

[0104] The memory 402 may include one or more non-transitory computer-readable storage media, and may also include high-speed random access memory and non-volatile memory, the non-volatile memory including one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 402 stores at least one instruction, which is loaded and executed by the processor 401 to implement the bid document comparison method based on multimodal feature fusion provided in the method embodiments of this application.

[0105] Optionally, this application also provides a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the bid document comparison method based on multimodal feature fusion in the above-described method embodiments.

[0106] Optionally, this application also provides a computer product including a computer-readable storage medium storing a program, which is loaded and executed by a processor to implement the bid document comparison method based on multimodal feature fusion described in the above method embodiments.

[0107] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0108] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A bid document comparison method based on multimodal feature fusion, characterized in that, The method includes: Multiple tender documents to be inspected are obtained, and parsed and normalized according to the document type and content status to obtain text data, image data and chapter structure information; The image data is filtered and classified, and text extraction, feature generation or filtering is performed according to the image category to obtain supplementary text data and image data to be encoded. Deep visual features are extracted from the image data to be encoded to generate image feature vectors, which are then stored in an image vector library. Based on the chapter structure information, the text data and supplementary text data are split and filtered, field attributes are marked and bitmap binary set features are generated and stored in the document vector library; The document vector library retrieves similar texts by field attributes and chapter structure information, calculates Jaccard similarity based on the bitmap binary set features, and obtains text similarity candidate results; the image vector library retrieves image similarity candidate results based on the image feature vectors; the text retrieval scope is limited according to the completed pairwise comparison results, and a multimodal candidate set is obtained. The multimodal candidate set is fused, duplicate results are merged and continuous sentences are aggregated to form a list of pairwise comparison results and generate a similarity analysis report.

2. The bid document comparison method based on multimodal feature fusion according to claim 1, characterized in that, The process involves acquiring multiple tender documents to be inspected, parsing and normalizing them according to their file type and content status, and obtaining text data, image data, and chapter structure information, including: Obtain multiple tender documents to be inspected, and determine the file type of each tender document, whether it is a pure image file, and whether there is garbled text. For tender documents consisting solely of images or containing garbled characters, MinerU / TextIn is used for parsing; for PDF files that are not purely images and do not contain garbled characters, WordCom is used for parsing to extract the text, tables, and images from the tender documents respectively. The data obtained from different parsing methods are normalized. Priority is given to parsing the chapters and directory structure of the tender documents to determine the directory level and chapter information corresponding to the technical bid content. At the same time, the relationship between text, images and corresponding chapters is established to obtain text data, image data and chapter structure information.

3. The bid document comparison method based on multimodal feature fusion according to claim 1, characterized in that, The process of filtering and classifying the image data, performing text extraction, feature generation, or filtering according to image category, yields supplementary text data and image data to be encoded, including: An image classification model is used to identify the categories of the filtered image data, classifying the image data into plain text images, certificate images, flowcharts, block diagrams, and other images. Filter the plain text image, locate the relevant chapter of the certificate image, extract the certificate text using TextIn or MinerU, infer the certificate type based on the extracted content, determine the corresponding entity using entity enumeration, and perform fuzzy matching on the enumerated entities to obtain the supplementary text data; The flowchart, block diagram, and other images are identified as the image data to be encoded.

4. The bid document comparison method based on multimodal feature fusion according to claim 3, characterized in that, The step of extracting deep visual features from the image data to be encoded, generating an image feature vector, and storing it in an image vector library includes: The image data to be encoded is input into the DINOv3 ViT-H / 16+ deep visual feature extraction model to extract image patch features from the image data to be encoded; global max pooling is performed on the image patch features to obtain the image feature vector; the image feature vector is stored in the image vector library.

5. The bid document comparison method based on multimodal feature fusion according to claim 1, characterized in that, The process of splitting and filtering the text data and supplementary text data based on the chapter structure information, marking field attributes and generating bitmap binary set features, and storing them in the document vector library includes: The text data and supplementary text data are preprocessed, and the text content is split and merged. Based on the table of contents and chapter structure of the tender documents, the text of the technical bid section is manually or semi-automatically split into paragraphs, and the corresponding field attributes are marked for different paragraphs and the chapter information is recorded; The system uses a sliding window to merge short sentences and short paragraphs formed after paragraph splitting, and retains some overlapping text in adjacent windows according to the preset overlapping window size. Manually entered text that does not need to participate in the similarity analysis is entered into the whitelist, and the template document is parsed in the same way as the tender document to be detected. The parsed template paragraph text is then automatically entered into the whitelist. The processed text is filtered to remove the table of contents, and the whitelist is used to filter chapters and paragraphs that are consistent with the manually entered text or template paragraph text. The filtered text is mapped to bitmap binary set features, and the bitmap binary set features are stored in the document vector library.

6. The bid document comparison method based on multimodal feature fusion according to claim 1, characterized in that, The process of retrieving and aggregating a multimodal candidate set from document vector libraries and image vector libraries includes: Based on the field attributes and chapter information of the text, query the document vector library sentence by sentence for similar texts to the current text, filter the data of the current tender document itself, and calculate the Jaccard similarity based on the bitmap binary set features to obtain the text similarity candidate results; After all paragraphs of a bid document have been compared, when querying the next bid document, exclude the bid document itself and bid documents that have already been compared pairwise, and reuse the existing pairwise comparison results. The image feature vector of the current bid document is used as a query vector and input into the image vector library. The image data of the current bid document itself is filtered, and the cosine similarity between the query vector and the image feature vector in the image vector library is calculated. Images with a cosine similarity greater than a preset cosine similarity threshold are identified as initial image similarity candidates. The main color component similarity of paired images in the initial image similarity candidates is calculated, and the average value of the cosine similarity and the main color component similarity is calculated. Initial image similarity candidates with an average value greater than a preset comprehensive similarity threshold are identified as image similarity candidates. The text similarity candidate results and image similarity candidate results are combined to form the multimodal candidate set.

7. The bid document comparison method based on multimodal feature fusion according to claim 6, characterized in that, The process of fusing the multimodal candidate set, merging duplicate results, aggregating consecutive sentences, forming a list of pairwise comparison results, and generating a similarity analysis report includes: According to the combination of tender documents, the text similarity candidate results and image similarity candidate results in the multimodal candidate set are collected. The candidate results corresponding to the same combination of tender documents and the same comparison content are merged. According to the arrangement order of the text in the tender documents, the text similarity candidate results corresponding to consecutive sentences are aggregated into consecutive text similarity results, forming a list of pairwise comparison results. The paired texts, paired images, and their similarity results from the pairwise comparison result list are input into the Agent for deep analysis. The Agent outputs deep analysis results containing similarity judgment results and analysis conclusions. At the same time, the paired texts are input into the misspelling recognition model to identify the misspellings and their positions contained in the similar texts in the two tender documents, and to determine whether the similar texts contain the same misspellings. The text similarity candidate results and image similarity candidate results are used as the basic comparison results, and the continuous text similarity results replace the multiple single-sentence text similarity candidate results contained therein; the deep analysis results are associated with the corresponding basic comparison results to determine the similarity judgment results corresponding to each basic comparison result, and when the similar texts have the same typos, the corresponding text similarity results are marked as enhanced similarity results; the basic comparison results, similarity judgment results and enhanced similarity results are compiled according to the bid document combination to generate the similarity analysis report.

8. A bid document comparison system based on multimodal feature fusion, characterized in that, include: The document parsing and acquisition module is used to acquire multiple tender documents to be inspected, and to parse and normalize them according to the file type and content status to obtain text data, image data and chapter structure information. The image classification and processing module is used to filter and classify the image data, and perform text extraction, feature generation or filtering according to the image category to obtain supplementary text data and image data to be encoded. The image feature generation module is used to extract deep visual features from the image data to be encoded, generate image feature vectors, and store them in the image vector library. The text feature generation module is used to split and filter the text data and supplementary text data based on the chapter structure information, mark field attributes and generate bitmap binary set features, and store them in the document vector library; The candidate result retrieval module is used to retrieve similar texts from the document vector library according to field attributes and chapter structure information, calculate Jaccard similarity based on the bitmap binary set features, and obtain text similarity candidate results; Image similarity candidate results are retrieved from the image vector library based on the image feature vectors; the text retrieval scope is limited based on the completed pairwise comparison results, and a multimodal candidate set is obtained; The comparison result fusion module is used to fuse the multimodal candidate set, merge duplicate results and aggregate continuous sentences to form a pairwise comparison result list and generate a similarity analysis report.

9. An electronic device, characterized in that, The device includes a processor and a memory; the memory stores a program, which is loaded and executed by the processor to implement a bid document comparison method based on multimodal feature fusion as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The storage medium stores a program that, when executed by a processor, is used to implement a bid document comparison method based on multimodal feature fusion as described in any one of claims 1 to 7.