Introducing Table Models – Trainable Layout AI in Transkribus

Following the launch of the new and improved web app, we are able to reveal more about the new generation of trainable layout technology. With the previously introduced trainable Field Models, it will be much easier to process documents with more complex layouts, such as newspapers, periodicals, log books, legal records or forms. 


But what about the unique structure of tables?
To tackle the challenge of recognising and transcribing tables, we are introducing the trainable Table Models. After the Field Models, the Table Models are the next step towards improved and more efficient layout recognition of your historical documents. We will first introduce the trainable table model and its benefits, and then explain how to get started.

The power of Table Models

When working with documents that contain or consist of tables, it is often important to recognise and capture the structure of the table’s layout as well as its content. Tables are a common way of organising data in documents such as registers, accounts, records, inventories or catalogues. When researching these documents, the data needing to be extracted is usually not limited to a few pages, but extends to a larger volume of pages. Therefore the optimal tool to help our users would be an automated but reliable layout recognition. 

This is what Transkribus set out to achieve when working on the trainable Layout Models: the Field Models and the Table Models. With the trainable Table Models, our users will now be able to train a custom layout recognition model that is specifically designed to recognise the layout of the documents they are currently working on and can be applied to automatically recognise the entire collection. The new feature of a trainable Table Model will result in a more reliable layout recognition, a more efficient transcription process and easier analysis of historical data in a structured environment.

New trainable Layout options with Transkribus.

The benefit of Table Models

Using the default layout recognition may not always produce satisfying results. However, with the new trainable Table Models, you will be able utalise this customisable technology that can be trained to accurately recognise even irregular tables and detect layout elements on a large scale. These models will be especially useful for documents with multiple text regions, enabling you to achieve a more accurate representation of the documents. 

When it comes to tables, the current standard automatic layout analysis and text recognition feature can transcribe the text from different table cells. However the reading order of the transcribed text in the text regions or lines often does not match the original table layout, nor are they represented in table format. While this is fine for simply searching for specific names or terms, transfering the data in a structured form is often very difficult if even possible. It would take time to restructure and organise the transcription to make it useful for building a database.

Carnegie Corporation Register of Applications from Educational Institutions, 1911-1920. Via Carnegie Corporation of New York

In contrast to the currently available P2PaLA Models, Table Models require less training data while being more precise. The new Table models are designed to be effectively trained with a limited amount of training material, streamlining the process. This approach has the potential to reduce the amount of time spent creating or adjusting the tables or marking different layout elements on each page. Instead, users can focus on constructing the correct layout shapes to train the model, allowing Transkribus to handle the rest.

It is important to note that Table Models are not an all-in-one or out-of-the-box solution. To achieve optimal results, the models need to be trained similarly to a text recognition model. Soon it will be possible to train a custom layout model not only for complex field layouts, but also for tables in Transkribus.

With a small data set, you can already try out Table Models here on beta.transkribus.eu.

Transkribus Editor: Carnegie Corporation Register of Applications from Educational Institutions, 1911-1920. Via Carnegie Corporation of New York

Training Table Models 

The digitisation of tables presents its own unique set of challenges, which our newly developed trainable Table Models are designed to address. Tables, which have been a standard feature in documents across the centuries, from medieval ledgers to modern spreadsheets, come in various formats and can contain critical data.

These new Table Models can handle a diverse range of table types, even those with irregular row heights or widths. To train these models effectively, it’s essential to create a sufficient collection of ground truth pages, ensuring that the models can accurately interpret the tables.

Within the document editor, users have the flexibility to customise how tables are recognised. You can define vertical and horizontal columns and specify what information should be selected within a single row or column. For instance, if the original document only shows vertical separators or merely uses spaces between entries like surnames and names, you can adapt the table creation process accordingly. By adding or omitting columns, you ensure that the Table Models recognise the specific layout and information needed.

Additionally, these models can adapt to changes over time. If the structure of tables within a collection evolves, a second set of Ground Truth data can be added to further train the Tables Models, ensuring the continued accuracy and usefulness of the digitised data.

What’s next?

Since the current version of layout recognition presents some challenges with more complex layouts, we have seen this as an opportunity to not only improve the current layout analysis, but to provide our users with a more targeted solution. With trainable layout models, Transkribus is extending the use of layout analysis to different document formats and layout types. The upcoming trainable Table Models offer flexibility in customising layout recognition and can adapt to layout changes, ensuring accurate interpretation and comprehensive data extraction, even from tables with irregular formats. 

The Transkribus Table Models feature is ready to be tried out on a small set of pages here on beta.transkribus.eu. Within the next few weeks the trainable Table Models will be added to our user interface for general use. This update will allow any user to train their own layout model for tables, making the process of document digitisation more efficient and unlocking even more potential within our platform.

Thumbnail:Carnegie Corporation Register of Applications from Educational Institutions, 1911-1920. Via Carnegie Corporation of New York

SHARE THIS ARTICLE

Recent Posts

July 3, 2024
News, Transkribus
Some Transkribus projects finish with a complete digitised collection in Transkribus. Some take that digitised source and use it to ...
June 12, 2024
News, Transkribus
When you think of Carolingian (or Caroline) minuscule, Charlemagne and his vast Carolingian empire likely come to mind. While the ...
May 14, 2024
Uncategorized
Understanding historical documents is key to understanding history. But understanding historical documents in Polish can be a challenge. Not only ...