Skip to main content
Auto-learning enables the system to learn from the operators’ decisions during document processing in order to improve the detection of document fields. When the system fails to find a field on a document, an operator may intervene and indicate the correct location of the field. Once the recognized and corrected documents are successfully exported, the system uses the corrections made by the operator as learning input.

Configuring auto-learning

To configure auto-learning, complete the following steps:
  1. Create a Document Definition.
  2. In the section properties of the Document Definition, select Allow field location training.
  3. Create the necessary fields in the section. Select Can have region in the properties of each field.
  4. Save and publish the Document Definition.
  5. In the batch type properties dialog box, click the Workflow and enable the Training stage.
To configure auto-learning for documents of the same type whose appearance varies greatly from one document to another, create variants for each particular field layout and then train a classifier to distinguish the variants. For more about variants, see Variable field locations on documents that belong to the same type.
To enable the system to use variants in auto-learning, complete the following steps:
  1. Add section variants using one of the following three methods:
  • Create variants manually. To do this, click the Data Sets tab in the section properties and then click the View… button. Then click the Add… button to add variants.
    • Load variants from a database. To do this, click the Data Sets tab in the section properties and then click the Set Up… button. From the drop-down list, select Database as the data source.
    • Create variants using a script. To do this, click the Data Sets in the section properties and then click the Set Up… button. From the drop-down list, select Script as the data source.
  1. Save and publish the Document Definition.
  2. Train a classifier on the newly created variants:
  • Switch to Open Classifier Training Batches mode and load document images into a new batch.
    • Assign a reference class to each document, using variants as separate classes:
      • Click Set Class… → Add… → Add…
      • Select Specify variant.
      • Select a variant from the list.
    • Train a classifier by clicking (Project → Classification Training → Train).
When working with the training results, you may need to check which variant was assigned to a document and edit it if necessary. To display the IDs of the variants on the form, create a service field. For details, see Enabling operators to change variants.
Field extraction training can also be done by the administrator if a project has to be trained before the operators start working on it.
Once the Document Definition is set up by the administrator, the system will automatically learn from the operators’ corrections made on the Verification Stations.
Documents whose field locations have been verified and corrected by the operators are placed into a training batch.The documents are matched against the current version of the trained FlexiLayout. If all the fields are found correctly, there is no need to retrain the FlexiLayout.Note: It may so happen that the FlexiLayout finds the fields correctly, but the operator had to change them. Documents were processed using an old or untrained version of the FlexiLayout. While the documents were awaiting verification, the system trained the FlexiLayout on some other documents. As a result, the given documents are now processed correctly.In this case, the documents are kept in the training batch with For testing status. They will be used for regression tests to prevent future versions of the FlexiLayout from degrading.If a trained FlexiLayout is applied and some of the field regions do not match, the documents will be used in training a new version of the FlexiLayout. They will be assigned For training status.Training results is a new version of the FlexiLayout. To compare the new version with the previous version, both are applied to he documents in the training batch that have For training and For testing statuses. The system checks how well the detected fields regions match the layout that has been confirmed by the user. The FlexiLayout that yields the best match will be used in further document processing and the inferior version is deleted.