<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Josef Füricht on Medium]]></title>
        <description><![CDATA[Stories by Josef Füricht on Medium]]></description>
        <link>https://medium.com/@jofujofu?source=rss-44fa7e2e8c2e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jbFA3JXQe738jv6tbheKzA.jpeg</url>
            <title>Stories by Josef Füricht on Medium</title>
            <link>https://medium.com/@jofujofu?source=rss-44fa7e2e8c2e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 18:42:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jofujofu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DeepLearning-based extraction of information with a smal training base — “A stony road”]]></title>
            <link>https://medium.com/@jofujofu/deeplearning-based-extraction-of-information-with-a-smal-training-base-a-stony-road-87a15aea7121?source=rss-44fa7e2e8c2e------2</link>
            <guid isPermaLink="false">https://medium.com/p/87a15aea7121</guid>
            <category><![CDATA[umlfit]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[fastai]]></category>
            <dc:creator><![CDATA[Josef Füricht]]></dc:creator>
            <pubDate>Tue, 19 Mar 2019 16:50:17 GMT</pubDate>
            <atom:updated>2019-03-19T16:54:12.549Z</atom:updated>
            <content:encoded><![CDATA[<h3>“A stony road” — DeepLearning-based extraction of information with a small training base</h3><p>In this article we present an Artificial Intelligence application on information extraction under the paradigm of less training data. In the specific case, data (offers, documents, photos, emails) from the real estate industry were processed. However, the presented solution can also be trained and used for any other information from completely different industries with little effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LcOeXopiNqDmDtXA" /><figcaption>Photo by <a href="https://unsplash.com/@simonrae?utm_source=medium&amp;utm_medium=referral">Simon Rae</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>The use-case “expose reading”</strong></p><p>A real estate company must continuously analyze and evaluate a large number of newly arrived exposés with property offers. The differently structured exposés are always searched for the same information: address of the plot, purchase price, achievable gross floor area, usable area, plot area, deal type and some others. With an effort of 10–20 minutes per exposé, many hundreds of hours of work are needed year after year just to work through the exposés and to pick out 5–10 objects at the end.</p><h3><strong>The AI development process</strong></h3><p>The most important stages of the development process were the labeling, the selection of the AI base method, the creation of the AI model up to the training and hyper-parameter tuning of the model.</p><p><strong>Even labeling needs to be learned</strong></p><p>Labeling determines what information should be found later with the help of the model. When labeling itself, the information you are looking for is virtually marked in the documents. These markers later serve as input for the training process. The effort for labeling is remarkable, because the quality of the later AI model depends directly on the care taken during this activity.</p><p>With each erroneous or forgotten label marking, the model learns something wrong that will later has a negatively impact the overall performance of the model. Our next article introduces our tool approach.</p><p><strong>Our Intelligence — Choose the Best AI Base Method</strong></p><p>The number of training documents and the associated effort for labelling were an essential criterion in the selection of the AI method. In our case, 456 exposés were available to train the model. <em>Not all documents contained all the information sought. Information on the price, for example, was found only in 373 exposés, information on the deal type (asset/share) even only in less than 150 documents.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*OD02LK5LMg2zpp8Hx8BGvw.png" /><figcaption>Figure 1: Number of exposés with the searched information</figcaption></figure><p>We have been looking for a method that achieves good results despite these unfavorable preconditions for deep learning applications. The Natural Language Processing (NLP) method, first developed in 2018, called<a href="https://arxiv.org/abs/1801.06146"> ULMFit</a> (Universal Language Model Fine-tuning for Text Classification) uses the idea of ​​”transfer learning” and fits very well into our schema. We have adapted this method, which is available in parts in the<a href="https://www.fast.ai/"> fast.ai framework,</a> and developed a solution for information extraction from it.</p><p><strong>Transfer Learning with ULMFit</strong></p><p>Transfer Learning is about transferring already learned knowledge from one AI model to another. When a person tries to extract information from a text document, it is much easier for him, if he is familiar with the language used. AI models do not understand any language, but even the knowledge of how words are put together into phrases or sentences in one language is of great advantage for this purpose. So-called language models learn the structure of a language by trying to predict the next word in the context of a text. This prior knowledge leads to significantly better results in almost all text-related AI tasks. The advantage is particularly strong when only a few training data are available.</p><p>More detailed information in this <a href="https://calista.at/en/blog/transfer-learning-with-ulmfit-3.html">article</a>.</p><p><strong>The model is crucial</strong></p><p>The speech model used is based on a recurrent neural network (RNN) consisting of an encoder and a decoder. The encoder, including all trained parameters, is transferred directly into the new model for information extraction. Instead of the decoder, new layers were modeled and trained.</p><p>Further information on the model used can be found in our blog post <a href="https://calista.at/en/blog/transfer-learning-with-ulmfit-3.html">Deep Learning Model for Information Extraction</a>.</p><h4><strong>Training, Hyperparameter Tuning and Model Optimization — Survival of the fittest</strong></h4><p>Hyper parameters are the adjustment screws of AI models. The optimal configuration can be found by repeated training and subsequent analysis of the remaining errors or the accuracy achieved. In each cycle, about 80% of the documents are randomly selected for training and the remaining 20% are used to validate the results. If the achieved accuracy is not sufficient despite improved hyper parameters, you go back a step, make adjustments to the structure of the model and start again tuning the parameters.</p><p><strong>Information extraction — a single pass</strong></p><p>Each document goes through five processing steps in the course of information retrieval:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*MsgKeWNysVWYqRvDRlY7Dg.png" /><figcaption>Figure 2: Process of the prediction process</figcaption></figure><p><strong><em>PDF processing</em></strong></p><p>In the first step, the documents available — in our case as PDF — are converted into pure text documents. Some of the documents contain images or consist entirely of individually scanned pages. This task is performed by two competing OCR services (Google Vision and SolidFramework), which we have integrated.</p><p><strong><em>Tagging</em></strong></p><p>In the second pre-processing step, information is automatically marked (annotated) in the text. The most important features in real estate exposés are figures, units of measurement and place/street names. This step is carried out using purely heuristic methods, partly with the support of external data sources, and also counteracts the lack of training documents.</p><p><strong><em>Deep learning</em></strong></p><p>In this step, the document goes through our developed Deep Learning Model for Natural Language Processing. As a result, it provides a probability for each individual word of the input document and for each individual piece of information searched for: the probability of whether this can be one of the information searched for or not.</p><p><strong><em>Post processing</em></strong></p><p>The large number of probabilities determined by the model are analyzed and evaluated. In addition, heuristic plausibility checks help to increase the quality of the results even further. Uncertain results are marked and can be processed in a further step with possible manual post-control.</p><p><strong><em>Result</em></strong></p><p>In the last step, the extracted information is summarized and returned to the interface for further processing.</p><h4>Project results at a glance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*v2gBOZ5M8KCqSZkI" /><figcaption>Photo by <a href="https://unsplash.com/@moino007?utm_source=medium&amp;utm_medium=referral">David Papillon</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Achieved accuracies</strong></p><p>The following graphic shows the accuracy of the model of selected information depending on the number of training documents. A relatively high accuracy with a small number of documents can already be clearly seen. The table itself was created using the cross-validation method. The model is often tested with a different selection of training and validation documents and the results averaged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*-ZFu8xW6GfOsNm66FbZpdg.png" /><figcaption>Figure 3: Achieved accuracies</figcaption></figure><h3><strong>Challenges</strong></h3><p>During the implementation of this project, we faced a wide variety of challenges.</p><p>• <strong>Knowhow building:</strong> In-depth knowledge of fast.ai is necessary to make the necessary adjustments to ULMFiT.</p><p>• <strong>Data: </strong>Real estate exposés sometimes contain information about several properties. To differentiate which information is to be assigned to which object, considerably more course data would be required. The advantages of Transfer Learning do not apply here.</p><p>• <strong>Labeling:</strong> Errors in labeling are only detected, if at all, when analyzing the errors of the model and require time-consuming corrections, repeated initiation of training cycles and new checks of tuned hyperparameters.</p><p>• <strong>OCR:</strong> The search for a suitable OCR service was unexpectedly time-consuming. In order to be more tolerant of faulty text conversions, we recently used two OCR services in parallel.</p><p>• <strong>Low number of training documents: </strong>Three strategies ultimately led to a successful implementation. The integration of a language model (transfer learning), the tagging of input documents and subsequent heuristic plausibility checks.</p><h3><strong>Conclusion</strong></h3><p>This is just the beginning. We know how the journey on NLP can look like in order to implement AI solutions with just <em>NOT </em>enough training material.</p><p>That’s what we’ve achieved until now:</p><blockquote>Label interface — Flexible and expandable label platform for individual labelling</blockquote><blockquote>Tagging process — Automated marking of basic information (address, name, number, word) is available and can be extended at will.</blockquote><blockquote>Hyperparameter Optimization — Pragmatic optimization process for exploiting the potentials of the training data at low numbers.</blockquote><blockquote>verification of training-results — Interface for training and optimization processes.</blockquote><p><strong>Solution Partners @ExposeReader — </strong><a href="http://www.calista.at/"><strong>Calista </strong></a><strong>&amp; </strong><a href="http://www.goodguys.cc/"><strong>Goodguys.cc</strong></a></p><p>For more than 4 years we have been dedicated to the development of AI know-how with a special focus on NLP. We use both classical machine learning and deep learning methods. In addition to NLP, we have also worked in the field of Visual Imaging.</p><blockquote>Cell Chat — the online community of the future, sponsored by FFG: <a href="https://projekte.ffg.at/projekt/1832217">https://projekte.ffg.at/projekt/1832217</a></blockquote><blockquote>Protection of minors in online communities: <a href="https://ai.calista.at/">https://ai.calista.at</a> (demo platform)</blockquote><blockquote>We are pleased to have partnered with the visionaries and experts with <a href="http://www.goodguys.cc/">www.goodguys.cc</a> who can carry the step from vision to project.</blockquote><h3>Links to follow</h3><p>Fast.at Framework <a href="https://www.fast.ai/">https://www.fast.ai/</a></p><p>UMLFit (niversal Language Model Fine-tuning for Text Classificatio<a href="https://arxiv.org/abs/1801.06146">n) ttps://arxiv.org/abs/1801.06146</a></p><p>BlogPost Calista: <a href="https://calista.at/en/blog/transfer-learning-with-ulmfit-3.html">https://calista.at/en/blog/transfer-learning-with-ulmfit-3.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87a15aea7121" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>