Method and system for modeling structured atomic evidence of financial documents and constructing cross-modal associated knowledge base
By employing layout parsing and modal splitting technologies, a traceable, combinable, and verifiable structured financial atomic evidence knowledge base was constructed. This solved the problems of incorrect parsing paths in financial documents and isolated storage of multimodal elements, enabling stable structured processing and multimodal association of financial documents.
Patent Information
- Application Number
- CN202611444464.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing financial document parsing and retrieval systems suffer from problems such as misaligned evidence organization due to parsing path errors when dealing with heterogeneous documents like non-standard PDFs and scanned copies. Furthermore, multimodal elements are stored in isolation, making it impossible to establish computable connections, which can lead to logical illusions and factual errors.
By parsing the layout, modal splitting, structural confidence assessment, construction of submodal atomic evidence units, generation of non-textual modal proxy representations, cross-modal relationship linking, and multi-path indexing, a traceable, combinable, and verifiable structured financial atomic evidence knowledge base is constructed.
It achieves stable structured processing of heterogeneous financial documents, improves the integrity and traceability of the evidence chain, supports diverse query needs, and provides a comprehensive knowledge base.
Smart Images

Figure CN123178643A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent processing of financial documents, specifically to a method and system for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents. Background Technology
[0002] In the field of financial investment research, quickly and accurately retrieving and extracting core evidence from massive amounts of complex documents (such as annual reports, prospectuses, industry research reports, and audit reports) is a crucial preliminary step for investment decisions and risk control. However, these financial documents have extremely high information density and heterogeneous layout, typically integrating narrative text, multi-level nested financial statements, visual charts that intuitively show trends, complex mathematical formulas, and highly sensitive professional financial indicators.
[0003] Traditional Retrieval Augmentation (RAG) systems typically rely on fixed-length (e.g., hard-segmentation by token character count) sliding window algorithms to crudely and physically cut documents. This segmentation method often leads to severe "semantic tearing" when dealing with complex financial documents, completely separating specific financial indicators, units of measurement, time intervals, multi-dimensional headers, footnotes, and textual explanations in both physical space and logical relation. For example, a key value stored in a report cell, once removed from the time and unit constraints of its header, will lose its computable and understandable semantic context in the underlying vector database.
[0004] To address the aforementioned segmentation issues, in recent years, academia and industry have successively launched advanced frameworks based on intelligent document parsing (such as the MinerU parser), aiming to automatically restore chapters, tables, and formulas from unstructured documents. Meanwhile, retrieval systems optimized for financial scenarios, such as MultiFinRAG and HierFinRAG, have also been proposed, emphasizing the use of hierarchical parsing and structure-aware graphs to mitigate the loss of relationships caused by the flattening of financial tables.
[0005] However, existing pre-parsing and retrieval frameworks still suffer from significant technical bottlenecks. First, the parser's ability to restore the original document layout often heavily relies on standard document structures. When faced with heterogeneous documents lacking a unified hierarchical standard, such as non-standard PDFs, scanned documents, and short announcements, a single parsing path is highly susceptible to catastrophic misalignment of subsequent evidence organization due to incorrect title tree construction. Second, the parsed tables, formulas, images, and other elements of different modalities are usually still stored in isolation in the underlying database. The system cannot explicitly establish a computable association between these multimodal entities and the main text discussion at the horizontal level. This "multimodal semantic fragmentation" prevents downstream large language models from obtaining a traceable, combinable, and verifiable complete chain of evidence when performing multi-step reasoning or numerical verification tasks, easily leading to logical illusions and factual errors. Summary of the Invention
[0006] To address the problems of existing technologies, the present invention aims to provide a method and system for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents. This method targets complex financial documents such as annual reports, prospectuses, audit reports, industry research reports, company announcements, policy documents, news articles, and scanned PDFs. Through layout parsing, modal splitting, structural confidence assessment, construction of submodal atomic evidence units, generation of non-textual modal proxy representations, cross-modal relationship linking, and multi-path indexing, the original documents are transformed into a traceable, composable, and verifiable structured financial atomic evidence knowledge base.
[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0008] According to one aspect of the present invention, a method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents is provided, comprising the following steps:
[0009] Step S1: Extract physical features of the layout and align basic elements of the input unstructured or semi-structured complex financial documents. Divide the continuous layout into physical blocks that carry spatial coordinates, reading order and resolution confidence. Then, divide the physical blocks into text modal physical blocks and non-text modal physical blocks.
[0010] Step S2: Select candidate title physical blocks from the text modal physical blocks obtained in S1, and calculate the structure tree confidence by combining the typographic metadata and text semantic features corresponding to the candidate titles. Based on the confidence level of the tree structure Choose from three different block paths to obtain fine-grained text logic fragments that have been split and bound to chapter-level paths;
[0011] Step S3 involves performing differentiated analysis on the fine-grained text logic fragments output in Step S2 and the non-text modal physical blocks output in Step S1, respectively, to construct standardized atomic evidence units (AEUs) for each modality; based on the system's globally built-in financial semantic enhanced metadata dictionary Financial_Metadata, various financial-specific attributes are uniformly extracted and normalized, and the financial attributes are attached to the corresponding modal atomic evidence units (AEUs); among them, strong boundary non-hard-cut constraints are used when encapsulating atomic evidence units (AEUs) corresponding to tables, mathematical formulas, and visualization images.
[0012] Step S4: Based on the metadata of each AEU (Atomic Evidence Unit) generated in Step S3, construct a two-dimensional multimodal financial evidence knowledge graph. Vertically, relying on the parent_id and title_path metadata of the AEU, mount the multimodal AEU nodes to the document title tree, binding the logical hierarchy of each node. Horizontally, construct cross-modal topological relationships for all AEU nodes, and calculate the horizontal relationship score using a multi-dimensional fusion scoring model. Valid related node pairs are selected and directed related edges of the corresponding type are established to generate a financial evidence knowledge graph that combines hierarchical affiliation and cross-modal reconciliation.
[0013] Step S5: For non-text atomic evidence units such as tables, charts, and formulas, generate proxy text representations that can participate in text indexing and graph construction, retain the original source modality object, and bind and store the proxy text with the source modality object.
[0014] Step S6: Construct a multi-path enhanced index based on atomic evidence units, a two-dimensional multimodal financial evidence knowledge graph, source modal objects, and proxy texts, and integrate all data resources to form a structured atomic evidence knowledge base.
[0015] Furthermore, step S1 includes:
[0016] S101, Multi-source element physical extraction: Receive complex financial documents, call the combined model to perform full document layout area detection, identify different areas and parse out the corresponding physical blocks, and establish an associated physical feature dictionary for the physical blocks;
[0017] The combined model includes layout detection, OCR, table recognition, formula recognition, and image region detection;
[0018] S102, Confidence assessment and degradation fault tolerance: The confidence level of the parsing result corresponding to the physical block is retained, and a safe parsing threshold T_parse is set. If the confidence level of the parsing result corresponding to the physical block is lower than the safe parsing threshold T_parse, the degradation fault tolerance mechanism is triggered.
[0019] The confidence scores include text OCR confidence scores, table structure recognition confidence scores, formula recognition confidence scores, image / chart region detection confidence scores, and page layout reading order confidence scores.
[0020] S103, Text-modal and non-text-modal traffic separation: Physical blocks are divided into text-modal and non-text-modal types according to block type;
[0021] Degradation and fault tolerance mechanisms include:
[0022] Backup OCR or local re-analysis: For areas with low confidence in text recognition, the system automatically schedules a backup OCR engine or a high-precision local recognition model to rescan the low-confidence area and aligns the re-recognition result with the original result at the character level or word level.
[0023] Weak evidence labeling: The system marks poor parsing quality (weak_evidence=true) in physical blocks and retains the original image region or source object reference for subsequent manual verification or multimodal re-parsing;
[0024] Parsing version retention: For complex objects such as tables, formulas and charts, the system simultaneously retains the original object, the initial parsing result and the backup parsing result, and records the parsing confidence of different versions.
[0025] Furthermore, in step S2, the typesetting metadata and text semantic features include table of contents information, heading numbers, font size levels, indentation positions, semantic boundaries, and reading flow stability; based on the typesetting metadata and text semantic features, six categories are calculated to determine the confidence level of the structure tree. The multidimensional evaluation features are as follows:
[0026] Directory matching features Extract the built-in table of contents outline from the PDF or the table of contents tree automatically parsed from the document's beginning, and calculate the standardized Levenstein edit distance similarity between candidate heading paragraphs and table of contents items. The calculation formula is as follows: H is the set of candidate titles, T toc A collection of directory items;
[0027] Title number regular expression pattern matching degree The ratio of the number of headings that conform to the standard regular expression pattern to the total number of candidate headings is calculated using the following formula:
[0028] Font size hierarchy consistency feature Calculate the standard deviation of heading font sizes at the same nominal level. The font size consistency score is defined as follows: (Number obtained by normalization using the hyperbolic tangent function)
[0029] Page indentation and alignment geometric distribution characteristics : Calculate the standard deviation of the offset of headings at the same nominal level relative to the horizontal edge of the page. The indentation consistency score is:
[0030] Semantic boundary continuity features The lightweight embedding model is used to calculate the vector cosine similarity between the preceding and succeeding text blocks of each candidate title physical block, and the standard deviation of the global similarity is calculated. ;
[0031] Vertical reading flow characteristics of the page layout Assess whether the spatial coordinate distribution of the title in the vertical page flow is regularly aligned with a single or double column.
[0032] Furthermore, the confidence level of the tree structure The above six dimensions of features are input into a multivariate decision fusion model for calculation, and the calculation formula is as follows: Among them, the weight parameters of each dimension satisfy The system default configuration is , , , , , .
[0033] Furthermore, in step S2, the system sets a high-confidence control threshold. With low confidence control threshold Based on the confidence level of the tree structure There are three types of chunk paths:
[0034] Title tree priority block path: Relying on the standard hierarchical tree-like chapter tree to divide text block boundaries and bind complete title paths;
[0035] Semantic breakpoint adaptive block segmentation path: Arrange text blocks according to the page reading order, calculate the semantic similarity Sim(i,i+1) of adjacent text blocks within the sliding window, take the position where the similarity drops significantly as the candidate semantic breakpoint, and then combine the features of subject, time, indicator switching, page spacing, and punctuation to determine the segmentation boundary, and only cut the text at the semantic jump inflection point.
[0036] Hybrid adaptive block path: First, the layout is divided into several sub-page areas using the layout geometry information. The local confidence is calculated independently for each area. If the local confidence is greater than or equal to the preset value, a tree-like chapter structure is constructed and atomic evidence units (AEUs) are attached. If the local confidence is less than the preset value, the semantic breakpoint segmentation logic is called.
[0037] Furthermore, in step S3, the key aligned metadata fields included in the Financial_Metadata dictionary include: the name of the core financial indicator, the standard reporting period, the physical unit of measurement, the currency of the transaction, the specific value of the extracted indicator, the statement type associated with the financial statement, the disclosure section of the compliance disclosure section, the underlying reconciliation calculation relationship, and the evidence identification role.
[0038] The specific process of constructing atomic evidence units (AEUs) and attaching financial attributes for each modality includes:
[0039] The text modality generates a semantically complete Text-AEU based on the semantic theme and the maximum token limit. After extracting the text financial entities and the semantic relationship between the text and the text, and normalizing them to obtain the text financial attributes, it is attached to the Text-AEU.
[0040] The table modality constructs a three-level cascaded inheritance structure of Table-AEU, Subtable-AEU, and Cell-AEU. It improves the semantics of the table through a multi-level information downward inheritance mechanism, and extracts the financial attributes of the table in a unified manner and attaches them to the corresponding table atomic evidence unit (AEU).
[0041] The Chart / Image-AEU modality is constructed, binding the original image source object with the financial structured proxy text, and associating the caption and text reference context. The financial attributes of the chart are extracted and mounted in a normalized manner.
[0042] The formula modality constructs Equation-AEU and retains the LaTeX structured expression, binds the formula variable interpretation and context calculation caliber, normalizes and extracts the financial attributes of the formula and attaches them to Equation-AEU.
[0043] Furthermore, in step S4, the types of directed associated edges include:
[0044] This indicates that the main body paragraph is an in-depth explanation of the specific values or trends in the table or graph;
[0045] This indicates that a specific mathematical or physical equation is referenced in the text.
[0046] Create a direct reference between the chart and its physical caption or table annotation unit;
[0047] : Create a mount point with the corresponding financial statement footnote;
[0048] If the values in the main text are calculated from the values in a specific cell in a table, then this border is created.
[0049] Establish horizontal relationships between cells in two tables that have the same indicators or have a reciprocal formula relationship.
[0050] Furthermore, in step S4, the horizontal relationship score is calculated. The calculation formula is: , This indicates the physical distance between two physical blocks in the original PDF; This indicates the overlap ratio of core financial indicators, accounting periods, and extracted entities contained in the Financial_Metadata dictionary for the two units. The cosine similarity between the feature vectors of two nodes; For the corresponding control coefficients, satisfying The system default setting is , , ; The distance attenuation constant;
[0051] System settings relationship activation threshold When the horizontal relationship score At that time, the system automatically... and Directed edges representing the corresponding categories are written between them, and a multimodal underlying knowledge base is constructed using graph-based methods.
[0052] Furthermore, in step S6, the multi-path enhanced index includes a dense vector index, a sparse keyword index, a hierarchical structure path index, a core financial indicator index, a standard reporting period index, a modal type index, and a graph relationship index.
[0053] On the other hand, this invention provides a structured atomic evidence modeling and cross-modal association knowledge base construction system for financial documents, applied to the aforementioned structured atomic evidence modeling and cross-modal association knowledge base construction method for financial documents, including:
[0054] The multi-source element physical extraction module extracts physical features of the layout and aligns basic elements of the input unstructured or semi-structured complex financial documents. It divides the continuous layout into physical blocks that carry spatial coordinates, reading order and resolution confidence, and further divides the physical blocks into text modal physical blocks and non-text modal physical blocks.
[0055] The confidence-based routing chunking control module extracts candidate title physical blocks from the text modality physical blocks, and extracts the document's typographic metadata and textual semantic features from the candidate title physical blocks, calculating the document's structure tree confidence. Based on the confidence level of the tree structure Three segmentation paths are selected to perform semantic-level fine-grained segmentation, resulting in fine-grained text logic fragments that are split and bound to chapter-level paths.
[0056] The Financial Enhanced Atomic Evidence Unit (AEU) generation module is used to perform differentiated parsing on fine-grained text logic fragments and non-text modal physical blocks, and construct standardized AEUs for each modality. Based on the system's globally built-in Financial Semantic Enhancement Metadata dictionary, Financial_Metadata, various financial-specific attributes are uniformly extracted and normalized, and the financial attributes are attached to the corresponding modal AEUs. Among them, strong boundary non-hard-cut constraints are used when encapsulating AEUs corresponding to tables, mathematical formulas, and visualization images.
[0057] The cross-modal dual-graph topology network construction module is used to construct a two-dimensional multimodal financial evidence knowledge graph based on the metadata of each generated AEU (Automatic Unit of Evidence). Vertically, relying on the parent_id and title_path metadata of the AEU, the multimodal AEU nodes are mounted to the document title tree, binding the logical hierarchy of each node. Horizontally, cross-modal topological relationships are constructed for all AEU nodes, and a multi-dimensional fusion scoring model is used to calculate horizontal relationship scores. Valid related node pairs are selected and directed related edges of the corresponding type are established to generate a financial evidence knowledge graph that combines hierarchical affiliation and cross-modal reconciliation.
[0058] The multi-path enhanced indexing and retrieval service module is used to generate proxy text representations that can participate in text indexing and graph construction for non-text atomic evidence units such as tables, charts, and formulas, and retain the original source modal objects, binding and storing the proxy text with the source modal objects;
[0059] The structured atomic evidence knowledge base generation module is used to build multi-path enhanced indexes based on atomic evidence units, a two-dimensional multimodal financial evidence knowledge graph, source modal objects, and proxy texts, and integrate all data resources to form a structured atomic evidence knowledge base.
[0060] The beneficial effects of this invention are as follows:
[0061] This invention constructs a unified structured atomic evidence unit (AEU) to uniformly carry various types of document content, with built-in complete financial semantic information and complete retention of financial data and accompanying context. At the same time, it calculates the document structure confidence based on multi-dimensional layout and semantic features and adaptively switches the block segmentation strategy, which is compatible with various standardized and non-standardized financial documents and effectively improves the stability of heterogeneous document structure processing.
[0062] This invention constructs dedicated evidence units for non-text content such as tables, charts, and formulas in different modalities. Financial tables adopt a three-level cascading inheritance structure to fully transmit the full financial context, while charts and formulas simultaneously retain the original materials and searchable proxy text. All evidence nodes are organized through a dual-graph topology structure that integrates a vertical title tree and a horizontal cross-modal association graph, which fully records various business relationships between multimodal evidence, significantly improving the integrity and traceability of the financial evidence chain.
[0063] This invention builds a multi-path composite index based on a complete multimodal evidence system, covering multiple retrieval dimensions such as semantics, keywords, structure, financial entities, modality, and relationships. It can meet the diverse query needs in financial scenarios and provide a complete structured knowledge foundation for downstream businesses such as investment research analysis, numerical verification, and intelligent generation. Attached Figure Description
[0064] Figure 1 A logical framework diagram for building structured atomic evidence for financial documents and constructing a cross-modal related knowledge base;
[0065] Figure 2 This is an example diagram of the Cell-AEU inheritance data conversion mapping in the three-level inheritance mechanism of the financial table of the present invention;
[0066] Figure 3 This is a flowchart illustrating the process of generating the structured atomic evidence knowledge base in this invention.
[0067] Figure 4 This is a schematic diagram of the three block paths selected based on the confidence level of the tree structure in this invention;
[0068] Figure 5 This is a schematic diagram of the three-level cascaded inheritance structure of the financial table in this invention;
[0069] Figure 6 This is a schematic diagram of the cross-modal two-dimensional topology network structure in this invention;
[0070] Figure 7 A system logical architecture diagram for building structured atomic evidence modeling and cross-modal association knowledge base for financial documents. Detailed Implementation
[0071] In the description of this embodiment, it should be noted that the terms "upper", "lower", "center", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of the invention is usually placed in when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting the present invention.
[0072] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0073] Example 1
[0074] On the one hand, this invention provides a method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents, such as... Figures 1-6 As shown, it includes the following steps:
[0075] Step S1: Pre-analysis and modality splitting of multi-modal financial document multi-source features
[0076] As the entry point for knowledge base construction, this step is mainly responsible for extracting the physical features of the layout and aligning the basic elements of the input unstructured or semi-structured complex financial documents. It divides the continuous layout into multimodal physical blocks carrying spatial coordinates, reading order and resolution confidence, providing basic input for the subsequent construction of submodal atomic evidence units (AEUs).
[0077] S101, Multi-source element physical extraction
[0078] The system receives complex financial documents in formats such as PDF, DOCX, PPT, HTML, and scanned images. It employs a combined model based on layout detection, OCR, table recognition, formula recognition, and image region detection to perform full document layout analysis. Simultaneously, it can utilize a two-stage coarse-to-fine parsing architecture similar to MinerU, first performing layout region detection on the document, and then performing text recognition, table reconstruction, formula recognition, and image cropping on different regions.
[0079] The system divides the physical layout of the document and identifies the basic layout blocks as shown in Table 1:
[0080] Table 1. Description and Processing Rules for Page Block Types
[0081] Page block type illustrate Subsequent processing direction Title Block Title, Chapter Title, Section Title Used for structure tree construction and title path generation Text Block Main body paragraphs, management discussion, risk statement, business description, etc. Building Text-AEU Table Block Financial statements, operating data sheets, valuation sheets, industry comparison sheets, etc. Building Table-AEU, Subtable-AEU, and Cell-AEU Image / Chart Block Line charts, bar charts, trend charts, supply chain diagrams, business structure diagrams, etc. Building Chart / Image-AEU Equation Block Financial formulas, valuation formulas, calculation method formulas, etc. Constructing Equation-AEU Caption Block Figure captions, table titles, and chart descriptions Create a Caption-AEU or attach it to the corresponding chart. Footnote Block Notes, footnotes, explanatory notes, and data source information Build a Footnote-AEU or attach it to the corresponding table / cell Header / Footer Block Headers, footers, page numbers, etc. As auxiliary metadata or filtering object
[0082] For each parsed physical block, the system establishes a unified physical feature dictionary, which includes at least block_id, doc_id, block_type, page_no, bbox, reading_order, raw_content, parse_confidence, and source_format. Here, bbox represents the normalized geometric bounding box coordinates, reading_order indicates the order of the physical block in the page reading stream, and parse_confidence represents the confidence level of the underlying parsing module in recognizing the physical block.
[0083] S102, Analytical Confidence Assessment and Degradation Tolerance
[0084] The system retains a resolution confidence level for each type of parsing result. The resolution confidence level includes text OCR confidence level, table structure recognition confidence level, formula recognition confidence level, image or chart region detection confidence level, and page layout reading order confidence level.
[0085] Meanwhile, the system sets a preset security parsing threshold T_parse; when the parsing confidence of a physical block is lower than T_parse, the system does not directly store that physical block as a strong evidence node in the database, but instead triggers a degradation fault tolerance mechanism. The degradation fault tolerance mechanism includes at least one of the following:
[0086] (1) Backup OCR or local re-analysis; For areas with low confidence in text recognition, the system automatically schedules a backup OCR engine or a high-precision local recognition model to rescan the low-confidence area and aligns the re-recognition result with the original result at the character level or word level.
[0087] (2) Weak evidence labeling: The system marks weak_evidence=true in the physical block metadata and retains the original image region or source object reference for subsequent manual verification or multimodal re-analysis.
[0088] (3) Retention of parsing versions; For complex objects such as tables, formulas and charts, the system can simultaneously retain the original object, the initial parsing result and the backup parsing result, and record the parsing confidence of different versions.
[0089] S103, Separation of Text Modality and Non-Text Modality
[0090] After completing the layout block recognition, the system classifies physical blocks into two categories: text modality and non-text modality, based on the block type (block_type).
[0091] Text modalities include Title Block, Text Block, Caption Block, Footnote Block, etc., and can directly participate in text segmentation, entity extraction, relation extraction, and keyword indexing.
[0092] Non-text modalities include Table Block, Image / Chart Block, Equation Block, etc.
[0093] It should be noted that in subsequent processing, non-text modalities are not directly flattened into ordinary text chunks. Instead, the source modal object is saved first, and then a proxy text representation is generated. The proxy text representation is used to participate in vector indexing, keyword indexing, and knowledge graph construction. The source modal object is used to retain the original table structure, image regions, or formula images to support subsequent evidence backtracking, verification, and re-analysis.
[0094] In complex financial documents, the Image / Chart Block preferably refers to financial image / chart objects, including line charts, bar charts, pie charts, area charts, trend charts, stock price charts, valuation range charts, industry chain diagrams, business structure diagrams, organizational structure diagrams, and flowcharts. These visual objects typically convey information about time trends, indicator changes, company comparisons, industry relationships, or business processes, and need to be described in a structured manner as chart-type visual objects, rather than being treated as ordinary images.
[0095] Step S2: Adaptive Text Chunking Path Decision Driven by Structure Tree Confidence
[0096] Because complex financial documents exhibit significant differences in structural standardization, this invention does not employ the same segmentation method for all text blocks. Instead, it selects a path based on the confidence level of the structure tree: title tree-priority segmentation, semantic breakpoint adaptive segmentation, or a local hybrid segmentation approach. This step primarily affects the text modality physical blocks and also provides a basis for the title_path, parent_id, and structural attachment of all subsequent atomic evidence units (AEUs).
[0097] Due to the inconsistent document formatting quality in the financial sector (ranging from standard annual reports to messy scanned newsletters), the system first extracts candidate title physical blocks from the text modal physical blocks. Utilizing the extracted formatting metadata and textual semantic features (table of contents information, title numbering, font size hierarchy, indentation position, semantic boundaries, and reading flow stability), it calculates six types of multi-dimensional evaluation features to dynamically assess the document's structurability and calculates the document's structure tree confidence score. This drives an adaptive segmentation and organization strategy, avoiding the misalignment of logical nodes due to the rigid construction of a title tree when dealing with non-standard documents.
[0098] The above-mentioned multidimensional evaluation features include:
[0099] (1) Directory matching features :
[0100] Extract the PDF's built-in document outline or the automatically parsed table of contents from the first few pages, and calculate the normalized Levenstein edit distance similarity between the text content of candidate heading paragraphs and the table of contents items. Let the set of candidate headings be H, and the set of table of contents items be... Its matching score is:
[0101]
[0102] (2) Title number regular expression pattern matching degree :
[0103] Analyze whether the candidate heading paragraphs conform to the strict multi-level nested numbering paradigm in financial compliance disclosure documents (e.g., "Section 1", "I," "(I)", "1.1", "1.1.1", etc.). Its value... Defined as the proportion of headings that conform to the standard regular expression pattern out of the total number of candidate headings:
[0104]
[0105] (3) Consistency feature of font size hierarchy :
[0106] Analyze the consistency of font size and font name among all candidate blocks identified as headings of the same level throughout the entire document. Calculate the standard deviation of heading font sizes within the same nominal level. The font size consistency score is defined as follows:
[0107]
[0108] (4) Geometric distribution characteristics of page indentation and alignment :
[0109] Calculate the indentation of headings at the same nominal level relative to the horizontal edge of the page (left indentation value). The standard deviation of the offset The indentation consistency score is:
[0110]
[0111] (5) Semantic boundary continuity feature :
[0112] A lightweight embedding model is used to calculate the vector cosine similarity between the preceding and succeeding text blocks of each candidate title physical block, and the standard deviation of the global similarity is calculated. If a document has a clear heading hierarchy, then the semantic similarity at the chapter boundaries should show significant local minima (i.e., semantic discontinuities).
[0113] (6) Vertical reading flow characteristics of the page layout :
[0114] Assess whether the spatial coordinate distribution of the title in the vertical page flow is regularly aligned with a single or double column. Incorrect layout will result in an extremely high entropy value in the coordinate distribution.
[0115] This embodiment inputs the features of the above six dimensions into a multivariate decision fusion model to calculate the overall document structure tree confidence score. :
[0116]
[0117] Among them, the weight parameters of each dimension satisfy The system default configuration is , , , , , .
[0118] The system presets a high-confidence control threshold. With low confidence control threshold .like Figure 4 As shown, according to The output is automatically routed to the following three smoothing branches:
[0119] Path 1: Title tree priority block path (when...) (Activated at time)
[0120] Under this path, the system determines that the current document is a highly standardized structured financial report. The system first constructs a complete section tree from top to bottom based on the candidate headings and numbering levels.
[0121] The chapter hierarchy tree can be represented as:
[0122] The system generates Text-AEUs within the title tree nodes. Specifically, the system uses the title nodes as logical boundaries and natural paragraphs, semantic breakpoints, and a preset token limit L_max as local segmentation constraints. If the length of consecutive text under the same title node does not exceed L_max, it remains a single Text-AEU; if it exceeds L_max, segmentation is prioritized at natural paragraph boundaries or semantic similarity abrupt change points, rather than mechanically truncating according to the number of tokens.
[0123] Each Text-AEU contains the complete title path, for example:
[0124] title_path="Section 3: Management Discussion and Analysis > II. Financial Situation Analysis > 1. Changes in Operating Revenue">
[0125] Path 2: Semantic Breakpoint Adaptive Block Path (when...) (Activated at time)
[0126] The system determines that the current document lacks a reliable title structure, such as news articles, short announcements, self-media research reports, non-standard scanned documents, or web page text. In this case, the system does not forcibly construct a title tree, but instead arranges the physical blocks of text according to the reading order and adopts a semantic breakpoint adaptive segmentation strategy.
[0127] Let the text blocks arranged in reading order be P={p_1,p_2,...,p_n}. The system calculates the semantic similarity Sim(i,i+1) between adjacent text blocks. When Sim(i,i+1) is lower than the semantic continuity threshold T_sem, or when Sim(i,i+1) shows a significant decrease relative to the sliding window mean, the system marks the area between i and i+1 as a candidate semantic breakpoint. The system further combines subject switching, time switching, index switching, page spacing changes, and paragraph punctuation features to determine the final segmentation boundary.
[0128] Under this path, the maximum length of Text-AEU is still constrained by L_max, but the system prioritizes segmentation along semantic breakpoints to avoid breaking up the same financial event, the same indicator interpretation, or the same risk description.
[0129] Path 3: Hybrid Adaptive Block Path (when...) (Activated at time)
[0130] Under this path, the system determines that the current document is a partially mixed layout document (such as a research report that mixes standard announcements and scattered paragraphs). The system first divides the document into several local sub-page regions based on page numbers and physical layout using a spatial clustering algorithm. For each sub-region, the local structure confidence score is calculated independently. When the local confidence level is high, a tree-like chapter structure is locally constructed within the sub-region and atomic evidence units (AEUs) are attached; for local regions with low confidence levels (such as irregular narrative text mixed areas), semantic breakpoint segmentation logic is invoked to achieve multi-level fault tolerance for irregular and complex layouts.
[0131] Through the aforementioned three-state routing mechanism, the system can simultaneously adapt to standard financial reports, non-standard information texts, and partially mixed typesetting documents, reducing the risk of evidence misalignment caused by erroneous title trees or mechanical hard cutting.
[0132] Step S3: General Model and Submodal Construction Rules for Structured Atomic Evidence Units (AEUs)
[0133] As the core physical carrier of this invention, step S3 is responsible for transforming the fine-grained text logic fragments and non-text modal physical blocks (various charts and formulas) divided in steps S2 and S1 into unified atomic evidence units (Atomic Evidence Units AEU) carrying high-dimensional financial attributes, thereby achieving decoupling between physical storage granularity and logical organization granularity. The Atomic Evidence Unit (AEU) is the smallest indexable, traceable, and attachable evidence node in the knowledge base of this invention.
[0134] First, a unified general data model for Atomic Evidence Units (AEUs) is established. Each AEU represents not only content and ordinary metadata, but also a logical entity with physical origin, structural path, modality type, financial semantic fields, and cross-modal relationships. Its general data model is shown in Table 2.
[0135] Table 2. Atomic Evidence Unit (AEU) Field Table
[0136] Field Categories Field Examples Function General fields Atomic evidence units: AEU_id, doc_id, modality, content, source_block_id Identify evidence units and their indexable content physical field page_no, bbox, reading_order, parse_confidence, weak_evidence Supports page number, coordinates, and parsing confidence backtracking. Structure fields parent_id, title_path, section_level, neighbor_ids Indicates chapter affiliation, title path, and adjacency. Financial semantic fields metric_name, period, unit, currency, value, statement_type, disclosure_section, calculation_relation, evidence_role Indicates financial indicators, time period, unit, currency, report type, and evidentiary role. Related fields caption_ids, footnote_ids, related_modal_ids, relation_edges, source_object_ref Indicates cross-modal relationships and source object binding.
[0137] Among them, Financial_Metadata (financial semantically enhanced metadata dictionary), as the most critical innovation distinguishing it from general chunks, is extracted and forcibly encapsulated by a financial named entity recognition (NER) engine and a classification aligner. The specific metadata field comparison and definition are shown in Table 3:
[0138] Table 3 Comparison of Financial_Metadata Field Definitions
[0139] Financial semantic enhanced metadata fields Physical data types Entity definition and function in financial scenarios metric_name String Core financial indicators or financial terms (such as "operating revenue", "net profit attributable to parent company", "asset-liability ratio"). period String Strictly aligned standard reporting intervals or time periods (e.g., "Q1 2025", "FY2025", "2025Q1"). unit String The units of measurement for financial figures should be forcibly corrected and standardized (e.g., "ten thousand yuan", "one hundred million yuan", "RMB million"). currency String Indicator pricing currency to prevent currency confusion in cross-border financial statement comparisons (such as "CNY", "USD", "EUR"). value Float The specific floating-point index value extracted from the text or table cell of this unit. statement_type Enum The type of financial statement associated with this indicator or data (balance sheet, income statement, cash flow statement, notes, none). disclosure_section String The compliant disclosure section in the financial report to which the indicator belongs (such as "Management Discussion and Analysis" or "Master Financial Statement"). calculation_relation String The underlying calculation and correlation expression of the indicator in the relevant report (such as "Net profit = Total profit - Income tax expense"). evidence_role Enum The logical evidence chain role that each unit plays in the entire report (core facts, supplementary explanations, verification basis).
[0140] Meanwhile, to avoid simply flattening different modalities into the same text chunk, this invention designs different atomic evidence unit (AEU) construction rules for different modalities. The definitions of various atomic evidence units (AEUs) are shown in Table 4:
[0141] Table 4 Definitions of AEUs for Various Types of Atomic Evidence Units
[0142] Atomic Evidence Unit (AEU) Type Source object Building Focus Text-AEU Main body paragraphs, management discussion, business description, risk statement Preserve heading paths, adjacent paragraphs, text roles, financial entities, and relationships. Table-AEU Complete financial statements, operating indicators, and valuation tables Preserve table name, table number, page range, report type, data source, and overall theme. Subtable-AEU Local areas in a table or sub-tables that can be interpreted independently Retain partial table headers, row groups, column groups, units, currencies, periods, and indicator categories. Cell-AEU Table Cell Inherit table name, row header, column header, unit, currency, period, footer, and bbox. Chart / Image-AEU Line chart, bar chart, trend chart, structure chart, industry chain diagram Bind the original image object to generate structured visual proxy text Equation-AEU Financial formulas, valuation formulas, indicator calculation formulas Preserve LaTeX, formula numbers, variable interpretations, context, and computational relationships. Caption - AEU Figure captions, table titles, and chart descriptions Link to the corresponding chart or table, and add the title and unit information. Footnote-AEU Notes, footnotes, appendices, and data source descriptions Link to a table, cell, or chart, and add details such as definitions, exceptions, and source information.
[0143] For the text modality, the system generates a Text-AEU based on the chunked path determined in step S2. A Text-AEU can correspond to a single paragraph, consecutive short paragraphs under the same semantic topic, or a semantically complete text fragment within a title node that does not exceed the maximum token limit L_max.
[0144] The system performs financial entity and relation extraction on Text-AEU, identifying entities such as companies, industries, products, business segments, financial indicators, accounting periods, amounts, risk factors, and policy events, and extracting textual semantic relations such as explained_by, caused_by, effects, belongs_to, compared_with, and calculated_from. The extraction results are written into both the financial semantic augmented metadata dictionary (Financial_Metadata) and the text semantic graph.
[0145] For financial statements, the method of brute-force truncation with fixed text length is prohibited. Instead, a three-tiered cascading structure of "overall nodes of the entire table, local sub-table area nodes, and cell value nodes" should be built for complex financial statements.
[0146] Specifically, such as Figure 2 , Figure 5 As shown in Table 5, the first level is Table-AEU, which is used to represent the overall semantics of the entire table. Table-AEU stores the table name, table number, page range, header path, table subject, report type, data source, original table structure, and overall proxy text.
[0147] The second layer is the Subtable-AEU, used to represent independently interpretable local areas within a table. Examples include multi-year financial indicator areas, main business product areas, regional revenue areas, and asset and liability indicator areas. The Subtable-AEU stores local headers, row groups, column groups, units, currencies, periods, and indicator categories.
[0148] The third layer is Cell-AEU, which is used to represent the smallest numerical evidence node. Cell-AEU stores the specific value, row and column coordinates, bounding box, indicator name, period, unit, currency, footnote reference, and source location.
[0149] The system uses cascading inheritance rules to pass table context information down the hierarchy:
[0150] Table 5. Financial Forms Three-Tier Inheritance Information Table
[0151] Source of inheritance Inheritance Target Inherited content Table-AEU Subtable-AEU, Cell-AEU Table name, table number, title path, page range, report type, data source Subtable-AEU Cell-AEU Partial header, row group, column group, unit, currency, period, indicator category Caption - AEU Table-AEU, Subtable-AEU Table title, table description, unit description Footnote-AEU Table-AEU, Cell-AEU Explanation of scope, exceptions, data sources, and rounding instructions Text-AEU Table-AEU, Cell-AEU Explanation of the main text, management discussion, and cause attribution.
[0152] Through the above cascading inheritance mechanism, even if each bottom-level Cell-AEU is indexed independently, it can fully obtain the complete set of financial constraint information including table names, row and column headers, metrics, periods, units, currencies, footnotes, and chapter paths, avoiding semantic ambiguity caused by lost context when extracting values independently.
[0153] For visual objects in financial documents such as visual trend charts, bar charts, pie charts, industry chain diagrams, business structure diagrams, flowcharts, etc., a Chart / Image-AEU is constructed, adopting a three-layer structure of original chart objects, standardized visual description text, and caption and body text reference binding as a whole.
[0154] First, the system retains the original image area, page number, bbox, figure number, caption, title path, and parsing confidence, and writes them into source_object_ref. Next, a visual language model or chart understanding model is called to generate structured proxy text for financial analysis. This proxy text is not only a natural language image description, but also includes at least chart type, chart title, horizontal axis meaning, vertical axis meaning, unit, time range, core entity, core metric, main trend, key value, inflection point, and uncertain fields.
[0155] This proxy text is written into the content field of the Chart / Image-AEU to participate in vector indexing, keyword indexing, and entity relationship extraction; the source image object is retained in source_object_ref for subsequent backtracking verification or multimodal re-parsing.
[0156] Next, multi-level context binding is established based on bbox physical coordinates:
[0157] (1) Direct caption backtracking. Based on the image bounding box, text search is performed within a preset geometric range Δ_caption above or below the image, extracting title text starting with "图", "Fig.", "Figure", "插图", etc., marking it as a direct Caption description, and establishing a has_caption relationship.
[0158] (2) Indirect body text reference backtracking. The system uses regular expressions to search the entire text for all sentences matching the image number, such as "see Figure 4-1 shown", "as Figure 3 shows". The system extracts the hit sentence and k sentences before and after it as indirect reference context, and establishes a refers_to or explains relationship with the Chart / Image-AEU.
[0159] In addition, an Equation-AEU is systematically constructed for financial models, valuation models, indicator calculation methods, and mathematical derivation formulas. An Equation-AEU includes at least the LaTeX representation of the formula, an image or region reference of the original formula, formula number, title path, page number, bounding box, variable explanation, contextual paragraphs, relevant indicators, and calculation relationships.
[0160] The system applies a strong binding of "formula representation + variable explanation + contextual paragraphs" to formulas. Specifically, after recognizing the formula block, the system converts the formula into LaTeX or structured expressions and scans the text paragraphs preceding and following the formula within a preset range based on the formula's bounding box, reading order, and formula number. The preset range can be N characters before and after, N sentences, or adjacent Text-AEUs under the same heading node. The system identifies the explanatory text for formula symbols, variables, parameters, units, calculation purpose, and data sources, and encapsulates it into the current Equation-AEU.
[0161] Step S4: Construction of cross-modal bi-graph topology network
[0162] In order to organically organize the physically block-level non-destructive atomic evidence units (AEUs) generated in step S3, such as... Figure 6 As shown, this embodiment constructs a dual-graph network topology structure that deeply integrates a "vertical hierarchical title tree" and a "horizontal multimodal association graph," thereby perfectly answering the two key logical questions: "Where is a certain piece of evidence located in the document (vertical)?" and "What accompanying evidence constitutes a complete meaning (horizontal)?"
[0163] 1. Vertical dimension: Tree-like hierarchical tree structure mapping:
[0164] Based on the parent_id and title_path metadata in the Atomic Evidence Unit (AEU), AEU nodes of various modalities such as text, tables, images, formulas, figure captions, and table captions are vertically mounted to the entire Document title tree, clarifying the underlying physical and logical affiliation of each node.
[0165] 2. Horizontal dimension: Cross-modal association graph topology construction:
[0166] The system calculates the horizontal collaboration relationships among all atomic evidence unit (AEU) nodes, establishes directed edges between highly correlated nodes, and calculates a correlation score for each edge. The core associated directed edge types defined in this invention include:
[0167] This indicates that the main body paragraph provides an in-depth explanation of the specific numerical values or trends in the table or graph.
[0168] This indicates that a specific mathematical or physical equation is referenced in the text.
[0169] : Create a direct reference between the chart and its physical caption / table unit.
[0170] : Create a mount point with the corresponding financial statement footnote.
[0171] If the values in the main text are calculated from the values in a specific cell in a table, then this side is created.
[0172] Establish horizontal relationships between cells in two tables that have the same indicators or have a reciprocal formula relationship.
[0173] 3. Cross-modal level relationship scoring model:
[0174] This embodiment proposes a fusion calculation algorithm based on the physical spatial distance of typesetting, multidimensional semantic cosine similarity, and the high degree of matching of financial indicators / periods, calculating nodes. and Horizontal relationship score between :
[0175]
[0176] in, This indicates the physical distance between two physical blocks in the original PDF. If the two physical blocks are located on the same physical page and are adjacent to each other (e.g., the caption is right below the table), the physical distance is... A score close to 0 indicates the highest possible layout space score. The cosine similarity of the feature vectors of two nodes reflects their semantic similarity. This indicates the percentage overlap between the two units in the "core financial indicators", "accounting period", and "extracted entity" contained in the Financial_Metadata dictionary. For the corresponding control coefficients, satisfying The system default setting is , , ; This represents the distance attenuation constant. The system sets the relationship activation threshold. .when At that time, the system automatically... and Directed edges representing the interrelationships between corresponding categories are written to achieve graph-based construction of the multimodal underlying knowledge base.
[0177] Step S5: Bind the non-text modal proxy representation to the source modal object and store it in the database.
[0178] This step primarily addresses the technical shortcomings of non-text modal content such as tables, images, charts, and formulas, which cannot be directly adapted to traditional text indexes and text graph construction. A two-layer binding storage mechanism is adopted for the various non-text atomic evidence units (AEUs) generated above, simultaneously preserving the complete source modal object and the standardized proxy text representation, thereby achieving the effect of non-text content being searchable, modelable, and traceable in the database.
[0179] As shown in Table 6, the system retains the original structured resources for all non-text atomic evidence units (AEUs) and constructs dedicated source modal object storage content. For table modalities, it retains the original table area, standardized table structure, cell coordinates, and cross-page connections. For image and chart modalities, it retains the original image area, image file references, page coordinates, figure number, and corresponding figure caption information. For formula modalities, it retains the original formula image, standardized LaTeX expression, formula number, and formula page position. For footnote and table note modalities, it retains the original text area, associated number, and annotation scope. All original modal resources are bound and saved to the corresponding atomic evidence unit (AEU) through dedicated associated fields, and the original structured and page information will not be lost in the form of ordinary text blocks.
[0180] Table 6. Binding Relationship between Non-Text Modal and Source Modal Objects
[0181] Modal Source modal object content sheet Original table area, HTML / Markdown / CSV table structure, cell coordinates, cross-page joins Images / Charts Original image area, image file reference, bounding box, figure number, figure caption formula Original formula image, LaTeX expression, formula number, formula bbox Footnotes / Table Notes Original text area, associated number, scope of description
[0182] Based on this, the system generates proxy text representations for various non-textual modal content that are adapted for retrieval and graph construction, transforming graphic, table, and formula resources that cannot be directly used in text computation into standardized text expressions that are searchable, indexable, and can participate in semantic graph extraction.
[0183] As shown in Table 7, for the atomic evidence units corresponding to the complete table, a complete table summary is generated by combining the table name, report type, covered indicator set, statistical time range, unit of measurement, and data source information; for the sub-table atomic evidence units corresponding to local areas of the table, precise sub-table description text is generated based on the local table header, row and column grouping rules, indicator category, statistical period, and unit of measurement; for the smallest evidence unit corresponding to a table cell, it is uniformly converted into standardized sentences, clearly describing the corresponding statistical period, financial indicators, specific values, and units of measurement; for chart and image atomic evidence units, structured description content is generated based on a visual understanding model, fully covering the chart type, axis meaning, unit of measurement, statistical time range, core financial indicators, data change trends, and key inflection point values; for formula atomic evidence units, abstract formulas are converted into natural language descriptions, clarifying the calculation purpose of the formula, the corresponding target indicator, and the specific meaning of each variable.
[0184] Table 7. Non-textual modality and proxy text association table
[0185] Modal Proxy text generation rules Table-AEU Generate a summary of the entire table based on the table name, report type, indicator set, time range, unit, and data source. Subtable-AEU Instructions for generating sub-tables based on local headers, row and column groups, indicator categories, periods, and units. Cell-AEU Convert cell values into a standard sentence format: "A certain indicator during a certain period has a value of a certain unit". Chart / Image-AEU The visual model generates chart types, axis meanings, units, time ranges, core indicators, trends, and key values. Equation-AEU Convert the formula into a natural language description: "This formula is used to calculate a certain indicator, and the variables have the following meanings..."
[0186] Through a dual-layer storage mechanism, non-text modalities can be smoothly integrated into the vector index, keyword index, and text semantic graph construction process based on the generated proxy text. At the same time, relying on the original source modal object, the original table, image, and formula resources can be retrieved at any time, effectively avoiding the problem of loss of original evidence information due to the limitations of proxy text description, and ensuring the integrity and verifiability of multimodal knowledge base data.
[0187] Step S6: Construction of Multi-Way Enhanced Index and Structured Atomic Evidence Knowledge Base
[0188] Once the atomic evidence unit (AEU) nodes, vertical chapter trees, horizontal cross-modal association graphs, source modal objects, and proxy text representations are constructed, the system establishes multi-way enhanced indexes for these objects, forming a structured atomic evidence knowledge base for complex financial documents.
[0189] As shown in Table 8, the system constructs the following multi-way index for each atomic evidence unit (AEU):
[0190] (1) Dense Vector Index. An embedding vector is generated based on the content field of the atomic evidence unit (AEU), the text content of the Text-AEU, and the proxy text of the non-text atomic evidence unit (AEU), and HNSW, IVF-PQ or other vector approximate nearest neighbor indexes are established to capture semantic relevance.
[0191] (2) Keyword sparse index. BM25 or inverted indexes are built based on the content of atomic evidence units (AEUs), proxy text, title path, indicator name, formula symbols, and proper nouns to accurately locate company names, indicator names, monetary values, formula symbols, and technical terms.
[0192] (3) Hierarchical path index. A hierarchical path index is established based on title_path, parent_id, section_level and doc_id, which supports locating evidence nodes according to document, chapter, subsection and title path.
[0193] (4) Financial core indicator index. Establish exact value indexes or range indexes for financial fields such as metric_name, value, unit, currency, and statement_type to support financial indicator alignment, numerical verification, and report caliber query.
[0194] (5) Standard reporting period index. Time indexes are created for time fields such as period, report_date, and disclosure_date, supporting retrieval by year, quarter, reporting period, and disclosure date.
[0195] (6) Modality type index. Indexes are created for modality, block_type and source_object_ref, supporting filtering of evidence by type such as text, table, cell, chart, formula, footnote, etc.
[0196] (7) Graph Relationship Index. Vertical chapter trees, text semantic relationship graphs and horizontal cross-modal association graphs are written into graph databases or in-memory graph indexes to support entity relationship queries, cross-modal relationship queries and multi-hop evidence tracing.
[0197] Table 8 Multi-way Index Table
[0198] Index type Index object Main uses Dense Vector Indexing Atomic Evidence Unit (AEU) Content, Proxy Text Semantic Relevant Recall Keyword Sparse Index Body text, indicators, companies, amounts, formula symbols Exact match recall Hierarchical Path Index doc_id, title_path, parent_id Locate by chapter and structural path Financial Indicators Index metric_name, value, unit, currency Indicator alignment and numerical verification Time Index period, report_date, disclosure_date Time series and reporting period query Modal Index modality, source_object_ref Locating evidence by modality type Graph Relationship Index relation_edges, entity_edges Cross-modal relationships and multi-hop tracking
[0199] The final structure of the constructed structured atomic evidence knowledge base is shown in Table 9:
[0200] Table 9. Structure of the Structured Atomic Evidence Knowledge Base
[0201] object type content Atomic Evidence Unit (AEU) Node Set Text-AEU, Table-AEU, Subtable-AEU, Cell-AEU, Chart / Image-AEU, Equation-AEU, Caption-AEU, Footnote-AEU Document Structure Tree Parent-child hierarchy of Document, Section, Subsection, and Atomic Evidence Unit (AEU) Text Semantic Graph Financial entities and relationships extracted from Text-AEU Cross-modal relationship diagram Relationships between different modal atomic evidence units (AEUs) such as explains, referers_to, has_caption, and has_footnote. Source Modal Object Library Original tables, images, formulas, and page block objects proxy text library Table summaries, structured chart descriptions, formula explanations, and standard cell phrases Metadatabase Page number, bounding box, title path, resolution confidence, financial fields, and indexed fields.
[0202] Through the above processing, the system transforms the original complex financial documents into a structured atomic evidence knowledge base. Each evidence node in this knowledge base has a traceable physical origin, an interpretable chapter structure path, alignable financial semantic fields, and computable cross-modal relationships.
[0203] The knowledge base formed in this stage can be used by subsequent modules for enhanced retrieval generation, research Q&A, research report generation, numerical verification, risk review, and evidence citation. It should be noted that the focus of this application is on structured atomic evidence modeling, modal processing, and cross-modal association organization in the knowledge base construction stage; specific query rollback strategies, evidence package pruning strategies, and answer generation strategies can be used as implementation methods for subsequent retrieval methods, but are not necessary limitations on the knowledge base construction method of this application.
[0204] Example 2
[0205] On the other hand, as shown in Figure 7, the present invention also provides a structured atomic evidence modeling and cross-modal association knowledge base construction system for financial documents, including:
[0206] The multi-source element physical extraction module extracts physical features of the layout and aligns basic elements of the input unstructured or semi-structured complex financial documents. It divides the continuous layout into physical blocks that carry spatial coordinates, reading order and resolution confidence, and further divides the physical blocks into text modal physical blocks and non-text modal physical blocks.
[0207] The confidence-based routing block control module selects candidate title physical blocks from the text modality physical blocks and calculates the structure tree confidence by combining the typographic metadata and text semantic features corresponding to the candidate titles. Based on the confidence level of the tree structure Choose from three different block paths to obtain fine-grained text logic fragments that have been split and bound to chapter-level paths;
[0208] The Financial Enhanced Atomic Evidence Unit (AEU) generation module is used to perform differentiated parsing on fine-grained text logic fragments and non-text modal physical blocks, and construct standardized AEUs for each modality. Based on the system's globally built-in Financial Semantic Enhancement Metadata dictionary, Financial_Metadata, various financial-specific attributes are uniformly extracted and normalized, and the financial attributes are attached to the corresponding modal AEUs. Among them, strong boundary non-hard-cut constraints are used when encapsulating AEUs corresponding to tables, mathematical formulas, and visualization images.
[0209] The cross-modal dual-graph topology network construction module is used to construct a two-dimensional multimodal financial evidence knowledge graph based on the metadata of each generated AEU (Automatic Unit of Evidence). Vertically, relying on the parent_id and title_path metadata of the AEU, the multimodal AEU nodes are mounted to the document title tree, binding the logical hierarchy of each node. Horizontally, cross-modal topological relationships are constructed for all AEU nodes, and a multi-dimensional fusion scoring model is used to calculate horizontal relationship scores. Valid related node pairs are selected and directed related edges of the corresponding type are established to generate a financial evidence knowledge graph that combines hierarchical affiliation and cross-modal reconciliation.
[0210] The multi-path enhanced indexing and retrieval service module is used to generate proxy text representations that can participate in text indexing and graph construction for non-text atomic evidence units such as tables, charts, and formulas, and retain the original source modal objects, binding and storing the proxy text with the source modal objects;
[0211] The structured atomic evidence knowledge base generation module is used to build multi-path enhanced indexes based on atomic evidence units, a two-dimensional multimodal financial evidence knowledge graph, source modal objects, and proxy texts, and integrate all data resources to form a structured atomic evidence knowledge base.
[0212] Although embodiments of the present invention have been described in the specification, these embodiments are merely illustrative and should not be construed as limiting the scope of protection of the present invention. Various omissions, substitutions, and modifications made without departing from the spirit of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents, characterized in that: The following steps are required: Step S1: Extract physical features of the layout and align basic elements of the input unstructured or semi-structured complex financial documents. Divide the continuous layout into physical blocks that carry spatial coordinates, reading order and resolution confidence. Then, divide the physical blocks into text modal physical blocks and non-text modal physical blocks. Step S2: Select candidate title physical blocks from the text modal physical blocks obtained in S1, and calculate the structure tree confidence by combining the typographic metadata and text semantic features corresponding to the candidate titles. Based on the confidence level of the tree structure Choose from three different block paths to obtain fine-grained text logic fragments that have been split and bound to chapter-level paths; Step S3 involves performing differentiated analysis on the fine-grained text logic fragments output in Step S2 and the non-text modal physical blocks output in Step S1, respectively, to construct standardized atomic evidence units (AEUs) for each modality; based on the system's globally built-in financial semantic enhanced metadata dictionary Financial_Metadata, various financial-specific attributes are uniformly extracted and normalized, and the financial attributes are attached to the corresponding modal atomic evidence units (AEUs); among them, strong boundary non-hard-cut constraints are used when encapsulating atomic evidence units (AEUs) corresponding to tables, mathematical formulas, and visualization images. Step S4: Based on the metadata of each AEU (Atomic Evidence Unit) generated in Step S3, construct a two-dimensional multimodal financial evidence knowledge graph. Vertically, relying on the parent_id and title_path metadata of the AEU, mount the multimodal AEU nodes to the document title tree, binding the logical hierarchy of each node. Horizontally, construct cross-modal topological relationships for all AEU nodes, and calculate the horizontal relationship score using a multi-dimensional fusion scoring model. Valid related node pairs are selected and directed related edges of the corresponding type are established to generate a financial evidence knowledge graph that combines hierarchical affiliation and cross-modal reconciliation. Step S5: For non-text atomic evidence units such as tables, charts, and formulas, generate proxy text representations that can participate in text indexing and graph construction, retain the original source modality object, and bind and store the proxy text with the source modality object. Step S6: Construct a multi-path enhanced index based on atomic evidence units, a two-dimensional multimodal financial evidence knowledge graph, source modal objects, and proxy texts, and integrate all data resources to form a structured atomic evidence knowledge base.
2. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, Step S1 includes: S101, Multi-source element physical extraction: Receive complex financial documents, call the combined model to perform full document layout area detection, identify different areas and parse out the corresponding physical blocks, and establish an associated physical feature dictionary for the physical blocks; The combined model includes layout detection, OCR, table recognition, formula recognition, and image region detection; S102, Confidence assessment and degradation fault tolerance: The confidence level of the parsing result corresponding to the physical block is retained, and a safe parsing threshold T_parse is set. If the confidence level of the parsing result corresponding to the physical block is lower than the safe parsing threshold T_parse, the degradation fault tolerance mechanism is triggered. The confidence scores include text OCR confidence scores, table structure recognition confidence scores, formula recognition confidence scores, image / chart region detection confidence scores, and page layout reading order confidence scores. S103, Text-modal and non-text-modal traffic splitting: Physical blocks are divided into text-modal and non-text-modal types according to block type; Degradation and fault tolerance mechanisms include: Backup OCR or local re-analysis: For areas with low confidence in text recognition, the system automatically schedules a backup OCR engine or a high-precision local recognition model to rescan the low-confidence area and aligns the re-recognition result with the original result at the character level or word level. Weak evidence labeling: The system marks poor parsing quality (weak_evidence=true) in physical blocks and retains the original image region or source object reference for subsequent manual verification or multimodal re-parsing; Version retention: For complex objects such as tables, formulas and charts, the system retains the original object, the initial parsing result and the backup parsing result, and records the parsing confidence of different versions.
3. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, In step S2, the typesetting metadata and text semantic features include table of contents information, heading numbers, font size levels, indentation positions, semantic boundaries, and reading flow stability. Based on the typesetting metadata and text semantic features, six categories are calculated to determine the confidence level of the structure tree. The multidimensional evaluation features are as follows: Directory matching features Extract the built-in table of contents outline from the PDF or the table of contents tree automatically parsed from the document's beginning, and calculate the standardized Levenstein edit distance similarity between candidate heading paragraphs and table of contents items. The calculation formula is as follows: H is the set of candidate titles. A collection of directory items; Title number regular expression pattern matching degree The ratio of the number of headings that conform to the standard regular expression pattern to the total number of candidate headings is calculated using the following formula: ; Font size hierarchy consistency feature Calculate the standard deviation of heading font sizes at the same nominal level. The font size consistency score is defined as follows: (Number obtained by normalization using the hyperbolic tangent function) ; Page indentation and alignment geometric distribution characteristics : Calculate the standard deviation of the offset of headings at the same nominal level relative to the horizontal edge of the page. The indentation consistency score is: ; Semantic boundary continuity features The lightweight embedding model is used to calculate the vector cosine similarity between the preceding and succeeding text blocks of each candidate title physical block, and the standard deviation of the global similarity is calculated. ; Vertical reading flow characteristics of the page layout Assess whether the spatial coordinate distribution of the title in the vertical page flow is regularly aligned with a single or double column.
4. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, Confidence of the tree structure The above six dimensions of features are input into a multivariate decision fusion model for calculation, and the calculation formula is as follows: Among them, the weight parameters of each dimension satisfy The system default configuration is , , , , , .
5. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, In step S2, the system sets a high confidence control threshold. With low confidence control threshold Based on the confidence level of the tree structure There are three types of chunk paths: Title tree priority block path: Relying on the standard hierarchical tree-like chapter tree to divide text block boundaries and bind complete title paths; Semantic breakpoint adaptive block segmentation path: Arrange text blocks according to the page reading order, calculate the semantic similarity Sim(i,i+1) of adjacent text blocks within the sliding window, take the position where the similarity drops significantly as the candidate semantic breakpoint, and then combine the features of subject, time, indicator switching, page spacing, and punctuation to determine the segmentation boundary, and only cut the text at the semantic jump inflection point. Hybrid adaptive block path: First, the layout is divided into several sub-page areas using the layout geometry information. The local confidence is calculated independently for each area. If the local confidence is greater than or equal to the preset value, a tree-like chapter structure is constructed and atomic evidence units (AEUs) are attached. If the local confidence is less than the preset value, the semantic breakpoint segmentation logic is called.
6. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, In step S3, the key aligned metadata fields included in the Financial_Metadata dictionary with enhanced financial semantics include: metric_name, period (standard reporting period), unit (physical unit), currency (currency), value (specific value of the extracted indicator), statement_type (related financial statement type), disclosure_section (compliance disclosure section), calculation_relation (underlying reconciliation calculation relationship), and evidence_role (role identifier). The specific process of constructing atomic evidence units (AEUs) and attaching financial attributes for each modality includes: The text modality generates a semantically complete Text-AEU based on the semantic theme and the maximum token limit. After extracting the text financial entities and the semantic relationship between the text and the text, and normalizing them to obtain the text financial attributes, it is attached to the Text-AEU. The table modality constructs a three-level cascaded inheritance structure of Table-AEU, Subtable-AEU, and Cell-AEU. It improves the semantics of the table through a multi-level information downward inheritance mechanism, and extracts the financial attributes of the table in a unified manner and attaches them to the corresponding table atomic evidence unit (AEU). The Chart / Image-AEU modality is constructed, binding the original image source object with the financial structured proxy text, and associating the caption and text reference context. The financial attributes of the chart are extracted and mounted in a normalized manner. The formula modality constructs Equation-AEU and retains the LaTeX structured expression, binds the formula variable interpretation and context calculation caliber, normalizes and extracts the financial attributes of the formula and attaches them to Equation-AEU.
7. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, In step S4, the types of directed associated edges include: This indicates that the main body paragraph is an in-depth explanation of the specific values or trends in the table or graph; This indicates that a specific mathematical or physical equation is referenced in the text. Create a direct reference between the chart and its physical caption or table annotation unit; : Create a mount point with the corresponding financial statement footnote; If the values in the main text are calculated from the values in a specific cell in a table, then this border is created. Establish horizontal relationships between cells in two tables that have the same indicators or have a reciprocal formula relationship.
8. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, In step S4, the horizontal relationship score is calculated. The calculation formula is: , This indicates the physical distance between two physical blocks in the original PDF; This indicates the overlap ratio of core financial indicators, accounting periods, and extracted entities contained in the Financial_Metadata dictionary for the two units. The cosine similarity between the feature vectors of two nodes; For the corresponding control coefficients, satisfying The system default setting is , , ; The distance attenuation constant; System settings relationship activation threshold When the horizontal relationship score At that time, the system automatically... and Directed edges representing the corresponding categories are written between them, and a multimodal underlying knowledge base is constructed using graph-based methods.
9. The method for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents as described in claim 1, characterized in that, In step S6, the multi-path enhanced index includes vector dense index, keyword sparse index, hierarchical structure path index, financial core indicator index, standard reporting period index, modality type index, and graph relationship index.
10. A system for structured atomic evidence modeling and cross-modal association knowledge base construction for financial documents, characterized in that: include: The multi-source element physical extraction module extracts physical features of the layout and aligns basic elements of the input unstructured or semi-structured complex financial documents. It divides the continuous layout into physical blocks that carry spatial coordinates, reading order and resolution confidence, and further divides the physical blocks into text modal physical blocks and non-text modal physical blocks. The confidence-based routing block control module filters candidate title physical blocks from text modal physical blocks and calculates the structure tree confidence by combining the typographic metadata and text semantic features corresponding to the candidate titles. Based on the confidence level of the tree structure Choose from three different block paths to obtain fine-grained text logic fragments that have been split and bound to chapter-level paths; The Financial Enhanced Atomic Evidence Unit (AEU) generation module is used to perform differentiated parsing on fine-grained text logic fragments and non-text modal physical blocks, and construct standardized AEUs for each modality. Based on the system's globally built-in Financial Semantic Enhancement Metadata dictionary, Financial_Metadata, various financial-specific attributes are uniformly extracted and normalized, and the financial attributes are attached to the corresponding modal AEUs. Among them, strong boundary non-hard-cut constraints are used when encapsulating AEUs corresponding to tables, mathematical formulas, and visualization images. The cross-modal dual-graph topology network construction module is used to construct a two-dimensional multimodal financial evidence knowledge graph based on the metadata of each generated AEU (Automatic Unit of Evidence). Vertically, relying on the parent_id and title_path metadata of the AEU, the multimodal AEU nodes are mounted to the document title tree, binding the logical hierarchy of each node. Horizontally, cross-modal topological relationships are constructed for all AEU nodes, and a multi-dimensional fusion scoring model is used to calculate horizontal relationship scores. Valid related node pairs are selected and directed related edges of the corresponding type are established to generate a financial evidence knowledge graph that combines hierarchical affiliation and cross-modal reconciliation. The multi-path enhanced indexing and retrieval service module is used to generate proxy text representations that can participate in text indexing and graph construction for non-text atomic evidence units such as tables, charts, and formulas, and retain the original source modal objects, binding and storing the proxy text with the source modal objects; The structured atomic evidence knowledge base generation module is used to build multi-path enhanced indexes based on atomic evidence units, a two-dimensional multimodal financial evidence knowledge graph, source modal objects, and proxy texts, and integrate all data resources to form a structured atomic evidence knowledge base.
