Identification of key-value associations in documents using neural networks
Abstract
Aspects of the disclosure provide for mechanisms for identification of text fields in documents using neural networks. A method of the disclosure includes obtaining vectors, representative of objects in a document and processing the vectors to generate key hypotheses associating key(s) with one or more objects and value hypotheses associating value(s) with zero or more objects. The method further includes generating key-value association (KVA) hypotheses associating a selected key hypothesis with a selected value hypothesis and characterized by a KVA likelihood score that is based on at least a key likelihood score associated with the selected key hypothesis and a value likelihood score associated with the selected value hypothesis. The method further includes identifying one or more target KVAs of the document using the KVA likelihood scores of the generated KVA hypotheses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 2.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A method, comprising: obtaining a plurality of vectors, wherein each vector of the plurality of vectors is representative of one of a plurality of objects in a document; processing, using one or more neural network models (NNMs), the plurality of vectors to generate: a plurality of key hypotheses, wherein each key hypothesis of the plurality of key hypotheses associates a key with one or more objects of the plurality of objects, and a plurality of value hypotheses, wherein each value hypothesis of the plurality of value hypotheses associates a value with zero or more objects of the plurality of objects; generating, using the plurality of key hypotheses and the plurality of value hypotheses, one or more key-value association (KVA) hypotheses, wherein each KVA hypothesis associates a selected key hypothesis of the plurality of key hypotheses with a selected value hypothesis of the plurality of value hypotheses, and wherein each KVA hypothesis is characterized by a KVA likelihood score th
- Claim 2Depends on #1
The method of claim 1, wherein identifying the one or more target KVAs of the document comprises: forming a set of aggregation hypotheses, each aggregation hypothesis comprising a respective subset of KVA hypotheses of the plurality of generated KVA hypotheses; using an evaluation metric to obtain a set of evaluation scores, wherein each evaluation score characterizing a likelihood of a respective aggregation hypothesis and is determined using the KVA likelihood scores of the respective subset of KVA hypotheses; and selecting a final aggregation hypothesis based on the obtained set of evaluation scores.
- Claim 3Depends on #2
The method of claim 2, wherein the evaluation metric favors an aggregated hypothesis comprising a larger subset of KVA hypotheses over an aggregated hypothesis comprising a smaller subset of KVA hypotheses.
- Claim 4Depends on #1
The method of claim 1, wherein the plurality of vectors is obtained by processing a plurality of object embeddings using a document context NNM, wherein each object embedding of the plurality of object embeddings is representative of a visual appearance of a respective object of the plurality of objects in the document, and wherein individual vectors of the plurality of vectors are obtained using at least a sub-plurality of the plurality of object embeddings.
- Claim 5Depends on #4
The method of claim 4, wherein the plurality of object embeddings are obtained by combining a plurality of symbol embeddings and a plurality of graphics embeddings, wherein each of the plurality of symbol embeddings is obtained by applying a symbol embeddings NNM to an output of an optical character recognition processing of the document, and wherein each of the plurality of graphics embeddings is obtained by applying a graphics embeddings NNM to an output of a graphics element recognition processing of the document.
- Claim 6Depends on #1
The method of claim 1, wherein the KVA likelihood score is further based on a relative geometric arrangement of a hypothesized key of the selected key hypothesis and a hypothesized value of the selected value hypothesis.
- Claim 7Depends on #1
The method of claim 1, wherein the one or more NNMs are trained using at least one training document annotated with ground truth KVAs.
- Claim 8Depends on #1
The method of claim 1, wherein the plurality of key hypotheses are generated using a first NNM of the one or more NNMs and the plurality of value hypotheses are generated using a second NNM of the one or more NNMs, wherein the first NNM and the second NNM are processing the plurality of vectors in parallel.
Technical Overview & Description
TECHNICAL FIELD The implementations of the disclosure relate generally to computer systems and, more specifically, to systems and methods for detecting objects and object associations in unstructured electronic documents using neural networks. BACKGROUND Detecting texts, graphic elements, and/or other objects in unstructured electronic documents is an important task in processing, storing, and referencing documents. In many instances, document processing includes identifying associations between objects, such as an association between a prompt ( “ Date of Birth) and a typed or handwritten entry (e.g., “ Jan. 1, 2000 ” ). Conventional approaches used for object detection include manually configuring e a large number of heuristics and templates, a process that typically involves a large number of human operations. SUMMARY OF THE DISCLOSURE Implementations of the present disclosure describe mechanisms for detecting, in electronic documents, an association between some object of a document (or a group of objects), referred to as a key herein, with another object (or a group of objects), referred to as a value herein. Such key-value associations may be causal (e.g., prompt-response, question-answer), geometric (e.g., cell-entry), mathematical (e.g., variable-number), linguistic (e.g., subject-action), contextual (e.g., general category — examples), referential (e.g., paragraph number-text), or any other association that may be advantageous to identify in a given computing application. In one implementation, a method is disclosed that includes obtaining a plurality of vectors, wherein each vector of the plurality of vectors being representative of one of a plurality of objects in a document. The method further includes processing, using one or more neural network models (NNMs), the plurality of vectors to generate a plurality of key hypotheses, each key hypothesis of the plurality of key hypotheses associating a key with one or more objects of the plurality of objects, an
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (7)
| Patent | Title | Year | Citations |
|---|