A scientific research literature automatic analysis online processing method and system

By adaptively adjusting the parsing depth and correcting user interactions in real time through an online multimodal parsing architecture, the problems of resource waste and errors in scientific literature parsing are solved, and efficient and stable automatic parsing of scientific literature is achieved.

CN123159347APending Publication Date: 2026-11-24FOURTH MILITARY MEDICAL UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611306989.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing scientific literature parsing technologies cannot adaptively adjust the parsing granularity, resulting in wasted computing resources or superficial parsing. Furthermore, they lack precise location and diagnosis of users' online editing behavior, leading to parsing errors and distorted semantic extraction.

Method used

An online multimodal parsing architecture is built. By recognizing elements such as text, formulas, and charts, the parsing depth level is adaptively selected. Online fine-tuning and incremental verification are carried out in combination with user interaction feedback to construct a semantic topology network and correct terminological ambiguities in real time.

Benefits of technology

It improves the efficiency and stability of scientific literature parsing, accurately locates parsing errors, enhances the parsing accuracy and robustness of complex documents, and reduces reliance on offline retraining.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159347A_ABST
    Figure CN123159347A_ABST
Patent Text Reader

Abstract

This invention discloses an online method and system for automatic parsing of scientific research literature, relating to the field of semantic understanding technology. The method includes the following steps: parsing the scientific research literature to be processed and online tool usage data, and extracting the elements to be parsed; dynamically matching the parsing depth based on parsing difficulty characteristics, and performing diagnostic analysis in conjunction with the elements to be parsed; using a built-in rule verification engine to judge and analyze each batch of parsing processes, synchronously monitoring user online editing interaction behavior, constructing comparative learning sample pairs, and fine-tuning element layout resegmentation and model structure parameters online; introducing an online incremental verification branch to perform iterative correction and disambiguation error identification of comparative learning samples, and providing feedback on term disambiguation results. This invention reduces the parsing latency of the scientific research literature to be processed, and on this basis, improves the accuracy of locating the element layout blocks with parsing errors during the parsing process, thereby improving parsing accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of semantic understanding technology, specifically to an online method and system for automatic parsing of scientific research documents. Background Technology

[0002] With the rapid development of scientific research informatization and intelligent reading tools, automatic parsing and semantic understanding technologies for scientific research documents, such as PDF documents, have been widely used. However, scientific research documents generally have complex characteristics such as multi-column layout, cross-page charts, dense formulas, and highly specialized terminology.

[0003] Existing technologies still suffer from the following major shortcomings when processing such documents: Firstly, existing parsing techniques mostly employ a single or static parsing granularity, failing to adaptively adjust to the typesetting complexity and parsing difficulty of the document being processed. This leads to a waste of computational resources when dealing with simple documents, while failing to deeply extract the semantic cross-referencing between text and images when dealing with highly complex documents, resulting in lagging offline processing. Secondly, existing systems lack precise location and diagnosis mechanisms for parsing error types and their corresponding page blocks. During the parsing output process, if there is interactive behavior such as online editing by users, for example, users may edit and correct manually parsed pages, terms, or text-image relationships while reading or using online tools, existing parsing technologies cannot analyze the intent of users' online editing behavior, easily leading to misjudgments in element page segmentation. On the other hand, existing parsing models are usually highly dependent on long-cycle and costly offline retraining for updates. Since scientific literature often contains a large number of polysemous terms and complex cross-citation relationships, during the fine-tuning process, directly accessing all interactive behavior data of users' online editing behavior without online incremental verification and disambiguation recognition, and failing to iteratively correct the samples, can easily lead to defects such as citation parsing errors and distortion of professional semantic extraction, which greatly reduces the robustness of complex scientific literature parsing models. Summary of the Invention

[0004] (a) Technical problems to be solved To address the shortcomings of existing technologies, this invention provides an online method and system for automatic parsing of scientific research literature. It establishes an online multimodal parsing architecture, first identifying text, formulas, charts, and citation blocks to capture page layout hierarchical relationships by synchronously parsing the requirements of the scientific research literature. Then, it adaptively selects a parsing model, matches the optimal parsing depth level based on parsing difficulty characteristics, extracts four types of entities in segments, and constructs a semantic topology network between these entities. Based on user online interaction feedback, an online fine-tuning mechanism is activated, and an online incremental verification branch is introduced to real-time match domain standard thesaurus to correct terminological ambiguities, unify multi-format reference metadata, and generate terminology disambiguation results that are fed back into the model structure parameter update process. This solves the problems mentioned in the background technology.

[0005] (II) Technical Solution To achieve the above objectives, the present invention provides the following technical solution: Firstly, this application provides an online method for automatically parsing and processing scientific research literature, the method comprising: Analyze the research literature and online tool usage data to be processed, and extract the key elements of literature analysis; Based on the characteristics of parsing difficulty, the parsing depth is dynamically matched, and diagnostic analysis is performed in conjunction with the elements of document parsing: entities with semantic relationships with the elements of document parsing are extracted during the parsing process, and model structure parameters are extracted based on the entities; parsing error types with semantic relationships with the elements of document parsing are identified during the parsing process, and the corresponding element page blocks are located. Through the built-in rule validation engine, the parsing process of each batch is judged and analyzed, and the user's online editing interaction behavior is monitored in sync. Comparative learning sample pairs are constructed, and the element layout resegmentation and model structure parameters are fine-tuned online. During the online fine-tuning process, an online incremental validation branch is introduced to perform iterative correction and disambiguation error identification of the comparative learning samples, and the obtained term disambiguation results are fed back to the update process of the model structure parameters.

[0006] Furthermore, the key elements of literature analysis are extracted, including: The system acquires user-uploaded research literature, performs multimodal page segmentation, extracts the positional information of each element's page layout, captures the page hierarchy relationships, and constructs a chapter topology tree. It then serializes the main text of the research literature, monitors the semantic flow of paragraph context, obtains text semantic vectors and semantic density, quantifies the chapter topology tree, and formulates literature requirements. Elements include literature titles, main text, mathematical formulas, figures, headers, footers, and footnotes, and header / footer and page number noise blocks are filtered out. Extract parsing requirements from data used by online tools, including parsing latency requirements and rendering performance requirements; By combining the requirements for literature review and analysis, the elements for literature analysis are generated.

[0007] Furthermore, the parsing difficulty features are obtained, including: Based on the document layout characteristics, a parsing model is selected to capture the page images of each element; semantic chaos is calculated to dynamically adjust the chapter truncation window and parsing depth; by denoising the page images of each element in each chapter truncation window, semantic vectors are extracted and converted into semantic scalar signals; and the semantic analysis intensity of each character when passing through the parsing node is recorded by peak detection method. Based on the element layout location information, the layout hierarchy of each element layout image is extracted, the visual gradient and density distribution of each element are calculated, and the bounding box is determined by cross-union ratio thresholding and connected component analysis; to locate the element layout blocks, the layout topology features containing the layout hierarchy relationship are extracted; semantic chaos degree, semantic analysis strength and layout topology features are acquired simultaneously to generate parsing difficulty features.

[0008] Furthermore, the parsing depth is dynamically matched based on the parsing difficulty characteristics, including: Based on the parsing difficulty characteristics, the optimal parsing depth level is dynamically matched for element layout blocks by maximizing the semantic understanding completeness and maximizing the utilization of computing resources. The matching results form a parsing strategy pair list, and a parsing task execution sequence is generated based on the matching results, and the parsing mode and resource configuration of each element layout block are determined. The parsing depth levels include L1, L2, L3 and L4 levels.

[0009] Furthermore, the process of obtaining semantic relationships includes: Based on the parsing mode and resource configuration, the core entities, dataset entities, tool interface entities, and algorithm parameter entities of the document parsing elements are extracted; and the feature vectors of each entity in the hidden layer of the parsing model are captured, the cross-attention association matrix between entities in the text context and page layout is identified, and a semantic topology network connecting each entity is constructed. During the parsing process, the probability drift distance of the hidden layer features of each entity node in the phase space is calculated in real time according to the parsing depth. If the probability drift distance of multiple consecutive entity nodes is detected to be greater than the standard confidence envelope, a parsing anomaly diagnosis signal is triggered, which is judged as a parsing error. The parsing error status is then quantified into constraint attributes and updated to the semantic topology network. Obtain the confidence score threshold for the semantic mapping relationship between the text context and the document parsing elements; Obtain the maximum fault tolerance threshold that establishes a semantic mapping relationship between page layout levels and document analysis elements.

[0010] Further, the judgment analysis includes: Extract the chapter topology tree and the page position of each element from each batch of parsing, and perform double verification through the built-in rule verification engine, including: determining the formula abstract syntax tree based on the chapter topology tree and verifying the node closure; determining the bounding box based on the page position of each element and verifying the page overlap rate; if at least one of the following is detected, the page overlap rate is greater than the maximum fault tolerance threshold or the formula abstract syntax tree is not closed, it is judged as a high-risk parsing process and an online fine-tuning mechanism is triggered.

[0011] Furthermore, construct contrastive learning sample pairs, including: Monitor user online editing interactions, including at least adjusting bounding boxes and adjusting reading order; Extract the parsing difficulty features of the adjusted element layout blocks as anchor points, and construct layout resegmentation comparison sample pairs by using the user-adjusted bounding box coordinate features as positive samples and the bounding box coordinate features of the initially identified element layout blocks as negative samples. Extract the text context corresponding to the page block to be adjusted as the anchor point, take the page topology features corresponding to the correct preorder and postorder of the user as positive samples, and take the topology sequence features corresponding to the page block initially identified as the wrong element as negative samples to construct reading flow order comparison sample pairs.

[0012] Furthermore, an online incremental verification branch is introduced, including: The intermediate results output by the identification and parsing model include a list of extracted term entities, each of which is automatically mapped to a standard thesaurus entry and a mapping confidence score is obtained. The text fragments in the context of the term entity are identified and semantic similarity is retrieved from the standard thesaurus entries. After excluding the currently incorrectly mapped entries, the entry with the highest similarity and matching subject tag is selected as the automatic correction candidate to obtain the term disambiguation result. By filtering the list of term entities whose mapping confidence scores are less than the confidence score threshold, a disambiguation error is identified, and the first semantic vector is extracted and used as a negative sample. By filtering the list of term entities whose confidence scores are greater than or equal to the confidence score threshold, the second semantic vector is extracted and used as a negative sample. Gradient backpropagation and model structure parameter updates are performed by minimizing the target contrast loss.

[0013] Secondly, this application provides an online system for automatically parsing and processing scientific research literature, the system comprising: The extraction module analyzes the research literature and online tool usage data to be processed, and extracts the key elements of the literature analysis. The semantic mapping module dynamically matches the parsing depth based on the parsing difficulty characteristics and performs diagnostic analysis in conjunction with the document parsing elements: extracting entities that have semantic relationships with the document parsing elements during the parsing process and model structure parameters extracted based on the entities; identifying parsing error types that have semantic relationships with the document parsing elements during the parsing process and locating the corresponding element page blocks; The online fine-tuning module uses a built-in rule validation engine to analyze and judge each batch of parsing processes, synchronously monitor users' online editing interaction behavior, construct comparative learning sample pairs, and fine-tune the element layout resegmentation and model structure parameters online. During the online fine-tuning process, an online incremental validation branch is introduced to perform iterative correction of comparative learning sample pairs and term disambiguation recognition, and the obtained term disambiguation results are fed back to the update process of model structure parameters.

[0014] (III) Beneficial Effects This invention provides an online method and system for automatic parsing and processing of scientific research literature, which has the following beneficial effects: 1. This invention analyzes research literature and online tool usage data, performs multimodal page segmentation based on the research literature, extracts the positional information of each element page and captures the page hierarchy relationship, constructs a chapter topology tree, and forms literature requirements; it also extracts parsing requirements based on online tool usage data; and it forms literature parsing elements through literature requirements and parsing requirements, which facilitates subsequent analysis; to a certain extent, it optimizes the way users obtain literature parsing elements and the accuracy of their needs, improves the utilization rate of computing resources, and significantly improves the efficiency and stability of automatic analysis and online rendering of research literature. 2. This invention dynamically matches the optimal parsing depth level based on the parsing difficulty characteristics, ensuring the integrity of the semantic expression of complex documents while effectively avoiding the waste of computing resources in the parsing of simple documents; combined with the diagnostic analysis of document parsing elements, it can accurately extract semantically related entities and model structure parameters, and accurately locate the parsing error type and its corresponding element page block, providing an accurate positioning benchmark for subsequent page resegmentation and parameter correction. 3. This invention uses a built-in rule validation engine to determine the parsing process for each batch and simultaneously monitors the user's online editing interaction behavior in real time. To a certain extent, it automatically identifies the user's correction intentions and constructs high-quality comparative learning sample pairs, performing online real-time fine-tuning of the model's structural parameters. This eliminates the need for a cumbersome offline retraining process, enabling the model to quickly adapt to user preferences and specific layout styles. During the online fine-tuning process, an online incremental validation branch is introduced, using comparative learning samples for iterative correction and disambiguation error identification, effectively solving the problems of ambiguous professional terms and misjudgment of complex layouts. At the same time, the obtained terminology disambiguation results are directly fed back into the update process of the model's structural parameters, greatly improving the system's parsing accuracy and robustness in difficult document parsing scenarios. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the main framework for automatic online parsing provided by the present invention; Figure 2 This invention provides an overhead mapping diagram for different parsing depth levels. Detailed Implementation

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

[0017] Research Concept: An online multimodal parsing architecture is built. First, by synchronously parsing scientific literature requirements, it identifies element blocks in text, formulas, charts, and citation sections, capturing hierarchical relationships within the text. Then, it adaptively selects a parsing model, matching the optimal parsing depth level based on parsing difficulty characteristics, extracting four types of entities in segments, and constructing a semantic topology network between these entities. An online fine-tuning mechanism is activated based on user online interaction feedback, and an online incremental verification branch is introduced. This involves real-time matching with a domain-standard thesaurus to correct terminological ambiguities, unifying multi-format reference metadata, and generating terminology disambiguation results that are fed back to the model structure parameters during the update process. A lightweight online caching and scheduling system is provided to reduce parsing latency and, based on this, improve the accuracy of locating erroneous element blocks during parsing, thereby increasing parsing precision.

[0018] Example 1: This embodiment of the invention provides an online method for automatic parsing and processing of scientific research literature; Figure 1 This is a schematic diagram of the main framework for automatic online parsing provided by the present invention. Figure 2 This invention provides an overhead mapping diagram at different parsing depth levels; please refer to [link / reference]. Figures 1 to 2 The method includes the following steps: S1: Analyze the research literature and online tool usage data to be processed, and extract the key elements of literature analysis; The document analysis process involves extracting key elements, including: acquiring user-inputted research documents, performing multimodal page segmentation, extracting the positional information of each element's page and capturing the hierarchical relationships between pages, and constructing a chapter topology tree. The multimodal page segmentation process includes: acquiring user-uploaded research documents, such as those in PDF or Word format, rendering them as single-page images at a preset resolution, and identifying the text stream and its original coordinates within the corresponding single-page image. Simultaneously, a unified normalized two-dimensional pixel coordinate system is established for this single-page image, and the original pixel coordinates of each character in the text stream are linearly mapped to the normalized two-dimensional pixel coordinate system according to the actual width and height of the single-page image, thus obtaining the normalized bounding box coordinates of each character. Based on the bounding box coordinates, horizontal character spacing thresholds and vertical line spacing thresholds are preset. Adjacent characters within the same line whose horizontal distance is less than the preset horizontal character spacing threshold are concatenated into a text line. Continuous text lines with vertical line spacing less than or equal to the preset vertical line spacing threshold and left-aligned, right-aligned, or center-aligned are clustered and merged into independent element layout blocks, each containing positional information in normalized two-dimensional pixel coordinates. These element layout blocks are categorized and identified as: document titles, chapter titles, main text, mathematical formulas, figures, headers / footers, and footnotes, while filtering header / footer and page number noise blocks. It should be noted that the horizontal character spacing thresholds and vertical line spacing thresholds are predefined settings in the system database; the actual values ​​are set according to the actual situation and will not be elaborated upon here. The following is an explanation of some of the terms involved: Document title: By statistically analyzing the average font size of all elements on the page, the element with the largest font size and horizontal centering is identified as the document title block; Chapter title: By extracting the first character of the element's page, if it contains a chapter number pattern, such as 1.1, 2.1, and the font size is larger than the average font size of the main text, it is identified as the chapter title block; Body text: A block of elements on the page whose font size is equal to the base font size that appears most frequently on the page and that meets the requirements of first-line indentation or justification is determined to be a body text block; Mathematical Formulas: If a text line contains preset mathematical operator characters, such as sum, int, or if the text line is centered and contains parentheses numbered on its right edge, it is determined to be a mathematical formula block. Chart: Extract the closed rectangle or bitmap rendering area of ​​the underlying vector drawing command in the PDF file. If it is immediately above or below a text line containing a preset chart guide word, such as Figure1 or Table2, then the rectangle or bitmap area and the text line are jointly determined as the chart block. Header and footer: Elements within the top or bottom edge threshold of a page. If their content contains only numbers, such as 1, a preset page number format, such as Page 1, or the same journal or article name string appears repeatedly at the same coordinate position on multiple pages, they are determined to be header and footer blocks. Footnote: An element block located at the bottom of the page with a vertical coordinate greater than the main text area and a font size smaller than the base font size of the main text. If its first character contains a number or symbol that matches the superscript character in the main text, such as ①[1], it is determined to be a footnote block. The structure of the chapter topology tree includes: initializing the tree data structure, each node containing a node number, node type, location information, text content, and pointers to parent and child nodes, and classifying node types as: root node, trunk node (represented by document title), branch node (represented by chapter title), and leaf node (represented by text, mathematical formulas, charts, and footnotes). Establish a unique root node, attach the identified document titles as trunk nodes below the root node, point their parent node pointers to the root node, and point the child node pointers of the root node to the trunk node; traverse all chapter titles in reading order, and determine the hierarchical depth of chapter titles based on chapter numbering patterns, such as 1, 1.1, 1.1.1, this progressive inclusion relationship, or font size ladder; attach the first-level chapter title blocks as direct child nodes of the trunk node or root node, and attach the second-level chapter titles as branch nodes of chapter titles that are immediately adjacent to their predecessors in reading order and one level higher in hierarchy, update the parent node pointer and child node pointer lists in the corresponding nodes, and construct a hierarchical basic skeleton tree of chapters; The system iterates through the categorized main text, mathematical formulas, charts, and footnotes. Based on the location information and the preset reading order, it sequentially attaches the main text, mathematical formulas, and charts falling within the scope of a specific chapter title as leaf nodes to the child node pointer list of the corresponding chapter branch node. Footnotes are attached as leaf nodes below the current chapter branch node at the bottom of their respective pages, forming a complete hierarchical chapter topology tree. The system iterates through the strings in the leaf nodes of the main text, extracting the number of any text anchor pointing to a chart or formula. It then locates the corresponding numbered mathematical formula leaf node or chart leaf node, writes a directional pointer between the main text leaf node and the formula / chart leaf node, and establishes a logical connection edge across nodes to form a page hierarchy. By serializing the main text of scientific literature, following the aforementioned reading order, a depth-first traversal is performed on all leaf nodes of the main text type along the constructed chapter topology tree: extracting the text content in the leaf nodes to which each main text belongs, removing redundant formatting line breaks and invisible formatting characters, and concatenating them in order into an ordered sequence of main text paragraphs to form a semantic flow of paragraph context. By monitoring the semantic flow of the paragraph context, word segmentation is performed on the paragraph sequence. For example, a fixed-length sliding text window is set up and slid along the reading order of the paragraph sequence. The vocabulary set of all paragraphs in the window is extracted. By searching the preset vocabulary value mapping table, the preset dimension value vector of each word in the paragraph is extracted. The word frequency-inverse document frequency weight of each word in the current paragraph is combined and weighted to calculate the text semantic vector representing the core meaning of the paragraph. It should be noted that term frequency (TF) represents the number of times a word appears in the current paragraph divided by the total number of words in that paragraph, used to characterize the density of a word in a local context; inverse document frequency (IVF) represents the total number of documents in the document dataset divided by the number of documents containing the word, and the logarithm of this ratio is used to characterize the prevalence of a word in the entire document set; by multiplying TF and IVF, the comprehensive weight of the word is obtained, resulting in the TF-IVF weight. The result of summing the word's predefined dimension vector with the corresponding TF-IVF weight is labeled as the text semantic vector; if the calculated text semantic vector values ​​of two paragraphs are similar, it reflects to some extent that the semantic topics of the two paragraphs are similar; By searching a pre-set professional academic dictionary, the number of professional academic terms and mathematical formula variable symbols contained in the current paragraph is counted; by reading the total number of characters in the paragraph, the semantic density of the current paragraph is set as the ratio of the sum of the number of professional academic terms and the number of mathematical formula variable symbols to the total number of characters; it should be noted that the higher the semantic density value, the higher the amount of academic information carried per unit length of the paragraph. Based on the text semantic vector and semantic density normalization processing, and injecting them as numerical attributes into the chapter topology tree, the chapter topology tree is quantified: by injecting the semantic density into the attribute column of the leaf node to which a certain text belongs, the average semantic density of all leaf nodes is calculated to obtain the average semantic density of the chapter; the various parameters of the quantified chapter topology tree are summarized and packaged to form a standardized dataset, that is, to form the literature requirements.

[0019] Extract parsing requirements from online tool usage data, including parsing latency and rendering performance requirements; combine the literature requirements and parsing requirements to generate literature parsing elements; The following is an explanation of some of the terms involved: Parsing latency requirements: These represent the maximum waiting time between the user triggering parsing and the output of the parsing result; for example, when using an online tool deployed on a local server and accessed via a campus network IP address, the formula or text parsing must respond within 200ms when the user clicks to upload research literature, selects formulas, or drags and drops the layout; Rendering performance requirements: These represent the frame rate, refresh rate, or memory overhead limits of the parsed complex element layout blocks on the front-end user interface; for example, when using an English PDF document for analysis and directly exporting an editable PPT, if the PPT page contains multiple complex SVG formulas and dense layout frames, the front-end rendering engine must not experience stuttering, frame drops, or memory overflow; The aforementioned parsing requirements can be further supplemented by web scraping technology to obtain more tool usage data from publicly available online platforms, such as the average response latency and concurrency limits of external OCR services and formula rendering APIs. After filtering and cleaning, the data dimensions are enriched, further enhancing the breadth and depth of data collection. Simultaneously, the system combines user habits with online tools to determine the user's proficiency, operational correctness, and interaction frequency with different parsing tools. Through this combination, the statistically derived parsing requirements will be more accurate, thereby providing a more professional adaptive computing power scheduling and task routing solution.

[0020] S2: Dynamically match the parsing depth based on the parsing difficulty characteristics, and perform diagnostic analysis in conjunction with the document parsing elements: extract entities that have semantic relationships with the document parsing elements during the parsing process and model structure parameters extracted based on the entities; identify the parsing error types that have semantic relationships with the document parsing elements during the parsing process, and locate the corresponding element page blocks; The analysis difficulty characteristics are obtained, including: matching the document layout characteristics with a preset rule database based on the document layout characteristics, and adaptively selecting the corresponding analysis model. This analysis model has different sub-network combinations and model structure parameter configurations built in; for example, when the analysis of scientific literature is started, based on the layout characteristics of the scanned document, such as the number of columns, the density of figures and tables, the number of formulas, etc., sub-network A or sub-network B is matched and selected from the preset rule database; for mixed documents, it can also be dynamically switched on a page-by-page basis, using sub-network A for simple pages and sub-network B for complex pages; It should be noted that the specific framework structure of the parsing model includes: a page segmentation layer, a hidden feature layer, and a semantic parsing layer; the page segmentation layer includes two parallel encoding sub-networks, namely sub-network A and sub-network B, which are used to complete the initial segmentation of the page and output the page image of each element, bounding box coordinates, and initial type labels. Sub-network A is suitable for scientific literature with a regular layout and mainly plain text. First, the element layout image is binarized and tilted. Then, the text lines and column boundaries are located by horizontal and vertical projection histograms. Next, the foreground area in the image is clustered using connected component labels. Combined with the pre-set horizontal character spacing threshold and vertical line spacing threshold, the bounding boxes of each text paragraph and title are quickly generated. The bounding boxes of the figure and formula areas are simply determined by analyzing the size ratio and internal texture complexity of the connected components. Sub-network B is suitable for literature with multiple figures, multiple formulas, and complex layout. This network adopts a lightweight deep segmentation network. Its backbone is the YOLO series detection head. It is specifically trained for different categories of element layout blocks in scientific literature. It directly predicts the category label and bounding box coordinates of each element and supports the continuous detection of elements that span columns and pages. Hidden Feature Layer: Receives the element layout image blocks output by the layout segmentation layer, along with their preliminary type labels and bounding box coordinates. Performs subsequent multimodal fusion, semantic distillation, and entity relation extraction. Maps the element layout images to visual latent vectors using a visual projection matrix. Maps the bounding box coordinates to spatial latent vectors using a spatial position encoder. If text is present, the text's token latent vector is extracted simultaneously. The visual latent vectors, spatial latent vectors, and text latent vectors are cascaded and fused. During the forward propagation of the parsing model, the deep output port of this module serves as the latent feature capture point, outputting high-dimensional latent feature vectors containing the global layout context for subsequent semantic relationship analysis. Semantic parsing layer: Receives hidden layer feature vectors, uses the hidden layer feature vectors of all entities as query vector set and key vector set respectively, calculates the attention scores between pairs of entities, forms a cross-attention association matrix, and each element in the matrix represents the cross-modal semantic dependency strength of one entity on another entity; to construct a semantic topology network with entities as nodes and semantic relationships as edges; Based on the selected parsing model, the document page image is initially segmented to identify and capture the layout images of each element containing text, figures, formulas, and titles. For each element layout image, the semantic chaos degree is calculated to dynamically adjust the document truncation window and parsing depth. The steps for obtaining the semantic chaos degree include: First, the semantic embedding dimension is determined using the pseudo nearest neighbor method, including: obtaining the text semantic vectors from the different steps mentioned above; by selecting an initial semantic embedding dimension, calculating the nearest neighbor of each semantic data point under the current semantic embedding dimension, increasing the semantic embedding dimension by 1 to construct a new high-dimensional semantic space, and mapping the text semantic vectors to this high-dimensional semantic space; in the new high-dimensional semantic space, calculating the nearest neighbor of each semantic data point; if the nearest neighbor changes after the dimension is increased, the nearest neighbor is determined to be a false nearest neighbor, and the proportion of false nearest neighbors is calculated; if the rate of change of the proportion of false nearest neighbors is greater than a preset proportion threshold, the semantic embedding dimension is increased until the rate of change of the proportion of false nearest neighbors is less than or equal to the preset proportion threshold; the semantic embedding dimension corresponding to the rate of change of the proportion of false nearest neighbors not exceeding the preset proportion threshold is selected as the final semantic embedding dimension. It should be noted that the preset proportion threshold is determined based on historical statistics. By collecting the proportion of historical false nearest neighbors, performing a complete analysis of the change rate of the false nearest neighbor proportion, recording the change curve of the change rate of the false nearest neighbor proportion as the dimension increases, identifying the turning point on the change curve where the change rate changes from a steep decrease to a gentle decrease, and marking it as the curvature abrupt change point; the change rate value corresponding to this position is used as the preset proportion threshold and written into the system configuration; this method ensures the stability and rationality of the dimension selection strategy. Then, the semantic delay time is determined by the first zero-crossing point of the autocorrelation function, including: calculating the autocorrelation function of the text semantic vector, finding the position of the first zero-crossing point on the autocorrelation function, and taking the value corresponding to the position of the first zero-crossing point as the semantic delay time; finally, time delay reconstruction is performed according to the semantic embedding dimension and the semantic delay time, mapping the text semantic vector data to the reconstructed semantic phase space to obtain the semantic chaos degree of the text semantics: if the semantic chaos degree is less than 0.3, a fast parsing strategy is enabled and the document truncation window is reduced; if the semantic chaos degree is greater than or equal to 0.3, a deep parsing strategy is enabled and the document truncation window is increased. By denoising the page images of each element within the chapter's capture window, the spatial position mapping relationship between the pixel coordinates of the denoised element page images and their corresponding text stream characters is re-established, determining the normalized two-dimensional pixel coordinate region of each character in the denoised page image. Based on the mapped normalized two-dimensional pixel coordinate regions of the characters and the contextual text content, semantic vectors are extracted and converted into semantic scalar signals. Using peak detection, the characters or symbols corresponding to the detected waveform peaks are located as key parsing nodes, and the scalar values ​​corresponding to the peaks are defined as semantic analysis intensity. Based on the element page position information, page hierarchy extraction is performed on each element page image, calculating the visual gradient and density distribution of each element. Through intersection-union ratio thresholding and connected component analysis, bounding boxes are determined, element page blocks are located, and page topological features containing page hierarchy relationships are extracted. The specific steps include: Based on the previously extracted element layout location information, the corresponding element layout image is extracted; the Sobel operator is used to calculate the visual gradient of each pixel in the element layout image, and the proportion of black pixels in a unit pixel area is counted to obtain the visual density distribution matrix of the image; the visual density distribution matrix is ​​binarized, and the connected component labeling algorithm is used to cluster the sets of pixels that are physically adjacent and have continuous gradients into candidate boxes. The intersection-union ratio (IUR) between each candidate box is calculated. The higher the IUR, the closer the two candidate boxes are to the same region in space; if the IUR of two candidate boxes is greater than a preset overlap threshold, they are merged into a single bounding box. Finally, the accurate normalized bounding box coordinates of each merged element are output, realizing the precise positioning of the element layout block. It should be noted that the preset overlap threshold is determined based on the normalized ratio of the aforementioned preset horizontal character spacing threshold and vertical line spacing threshold on the element scale. The specific steps include: using the position information of the smallest typical layout element in the current page, by traversing the initial bounding box coordinates and bounding box area, extracting the average character width and average line spacing of a single character; if the width of the overlapping area of ​​two candidate boxes is greater than half the average character width, or the height of the overlapping area is greater than half the average line spacing, then the candidate boxes are merged; in this scenario, candidate boxes whose bounding box areas are both the average area of ​​a single character happen to overlap, and the width of the overlapping area is exactly equal to half the average character width, or the height is exactly equal to half the average line spacing; calculate the intersection-union ratio (IUGR) of the two candidate boxes at this time, which is the minimum IUGR required to satisfy the above geometric conditions, and is marked as the preset overlap threshold of the current page.

[0021] The system simultaneously acquires semantic chaos degree, semantic analysis strength, and layout topology features. It then performs feature concatenation to generate parsing difficulty features and dynamically matches the parsing depth based on these features. This includes maximizing semantic understanding completeness and maximizing computational resource utilization to dynamically match the optimal parsing depth level for element layout blocks. The following is an explanation of the terms involved: Semantic understanding completeness: This measures the proportion of structured semantic elements that can be extracted from a given element layout block after applying a certain parsing depth, relative to the total potentially extractable semantic elements of that layout. For example, for a multi-page table, if only the title is extracted, the completeness is very low; if structured data is extracted and cross-validated, the completeness approaches 1. Computational resource utilization: This characterizes the computational resources consumed to complete the parsing. For a given element layout block, the objective is to calculate a weighted sum of maximizing semantic understanding completeness and computational resource utilization to generate a comprehensive score. This score is calculated by multiplying the normalized semantic understanding completeness by the first weight, plus the normalized computational resource utilization by the second weight. The first and second weights range from 0 to 1, and their sum is 1. It's important to note that in complex layout parsing tasks, solely focusing on semantic understanding completeness can lead to the indiscriminate use of high-parameter models for element layout blocks such as blank spaces or simple decorative lines, resulting in wasted computational power and soaring latency. Conversely, solely focusing on computational efficiency can lead to frame drops or semantic breaks in the parsing of element layout blocks with multi-column mixed text. The steps for obtaining the first and second weights include: extracting the attribute features of the current element layout block, including but not limited to: element layout block type, text semantic vector, and semantic density; simultaneously obtaining the current system's operating constraint parameters, including but not limited to the device computing power limit and the maximum allowable latency limit; and, under the condition that the operating constraint parameters are met, i.e. less than or equal to the device computing power limit and less than or equal to the maximum allowable latency limit, calculating two indicator values ​​for each element layout block at each parsing depth level: semantic understanding completeness and computing resource utilization. For semantic understanding completeness, the highest completeness value among the four parsing depth levels is taken to characterize the upper limit of the element's potential demand for deep parsing. For computational resource utilization, the optimal utilization value among the four parsing depth levels is taken to characterize the peak resource efficiency of the element at the most suitable depth. This forms an original data matrix with element layouts as rows and the two indicators as columns. For each indicator, the standard deviation of the values ​​of all element layout blocks on that indicator is calculated, and then divided by the mean of that indicator to obtain the corresponding coefficient of variation. After normalization, the coefficient of variation of that indicator is divided by the sum of the coefficients of variation of the two indicators to obtain the corresponding weight. The magnitude of the weight directly reflects the strength of the ability of each indicator to distinguish the parsing needs of different element layouts. The algorithm iterates through and calculates the comprehensive score corresponding to each resolution depth level, selects the resolution depth level that maximizes the comprehensive score as the optimal resolution depth level for the element's page block, including: L1 level, L2 level, L3 level and L4 level; the matching results form a resolution strategy pair list, generate a resolution task execution sequence based on the matching results, and determine the resolution mode and resource configuration for each element's page block; Level L1: Determined to be in ultra-fast mode; for example: when time is extremely tight before a group meeting, users need to quickly extract the core research topics and basic chapter outlines of a single scientific research paper: the system only calls sub-network A, skipping complex page segmentation and image rendering; sequentially extracts metadata from the underlying text stream of the PDF to obtain the physical coordinates and font size features of the title, author, abstract, and first-level chapter titles; completes the basic outline extraction within the preset time threshold, outputs a plain text-structured report skeleton draft; generates a basic node list and writes it to the memory cache to establish a top-level topology skeleton for the subsequent adaptive PPT architecture; Level L2: Determined as standard mode; for example: the need to adaptively generate group meeting presentation PPTs or pre-compiled Word documents that conform to the audience's reading habits for a single scientific research paper; the system activates the page segmentation layer and hidden feature layer, and in the semantic parsing layer, only the topology network generation is activated to identify the hierarchical relationship of the original scientific research paper, that is, the reading logical order, without performing in-depth text-image cross-attention analysis; personalized PPT title and chapter structure is generated according to the hierarchical relationship; multi-column / cross-column layout features in the text are identified, line breaks and sentence breaks are cleaned according to the correct reading order, and the cleaned text paragraphs are automatically filled into the corresponding PPT page text boxes or Word document outline nodes; Level L3: Determined to be in reconstruction mode; for example: In group meeting presentations or grant proposal writing, where the requirements for controlling the details of the literature are extremely high and it is necessary to centrally display experimental images and their explanatory texts scattered throughout the text: The system activates the three-layer architecture of the parsing model, and by calling the page segmentation layer, it performs precise geometric segmentation of the charts in the scientific literature to extract independent chart image objects; in the semantic parsing layer, it performs cross-modal attention calculation, and uses the previously constructed chapter topology tree and associated edge pointers to retrieve all text anchors in the text that point to a specific chart, such as Figure 1A; it extracts sentences that specifically analyze and discuss Figure 1A; and it compiles the extracted high-definition Figure images and the corresponding methods, results, and discussion statements into a dedicated text and image analysis unit on the same PPT slide or Word document to achieve simultaneous text and image comparison; Level L4: Determined as Inference Mode: For scenarios involving the generation of multiple literature reviews, the preparation of complex project proposals, or the diagnosis of complex issues requiring extremely high-quality literature analysis: Based on activating the three-layer architecture of the analysis model, it outputs confidence estimates for each extracted entity, relation, and chart data point; performs rule-based diagnosis on cross-page tables, areas with dense polysemous terms, and undeclared formula symbols, marking them with tags requiring manual review; generates an analysis process log; when the confidence of an entity or term is lower than a preset threshold, it automatically extracts the term and its context window, triggers enhanced online incremental verification, and highlights difficult passages on PPT slides for manual review.

[0022] The process of obtaining semantic relationships includes: extracting core entities, dataset entities, tool interface entities, and algorithm parameter entities from the literature parsing elements based on the parsing mode and resource configuration; the following is an explanation of some of the terms involved: Core entities: extracting the main text fragments recorded in the process of parsing scientific literature, such as the title, research question, experimental methods, innovative conclusions, and citation logic; Dataset entities: extracting data features such as test sets and sample sizes cited in the process of parsing scientific literature; Tool interface entities: extracting equipment identifiers such as software tools, API interfaces, and hardware instrument models recorded in the process of parsing scientific literature; Algorithm parameter entities: extracting the learning rate and number of iterations of the parsing model used in the process of parsing scientific literature. The feature vectors of each entity in the hidden layer of the parsing model are captured synchronously, and the cross-attention association matrix between entities in the text context and page layout is identified to construct a semantic topology network connecting the entities. Its representation is: G=(V,E); where the node set V is the five types of entities extracted above, the edge set E is the semantic association between entities, and the edge weight of the adjacency matrix is ​​the cross-attention association matrix; each extracted entity is mapped to the parsing model, and the hidden layer feature vector corresponding to the entity is extracted; during the parsing process according to the parsing depth, the probability drift distance of the hidden layer features of each entity node in the phase space is calculated in real time. The specific steps include: during the parsing process according to the hierarchical order, for two adjacent entity nodes in the topology network, their corresponding hidden layer feature vectors are mapped to a high-dimensional phase space; Mahalanobis distance is used to calculate the probability drift distance of the features of two adjacent nodes in the phase space; if the probability drift distance of multiple consecutive entity nodes is detected to be greater than the standard confidence envelope, a parsing anomaly diagnosis signal is triggered, which is judged as a parsing error, and the parsing error state is quantified as a constraint attribute and updated to the semantic topology network; Standard Confidence Envelope: Based on historical statistics, a hidden feature record library within a sliding time window is maintained for each entity class. For each entity node that has been parsed and verified as correct, a hidden feature vector is extracted, and its position in phase space is recorded. When the number of correctly parsed samples for a certain entity class accumulates to a statistically significant number, a high probability density region is delineated in the vector space by estimating the probability density of all hidden feature vectors for that entity class. Along the topological adjacency direction of each entity node in the constructed semantic topology network, the difference in hidden features between adjacent entity nodes is calculated edge by edge. For all historically parsed adjacent entity pairs, the magnitude distribution of their difference vectors is statistically analyzed, and the upper limit of the preset quantile of this distribution is taken as the threshold for single-step probability drift data. The feature distribution boundary of each entity type is combined with this single-step threshold and expanded along the topological path of the semantic topology network to construct a dynamic boundary that extends with the topological distance, which is the standard confidence envelope. Obtain the confidence score threshold for the semantic mapping relationship between the text context and the document parsing elements; Obtain the maximum fault tolerance threshold that establishes a semantic mapping relationship between page layout levels and document analysis elements.

[0023] S3: Through the built-in rule verification engine, the parsing process of each batch is judged and analyzed, the user's online editing interaction behavior is monitored in sync, comparative learning sample pairs are constructed, and the element layout resegmentation and model structure parameters are fine-tuned online; during the online fine-tuning process, an online incremental verification branch is introduced to perform iterative correction of comparative learning sample pairs and term disambiguation recognition, and the obtained term disambiguation results are fed back to the update process of model structure parameters. It should be noted that semantic association refers to the dynamic logical coupling and feature binding relationship established between document parsing elements and extracted entities, model internal structural parameters, parsing error types, and page layout levels during the document parsing process. Once one element is located, invoked, examined, or modified, the corresponding element associated with it is simultaneously triggered, invoked, updated, or subjected to source analysis. Specifically, when performing diagnostic analysis in conjunction with document parsing elements, semantic association includes the following establishment and execution processes: Semantic contextual association between entities and document parsing elements: By acquiring core entities, dataset entities, tool interface entities, and algorithm parameter entities in the main text or figures of the document, the conceptual dependency relationship of the entities in the document context is analyzed, and a conceptual semantic contextual association relationship is established between entities and document parsing elements, such as specific chapter titles, paragraph text boxes, figure / table charts, or formula anchors; once a paragraph or chart is selected or modified, the system automatically highlights or retrieves the core entities and parameter list bound to it; The association between model structure parameters and entity feature representation: By capturing the hidden layer feature vectors and context / page cross-attention weight matrix corresponding to each entity when extracting them, the semantic information of the entity is transformed into a feature vector containing model structure parameters, and the feature representation association between the hidden layer structure parameters of the model and the entity and document analysis elements is established; once the hidden layer features of an entity undergo probability drift, the system locks and evaluates the fitting state of the model structure parameters bound to it. The system establishes a causal semantic mapping between parsing error types and element layout blocks by identifying parsing error types such as semantic breaks, undeclared symbols, and misaligned tables across pages. Simultaneously, by combining the normalized boundary coordinates of elements in the PDF or electronic document, the system precisely locates and binds parsing error types to the element layout blocks of their respective elements, establishing a ternary semantic association between error types, parsing elements, and element layout blocks. Once a specific parsing error type is diagnosed, the system directly locates it using coordinates and overlays a highlight mask on the corresponding element layout block on the interface. The analysis includes: extracting the chapter topology tree and the page position of each element during each batch of parsing, and performing double verification through the built-in rule verification engine. The specific steps for determining the abstract syntax tree of formulas based on the document topology tree and verifying node closure include: locating the leaf nodes represented by mathematical formulas by scanning the document topology tree; for mathematical formulas, utilizing a finite state machine built into the parser during the lexical analysis phase, scanning the input formula string character by character, and segmenting it into a series of tokens with clearly defined types; wherein the types of tokens include, but are not limited to: commands such as fractions, square roots, summation, etc. (LaTeX commands); grouping brackets such as curly braces and square brackets; subscript and superscript indicators; basic operators; numeric constants; and variable identifiers. After entering the syntax analysis phase, the parser adopts a recursive descent strategy, constructing a syntax tree from top to bottom based on a predefined context-free grammar. The grammar rules are defined in order of priority of mathematical expressions, sequentially defining expressions, addition / subtraction layers, multiplication / division layers, exponentiation layers, and atomic units. Starting from the top-level expression rules, the parser recursively calls the corresponding parsing functions at each level. For each grammatical structure identified, a corresponding abstract syntax tree node is created. During the recursive descent, whenever a command is encountered, the parsing function reads the corresponding number of tokens according to the command's grammatical contract and recursively parses its parameters, such as numerators and denominators, attaching the parsing results as child nodes to the current node. If an identifier or number is encountered, a leaf node is directly generated, completing the construction of the formula abstract syntax tree. By traversing the formula abstract syntax tree, check whether the number of child nodes of each non-leaf node meets the domain constraints of its operator: delimiters match parentheses, operator integrity; if delimiters match parentheses, or child nodes are missing or point to null references, it is determined that the formula abstract syntax tree has an unclosed exception. The bounding boxes are determined based on the position of each element page. For any two element page blocks within the same page number and without parent-child containment relationship in the chapter topology tree, the intersection-union ratio is used to calculate their intersection page overlap rate to characterize whether the two element page blocks have cross-over. If the page overlap rate is detected to be greater than the maximum fault tolerance threshold or if at least one of the following is detected: the formula abstract syntax tree is not closed, it is judged as a high-risk parsing process and an online fine-tuning mechanism is triggered.

[0024] Constructing comparative learning sample pairs includes: monitoring users' online editing interaction behaviors, which at least include adjusting bounding boxes and adjusting reading order; the following is an explanation of some of the terms involved: Adjusting the bounding box: When the original bounding box prediction for a certain element block is inaccurate, the user can directly drag the vertices or edges of the bounding box on the interface to correct its position and size; this interaction is judged as an adjusted bounding box event, which includes the original bounding box coordinates of the element block and the new bounding box coordinates after user adjustment. Adjusting the reading order: When the reading order between elements automatically inferred by the system is inconsistent with the user's actual reading logic, the user can re-specify the reading order of several element blocks in the interface by clicking the sequence number or dragging and sorting. This interaction is judged as an event to adjust the reading order, which includes a list of block identifiers of the page element blocks and the new sequence specified by the user. The parsing difficulty features of the adjusted element layout blocks are extracted as anchor points. By using the user-adjusted bounding box coordinate features as positive samples and the bounding box coordinate features of the initially identified element layout blocks as negative samples, a layout resegmentation comparison sample pair is constructed. The text context corresponding to the adjusted element layout blocks is extracted as anchor points. The layout topology features corresponding to the correct preorder and postorder arranged by the user are used as positive samples and the topology sequence features corresponding to the initially identified incorrect element layout blocks are used as negative samples, a reading flow order comparison sample pair is constructed. The comparison loss is calculated using page resegmentation comparison sample pairs and reading flow order comparison sample pairs, and the model structure parameters and page segmentation weights are updated online. For each comparison sample pair, a three-dimensional monitoring vector is constructed, including: anchor vector, positive sample vector, and negative sample vector. The first distance value is obtained by calculating the distance between the anchor vector and the positive sample vector. The second distance value is obtained by calculating the distance between the anchor vector and the negative sample vector. The first distance is subtracted from the second distance, and a pre-set positive interval value is added. The pre-set positive interval value is a hyperparameter used to prevent the model from being satisfied with the positive samples being better than the negative samples, but rather requires the positive samples to have a significant distinguishing advantage in the vector space. The distance metric can be cosine distance or Euclidean distance, and the specific setting depends on the actual situation, which will not be elaborated here. It should be noted that a result less than or equal to 0 indicates that the positive sample is already closer to the anchor point than the negative sample, and no parameter fine-tuning is needed. Conversely, if the result is greater than 0, it indicates that the negative sample is too close to the anchor point, or the positive sample is not close enough to the anchor point. In this case, the result is used as the value of the contrastive loss and will be used to drive the adjustment of model parameters. The total loss is obtained by weighting and merging the values ​​of the two types of contrastive losses. During online parameter updates, the system calculates the gradient of the analytical model parameters based on the total loss and adjusts these parameters in a small and immediate manner, so that the model is more likely to produce predictions consistent with the user's correction results in subsequent processing, while suppressing previously occurring analytical errors. An online incremental validation branch is introduced, which includes: identifying the intermediate results output by the parsing model, including the extracted list of term entities, where each term is automatically mapped to a standard thesaurus entry and a mapping confidence score is obtained; identifying the context text fragments where the term entity is located and performing semantic similarity retrieval in the standard thesaurus entries; after excluding the currently incorrectly mapped entries, selecting the entry with the highest similarity and matching subject tag as an automatic correction candidate, obtaining the term disambiguation result, and feeding it back into the process of updating the model structure parameters; A list of term entities with mapping confidence scores below a confidence score threshold is selected, indicating a disambiguation error. The first semantic vector is extracted and used as a negative sample. A list of term entities with confidence scores greater than or equal to the confidence score threshold is selected, and the second semantic vector is extracted and used as a negative sample. The text context fragment containing the term entity is extracted as an anchor point. Similar to the previous steps, a three-dimensional monitoring vector is constructed, including: anchor point vector, positive sample vector, and negative sample vector. Gradient backpropagation and model structure parameter updates are performed by minimizing the target contrast loss.

[0025] Example 2: This embodiment of the invention provides an online system for automatic parsing of scientific literature; the system includes: an extraction module, a semantic mapping module, and an online fine-tuning module, and the extraction module, the semantic mapping module, and the online fine-tuning module are communicatively connected; Extraction Module: Analyzes the research literature and online tool usage data to be processed, and extracts the key elements of literature analysis; Semantic mapping module: Dynamically matches parsing depth based on parsing difficulty characteristics, and performs diagnostic analysis in conjunction with document parsing elements: extracts entities that have semantic relationships with document parsing elements during the parsing process and extracts model structure parameters based on the entities; identifies parsing error types that have semantic relationships with document parsing elements during the parsing process and locates the corresponding element page blocks; Online fine-tuning module: Through the built-in rule validation engine, it judges and analyzes the parsing process of each batch, monitors the user's online editing interaction behavior in sync, builds comparative learning sample pairs, and fine-tunes the element layout resegmentation and model structure parameters online; during the online fine-tuning process, by introducing an online incremental validation branch, it performs iterative correction and disambiguation error identification of comparative learning samples, and feeds back the obtained term disambiguation results to the update process of model structure parameters.

[0026] In the application, the various formulas mentioned are all calculated by removing dimensions and taking their numerical values. The formulas are derived from the most recent real-world situation by collecting a large amount of data and conducting software simulations. The formulas are set by those skilled in the art according to the actual situation.

[0027] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented in software, the above embodiments can be implemented, in whole or in part, as a computer program product. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.

[0028] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0029] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. An online method for automatic parsing and processing of scientific research literature, characterized in that, The method includes: Analyze the research literature and online tool usage data to be processed, and extract the key elements of literature analysis; Based on the characteristics of parsing difficulty, the parsing depth is dynamically matched, and diagnostic analysis is performed in conjunction with the elements of document parsing: entities with semantic relationships with the elements of document parsing are extracted during the parsing process, and model structure parameters are extracted based on the entities; parsing error types with semantic relationships with the elements of document parsing are identified during the parsing process, and the corresponding element page blocks are located. Through the built-in rule validation engine, the parsing process of each batch is judged and analyzed, and the user's online editing interaction behavior is monitored in sync. Comparative learning sample pairs are constructed, and the element layout resegmentation and model structure parameters are fine-tuned online. During the online fine-tuning process, an online incremental validation branch is introduced to perform iterative correction and disambiguation error identification of the comparative learning samples, and the obtained term disambiguation results are fed back to the update process of the model structure parameters.

2. The online method for automatic parsing and processing of scientific research literature according to claim 1, characterized in that, Extracting key elements from literature analysis, including: The system acquires user-uploaded research literature, performs multimodal page segmentation, extracts the position information of each element page and captures the page hierarchy relationship, and constructs a chapter topology tree. By serializing the main text of the research literature, monitoring the semantic flow of paragraph context, obtaining text semantic vectors and semantic density, quantifying the chapter topology tree, and forming literature requirements. The elements include document titles, body text, mathematical formulas, figures and tables, headers and footers, and footnote blocks, and the headers, footers, and page number noise blocks are filtered out. Extract parsing requirements from data used by online tools, including parsing latency requirements and rendering performance requirements; By combining the requirements for literature review and analysis, the elements for literature analysis are generated.

3. The online method for automatic parsing and processing of scientific research literature according to claim 2, characterized in that, To obtain parsing difficulty features, including: Based on the document layout characteristics, a parsing model is selected to capture the page images of each element; semantic chaos is calculated to dynamically adjust the chapter truncation window and parsing depth; by denoising the page images of each element in each chapter truncation window, semantic vectors are extracted and converted into semantic scalar signals; and the semantic analysis intensity of each character when passing through the parsing node is recorded by peak detection method. Based on the element layout location information, the layout hierarchy of each element layout image is extracted, the visual gradient and density distribution of each element are calculated, and the bounding box is determined by cross-union ratio thresholding and connected component analysis; to locate the element layout blocks, the layout topology features containing the layout hierarchy relationship are extracted; semantic chaos degree, semantic analysis strength and layout topology features are acquired simultaneously to generate parsing difficulty features.

4. The online method for automatic parsing and processing of scientific research literature according to claim 3, characterized in that, Dynamically match parsing depth based on parsing difficulty characteristics, including: Based on the parsing difficulty characteristics, the optimal parsing depth level is dynamically matched for element layout blocks by maximizing the semantic understanding completeness and maximizing the utilization of computing resources. The matching results form a parsing strategy pair list, and a parsing task execution sequence is generated based on the matching results, and the parsing mode and resource configuration of each element layout block are determined. The parsing depth levels include L1, L2, L3 and L4 levels.

5. The online method for automatic parsing and processing of scientific research literature according to claim 1, characterized in that, The process of obtaining semantic relationships includes: Based on the parsing mode and resource configuration, the core entities, dataset entities, tool interface entities, and algorithm parameter entities of the document parsing elements are extracted; and the feature vectors of each entity in the hidden layer of the parsing model are captured, the cross-attention association matrix between entities in the text context and page layout is identified, and a semantic topology network connecting each entity is constructed. During the parsing process, the probability drift distance of the hidden layer features of each entity node in the phase space is calculated in real time according to the parsing depth. If the probability drift distance of multiple consecutive entity nodes is detected to be greater than the standard confidence envelope, a parsing anomaly diagnosis signal is triggered, which is judged as a parsing error. The parsing error status is then quantified into constraint attributes and updated to the semantic topology network. Obtain the confidence score threshold for the semantic mapping relationship between the text context and the document parsing elements; Obtain the maximum fault tolerance threshold that has a semantic mapping relationship between page layout level and document analysis elements.

6. The online method for automatic parsing and processing of scientific research literature according to claim 2, characterized in that, Judgment analysis includes: Extract the chapter topology tree and the page position of each element from each batch of parsing, and perform double verification through the built-in rule verification engine, including: determining the formula abstract syntax tree based on the chapter topology tree and verifying the node closure; determining the bounding box based on the page position of each element and verifying the page overlap rate; if at least one of the following is detected, the page overlap rate is greater than the maximum fault tolerance threshold or the formula abstract syntax tree is not closed, it is judged as a high-risk parsing process and an online fine-tuning mechanism is triggered.

7. The online method for automatic parsing and processing of scientific research literature according to claim 6, characterized in that, Constructing contrastive learning sample pairs includes: Monitor user online editing interactions, including at least adjusting bounding boxes and adjusting reading order; Extract the parsing difficulty features of the adjusted element layout blocks as anchor points, and construct layout resegmentation comparison sample pairs by using the user-adjusted bounding box coordinate features as positive samples and the bounding box coordinate features of the initially identified element layout blocks as negative samples. Extract the text context corresponding to the page block to be adjusted as the anchor point, take the page topology features corresponding to the correct preorder and postorder of the user as positive samples, and take the topology sequence features corresponding to the page block initially identified as the wrong element as negative samples to construct reading flow order comparison sample pairs.

8. The online method for automatic parsing and processing of scientific research literature according to claim 7, characterized in that, Introducing an online incremental validation branch, including: The intermediate results output by the identification and parsing model include a list of extracted term entities, each of which is automatically mapped to a standard thesaurus entry and a mapping confidence score is obtained. The text fragments in the context of the term entity are identified and semantic similarity is retrieved from the standard thesaurus entries. After excluding the currently incorrectly mapped entries, the entry with the highest similarity and matching subject tag is selected as the automatic correction candidate to obtain the term disambiguation result. By filtering the list of term entities whose mapping confidence scores are less than the confidence score threshold, a disambiguation error is identified, and the first semantic vector is extracted and used as a negative sample. By filtering the list of term entities whose confidence scores are greater than or equal to the confidence score threshold, the second semantic vector is extracted and used as a negative sample. Gradient backpropagation and model structure parameter updates are performed by minimizing the target contrast loss.

9. A system applied to the online automatic parsing and processing method for scientific literature as described in any one of claims 1-8, characterized in that, The system includes: The extraction module analyzes the research literature and online tool usage data to be processed, and extracts the key elements of the literature analysis. The semantic mapping module dynamically matches the parsing depth based on the parsing difficulty characteristics and performs diagnostic analysis in conjunction with the document parsing elements: extracting entities that have semantic relationships with the document parsing elements during the parsing process and model structure parameters extracted based on the entities; identifying parsing error types that have semantic relationships with the document parsing elements during the parsing process and locating the corresponding element page blocks; The online fine-tuning module uses a built-in rule validation engine to analyze and judge each batch of parsing processes, synchronously monitor users' online editing interaction behavior, construct comparative learning sample pairs, and fine-tune the element layout resegmentation and model structure parameters online. During the online fine-tuning process, an online incremental validation branch is introduced to perform iterative correction of comparative learning sample pairs and term disambiguation recognition, and the obtained term disambiguation results are fed back to the update process of model structure parameters.