Training similar forms in single model VS multi-model and compose

Matt F 1 Reputation point
2021-11-11T01:09:43.727+00:00

I've been testing FR and have many different form formats (100+).

From what I've read, it's best to train a custom model for each set of different forms and then if you want to compare all of them via single api call you can compose them together.

I recently did a test where I used a few examples from 2 different form types to train a 'combined' model where the model actually was trained using 2 different types of forms.

The results actually worked pretty well with only 3 forms trained (for a total of 6 forms) on the model. I tested both forms and only 1 of the form tests had 1 field that was incorrect.

So, I wonder if training a single model with many various form types and many examples of each would be better than training custom models for each and then composing them together (100+ models).

Thoughts?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,709 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,746 Reputation points Microsoft Employee
    2021-11-11T12:26:47.977+00:00

    @Matt F Based on my experience you can train different forms with a single model and check if it works with the required accuracy. The guidance has been in place to use similar forms for training since the earlier versions of the API and their has been a lot of improvement with the form recognizer models with the latest version that many custom models will work with forms on which they are not trained. But, this cannot be expected for every untrained form because the complexity of the forms might cause some analysis to fail.

    You can compose models with the combination of models that best work with multiple form layouts. This can ensure you have maximum coverage without having to exceed the compose model API's limit.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.