In document recognition, the AI uses machine learning techniques to learn from example datasets: For example: Business documents are translated into an abstract form. This is then used to create a mathematical model of the documents. This in turn can be used to make statements about the documents. The learning process involves reviewing many thousands of examples in a dataset for which the desired answer is already known. Each time a new example is presented, the AI model makes a prediction. If this is not correct, the model is adjusted to reduce future errors. The AI model learns from its mistakes.