Complex table semantic understanding method and device based on large language model

Through the complex table semantic understanding method based on large language model, the problem of insufficient understanding of complex table semantics in the existing technology is solved, more accurate table detection and structure recognition are achieved, and the effectiveness of table processing tasks is improved.

CN119810861APending Publication Date: 2025-04-11ZHEJIANG UNIV OF TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411830223.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The prior art lacks effective semantic understanding when processing complex tables, resulting in poor effectiveness of table reasoning tasks.

Method used

A complex table semantic understanding method based on a large language model is adopted, and a deep semantic understanding of complex tables is achieved through multi-step processing including table detection, structure recognition, structure reconstruction and semantic translation.

Benefits of technology

It improves the accuracy of table detection and structure recognition, enhances the ability to understand complex table semantics, and improves the accuracy and practicality of table processing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810861A_ABST
    Figure CN119810861A_ABST
Patent Text Reader

Abstract

The invention discloses a complex table semantic understanding method and device based on a large language model, and the method comprises the steps: firstly carrying out the preprocessing of a document through a table detection model and a table structure recognition model, and extracting the structure information of a table in the document; secondly, reconstructing the structure of a complex table through a large language model, and constructing two tree structures according to row and column information; and on the basis, semantic translation is performed on the reconstructed table through a preset rule, and a sentence which most conforms to logic is screened out through a large language model, so that deep understanding and accurate expression of complex table contents are realized. The invention provides a new method for processing complex table semantics, the table processing efficiency and accuracy are improved, and valuable references are provided for practical application scenes such as data mining, information retrieval and intelligent questions and answers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of natural language processing, and in particular relates to a complex table semantic understanding method and device based on a large language model. Background Art

[0002] With the rapid development of information technology, data analysis and information extraction are increasingly used in various industries. As a common form of data representation, tables contain a large amount of structured information, which is of great significance for decision support, knowledge management, etc. However, traditional table processing technology mainly focuses on data extraction, lacks a deep understanding of table semantics, and cannot accurately grasp the internal logic and semantic relationship of table information. Due to the lack of effective semantic understanding. In the specific scenario of processing table tasks, LLM technology has great potential, but does not have a strong ability to recognize complex table structures and understand the semantics of complex tables.

[0003] Faced with the limitations and inefficiency of table processing technology and the shallow level of table semantic understanding, exploring a method to more accurately detect and identify table structures and better parse complex table semantics has significant research significance and application value.

[0004] This paper explores the method of processing complex tables in table task reasoning based on large models in the field of natural language processing, and proposes a complex table semantic understanding method based on a large language model. This method can effectively solve the problem of poor reasoning effect of table reasoning tasks due to poor reading of table structure and difficulty in model understanding of table information, and has good results. Summary of the invention

[0005] The purpose of the present invention is to address the deficiencies of the prior art and provide a method and device for semantic understanding of complex tables based on a large language model.

[0006] The object of the present invention is achieved through the following technical solution: a complex table semantic understanding method based on a large language model, comprising the following steps:

[0007] (1) Segment the multimodal document and convert it into multiple document images;

[0008] (2) Use the table detection model to detect the table position in each document image, determine the precise position of the table, and capture all table images in the document image;

[0009] (3) using the table structure recognition model to parse the table structure and recognize the text of each table image, obtain the table structure and cell text, and then integrate them to output the table structure information corresponding to the table image;

[0010] (4) Use the large language model to reconstruct the structure of each table structure information to obtain the corresponding reconstructed table structure;

[0011] (5) Use the large language model to perform semantic translation on each reconstructed table structure to obtain a corresponding sentence set;

[0012] (6) Use a large language model to filter each sentence set and select the sentences that are closest to the original table semantics and the most logical as the semantic understanding of the corresponding table image.

[0013] Furthermore, the step (1) is specifically as follows:

[0014] First, the multimodal document is read using PDFPlumber technology, and then the content in the multimodal document is divided into N pages using the third-party Python library pdf2image. Finally, each page is converted into a corresponding document image using the Python image processing technology library to obtain N document images: x1,…,x i ,…,x N , where x i Represents any document image in a multimodal document, i=1,…,i,…,N.

[0015] Furthermore, the step (2) specifically includes the following sub-steps:

[0016] (2.1) For each document image x i First, use the trained table detection model to convert the document image x i After reading, grayscale conversion and binarization are performed, and image pixels are classified to determine whether they belong to table information to confirm the position of the table in the document image; then row similarity target detection is performed to determine the precise position of the table boundary box;

[0017] The table detection model is a target detection model based on Faster R-CNN;

[0018] (2.2) After determining the exact location, use the image processing technology library to capture all the table images in the document image: in, Indicates document image x i Any table image in M i Indicates document image x i There are M i Table images.

[0019] Furthermore, the step (3) specifically includes the following sub-steps:

[0020] (3.1) For each table image Use the trained table structure recognition model to identify the table image The table in the table is used to detect the table outline lines, and then the target detection algorithm is used to identify the row and column dividing lines in the table. The table is divided into cells according to the detected row and column dividing lines, and the position of the cell is determined according to the intersection of the dividing lines. Then, the adjacent cells are processed to determine whether they should be merged; finally, the hierarchical structure of the table is identified, the row, column and header information are determined, the table structure is parsed, and the table structure is obtained; then, the OCR technology is used to perform text recognition on the cells to obtain the cell text in the table;

[0021] The table structure recognition model is based on an image-to-text model;

[0022] (3.2) Integrate the table structure and cell text and output the table image Corresponding table structure information in JSON format

[0023] Furthermore, the step (4) is specifically as follows:

[0024] Use a large language model to use table structure reconstruction prompts for each table structure information Reconstruct according to the table structure information The table structure logic converts the rows, columns and header information in the table into a tree structure, explicitly represents the format of merged cells and nested headers in the table, and obtains the table structure information The corresponding reconstructed table structure information

[0025] Furthermore, the step (5) specifically includes the following sub-steps:

[0026] (5.1) According to each reconstructed table structure information The construction rules of semantic translation corresponding to the logical setting;

[0027] (5.2) Use the large language model to use semantic translation hints to reconstruct the table structure information Perform semantic translation, the semantic translation prompt contains the construction rules of semantic translation, and output the corresponding sentence set in, Represents a set of statements Any one of the following can express a table image The semantic sentence of the form, F g Represents a set of statements Total includes F g Sentences.

[0028] Furthermore, the step (6) is specifically as follows: using the large language model to filter the output prompts for each sentence set Filter from the statement collection Filter out the sentences that are closest to the original table semantics and most logical as the corresponding table images semantic understanding.

[0029] The present invention also includes a complex table semantic understanding device based on a large language model, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, it is used for the above-mentioned complex table semantic understanding method based on a large language model.

[0030] The present invention also includes a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned complex table semantic understanding method based on a large language model is implemented.

[0031] The beneficial effects of the present invention are: for lengthy user documents, the accuracy of table detection and structure recognition can be improved by dividing the documents into blocks. Compared with the traditional table processing task system, the present invention can solve the task of understanding complex tables and better cooperate with the subsequent table tasks; as well as better cope with the efficiency of large language models, provide a more intelligent table semantic understanding method, and improve the accuracy and practicality of the table processing task system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flowchart of a complex table semantic understanding method based on a large language model;

[0033] Figure 2 The structure diagram of a complex table semantic understanding device based on a large language model. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical scheme and advantages of the present invention more clear, the present invention is further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0035] The present invention proposes a complex table semantic understanding method and device of a large language model. In the specific implementation scenario, PDF is taken as an example: first, the PDF file is read through the PDF2Image library of Python, and the document page is converted into an image format, and then the target detection operation is performed on the table image based on the table detection model, and then the complex table structure is parsed based on the table structure recognition model. Then, using the large model, the row and column headers are converted into a tree structure, and then the table information is translated based on preset rules. Finally, the translated sentences are input into the large model, and the sentences that best fit the original table semantics are screened and output.

[0036] Example 1

[0037] like Figure 1 As shown, the present invention provides a complex table semantic understanding method based on a large language model, comprising the following steps:

[0038] (1) Segment the multimodal document and convert it into multiple document images.

[0039] The step (1) is specifically:

[0040] First, the multimodal document is read using PDFPlumber technology, and then the content in the multimodal document is divided into N pages using the third-party Python library pdf2image. Finally, each page is converted into a corresponding document image using the Python image processing technology library to obtain N document images: x1,…,x i ,…,x N , where x i Represents any document image in a multimodal document, i = 1,…,i,…,N. The document is segmented according to the number of pages and converted into images for output, which is convenient for subsequent tasks to process.

[0041] The multimodal document is in PDF format and contains text, tables and pictures.

[0042] (2) Use the table detection model to detect the table position in each document image, determine the exact position of the table, and capture all table images in the document image.

[0043] The step (2) specifically includes the following sub-steps:

[0044] (2.1) For each document image x i First, use the trained table detection model to convert the document image x iAfter reading, grayscale conversion and binarization are performed, and image pixels are classified to determine whether they belong to table information to confirm the position of the table in the document image; then row similarity target detection is performed to determine the precise position of the table boundary box;

[0045] The table detection model is an object detection model based on Faster R-CNN.

[0046] (2.2) After determining the exact location, use the image processing technology library to capture all the table images in the document image: in, Indicates document image x i Any table image in M i Indicates document image x i There are M i Table images.

[0047] (3) Use the table structure recognition model to parse the table structure and recognize the text of each table image to obtain the table structure and cell text, and then integrate them to output the table structure information corresponding to the table image.

[0048] The step (3) specifically includes the following sub-steps:

[0049] (3.1) For each table image Use the trained table structure recognition model to identify the table image The table in the table is detected by table outline detection lines, and then the target detection algorithm is used to identify the row and column dividing lines in the table. The table is divided into cells according to the detected row and column dividing lines, and the position of the cell is determined according to the intersection of the dividing lines. Then the adjacent cells are processed to determine whether they should be merged; finally, the hierarchical structure of the table is identified, the row, column and header information are determined, the table structure is parsed, and the table structure is obtained; then the OCR technology is used to perform text recognition on the cells to obtain the cell text in the table.

[0050] The table structure recognition model is based on an image-to-text model.

[0051] (3.2) Integrate the table structure and cell text and output the table image Corresponding table structure information in JSON format

[0052] (4) Use the large language model to reconstruct the structure of each table structure information to obtain the corresponding reconstructed table structure.

[0053] The step (4) is specifically as follows:

[0054] Use a large language model to use table structure reconstruction prompts for each table structure information Reconstruct according to the table structure information The table structure logic converts the rows, columns and header information in the table into a tree structure, explicitly represents the format of merged cells and nested headers in the table, and obtains the table structure information The corresponding reconstructed table structure information

[0055] The table structure reconstruction hint used by the large language model in step (4) is “__ASK__

[0056] You are a table processing expert and your task is to restructure the input table structure information.

[0057] __CONSTRAINTS__

[0058] - Rewrite the row and column headers of the table structure information in the input JSON format into a tree structure, where all nodes except the root node have a unique predecessor node.

[0059] -The final output JSON format contains "title", "top_root", "left_root", and "data" information.

[0060] - "title" represents the table title, "top_root" represents the row header tree, "left_root" represents the column header tree, and "data" represents non-header information.

[0061] - "line_idx" indicates the serial number of the cell in the row / column. Null means there is only this cell in the row / column.

[0062] - "data" information is represented by sorting rows first and then columns.

[0063] -Write strictly according to the example format.

[0064] __EXAMPLE__

[0065] Original form information: input

[0066] Table information after reconstruction: output

[0067] __INPUT__

[0068] Original form information: {input}".

[0069] (5) Use a large language model to perform semantic translation on each reconstructed table structure to obtain a corresponding set of sentences.

[0070] Step (5) specifically includes the following sub-steps:

[0071] (5.1) Set the construction rules for the corresponding semantic translation according to the logical relationship of each reconstructed table structure information of the semantic translation.

[0072] (5.2) Use the large language model to perform semantic translation on the reconstructed table structure information using the semantic translation prompt, where the semantic translation prompt includes the construction rules of the semantic translation, and output the corresponding set of statements wherein, represents any statement in the set of statements that can express the semantics of the table in the table image , and F g represents the set of statements which includes a total of F g statements.

[0073] The semantic translation prompt used by the large language model in step (5) is "_ASK_

[0074] You are a table processing expert, and your task is to perform semantic translation on the reconstructed table information structure according to the preset rules.

[0075] __CONSTRAINTS__

[0076] - Among them, "title" represents the table title, "top_root" represents the row title tree, "left_root" represents the column title tree, and "data" represents non-title information. "line_idx" represents the serial number of the cell in the row / column. "data" is represented according to the rule of sorting by row first and then by column.

[0077] - Translation rules: 1. Priority of row titles, that is, traverse "top_root" first, then "left_root", and finally "data" information; 2. Priority of column titles, that is, traverse "left_root" first, then "top_root", and finally "data" information.

[0078] - Output the "value" value in the cell, separate the cells between two row / column titles with the word "的", separate the "data" information with the word "是" in front, and separate the "data" information with "," or "." at the end.

[0079] __EXAMPLE__

[0080] Input: input

[0081] Output: 1. Row header priority: "Control system" of "Foreign capital" in "Equipment cost" is "100", "Control system" of "Domestic capital" in "Equipment cost" is "0", "Wind power system" of "Foreign capital" in "Equipment cost" is "0", "Wind power system" of "Domestic capital" in "Equipment cost" is "2000". 2. Column header priority: "Foreign capital" in "Equipment cost" of "Control system" is "100", "Domestic capital" in "Equipment cost" of "Control system" is "0", "Foreign capital" in "Equipment cost" of "Wind power system" is "0", "Domestic capital" in "Equipment cost" of "Wind power system" is "2000".

[0082] __INPUT__

[0083] Input: {input}".

[0084] (6) Use a large language model to filter each sentence set and select the sentences that are closest to the original table semantics and the most logical as the semantic understanding of the corresponding table image.

[0085] The step (6) is specifically as follows: using the large language model to filter the output prompts for each sentence set Filter from the statement collection Filter out the sentences that are closest to the original table semantics and most logical as the corresponding table images semantic understanding.

[0086] The filter output prompt used by the large language model in step (6) is "__ASK__

[0087] You are a form processing expert and your task is to select the best sentences.

[0088] __CONSTRAINTS__

[0089] -Select the most fluent, logical, and understandable sentence from the two sentences of "Row header priority" and "Column header priority".

[0090] -Output strictly according to the original sentence.

[0091] __EXAMPLE__

[0092] Input: 1. Row title priority: "Control system" of "Foreign capital" in "Equipment cost" is "100", "Control system" of "Domestic capital" in "Equipment cost" is "0", "Wind power system" of "Foreign capital" in "Equipment cost" is "0", "Wind power system" of "Domestic capital" in "Equipment cost" is "2000". 2. Column title priority: "Foreign capital" in "Equipment cost" of "Control system" is "100", "Domestic capital" in "Equipment cost" of "Control system" is "0", "Foreign capital" in "Equipment cost" of "Wind power system" is "0", "Domestic capital" in "Equipment cost" of "Wind power system" is "2000".

[0093] Output: 1. Row headers are prioritized: the “control system” of “foreign capital” in “equipment costs” is “100”, the “control system” of “domestic capital” in “equipment costs” is “0”, the “wind power system” of “foreign capital” in “equipment costs” is “0”, and the “wind power system” of “domestic capital” in “equipment costs” is “2000”.

[0094] __INPUT__

[0095] Input: {input}".

[0096] Example 2

[0097] The present embodiment relates to a complex table semantic understanding device based on a large language model, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, a complex table semantic understanding method based on a large language model is used in the above-mentioned embodiment 1; the device embodiment can be applied to any device with data processing capabilities, and the any device with data processing capabilities can be a device or apparatus such as a computer.

[0098] like Figure 2 At the hardware level, the model watermark device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, the present invention does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0099] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0100] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0101] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0102] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0103] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0104] The present invention may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0105] Example 3

[0106] An embodiment of the present invention further provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a complex table semantic understanding method based on a large language model of the above-mentioned embodiment 1 is implemented.

[0107] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A complex table semantic understanding method based on a large language model, characterized in that: The following steps are involved: (1) Segment the multimodal document and convert it into multiple document images; (2) Use the table detection model to detect the table position in each document image, determine the exact position of the table, and capture all table images in the document image; (3) using the table structure recognition model to parse the table structure and recognize the text of each table image, obtain the table structure and cell text, and then integrate them to output the table structure information corresponding to the table image; (4) Use the large language model to reconstruct the structure of each table structure information to obtain the corresponding reconstructed table structure; (5) Use the large language model to perform semantic translation on each reconstructed table structure to obtain a corresponding sentence set; (6) Use a large language model to filter each sentence set and select the sentences that are closest to the original table semantics and the most logical as the semantic understanding of the corresponding table image.

2. According to claim 1, a complex table semantic understanding method based on a large language model is characterized in that: The step (1) is specifically: First, the multimodal document is read using PDFPlumber technology, and then the content in the multimodal document is divided into N pages using the third-party Python library pdf2image. Finally, each page is converted into a corresponding document image using the Python image processing technology library to obtain N document images: x1,…,x i ,…,x N , where x i Represents any document image in a multimodal document, i=1,…,i,…,N.

3. A complex table semantic understanding method based on a large language model according to claim 2, characterized in that: The step (2) specifically includes the following sub-steps: (2.1) For each document image x i First, use the trained table detection model to convert the document image x i After reading, grayscale conversion and binarization are performed, and image pixels are classified to determine whether they belong to table information to confirm the position of the table in the document image; then row similarity target detection is performed to determine the precise position of the table boundary box; The table detection model is a target detection model based on Faster R-CNN; (2.2) After determining the exact location, use the image processing technology library to capture all the table images in the document image: in, Indicates document image x i Any table image in M i Indicates document image x i There are M i Table images.

4. The complex table semantic understanding method based on a large language model according to claim 3 is characterized in that: The step (3) specifically includes the following sub-steps: (3.1) For each table image Use the trained table structure recognition model to identify the table image The table in the table is used to detect the table outline lines, and then the target detection algorithm is used to identify the row and column segmentation lines in the table. The table is divided into cells according to the detected row and column segmentation lines, and the position of the cell is determined according to the intersection of the segmentation lines. Then, the adjacent cells are processed to determine whether they should be merged; Finally, identify the hierarchical structure of the table, determine the row, column and header information, implement table structure analysis, and obtain the table structure; then use OCR technology to perform text recognition on the cells to obtain the cell text in the table; The table structure recognition model is based on an image-to-text model; (3.2) Integrate the table structure and cell text and output the table image Corresponding table structure information in JSON format 5. The complex table semantic understanding method based on a large language model according to claim 4, characterized in that: The step (4) is specifically: Use a large language model to use table structure reconstruction prompts for each table structure information Reconstruct according to the table structure information The table structure logic converts the rows, columns and header information in the table into a tree structure, explicitly represents the format of merged cells and nested headers in the table, and obtains the table structure information The corresponding reconstructed table structure information 6. The complex table semantic understanding method based on a large language model according to claim 5, characterized in that: The step (5) specifically includes the following sub-steps: (5.1) According to each reconstructed table structure information The construction rules of semantic translation corresponding to the logical setting; (5.2) Use the large language model to use semantic translation hints to reconstruct the table structure information Perform semantic translation, the semantic translation prompt contains the construction rules of semantic translation, and output the corresponding sentence set in, Represents a set of statements Any one of the following can express a table image The semantic sentence of the form, F g Represents a set of statements Total includes F g Sentences.

7. The complex table semantic understanding method based on a large language model according to claim 6, characterized in that: The step (6) is specifically as follows: using the large language model to filter the output prompts for each sentence set Filter from the statement collection Filter out the sentences that are closest to the original table semantics and most logical as the corresponding table images semantic understanding.

8. A complex table semantic understanding device based on a large language model, characterized in that: It includes a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, it is used to implement a complex table semantic understanding method based on a large language model as described in any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, a complex table semantic understanding method based on a large language model as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Complex table question and answer method based on tree structure, electronic equipment and medium

    CN120670452A

  • A complex table question answering method based on tree structure, electronic equipment and medium

    CN120670452B

  • Complex table intelligent analysis method based on multi-modal fusion and semantic analysis

    CN121303073A