A data processing method and system based on multimodal large language model
Through data processing methods based on multi-modal large language models, the accuracy and efficiency problems of traditional OCR and multi-modal large language models in processing unstructured documents are solved. Structured documents are generated through comprehensive element analysis and model error correction. , achieving more efficient and accurate data processing.
Patent Information
- Application Number
- CN202410818202.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Traditional OCR methods are difficult to efficiently process multi-modal documents, and end-to-end methods based on multi-modal large language models are also difficult to avoid problems such as model illusion, resulting in low accuracy and low efficiency in processing unstructured documents.
Using a data processing method based on multi-modal large language models, by obtaining page modal data of unstructured documents, comprehensive analysis of elements is performed, credibility is calculated, and model parameters are adjusted for error correction when the credibility is lower than the threshold. , and finally generate a structured document. Specific steps include page parsing, feature extraction, classification model selection, element fusion analysis and structured document generation.
It improves the processing accuracy of unstructured documents, reduces the transmission and accumulation of errors, and improves the overall efficiency and quality of data processing. It is especially suitable for the fields of high-precision document analysis and data conversion.
Smart Images

Figure CN118377852B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method and system based on a multimodal large language model. Background Art
[0002] Unstructured documents usually include multiple data types such as text, pictures, tables, etc. Processing these multimodal data and converting them into structured text that can be understood by large language models is an important module.
[0003] At present, OCR method is usually used for text recognition. OCR (Optical Character Recognition) refers to the process in which an electronic device checks the characters printed on paper, determines their shapes by detecting dark and light patterns, and then translates the shapes into computer text using character recognition methods. That is, for printed characters, an optical method is used to convert the text in a paper document into a black and white dot matrix image file, and the recognition software is used to convert the text in the image into a text format for further editing and processing by word processing software.
[0004] However, traditional OCR methods often have difficulty processing multimodal documents efficiently, and emerging end-to-end methods based on multimodal large language models also find it difficult to avoid problems such as model hallucination.
[0005] Based on this, the present invention proposes a data processing method and system based on a multimodal large language model. Summary of the invention
[0006] The present invention provides a data processing method based on a multimodal large language model, comprising:
[0007] Obtain unstructured document input, parse each page in the unstructured document, and obtain a page modal data set;
[0008] Use a multimodal large language model to conduct comprehensive element analysis on the page modal data set;
[0009] Calculate the credibility of the analysis results of each page element;
[0010] If the credibility is lower than the threshold, the multimodal model parameters are adjusted to perform model error correction, and the elements of the pages whose credibility is lower than the threshold are continuously analyzed until the credibility is not lower than the threshold;
[0011] Analyze the arrangement of elements in each page and generate structured documents.
[0012] The data processing method based on the multimodal large language model as described above, wherein each page in the unstructured document is parsed, specifically using the page analysis model to analyze and identify each unstructured page, specifically includes:
[0013] Preprocess unstructured pages;
[0014] Perform feature extraction on the preprocessed pages to obtain a page feature set;
[0015] Select multiple classification models based on the feature set attributes of each page;
[0016] Input each page feature set into the corresponding multiple classification models, calculate the optimal weight set of each classification model, and use the results of each classification model and its optimal weight set to determine the final page modal set.
[0017] The data processing method based on the multimodal large language model as described above, wherein feature extraction is performed on the preprocessed page, specifically including:
[0018] Segment the page into multiple page sub-regions, and then extract features of each page sub-region from each page sub-region;
[0019] Merge the features of the page sub-region and its adjacent page sub-regions according to feature classification, and repeat the page sub-region feature merging to finally obtain multiple segmented sub-pages;
[0020] Perform feature extraction on each segmented sub-page to obtain a page feature set.
[0021] In the above-mentioned data processing method based on a multimodal large language model, feature merging is performed, specifically including:
[0022] Locate all other page sub-regions adjacent to the current page sub-region;
[0023] Obtain edge region features of the current page sub-region and edge region features of other adjacent page sub-regions;
[0024] Using a feature of an edge region of the current page sub-region and features of other adjacent preliminary page structures within a predetermined distance to perform a similarity comparison, classifying features that meet the predetermined conditions, and re-dividing the page sub-region;
[0025] Perform the above operations in sequence to obtain the final segmented sub-page.
[0026] The data processing method based on the multimodal large language model as described above, wherein the multimodal large language model is used to perform element comprehensive analysis on the page modal data set, specifically comprising the following sub-steps:
[0027] Get different modal data in each page;
[0028] The different modal data are fused to obtain fused data;
[0029] The different modal data and their fused data are respectively input into the large language model for processing to identify the elements in each page.
[0030] The present invention also provides a data processing system based on a multimodal large language model, comprising:
[0031] The page parsing module is used to obtain unstructured document input, parse each page in the unstructured document, and obtain a page modal data set;
[0032] The multimodal model analysis module is used to perform element-by-element comprehensive analysis on the page modal data set using a multimodal large language model;
[0033] The model error correction module is used to calculate the credibility of the element analysis results of each page; if the credibility is lower than the threshold, the multimodal model parameters are adjusted to perform model error correction, and the elements of the pages whose credibility is lower than the threshold are continuously analyzed until the credibility is not lower than the threshold;
[0034] The structured document generation module is used to analyze the arrangement of elements in each page and generate a structured document.
[0035] As described above, a data processing system based on a multimodal large language model is described, in which a page analysis model is used to analyze and identify each unstructured page, specifically including: preprocessing the unstructured page; extracting features from the preprocessed page to obtain a page feature set; selecting multiple classification models based on the attributes of each page feature set; inputting the attributes of each page feature set into the corresponding multiple classification models, and calculating the optimal weight set of each classification model, and determining the final page modal set using the results of each classification model and its optimal weight set.
[0036] A data processing system based on a multimodal large language model as described above, wherein feature extraction is performed on a preprocessed page, specifically including: segmenting a page into multiple page sub-regions, and then extracting features of each page sub-region from each page sub-region; merging features of a page sub-region and its adjacent page sub-regions based on feature classification, repeating the page sub-region feature merging, and finally obtaining multiple segmented sub-pages; and extracting features from each segmented sub-page to obtain a page feature set.
[0037] As described above, a data processing system based on a multimodal large language model is described, wherein feature merging is performed, specifically including: locating all other page sub-regions adjacent to the current page sub-region; obtaining edge region features of the current page sub-region, as well as edge region features of other page sub-regions adjacent to it; using a feature of the current page sub-region to compare similarity criteria with features within a predetermined distance of other adjacent preliminary page structures, classifying features that meet predetermined conditions, and re-dividing page sub-regions; performing the above operations in sequence to obtain the final segmented sub-pages.
[0038] As described above, a data processing system based on a multimodal large language model is used to perform a comprehensive element analysis on each page structure, which specifically includes the following sub-steps: obtaining different modal data in each page structure; fusing the different modal data to obtain fused data; and inputting the different modal data and their fused data into the large language model for processing, respectively, to identify the elements in each page structure.
[0039] The beneficial effects achieved by the present invention are as follows:
[0040] The present invention improves the accuracy of processing unstructured documents by using multimodal language models, and effectively reduces the transmission and accumulation of errors through a built-in self-correction mechanism, thereby improving the overall efficiency and quality of data processing. This method has broad prospects, especially in fields that require high-precision document analysis and data conversion, such as law, medicine, and scientific research. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0042] Figure 1 This is a flow chart of a data processing method based on a multimodal large language model provided in Example 1 of the present application. DETAILED DESCRIPTION
[0043] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention. Embodiment 1
[0044] Embodiment 1 of the present application provides a data processing method based on a multimodal large language model. The data processing method of the present application can process different documents. The document contains multiple pages, and the pages include structured pages and unstructured pages. Structured pages, that is, data elements in the page have a specific format and are easy to search and analyze; unstructured pages, that is, data elements in the page have no specific format and are usually generated manually, and may include various formats such as text, images, tables, audio and video. The data processing of the multimodal large language model provided in the present application can process both structured data and unstructured data. The processing of structured pages is relatively simple compared to that of unstructured pages. The following takes the processing of unstructured pages as an example to illustrate.
[0045] like Figure 1 As shown, the data processing method based on the multimodal large language model specifically includes:
[0046] Step 110: Obtain unstructured document input, parse each page in the unstructured document, and obtain a page modal data set;
[0047] An unstructured document consists of multiple unstructured pages. When performing unstructured document recognition processing, data processing is performed on each unstructured page.
[0048] Specifically, this application uses a page analysis model to analyze and identify each unstructured page, including:
[0049] Step 111: pre-process the unstructured page;
[0050] Preprocessing of unstructured pages includes but is not limited to denoising, binarization, segmentation, etc.
[0051] Step 112: extract features from the preprocessed page to obtain a page feature set;
[0052] In the embodiment of the present application, feature extraction is performed, specifically including the following sub-steps:
[0053] Step 1121: Segment the page into multiple page sub-regions, and then extract features of each page sub-region from each page sub-region.
[0054] Step 1122: Merge the features of the page sub-region and its adjacent page sub-regions according to feature classification, and repeat the page sub-region feature merging to finally obtain a plurality of segmented sub-pages.
[0055] Specifically, when performing feature extraction, the page can be divided into multiple page sub-regions, and for each page sub-region, the features in each page sub-region are extracted, which can improve the processing capability of page data analysis. Considering that the edge area of each page sub-region may be unclearly segmented, in order to more accurately analyze the page structure, the present application classifies and merges the features of adjacent page sub-regions, and re-merges the features into more accurate regions. Specifically, adjacent similar features can be merged and classified according to the similarity criterion between the features to obtain a larger candidate area, and the merging process is repeated until the similarity between the merged features is less than the preset threshold, thereby obtaining multiple reallocated page segmentation sub-regions.
[0056] The page sub-region feature merging includes:
[0057] Step 1122-1, locate all other page sub-regions adjacent to the current page sub-region;
[0058] Step 1122-2, obtaining edge region features of the current page sub-region and edge region features of other adjacent page sub-regions;
[0059] Step 1122-3, using a feature of the current page sub-region to compare features of other adjacent page sub-regions within a predetermined distance using a similarity criterion, classifying features that meet the predetermined conditions, and re-dividing the page sub-regions;
[0060] Step 1122-4, perform the above operations in sequence to obtain the final segmented sub-page.
[0061] Step 1123: extract features from each segmented sub-page to obtain a page feature set;
[0062] After obtaining multiple segmented sub-pages, secondary feature extraction is performed on each segmented sub-page to obtain corresponding page feature sets. After the above-mentioned fine area division, a more accurate page feature set is obtained, and the subsequent model selection will be more accurate based on the more accurate page feature set.
[0063] Step 113: Select multiple classification models based on the attributes of the feature set of each page;
[0064] After the page is segmented, these areas may include text areas, picture areas, table areas, etc., where there may be text on the pictures in the picture area, or there may be text in the table in addition to the table in the table area. Therefore, it is necessary to perform modal classification on the separated page areas to determine the multiple modal data in the page.
[0065] After extracting the feature set of each segmented sub-page, in order to improve recognition accuracy, multiple classification models are selected to determine the multiple modes existing in the page. The selection of classification models is based on the attributes of the feature set of each page. For example, for feature sets that include text areas and image areas in the page feature set, KNN classification models and naive Bayes models that can handle continuous and discrete features can be selected.
[0066] Step 114: Input each page feature set into the corresponding multiple classification models, calculate the optimal weight set of each classification model, and use the results of each classification model and its optimal weight set to determine the final page modal set.
[0067] Input each page feature set into the classification model, and use the page feature set to train the sub-classification model , and then use the sub-classification model Classify the page feature set to obtain the classification results, and use the formula Estimate the collection of weights for the subclassification model .
[0068] Calculate each sub-classification model The set of weights The optimal value corresponding to each weight; through each sub-classification model And the optimal value of its corresponding weight The combination determines the final page modal set.
[0069] Return to see Figure 1 , step 120, using a multimodal large language model to perform element comprehensive analysis on multiple modal data in the page;
[0070] After determining the page structure, it is necessary to analyze and identify the elements in each page structure. This application uses a multimodal large language model to perform a comprehensive element analysis on each page structure, which specifically includes the following sub-steps:
[0071] Step 121, obtaining different modal data in each page structure;
[0072] Step 122: fusing the different modal data to obtain fused data;
[0073] Step 123: Input different modal data and their fused data into the large language model for processing respectively to identify the elements in each page structure.
[0074] Obtain modality features through the attention mechanism:
[0075] in, Represents the input page features, They represent the linear transformation operations on the query, key, and value features respectively. The feature vectors representing the obtained query, key, and value respectively; Indicates different subscripts Different characteristic heads at the time, represents the attention mechanism, is the normalized exponential function, represents the inner product of query,keys, Represents the dimension of the feature.
[0076] represents the fusion feature head, It means to concatenate the attention results of each head together and transform them through a linear transformation Fusion.
[0077] Through feature fusion, features of multiple modalities are merged into the same feature:
[0078]
[0079] in, Indicates multiple modal information of input, Represents the fusion features of the final output.
[0080] Then, the fused features and the original modal features are used together to perform the autoregressive output of the multimodal large model.
[0081] This application uses different modal data as a test set and the fused data of different modal data as a verification set, which are respectively input into different network branches of a large language model. The analysis results are given by different network branches, and the analysis results of each network branch are summarized and analyzed to obtain the final analysis result.
[0082] The structured data obtained from the original data using the multimodal model is:
[0083]
[0084] in, Represent the input raw data and processed structured data respectively. represents a large multimodal model for content extraction, Indicates the system prompt word used for content extraction.
[0085] Step 130, calculating the credibility of each page element analysis result;
[0086] In order to ensure the accuracy of the output results of the large language model, after obtaining the page elements, this application needs to perform a credibility assessment on the output results of the large language model. Analysis results that exceed the credibility set threshold are considered to be accurate output results. If the credibility is lower than the threshold, the model parameters need to be adjusted to obtain accurate analysis results.
[0087] Specifically, according to the formula Calculate the credibility of each page structure analysis result, where: For the output of the large language model The coordinate position of the element, The original unstructured document is in The element of the coordinate position, t represents the allowable deviation of the coordinate position, and the value of t ranges from 1 to , To preset the maximum allowable deviation, Assign parameters to the tth allowed deviation, The deviation matching degree is calculated. is the influence weight of deviation matching degree on credibility; , Represent the input raw data and processed structured data respectively. represents a large multimodal model for consistency assessment, Indicates the system prompt word used for consistency assessment. represents the score obtained through consistency assessment; , Represents processed structured data, represents the large model used for consistency assessment, Represents the system prompt words used for accuracy assessment, represents the score obtained by accuracy assessment; The influence weight of the accuracy of the model evaluation output on the credibility.
[0088] Step 140: for the page structure whose credibility is lower than the threshold, adjust the multimodal model parameters to perform model error correction, and continue to perform element comprehensive analysis on the page structure whose credibility is lower than the threshold until the credibility is not lower than the threshold;
[0089] After the credibility is calculated, the credibility can reflect the degree of recognition of the model for the input data, so the corresponding parameter optimization method is obtained according to the credibility of different intervals determined by a large number of model corrections. The corresponding relationship between the credibility and the model parameters is adjusted through continuous model training, and the model parameters are adjusted accordingly according to the interval of the calculated credibility to adapt to more accurate element analysis.
[0090] Step 150: Analyze the arrangement of each element in each page structure to generate a structured document.
[0091] Specifically, sort the multimodal large model and obtain the sequence number of each element:
[0092] in, Indicates the processed Structured data for regions, represents a large model for sorting, Indicates the system prompt word used for sorting. Represents the sorting results generated by the large model, where Elements Indicates that in the sorted structured data list, The element makes the first indivual.
[0093] Output the final structured document in element order:
[0094] in, Indicates the processed Structured data for regions, Represents the sorting results generated by the large model, Represents the final structured document. Embodiment 2
[0095] Embodiment 2 of the present invention provides a data processing system based on a multimodal large language model, specifically comprising:
[0096] The page parsing module is used to obtain unstructured document input, parse each page in the unstructured document, and obtain a page modal data set;
[0097] Specifically, a page analysis model is used to analyze and identify each unstructured page, including: preprocessing the unstructured pages; extracting features from the preprocessed pages to obtain a page feature set; selecting multiple classification models based on the attributes of each page feature set; inputting the attributes of each page feature set into the corresponding multiple classification models, and calculating the optimal weight set of each classification model, and using the results of each classification model and its optimal weight set to determine the final page modal set.
[0098] Feature extraction is performed on the preprocessed page, specifically including: dividing the page into multiple page sub-regions, and then extracting the features of each page sub-region from each page sub-region; merging the features of the page sub-region and its adjacent page sub-regions based on feature classification, repeating the page sub-region feature merging, and finally obtaining multiple segmented sub-pages; feature extraction is performed on each segmented sub-page to obtain a page feature set.
[0099] Perform feature merging, specifically including: locating all other page sub-regions adjacent to the current page sub-region; obtaining edge region features of the current page sub-region and edge region features of other adjacent page sub-regions; using a feature of the current page sub-region to compare similarity criteria with features within a predetermined distance of other adjacent preliminary page structures, classifying features that meet predetermined conditions, and re-dividing page sub-regions; performing the above operations in sequence to obtain the final segmented sub-pages.
[0100] Multimodal model analysis module, used to use multimodal models to perform comprehensive element analysis on multiple modal data in a page;
[0101] A multimodal large language model is used to perform a comprehensive element analysis on each page structure, which specifically includes the following sub-steps: obtaining different modal data in each page structure; fusing the different modal data to obtain fused data; and inputting the different modal data and their fused data into the large language model for processing to identify the elements in each page structure.
[0102] The model error correction module is used to calculate the credibility of the analysis results of each page element; for page structures with a credibility lower than the threshold, the multimodal model parameters are adjusted to perform model error correction, and the elements of the pages with a credibility lower than the threshold are continuously analyzed comprehensively until the credibility is not lower than the threshold;
[0103] The structured document generation module is used to analyze the arrangement of each element in each page structure and generate a structured document.
[0104] Corresponding to the above embodiment, an embodiment of the present invention provides a computer storage medium, including: at least one memory and at least one processor;
[0105] The memory is used to store one or more program instructions;
[0106] A processor is used to run one or more program instructions to execute a data processing method based on a multimodal large language model.
[0107] Corresponding to the above embodiment, an embodiment of the present invention provides a computer-readable storage medium, which contains one or more program instructions, and the one or more program instructions are used by a processor to execute a data processing method based on a multimodal large language model.
[0108] The embodiments disclosed in the present invention provide a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the above-mentioned data processing method based on a multimodal large language model.
[0109] In the embodiment of the present invention, the processor may be an integrated circuit chip having the ability to process signals. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0110] The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.
[0111] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0112] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0113] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus DRAM (DRRAM).
[0114] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.
[0115] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention can be implemented using a combination of hardware and software. When software is used, the corresponding functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.
[0116] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A data processing method based on a multimodal large language model, characterized in that: include: Obtain unstructured document input, parse each page in the unstructured document, and obtain a page modal data set; Use a multimodal large language model to conduct comprehensive element analysis on the page modal data set; Calculate the credibility of the analysis results of each page element; If the credibility is lower than the threshold, the multimodal large language model parameters are adjusted to perform model error correction, and the elements of the pages whose credibility is lower than the threshold are continuously analyzed until the credibility is no lower than the threshold. Analyze the arrangement of elements in each page and generate structured documents; Parse each page in the unstructured document, specifically using the page analysis model to analyze and identify each unstructured page, including: Preprocess unstructured pages; Perform feature extraction on the preprocessed pages to obtain a page feature set; Select multiple classification models based on the feature set attributes of each page; Input each page feature set into the corresponding multiple classification models, calculate the optimal weight set of each classification model, and use the results of each classification model and its optimal weight set to determine the final page modal set; Perform feature extraction on the preprocessed page, including: Segment the page into multiple page sub-regions, and then extract features of each page sub-region from each page sub-region; Merge the features of the page sub-region and its adjacent page sub-regions according to feature classification, and repeat the page sub-region feature merging to finally obtain multiple segmented sub-pages; Perform feature extraction on each segmented sub-page to obtain a page feature set; Perform feature merging, including: Locate all other page sub-regions adjacent to the current page sub-region; Obtain edge region features of the current page sub-region and edge region features of other adjacent page sub-regions; Using a feature of an edge region of the current page sub-region and features of other adjacent preliminary page structures within a predetermined distance to perform a similarity comparison, classifying features that meet the predetermined conditions, and re-dividing the page sub-region; Perform the above operations in sequence to obtain the final segmented sub-page.
2. A data processing method based on a multimodal large language model as claimed in claim 1, characterized in that: Use a multimodal large language model to perform comprehensive element analysis on the page modal data set, which specifically includes the following sub-steps: Get different modal data in each page; The different modal data are fused to obtain fused data; The different modal data and their fused data are respectively input into the large language model for processing to identify the elements in each page.
3. A data processing system based on a multimodal large language model, characterized in that: include: The page parsing module is used to obtain unstructured document input, parse each page in the unstructured document, and obtain a page modal data set; A multimodal large language model analysis module is used to perform element-by-element comprehensive analysis on a page modal data set using a multimodal large language model; The model error correction module is used to calculate the credibility of the element analysis results of each page; if the credibility is lower than the threshold, the multimodal large language model parameters are adjusted to perform model error correction, and the elements of the pages with credibility lower than the threshold are continuously analyzed until the credibility is not lower than the threshold; The structured document generation module is used to analyze the arrangement of each element in each page and generate a structured document; Parse each page in the unstructured document, specifically use the page analysis model to analyze and identify each unstructured page, specifically including: preprocessing the unstructured page; extracting features from the preprocessed page to obtain a page feature set; selecting multiple classification models based on the attributes of each page feature set; inputting each page feature set into the corresponding multiple classification models, and calculating the optimal weight set of each classification model, and using the results of each classification model and its optimal weight set to determine the final page modal set; The preprocessed page is subjected to feature extraction, specifically including: dividing the page into multiple page sub-regions, and then extracting the features of each page sub-region from each page sub-region; merging the features of the page sub-region and its adjacent page sub-regions according to feature classification, and repeatedly merging the features of the page sub-regions to finally obtain multiple segmented sub-pages; extracting features from each segmented sub-page to obtain a page feature set; Feature merging is performed, specifically including: locating all other page sub-regions adjacent to the current page sub-region; obtaining edge region features of the current page sub-region and edge region features of other page sub-regions adjacent to it; using an edge region feature of the current page sub-region to compare with features of other adjacent preliminary page structures within a predetermined distance using a similarity criterion, classifying features that meet predetermined conditions, and re-dividing the page sub-regions; performing the above operations in sequence to obtain the final segmented sub-pages.
4. A data processing system based on a multimodal large language model as claimed in claim 3, characterized in that: A multimodal large language model is used to perform a comprehensive element analysis of each page structure, which specifically includes the following sub-steps: obtaining different modal data in each page; fusing the different modal data to obtain fused data; and inputting the different modal data and their fused data into the large language model for processing to identify the elements in each page.
