Method and apparatus for identifying and registering forms using grouping of predefined text.
A machine learning system identifies and registers forms by recognizing generic groups and regions, addressing the challenges of semi-structured forms with varying layouts and errors, ensuring robust and scalable form processing.
Patent Information
- Application Number
- JP2024038059
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-12
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-03-12
AI Technical Summary
Semi-structured form representations mix topological and semantic features, making it difficult to understand the relationships between them during scanning or capturing, especially with form rotation, translation, and scaling.
A machine learning system is trained to identify multiple generic groups or regions on a form, utilizing positional and semantic relationships to recognize corresponding groups or regions on the same or different forms, even with varying formats and layouts.
Facilitates efficient, scalable, and generalizable form identification and registration, compensating for scanning errors and maintaining robustness across large datasets.
Smart Images

Figure 0007955304000001 
Figure 0007955304000002 
Figure 0007955304000003
Abstract
Description
Cross-reference to Related Applications
[0001] This application is related to U.S. Patent Application No. 17 / 958,262, filed on September 30, 2022, and entitled "Method and Apparatus for Form Identification and Registration." The entire content of this application is incorporated herein by reference in its entirety. [Technical Field]
[0002] Aspects of the present invention relate to image processing, and more particularly to form processing. [Background Art]
[0003] In the field of document and form analysis, form matching and registration, including content location, is important but can be challenging. There are several challenges as follows: 1) relatively unstructured (semi-structured) forms, 2) scanning extraction errors (whether in optical character recognition (OCR), intelligent character recognition (ICR), or a combination thereof (OICR)), 3) tables that may be displayed in different parts of the form and / or may have variable sizes, and 4) scaling to large datasets and variants while maintaining robustness. [Summary of Invention] [Problem to be Solved by the Invention]
[0004] Semi-structured form representations mix topological features (such as bounding boxes and semantic information). This mixing makes it difficult to understand the possible relationships between topological features when scanning or capturing the results of form rotation, translation, and / or scaling.
[0005] It is desirable to provide an efficient, scalable, and generalizable approach to the above-described problems. [Means for Solving the Problem]
[0006] From the above perspective, aspects of the present invention include training a machine learning system to identify multiple generic groups or regions on a form, and using the positional and semantic relationships between these groups or regions to identify corresponding such groups or regions on the same or different forms. [Brief explanation of the drawing]
[0007] Next, various embodiments of the present invention will be described in detail with reference to the following drawings. [Figure 1] Figure 1 is a mockup of a form with multiple fields. [Figure 2] Figure 2 shows mockups of different forms with multiple fields. [Figure 3] Figure 3 is a mockup of yet another form with multiple fields. [Figure 4] Figure 4 shows a form with multiple fields. [Figure 5] Figure 5 shows another form with multiple fields. [Figure 6] Figure 6 shows yet another form with multiple fields. [Figure 7A] Figure 7A is a high-level flowchart of the process according to one embodiment. [Figure 7B] Figure 7B is a high-level flowchart of the process according to one embodiment. [Figure 8] Figure 8 is a top-level block diagram of a system for implementing one embodiment of the present invention. [Figure 9] Figure 9 is a high-level block diagram of a deep learning module according to one embodiment. [Figure 10] Figure 10 is a top-level block diagram of a node weighting module according to one embodiment. [Modes for carrying out the invention]
[0008] In some embodiments, multiple generic text groups or regions within a form are identified. Six such regions are described in the non-limiting embodiments below.
[0009] Aspects of the present invention provide a computer implementation method for training a machine learning system for identifying forms, comprising: receiving a form as an input image; identifying one or more fields of the input image; identifying one or more sub-regions of each identified field; classifying the one or more fields according to the identification of the one or more fields; determining the relative positions of the one or more fields in the input image; and classifying the form according to the determination of the relative positions.
[0010] In one embodiment, the steps in the previous paragraph can be repeated until there are no more input images to receive. In one embodiment, the input images may be scanned images or synthetically generated forms. In one embodiment, the machine learning system may be updated in response to incorrect classification of forms. In one embodiment, updating the machine learning system may include updating the weights within the machine learning system. In one embodiment, incorrect classifications can be corrected.
[0011] In one embodiment, the computer implementation method may include identifying the boundaries of one or more subregions, classifying one or more subregions according to their location in a field, and repeating the identification and classification until all subregions in the field have been identified.
[0012] In one embodiment, the computer implementation method further comprises identifying one or more fields in response to the identification of one or more sub-regions, and may include the positions of one or more sub-regions relative to each other in the identified fields.
[0013] In one embodiment, the classification of one or more fields includes the identification of the format of one or more fields. In one embodiment, for each of one or more fields, the identification of the format of one or more fields may include the identification of the format of one or more sub-regions. In one embodiment, the computer implementation method may further include distinguishing some of the one or more fields from the other fields of one or more by identifying different formats and / or locations.
[0014] Another aspect of the present invention provides a computer implementation method that uses a machine learning system to identify a form. The method comprises receiving a form as an input image; identifying one or more fields of the input image; identifying one or more sub-regions of each identified field; classifying the one or more fields according to the identification of the one or more fields; identifying the relative positions of the one or more fields in the input image; and classifying the form according to the identification of the relative positions.
[0015] A further aspect of the present invention provides a machine learning system for identifying forms. The machine learning system includes at least one processor and non-temporary memory programmed for the machine learning system to perform the method according to the method summarized above.
[0016] The embodiments of the present invention described by multiple embodiments can be better understood by referring to the following examples.
[0017] FIG. 1 illustrates a mockup of a form 100 having three types of regions 110, 120, and 130 that group different types of data into one form. Such a mockup may be used to train a machine learning system according to one embodiment. In one embodiment, the regions 110 may include information common to a particular type of form. In the case of an invoice, such information may include a title of the form, a company name and address (e.g., a billing company and a billed company). This content information may be referred to as semantic information. Furthermore, these regions 110 often occur in approximately the same position across many different types of forms. This positional information may be referred to as topological information. Thus, when the machine learning system analyzes different types of forms, the machine learning system may be trained to recognize such regions when analyzing different types of forms. For example, the relative position (topological information) of the regions 110 to each other may provide information (semantic information) about the content of those regions. In one embodiment, the machine learning system may be trained to recognize patterns of region position. The system classifies these patterns so that the system will recognize a particular form, or type of form, in the future. In one embodiment, pattern classification may allow a form to be placed in a particular category, such as an invoice, so that the system will be able to recognize invoices in the future.
[0018] Viewed another way, the regions 110, 120, and 130 include a number of characters in various known positions. The positions of characters within these regions may have meaning such as to identify what the field is (e.g., an address field), to reproduce the form, to match the form with other forms, to perform form registration, and so on. In this case, translation, scaling, and / or rotation of the input form may be necessary to properly align fields with fields of a corresponding form.
[0019] In one embodiment, the region 114 within the region 110 may simply be a portion of the entire region 110 and may be undifferentiated with other data within the region. That is, the data of the region 114 may simply be part of the overall semantic information of the region 110. In one embodiment, the region 114 may be distinguished as other data within the region, e.g., a table such as a one-dimensional landscape table, a two-dimensional portrait table, etc. In one embodiment, the topological information will be the same, but the type of semantic information will be different. In one embodiment, the machine learning system may be trained to recognize both undifferentiated and differentiated situations in light of topological information common to both situations.
[0020] In one embodiment, the region 120 may often include various types of tabular information. For example, in the case of an invoice, there may be a table of items purchased, such as quantity and unit price. There may be a table of subtotals, taxes, and totals. As those skilled in the art appreciate, there may be other tables as well. A portrait table has headers (including what may be considered keywords) and appropriate data rows under each word of the header. A landscape table may have a header on the left and data corresponding to that header on the right. There may be landscape tables with multiple rows, but the headers go down the form vertically rather than horizontally. In one embodiment, the detected portrait and landscape tables may be adjacent to each other and grouped into region 120.
[0021] In FIG. 1, the header 122 is in a portrait table like a large table toward the center of the form 100 with the headers "Item", "Number", "Quantity", "Unit Price", "Price", followed by rows of data 126 below the header. The header may exist in a single row table, such as the header with the words "Payment Information" in the lower left corner of the form 100. The data 128 is displayed in a row below the header of the table in the lower left corner.
[0022] Header 122 is also present in horizontal tables, such as the date table, located at the top center of Form 100. In these horizontal tables, Header 122 is on the left, followed by the data on the right. In the date table, the header "Date" is on the left, and the date information is displayed on the right. There may also be a horizontal table, such as a summary table, below the vertical table in the lower right corner of Form 100. In the summary table, the header is a single line displaying "Subtotal," "Tax," and "Total." In one embodiment, there may be a row for shipping costs. The data for each of these header words is located to the right of the corresponding header word. In one embodiment, the date table may be a vertical table instead of a horizontal one.
[0023] A machine learning system can be trained to recognize landscape or portrait tables in their expected topographic positions on form 100. It should be noted that recognizing the table itself does not require recognizing its actual content, i.e., accurately deciphering the header text and associated data. Rather, it is sufficient to recognize text (vertical or horizontal) as headers and numbers (horizontal or vertical) as data. In one embodiment, the machine learning system can be trained to recognize whether a table is portrait or landscape depending on the position of the header within the table. Furthermore, when identifying an invoice table showing items in order or being purchased, the machine learning system may recognize that such a table usually belongs to the central part of the form's page. If the table spans multiple pages, there may be information such as a header 110 at the top of each page. The machine learning system can be trained to recognize this and also recognize that an itemized invoice table may be split across multiple pages. In such cases, the topographic position of the header and the topographic position of the itemized invoice table can be beneficial to the machine learning system in recognizing invoice tables on other types of forms. Tables within tables, such as the horizontally written "Total" table below the vertically written "Itemized Invoice" table, can also be used to provide instructions to machine learning systems.
[0024] In one embodiment, as shown in Figure 1, there is an area 120 on the lower left side of form 100. The header 122 can include keywords such as "bank information" as shown in Figure 1. Data 128 that may be below or to the side of header 122 can constitute information corresponding to header 122.
[0025] Note that regions like 124 do not necessarily have related regions 122. In one embodiment, regions like 126 may be similar. In some embodiments, it may be possible to detect tabular data regardless of whether it is horizontal or vertical, even if keywords are not present.
[0026] In one embodiment, a combination of sub-regions can be used to detect vertical or horizontal table regions. In one embodiment, a horizontal table may be positioned on the left, such as region 122 (one or more keywords), and on the right, such as region 124 (data corresponding to the keywords). A vertical table may have an initial row (again, one or more keywords), such as region 122, and subsequent rows (data corresponding to each keyword), such as region 126.
[0027] Further types of semantic information may exist, such as the data string 134 in the lower right region 130 of form 100 in Figure 1. Forms may contain text information, which can vary greatly and is not necessarily in tabular format or recognized as keywords in any way. In certain form types, the text information may be standard, such as standard terms and conditions or standard disclaimers. Also, text information may differ within the same form type, such as in comment fields or special notes fields. In one embodiment, region 130 may include a data header 132 preceding the data string 134. In one embodiment, the data header 132 may not exist. A machine learning system can be trained to recognize region 130 as a text region based, for example, on the region's location (location information) and its text content (semantic information). Again, it is not necessary to determine the exact content of the text information in region 130. Rather, it is the general nature of the information that can be used to instruct the machine learning system.
[0028] From the above, those skilled in the art will see that, in embodiments of the invention, explicit deciphering of keywords is unnecessary for training a machine learning system that recognizes forms. Rather, it is sufficient to recognize the types of fields that are necessary to be close to each other and / or located at specific positions within the form, without recognizing specific data (for example, in the case of a blurred input image, the data may not be distinguishable, but the format can be identified). In such cases, text detection errors and / or recognition errors may occur. Such errors do not need to be fatal to the machine learning system's ability to correctly identify the location and semantic information of the regions. Also, in one embodiment, mockups of forms may be used as training data, as described above. In one embodiment, such forms may include simulations that are blurred or where the data is difficult to read.
[0029] As those skilled in the art will understand from the following description, training a machine learning system may involve changing the weights of different nodes in different layers of the system.
[0030] In Figure 2, a mockup of a different type of invoice, the upper left area 110 of the form contains the form title and company information. As in the case of Figure 1, such a mockup can be used to train a machine learning system according to one embodiment. The upper right area 110 of the form contains the company logo. The machine learning system can be trained to recognize logos within the form by their location (location information) and general content (semantic information) without having to decipher the specific logo.
[0031] Figure 2 shows area 120, which is prominently positioned within the form and occupies a relatively larger space. The vertical header 122 of the table has two rows, above the data rows 126 of the vertical table, and to the left of the data 124 of the horizontal table, there are four rows of header 122 of the horizontal table. Compared to the similar horizontal table (with subtotal, tax, and total) in Figure 1, the horizontal table at the bottom of area 120 in Figure 2 extends across the width of the area.
[0032] In Figure 3, a mockup of yet another type of invoice, the area 120 near the top of the figure, which contains the date and customer information, is in a different format from the date information in Figure 1. As in the case of Figure 1, such mockups can be used to train a machine learning system according to one embodiment. The area 110 in Figure 3 is somewhat distributed throughout the form, unlike in Figures 1 and 2 where the area 110 is similarly positioned. The area 130 in Figure 3 is located near the center of the form, rather than at the bottom. The area 120 is above and below the area 130. The upper area 120 contains only a vertical table with a header 122 and data 126, while the lower area 120 contains two horizontal tables with headers 122 and data 124.
[0033] As mentioned earlier, the mockup in Figure 1-3 shows data that could be synthetically generated training data for a machine learning system according to the embodiment. By mixing the topological positions of different types of semantic data, the machine learning system can be trained to recognize a wide variety of forms. Synthetically generated training data is advantageous because it can be generated relatively easily and is not affected by the effects of scanning, scaling, and rotation that occur with scanned forms. Furthermore, as already mentioned, it is also possible to insert simulations that are blurry or difficult to read as training data into the synthetically generated forms.
[0034] Figure 4-6 shows an example of a form with regions 110, 120, and 130. Region 120 has a different number of elements depending on its location. Similarly, region 130 also has a different number of elements depending on its location. It can be observed that the data in the various tables is unclear. In terms of training a machine learning system, data clarity and readability are not as important as identifying the location and semantic information of the data in the various regions. Placing these regions in different quantities and / or in different locations within the form is helpful for training a machine learning system. A trained machine learning system can read a form like Figure 4-6. Even the presence of stamp 140 in Figure 4-6 does not need to hinder either the training or operation of the machine learning system. In each of these figures, stamp 140 is located in one region, like region 130. The remaining location and semantic information of region 130 is sufficient for training and operational purposes.
[0035] Figure 7A is a top-level flowchart outlining a training operation according to one embodiment. At 700, the system receives an input image. Depending on the embodiment, the image may be a scanned image, such as one in Figure 4-6, and / or a composite image, such as one in Figure 1-3. At 705, the input image is analyzed to identify fields within the image. In one embodiment, this field identification step may be iterative, as described with respect to Figure 7B, but this is not mandatory. At 710, subregions within an identified field may be identified themselves. At 715, the field is identified and classified into regions, such as regions 110, 120, and 130. In one embodiment, a field may be identified and / or classified by identifying subregions within the field. In one embodiment, subregions are identified first, and adjacent or mutually contiguous subregions are combined to form an identified field. In such embodiments, 705 and 710 may be reversed. Depending on the embodiment, there may be further types of regions. Depending on the form or document, different relationships between subregions may define those subregions as fields. In 720, the relative positions of multiple fields are identified.
[0036] In step 725, the input image is identified as a specific form based on the field location. In step 730, a check is performed to verify whether the form identification is correct. If so, in step 740, a check is performed to see if there are any additional input images for training. If so, the process returns to step 700. Otherwise, the process ends.
[0037] If field identification is incorrect, at step 735, the machine learning system is updated, such as by updating the weights of the neural network nodes, to address the inaccuracy in field identification. Then, at step 740, it is checked whether there are additional input images for training. If so, the process returns to step 700. Otherwise, the process ends.
[0038] In one embodiment, training a machine learning system may involve defining new domains or fields and extending the concepts here to various types of documents that can be identified by the defined fields.
[0039] Figure 7B is a top-level flowchart illustrating a form identification operation according to one embodiment. At 750, an input image is received. This image becomes a form that is identified and, if necessary, registered, scaled, and translated. At 755, fields are identified in the input image. At 760, it is checked whether all fields in the input image have been identified. If not, the flow proceeds to 765, returns to 755, and identifies the next field.
[0040] If all fields have been identified, in 770 the fields are classified into regions such as regions 110, 120, and 130. Depending on the embodiment, there may be further types of regions. In one embodiment, subregions may be identified and fields may be classified from them. Alternatively, fields may be classified and their subregions identified. In this respect, the flow may proceed similarly to 705-715 in Figure 7A. In 775 the relative positions of multiple identified fields are identified. In 780 a form may be identified. In one embodiment, there may be a process to further classify the form.
[0041] In step 785, if the identification is correct, it is determined whether the form needs to be registered in step 790. In one embodiment, depending on the quality of the image or scan, rotation, translation, and / or scaling of the input form may be necessary or appropriate. In step 795, it is determined whether there is an input image to be processed next. If so, the flow returns to step 750. Otherwise, the process ends.
[0042] If the identification is incorrect, at 790 the form is separated for future processing. Such future processing may take various forms. By an unrestricted example, the form may be used in future training. In addition, or alternatively, the form may be processed manually. In one embodiment, depending on the quality of the image or scan, rotation, translation, and / or scaling of the input form may be necessary or appropriate. At 795 it is determined whether there is an input image to be processed next. If so, the flow returns to 750. Otherwise, the process ends.
[0043] Figures 7A and 7B show a general top-level flow for field identification and form characterization according to one embodiment. One approach to this identification and characterization can be seen in establishing a hierarchical structure in the form from top to bottom and left to right. In such a process, the extracted regions may be ranked in a tree-like data structure. Such ranking can facilitate the retrieval and / or association of content within or between similar documents.
[0044] In aspects of the present invention, floating form registration and free form registration can be facilitated. Embodiments provide a robust system that can compensate for or otherwise address scaling, misregistration, translation, and / or lack of readability of text and / or data within a given area. The embodiments also provide a system that can be easily scaled to larger businesses and allows for consistent improvements.
[0045] In Figure 8, to train the deep learning system 900, the computing system 850 can scan document 810 using scanner 820 and receive the scanned form via computer 830. Alternatively, the computing system 850 may employ a synthetically generated training form, as those skilled in the art will understand. The computing system 850 can identify fields within the scanned or synthetically generated training form via field identification section 860.
[0046] In one embodiment, the storage device 875 can store scanned images or synthetically generated training forms processed by the deep learning system 900. The storage device 875 can also store the processed output of the deep learning system 900, which may include training sets and / or identified fields.
[0047] The computing system 850 may be located in a single location, and the network 855 enables communication between the various elements of the computing system 850. Furthermore, or alternatively, one or more parts of the computing system 850 may be remote from the other parts, in which case the network 855 may mean a cloud system for communication. In one embodiment, even if the various elements are co-located, the network 855 may be a cloud-based system.
[0048] Furthermore, or alternatively, the processing system 890, which may include one or more of a processor, a storage system, and a memory system, may implement a regression algorithm or other appropriate processing to resolve the location of the fields. In one embodiment, the processing system 890 communicates with the deep learning system 900 to assist, for example, in weighting the nodes in the system 900.
[0049] Figure 9 is a somewhat detailed configuration diagram of the deep learning system 900. Generally, the deep learning system 900 will have a processor, storage, and memory structure that will be recognized by those skilled in the art. In one embodiment, the processor structure of the deep learning system 900 may include not only a graphics processing unit (GPU) but also instances in which the neural network runs better and / or faster and / or more efficiently on one or more GPUs than on one or more CPUs, instead of a central processing unit (CPU). A neural network such as a convolutional neural network (CNN) or a deep convolutional neural network (DCNN) will have multiple nodes arranged in layers 920-1 to 920-N, as depicted. Layer 920-1 is the input layer, and layers 920-N are the output layers. According to a different embodiment, N may be 2 or more. If N is 3 or more, there will be at least one hidden layer (e.g., layer 920-2). If N is 2, there are no hidden layers.
[0050] The nodes of the neural network are initially weighted. The weights are adjusted as necessary modifications to accommodate the various situations that the training set presents to the system, as can be understood by those skilled in the art. The node weighting module 910 may store the initial updated weights. When the system 900 identifies keywords, the output layer 920-N can provide the keyword database 950 with field and / or form identifications. The database 950 also stores the classification of the forms and the locations of the fields associated with them.
[0051] In some embodiments, any function of the methods, processes, algorithms, or flowcharts described herein may be implemented by software and / or computer program code, or by a portion of code stored in memory or other computer-readable or tangible media, and executed by a processor.
[0052] In some embodiments, the device may include, or be associated with, at least one software application, module, unit, or entity, or program or part of a program (including additional or updated software routines) configured as arithmetic operations, and may be executed by at least one arithmetic processor or control unit. A program, also called a program product or computer program, which includes software routines, applets, and macros, may be stored in any data storage medium readable by the device and may contain program instructions for performing a particular task. A computer program product may include one or more computer-executable components configured to perform several examples when the program is executed. One or more computer-executable components may be at least one piece of software code or part of code. Modifications and configurations necessary for implementing exemplary implementation functions may be executed as routines and may be implemented as additional or updated software routines. In one example, software routines may be downloaded to the device.
[0053] As an example of non-restriction, software or computer program code or part of code may be in source code form, object code form, or some intermediate form and stored on some carrier, distribution medium, or computer-readable medium. These mediums are entities or devices on which programs can be transmitted. Such carriers may include, for example, recording media, computer memory, read-only memory, optoelectronic and / or electrical carrier signals, telecommunication signals, and / or software distribution packages. Depending on the processing power required, a computer program may run on a single electronic digital computer or distributed across many computers. Computer-readable medium or computer-readable storage medium may be non-temporary medium.
[0054] In other embodiments, the functions of the exemplary may be performed by hardware or circuitry included in the device, for example, using application-specific integrated circuits (ASICs), programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), or any other combination of hardware and software. In yet another example, the exemplary functions may be implemented as signals, such as signals transmitted by non-tangible means, such as electromagnetic signals downloaded from the Internet or other networks.
[0055] In one embodiment, the device, such as a control device, may be configured as a circuit, a computer or microprocessor such as a single-chip computer element, or as a chipset, which includes at least memory for providing storage capacity for use in arithmetic operations and / or an arithmetic processor for performing arithmetic operations.
[0056] Figure 10 is a top-down view of a computer system that may be used to implement an embodiment of the node weighting module 910. In Figure 10, one or more central processing units (CPUs) 1010 communicate with CPU memory 1020 and disk storage 1050, which may constitute RAM. One or more CPUs 1010 may consist of multiple cores, each with a specific capability and capacity. Depending on the embodiment, each CPU 1010 may have its own associated CPU memory 1020. Alternatively, CPUs 1010 may share some or all of the CPU memory 1020. In some embodiments, the CPU memory 1020 may include volatile memory and / or non-volatile memory, and possibly non-temporary storage. Depending on the embodiment, one or more CPUs 1010 may communicate with each other via a bus (not shown), to which the CPU memory 1020 is also connected.
[0057] The system also includes one or more graphics processing units (GPUs) 1030, each of which may consist of multiple cores. In several embodiments, one or more GPUs 1030 may have more cores than any of the CPUs 1010, and in some cases substantially more. Figure 10 shows that one or more GPUs 1030 communicate with GPU memory 1040, which consists of RAM, or VRAM, or both, and disk storage 1050. Depending on the embodiment, each GPU 1030 may have its own associated GPU memory 1040. Alternatively, the GPUs 1030 may share some or all of the GPU memory 1040. Depending on the embodiment, one or more GPUs 1030 may communicate with each other directly or via a bus (not shown), to which the GPU memory 1040 is also connected. In several embodiments, the GPU memory 1040 may include volatile memory and / or non-volatile memory, and possibly non-temporary storage. Depending on the embodiment, one or more GPUs 1030 can communicate directly with one or more CPUs 1010 or via a bus (not shown). As those skilled in the art will understand, the more GPU cores there are, the easier it is to operate the machine learning system. In one embodiment, each GPU core may have less power or capacity than the CPU cores.
[0058] In general, the CPU memory 1020, GPU memory 1040, and disk storage 1050 can all constitute computer-readable storage media. In some embodiments, disk storage 1050 constitutes non-temporary computer-readable storage media. Disk storage 1050 may consist of one or more hard disk drives (HDDs) and / or one or more solid-state drives (SDDs). In some embodiments, the RAM and / or VRAM in memory 1020 and / or memory 1040 become temporary storage and thus can constitute volatile computer-readable storage media. In some embodiments, one or more of the CPU 1010 and / or GPU 1030 may include onboard volatile and / or non-volatile computer-readable storage.
[0059] In one embodiment, asynchronous operation between the CPU and GPU means that while the GPU is at some point training with a particular dataset, the CPU may be generating one or more future datasets that the GPU will use for training and / or testing.
[0060] Depending on the training model and associated machine learning algorithms, the processing described above may be allocated to two or more CPUs and / or two or more GPUs, depending on the relevant algorithms and associated hardware requirements.
[0061] Those skilled in the art will understand that different types of neural networks may be employed as appropriate, and that different functions may be performed by different components 860, 865, and 890 in Figure 8, depending on the ability to divide computations across different processors / GPUs / CPUs throughout the system and the resulting efficiency.
[0062] The above description has used forms, particularly invoices, as non-restrictive embodiments. Those skilled in the art will understand that the concepts described herein are applicable not only to invoices but also to other forms, or to other documents, including the identifiable spatial relationships of fields, semantic information within fields, and possibly the arrangement of text within fields within a document.
[0063] Although embodiments of the present invention have been described above, the present invention should not be considered limited to these embodiments or embodiments. Those skilled in the art will understand modifications of the present invention within the scope and spirit of the appended claims.
Claims
1. A computer implementation method for training a machine learning system to identify forms, a) Accepting the form as an input image, b) Identifying one or more fields of the input image based on phase information and semantic information, c) For each identified field, one or more sub-regions of the identified field are identified, d) Classifying the one or more fields according to the identification of the one or more fields, e) Identifying the relative positions of one or more fields in the input image, f) Recognizing a pattern of relative positions of one or more fields in accordance with the identification of the relative positions, and classifying the form into a specific category based on the pattern, A computer implementation method for training the machine learning system to be robust against the effects of rotation, translation, and / or scaling deformations that may occur in the input image.
2. A computer implementation method that uses a machine learning system to identify a form, a) Accepting the form as an input image, b) Identifying one or more fields of the input image based on phase information and semantic information, c) For each identified field, one or more sub-regions of the identified field are identified, d) Classifying the one or more fields according to the identification of the one or more fields, e) Identifying the relative positions of one or more fields in the input image, f) Recognizing a pattern of relative positions of one or more fields in accordance with the identification of the relative positions, and classifying the form into a specific category based on the pattern, A computer implementation method for training the machine learning system to be robust against the effects of rotation, translation, and / or scaling deformations that may occur in the input image.
3. The computer implementation method according to claim 1 or 2, wherein the input image is a scanned image or an artificially generated form.
4. The computer implementation method according to claim 1 or 2, further comprising updating the machine learning system by updating the weights of the nodes of the machine learning system in accordance with the incorrect classification of the form.
5. The computer implementation method according to claim 4, further comprising correcting the aforementioned incorrect classification.
6. g) Identifying the boundaries of one or more sub-regions, h) Classifying one or more sub-regions according to their position within the field, i) The computer implementation method according to claim 1 or 2, further comprising repeating the identification and classification until all sub-regions within the field are identified.
7. j) The computer implementation method according to claim 1 or 2, further comprising identifying one or more fields in accordance with the identification of one or more sub-regions, including identifying the relative positions of the one or more sub-regions in the identified fields.
8. The computer implementation method according to claim 1 or 2, further comprising repeating steps a) through f) until all forms are received.
9. The computer implementation method according to claim 1 or 2, further comprising identifying the format of one or more fields by identifying the format of one or more sub-regions for each of the one or more fields.
10. The computer implementation method according to claim 1 or 2, further comprising distinguishing some of the one or more fields from other fields of the one or more by specifying a different format and / or location.
11. A machine learning system that identifies forms, At least one processor, When executed, a) Accepting the form as an input image, b) Identifying one or more fields of the input image based on phase information and semantic information, c) For each identified field, one or more sub-regions of the identified field are identified, d) Classifying the one or more fields according to the identification of the one or more fields, e) Identifying the relative positions of one or more fields in the input image, f) Recognizing a pattern of relative positions of one or more fields in accordance with the identification of the relative positions, and classifying the form into a specific category based on the pattern, A non-temporary memory containing instructions to perform a method including, A machine learning system trained to be robust against the effects of rotation, translation, and / or scaling deformations that may occur in the input image.
12. The system according to claim 11, further comprising repeating steps a) through f) until all forms are received.
13. The system according to claim 11 or 12, further comprising identifying the format of one or more fields by identifying the format of one or more sub-regions for each of the one or more fields.
14. The system according to claim 11 or 12, further comprising distinguishing some of the one or more fields from other fields of the one or more by specifying a different format and / or location.
15. The system according to claim 11 or 12, further comprising updating the machine learning system by updating the weights of the nodes of the machine learning system in accordance with the incorrect classification of the form.
16. The system according to claim 15, further comprising correcting the aforementioned incorrect classification.
17. g) Identifying the boundaries of one or more sub-regions, h) Classifying one or more sub-regions according to their position within the field, i) The system according to claim 11 or 12, further comprising repeating the identification and classification until all sub-regions within the field are identified.
18. j) The system according to claim 11 or 12, further comprising identifying one or more fields in accordance with the identification of one or more sub-regions, the identification of the relative positions of one or more sub-regions in the identified fields.
19. The system according to claim 11 or 12, wherein the method further comprises determining whether the form requires registration, scaling, or translation, depending on the classification of the form.
20. The system according to claim 19, further comprising registering the form in response to a determination that the form needs to be registered.
Citation Information
Patent Citations
Picture data input device
JP1994209398A
Form processor
JP2006127451A
Document sorting system, document sorting method and program
JP2021125040A
Business form input form creation device, business form input form creation method, and program
JP2021152924A
Information processing apparatus, information processing method, and program
JP2022162379A
