Multimodal table extraction and semantic search in a machine learning platform for structuring data in organizations
Abstract
Systems, methods, and computer-readable media for generating responses to natural-language queries regarding items in unstructured documents are disclosed. An application instance that includes one or more machine learning models receives, from a subscriber computing system, a query and document comprising unstructured data. Based on the unstructured data, the application instance generates a searchable data structure using a machine learning model. A query response is generated by performing a semantic search on the searchable data structure. The query response is provided to a target application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 1.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A provider computing system associated with a provider entity and comprising at least one processor, at least one memory, and one or more non-transitory computer readable media, excluding transitory signals, storing instructions, which when executed by the at least one processor, perform operations for generating responses to natural-language queries regarding items in unstructured documents, the operations comprising: receiving, at an application instance communicatively coupled to a subscriber computing system of a plurality of subscriber computing systems, a query and a document comprising unstructured data; performing pre-processing operations on at least a portion of the document comprising the unstructured data, the pre-processing operations comprising extracting, by a trained neural network, alphanumeric data from the unstructured data by generating a plurality of bounding boxes, each of the plurality of bounding boxes corresponding to a detected cell in a plurality of cells; identifying, in the unstructured data, a particular image comprising a globally applicable item related to the alphanumeric data; extracting, from the particular image, the globally applicable item; generating a searchable data structure comprising the alphanumeric data stored relationally to the globally applicable item; using the searchable data structure, performing operations comprising: generating a query response by performing, by a semantic similarity model, a semantic search; determining a set of coordinates in the document, wherein the set of coordinates corresponds to a query response item included in the alphanumeric data; including the determined set of coordinates in the query response; and transmitting query response to a target application operated or hosted at least in part by the subscriber computing system or a subscriber entity associated with the subscriber computing system.
- Claim 2Depends on #1
The system of claim 1, wherein the application instance is provided by the provider entity, and wherein the application instance is on a virtual network associated with the subscriber entity.
- Claim 3Independent Claim
A method for generating responses to natural-language queries regarding items in unstructured documents, the method comprising: receiving, at an application instance communicatively coupled to a subscriber computing system of a plurality of subscriber computing systems, a query and a document comprising unstructured data; performing pre-processing operations on at least a portion of the document comprising the unstructured data, the pre-processing operations comprising generating an optimized model input comprising at least one parsed document section that includes alphanumeric data by: using a computer vision machine learning model to: detect a first image in the unstructured data, wherein the first image comprises the alphanumeric data; generate a bounding box to encapsulate the first image; and parse, from the first image, a second image comprising the alphanumeric data, the second image defined by the bounding box; and extracting, by a trained machine learning model, the alphanumeric data from the second image; identifying, in the unstructured data, a particular image comprising a globally applicable item related to the alphanumeric data; extracting, from the particular image, the globally applicable item; generating a searchable data structure comprising the alphanumeric data stored relationally to the globally applicable item; and for each of the at least one parsed document section and using the searchable data structure, generating a query response by performing, by a semantic similarity model, a semantic search; and transmitting the query response to a target application operated or hosted at least in part by the subscriber computing system or a subscriber entity associated with the subscriber computing system.
- Claim 4Depends on #3
The method of claim 3, wherein the searchable data structure comprises a key-value pair.
- Claim 5Depends on #3
The method of claim 3, wherein the first image comprises a table; and wherein extracting the alphanumeric data comprises generating, by a trained neural network, a plurality of bounding boxes, each corresponding to a detected cell in a plurality of cells from the table.
- Claim 6Depends on #5
The method of claim 5, wherein the trained neural network is a convolutional neural network (CNN).
- Claim 7Depends on #5
The method of claim 5, wherein performing the semantic search comprises: using the searchable data structure, determining, by the trained neural network, a context for the query, the context relating to a value included in the searchable data structure; and generating, using the determined context for the query and the searchable data structure, at least one response option.
- Claim 8Depends on #7
The method of claim 7, further comprising: determining a set of coordinates in the document, wherein the set of coordinates corresponds to the at least one response option; and generating a second searchable data structure comprising the at least one response option stored relationally to the determined set of coordinates.
- Claim 9Depends on #7
The method of claim 7, further comprising: generating a sentence comprising the at least one response option; and providing the generated sentence via an output device associated with the subscriber computing system.
- Claim 10Depends on #5
The method of claim 5, wherein the searchable data structure stores the globally applicable item relationally to each row in the alphanumeric data.
- Claim 11Depends on #3
The method of claim 3, wherein the globally applicable item comprises an image.
- Claim 12Depends on #3
The method of claim 3, wherein the globally applicable item comprises alphanumeric information.
- Claim 13Depends on #3
The method of claim 3, wherein extracting the alphanumeric data comprises: determining a plurality of coordinate sets, each of the coordinate sets associated with a token included in the second image; and based on token proximity determined using the coordinate sets, linking a first token and a second token included in the second image, wherein at least the first token and the second token are ordered in phrasal form.
- Claim 14Depends on #3
The method of claim 3, wherein generating optimized model input comprises applying a domain-specific ontology to at least one of the document and the optimized model input.
- Claim 15Depends on #14
The method of claim 14, wherein the domain-specific ontology relates to at least one of an insurance policy term, medical information, or a medication.
- Claim 16Depends on #3
The method of claim 3, wherein the subscriber computing system and the target application are provided by the subscriber entity, and wherein the application instance is provided by a provider entity different from the subscriber entity.
- Claim 17Depends on #3
The method of claim 3, wherein the application instance is on a virtual network associated with the subscriber entity.
- Claim 18Depends on #3
The method of claim 3, wherein generating optimized model input comprises determining a type of output needed based on at least one of: a previously stored setting, a subscriber-defined runtime parameter or a feature of the target application.
- Claim 19Independent Claim
One or more non-transitory computer readable media excluding transitory signals, the media storing instructions, which when executed by at least one processor, perform operations for generating responses to natural-language queries regarding items in unstructured documents, the operations comprising: receiving, at an application instance communicatively coupled to a subscriber computing system of a plurality of subscriber computing systems, a query and a document comprising unstructured data; performing pre-processing operations on at least a portion of the document comprising the unstructured data, the pre-processing operations comprising generating an optimized model input comprising at least one parsed document section that includes alphanumeric data by: using a computer vision machine learning model, detecting a first image in the unstructured data, wherein the first image comprises the alphanumeric data; generating a bounding box to encapsulate the first image; parsing, from the first image, a second image comprising the alphanumeric data, the second image defined by the bounding box; and extracting, by a trained neural network, the alphanumeric data from the second image; identifying, in the unstructured data, a particular image comprising a globally applicable item related to the alphanumeric data; extracting, from the particular image, the globally applicable item; generating a searchable data structure comprising the alphanumeric data stored relationally to the globally applicable item; and for each of the at least one parsed document section and using the searchable data structure, generating a query response by performing, by a semantic similarity model, a semantic search; and transmitting the query response to a target application operated or hosted at least in part by the subscriber computing system or a subscriber entity associated with the subscriber computing system.
- Claim 20Depends on #19
The media of claim 19, wherein the application instance is provided by a provider entity different from the subscriber entity, and wherein the application instance is on a virtual network associated with the subscriber entity.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation-in-part of U.S. patent application Ser. No. 17/988,684, filed Nov. 16, 2022, which claims priority to U.S. Provisional Application No. 63/280,062, filed Nov. 16, 2021. These applications are incorporated herein by reference in their entireties and for all purposes. BACKGROUND Enterprise data processing systems can rely on machine learning techniques to generate insights into enterprise data. Machine learning refers to artificial intelligence technologies that train a computing system on how to learn. Input data can be sourced for machine learning applications from different computing systems, including legacy systems, and can include data in formats that are not designed for processing by machine learning applications. BRIEF DESCRIPTION OF THE DRAWINGS Detailed descriptions of implementations of the present invention will be described and explained through the use of the accompanying drawings. FIG. 1 is a block diagram showing an analytics environment included in the example machine learning platform according to some implementations of the disclosed technology. FIG. 2 is a flowchart showing data ingestion and pre-processing operations of an example machine learning platform according to some implementations of the disclosed technology. FIGS. 3 A and 3 B are flowcharts showing data extraction operations of an example machine learning platform according to some implementations of the disclosed technology. FIGS. 3 C and 3 D show extractive summarization operations of an example machine learning platform according to some implementations of the disclosed technology. FIGS. 4 A and 4 B show operations and a graphical user interface (GUI) for extracting medication solution data in an example machine learning platform according to some implementations of the disclosed technology. FIG. 4 C shows a GUI for extracting property title information in an example machine learning platform according to some
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,405,985 B1 | Retrieval-augmented generation processing using dynamically selected number of document chunks | 2025 | 8 |
References Cited — Backward Prior Art (32)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (1)
- ISA: Korean Intellectual Property Office, PCT Application No. PCT/US22/50160, filed Nov. 16, 2022, International Search Report and Written Opinion mailed Apr. 5, 2023, 10 pages.