{"id":1451,"date":"2022-02-23T20:34:21","date_gmt":"2022-02-23T20:34:21","guid":{"rendered":"https:\/\/nilg.ai\/?p=1451"},"modified":"2025-03-17T12:39:39","modified_gmt":"2025-03-17T12:39:39","slug":"teaching-models-with-free-data","status":"publish","type":"post","link":"https:\/\/nilg.ai\/pt\/202202\/teaching-models-with-free-data\/","title":{"rendered":"Teaching Models With Free Data"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-1468\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/02\/pexels-erik-mclean-4582541-1024x683.jpg\" alt=\"\" width=\"1024\" height=\"683\" \/><\/p>\n<p>\u201cThe more I see, the less I know\u201d might be a saying, but it does not apply to AI models. It\u2019s well known that the performance of an artificial neural network is highly dependent on the volume and on the diversity of the data that was shown to the model. This happens because exposing the models to diversity helps them select relevant features and mitigate potential bias, i.e. to understand the objects of study and to better perform their tasks.<\/p>\n<p>Getting data to feed such models might seem trivial since data is all around us. However, getting access to well-structured, labeled, copyright-free, and non-private data is still a pain for most data scientists.<\/p>\n<p>To overcome this, AI experts have come up with several approaches to optimize the learning process, in particular, smart architectures for Self Supervised Learning models.<\/p>\n<p>In this blog post, we (re)introduce you to Self Supervised Learning, along with one of our favorite strategies &#8211;\u00a0 <b>Siamese Models <\/b>&#8211; and possible applications. If you want to learn even more about Self Supervised Learning and other Machine Learning techniques enroll to our online course:<\/p>\n<div class=\"thinkific-product-card\" data-btn-txt=\"Learn more!\" data-btn-txt-color=\"#ffffff\" data-btn-bg-color=\"#1b9eea\" data-card-type=\"card\" data-link-type=\"landing_page\" data-product=\"1787642\" data-embed-version=\"0.0.2\" data-card-txt-color=\"#7d7d7d\" data-card-bg-color=\"#ffffff\" data-store-url=\"https:\/\/learn.nilg.ai\/embeds\/products\/show\">\n<p><noscript><a href=\"https:\/\/learn.nilg.ai\/courses\/the-machine-learning-spectrum\" target=\"_blank\" rel=\"noopener\">Enroll now!<\/a><\/noscript><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n<h3>What\u2019s Self Supervised Learning?<\/h3>\n<p>Supervised Learning is a machine learning approach that receives input data along with a specific target and aims to learn the data patterns and the transformation function that converts the input into the output. On the other side of the coin, we have Unsupervised Learning which is a method that needs no target to fulfill its mission, since it aims primarily to find patterns in data distributions.<\/p>\n<p>Then, we have Self Supervised Learning, which is an Unsupervised Learning method since it uses unlabeled data and has the particularity of creating synthetic labels to behave as a Supervised Learning model.<\/p>\n<p>These labels can be created by applying trivial transformations to the data. Here are some examples:<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<p style=\"text-align: center;\"><b>Objective<\/b><\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\"><b>Transformation<\/b><\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\"><b>Synthetic Label<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: center;\">Quantify image rotation<\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\">Random rotation<\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\">Rotation angle<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: center;\">Assess data Quality<\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\">Insertion of random values into a data frame<\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\">Binary flag for corrupted data<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p style=\"text-align: center;\">Image Colorization<\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\">RGB to black and white<\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\">RGB image<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>The Self Supervised models can be used in two different manners:<\/p>\n<ul>\n<li aria-level=\"1\">To <b>generate predictions<\/b>, in case the synthetic task corresponds to the main purpose of the model.\u00a0 E.g. train an image colorization model and use it to colorize black and white pictures.<\/li>\n<li aria-level=\"1\">To <b>share its knowledge <\/b>(by sharing its weights) with a Supervised Learning model with a different task. E.g train a Self Supervised model to detect if a picture is flipped and use the weights to initialize a model for object detection.<\/li>\n<\/ul>\n<div class=\"course-cta\">\n\t\t<div class=\"course-cta-img\"><img decoding=\"async\" width=\"582\" height=\"903\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/08\/1-194x301@3x.png\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/08\/1-194x301@3x.png 582w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/08\/1-194x301@3x-193x300.png 193w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/08\/1-194x301@3x-300x465.png 300w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/div>\n\t\t<div class=\"course-cta-content\"><h6>Curso<\/h6><h3>O Espectro do Machine Learning<\/h3>\n\t\t\t<p>If you want to learn more about self-supervised learning, and other learning methods, check this course.<\/p>\n\t\t\t<a href=\"https:\/\/nilg.ai\/pt\/product\/the-machine-learning-spectrum\/\" class=\"cta_btn\">Saber mais<\/a>\n\t\t<\/div>\n\t<\/div>\n<h3><\/h3>\n<h3>How do we apply it?<\/h3>\n<p>In NILG.AI, one of our favorite model architectures is the <b>Siamese Networks<\/b>. Siamese models consist of a model architecture with two (or more) branches, where each of them receives a different input. The weights of the branches might be shared or not and, at the final layer of the model, the outputs of the branches are compared.<\/p>\n<p>Below you can see an example of an architecture for a siamese network applied to images, which we implemented to demonstrate to you the usefulness of these models:<\/p>\n<p><a href=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/02\/Free-Data-Siamese.svg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1462 attachment-svg\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/02\/Free-Data-Siamese.svg\" alt=\"\" \/><\/a><\/p>\n<p>This model has two branches that share weights. Each branch is composed of an encoder (CNN model for feature extraction) and a block of fully connected layers. The output of the two branches is then merged to compute the <b>loss function.\u00a0<\/b><\/p>\n<p>To feed the model, we implemented a data generator that takes an image as input, applies a transformation defined by the user, and returns the two transformed images along with a synthetic target. The transformation function is defined in the model initialization but the magnitude of the transformation should be a random value that fits the given range. For example, to teach a model how to learn the orientation of the objects, it can be passed a rotation function along with the range of possible angles. The data generator will select two random angles from the given range and it will rotate the input image considering those angles, creating two different transformed images. The generator compares the two angles: if the angle from the first transformation is higher than the angle from the second transformation, it sets the synthetic label as 1, otherwise, the label is set as 0. In the end, the generator yields the two transformed images and the corresponding synthetic label.<\/p>\n<p>&nbsp;<\/p>\n<h3>Baseline Results<\/h3>\n<p>As an exploratory exercise, <a href=\"http:\/\/nilg.ai\/pt\/\" target=\"_blank\" rel=\"noopener\">NILG.AI<\/a> developed several transformation functions and trained a model with a very small dataset (less than 100 samples) of images randomly picked from <a href=\"https:\/\/unsplash.com\/\" target=\"_blank\" rel=\"noopener\">Unsplash<\/a>. The trivial transformations included:<\/p>\n<ul>\n<li aria-level=\"1\">Blur addition<\/li>\n<li aria-level=\"1\">Image rotation<\/li>\n<li aria-level=\"1\">Brightness deviation<\/li>\n<\/ul>\n<p>The siamese model architecture was adapted to each transformation function creating three different models. A single trained branch from the siamese model was then used to compute the predictions on single images and here are the results observed.<\/p>\n<p><b>Note<\/b>: The predictions correspond to the output of the last fully connected layer of the branch. These values should be interpreted as proxies of the magnitude of the transformations. To use these outputs as predictions of the real value of the transformation, e.g. rotation angle, the output should be calibrated.<\/p>\n<h5>Blur Addition<\/h5>\n<p>For the blur addition, we applied a gaussian blur filter with fixed window size and a variable sigma value. To test the model performance, we applied blur addition with different values of sigma to the same image and extracted the predictions from the model. In the image below, we can observe that the model output increases with the sigma, being able to distinguish the intensity of the transformation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1452\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_sample.png\" alt=\"\" width=\"827\" height=\"519\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_sample.png 827w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_sample-300x188.png 300w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_sample-768x482.png 768w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_sample-600x377.png 600w\" sizes=\"(max-width: 827px) 100vw, 827px\" \/><\/p>\n<p>In the second test phase, we repeated the transformations in each image of the test set and extracted the correlation between the model output and the sigma. This model has a 95,5% correlation with the ground truth, having the potential to be used as a blur detector.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1453\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_correlation.png\" alt=\"\" width=\"440\" height=\"333\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_correlation.png 440w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_correlation-300x227.png 300w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/p>\n<p>Finally, we extracted the predictions for the original images of the test set, presenting some examples in the grid below. Since we were dealing with high-quality images, the model returned low values for blur detection (usually lower than -6.4), except for the image with the coffee filter which contains a significant background blur.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1454\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_raw_images.png\" alt=\"\" width=\"821\" height=\"519\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_raw_images.png 821w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_raw_images-300x190.png 300w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_raw_images-768x485.png 768w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/blur_raw_images-600x379.png 600w\" sizes=\"(max-width: 821px) 100vw, 821px\" \/><\/p>\n<h5>Image Rotation<\/h5>\n<p>We repeated the same test for the rotation model, this time changing the angle value, getting the results below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1455\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_sample.png\" alt=\"\" width=\"827\" height=\"519\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_sample.png 827w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_sample-300x188.png 300w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_sample-768x482.png 768w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_sample-600x377.png 600w\" sizes=\"(max-width: 827px) 100vw, 827px\" \/><\/p>\n<p>The correlation value for this model was 0.37, which is understandable considering the difficulty of the task. Recognizing if an object is tilted and identifying the correspondent angle implies prior knowledge of the object itself, which is hard to teach to a model with a set of only 100 images representing different objects. Therefore, to use this model as a rotation corrector, we might need to use a lot more data or put more constraints on the image selection, e.g. select images of interior decoration, only.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1456\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_correlation.png\" alt=\"\" width=\"440\" height=\"333\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_correlation.png 440w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/rot_correlation-300x227.png 300w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/p>\n<p>Since this task requires a higher knowledge of the objects, it can also be used as a secondary task of a multitask learning model. This strategy can help the model to better learn the features of the objects of interest avoiding extra labeling costs.<\/p>\n<h5>Brightness Deviation<\/h5>\n<p>The same analysis was made for the brightness model. For this example, the transformation relies on manipulating the value (V) on the HSV color representation by adding a random number. When testing the model for the same transformed image, we can observe that the predicted target increases with the added value.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1457\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_sample.png\" alt=\"\" width=\"827\" height=\"519\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_sample.png 827w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_sample-300x188.png 300w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_sample-768x482.png 768w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_sample-600x377.png 600w\" sizes=\"(max-width: 827px) 100vw, 827px\" \/><\/p>\n<p>Analyzing the performance of the model for the overall test set, we can confirm the correlation between the model outputs and the ground truth since the correlation rate is around 77,5%. This model can be used for brightness correction or image quality assessment. In the next section, you will see some practical examples of where to use these models.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1458\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_correlation.png\" alt=\"\" width=\"440\" height=\"333\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_correlation.png 440w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_correlation-300x227.png 300w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/p>\n<p>Once again, the model predictions were extracted for the original images (shown below). These predictions are also eloquent since the model returned positive values for the brightest images and negative values for the darkest ones, in particular, the coffee filter and the bridge pictures.<\/p>\n<h3><img decoding=\"async\" class=\"aligncenter size-full wp-image-1459\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_raw_images.png\" alt=\"\" width=\"821\" height=\"519\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_raw_images.png 821w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_raw_images-300x190.png 300w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_raw_images-768x485.png 768w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/06\/bright_raw_images-600x379.png 600w\" sizes=\"(max-width: 821px) 100vw, 821px\" \/><\/h3>\n<h3>Use Cases<\/h3>\n<p>Self Supervised learning can be very useful to pre-train encoders to be used by other models or to be used as an extra task, making the final model more robust. However, there\u2019s also a lot of potential for these models to be used directly as predictors, and here are a few examples of where to use them.<\/p>\n<h5>Healthcare<\/h5>\n<p>Image quality assessment for medical imaging &#8211; trivial models like a blur, brightness, and crop detectors help can assess image quality in real-time, being useful to select the sample to be analyzed (by another model or by an expert).<\/p>\n<h5>Real State<\/h5>\n<p>Image standardization in the website &#8211; brighter and more colorful images are more attractive to prospects and, taking pictures in poor lighting conditions can influence the propensity of engagement with the image. With a brightness model as the one proposed above, it is possible to assess this feature and correct it automatically.<\/p>\n<h5>Car Dealership<\/h5>\n<p>Similar to the previous use case, the pictures that show the product (the car, in this case) may influence the propensity of a user to become a buyer. Trivial computer vision models like brightness quantifiers and blur detectors can be used to filter which images have enough quality to be published on the website.<\/p>\n<h3>Conclusion<\/h3>\n<p>As we saw in this post, you don&#8217;t always need a large dataset to build a model that meets the needs of your business.<\/p>\n<p>If you\u2019re interested in making your company&#8217;s decisions data-driven but you\u2019re not sure you have a data structure prepared for that, contact us at info@nilg.ai, and let&#8217;s discuss some ideas!<\/p>\n<p>If you want to learn more about it, enroll to our course:<\/p>\n  \n\n <div class=\"author-cta\">\n\t\t<div class=\"author-cta-img\">\n\t\t    \n\t\t    <img decoding=\"async\" width=\"1024\" height=\"906\" src=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/07\/Web-Rafael.png\" class=\"attachment-full size-full\" alt=\"Rafael Cavalheiro NILG.AI\" srcset=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/07\/Web-Rafael.png 1024w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/07\/Web-Rafael-300x265.png 300w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/07\/Web-Rafael-768x680.png 768w, https:\/\/nilg.ai\/wp-content\/uploads\/2022\/07\/Web-Rafael-600x531.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t    <\/div>\n\n<div class=\"author-cta-content\">\n\t<h3>Do you want to further discuss this idea?<\/h3><p>Book a meeting with <strong>Rafael Cavalheiro<\/strong><\/p>\t<a class=\"cta_btn\" onclick=\"Calendly.showPopupWidget('');return false;\"  \n\">Meet Rafael<\/a>\n\t\t\t\n\t<a href=\"https:\/\/nilg.ai\/pt\/?post_type=team&p=1650\" class=\"author-cta-link\">Saber mais<\/a>\n\t\t\t<\/div>\n\t<\/div>\n\n<div class=\"thinkific-product-card\" data-btn-txt=\"Learn more!\" data-btn-txt-color=\"#ffffff\" data-btn-bg-color=\"#1b9eea\" data-card-type=\"card\" data-link-type=\"landing_page\" data-product=\"1787642\" data-embed-version=\"0.0.2\" data-card-txt-color=\"#7d7d7d\" data-card-bg-color=\"#ffffff\" data-store-url=\"https:\/\/learn.nilg.ai\/embeds\/products\/show\">\n<p><noscript><a href=\"https:\/\/learn.nilg.ai\/courses\/the-machine-learning-spectrum\" target=\"_blank\" rel=\"noopener\">Enroll now!<\/a><span id=\"mce_marker\" data-mce-type=\"bookmark\" data-mce-fragment=\"1\">\u200b<\/span><\/noscript><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u201cThe more I see, the less I know\u201d might be a saying, but it does not apply to AI models. It\u2019s well known that the performance of an artificial neural network is highly dependent on the volume and on the diversity of the data that was shown to the model. This happens because exposing the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":1468,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[81,45,90],"class_list":["post-1451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical","tag-deep-learning","tag-machine-learning","tag-self-supervised"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Teaching Models With Free Data - NILG.AI<\/title>\n<meta name=\"description\" content=\"An overview of self-supervised learning methods using siamese neural networks. Training models without labels for real-life applications.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nilg.ai\/pt\/202202\/teaching-models-with-free-data\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Teaching Models With Free Data - NILG.AI\" \/>\n<meta property=\"og:description\" content=\"An overview of self-supervised learning methods using siamese neural networks. Training models without labels for real-life applications.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nilg.ai\/pt\/202202\/teaching-models-with-free-data\/\" \/>\n<meta property=\"og:site_name\" content=\"NILG.AI\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-23T20:34:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-17T12:39:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/02\/pexels-erik-mclean-4582541-e1656153098676.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1365\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Paulo Maia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@nilg_ai\" \/>\n<meta name=\"twitter:site\" content=\"@nilg_ai\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paulo Maia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/\"},\"author\":{\"name\":\"Paulo Maia\",\"@id\":\"https:\/\/nilg.ai\/#\/schema\/person\/a860b9395bd25c5090160a3ac30e980d\"},\"headline\":\"Teaching Models With Free Data\",\"datePublished\":\"2022-02-23T20:34:21+00:00\",\"dateModified\":\"2025-03-17T12:39:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/\"},\"wordCount\":1640,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/nilg.ai\/#organization\"},\"keywords\":[\"Deep Learning\",\"Machine Learning\",\"Self-Supervised\"],\"articleSection\":[\"Technical\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/\",\"url\":\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/\",\"name\":\"Teaching Models With Free Data - NILG.AI\",\"isPartOf\":{\"@id\":\"https:\/\/nilg.ai\/#website\"},\"datePublished\":\"2022-02-23T20:34:21+00:00\",\"dateModified\":\"2025-03-17T12:39:39+00:00\",\"description\":\"An overview of self-supervised learning methods using siamese neural networks. Training models without labels for real-life applications.\",\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nilg.ai\/#website\",\"url\":\"https:\/\/nilg.ai\/\",\"name\":\"NILG.AI\",\"description\":\"Create ever-improving businesses with AI\",\"publisher\":{\"@id\":\"https:\/\/nilg.ai\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nilg.ai\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/nilg.ai\/#organization\",\"name\":\"NILG.AI\",\"url\":\"https:\/\/nilg.ai\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/nilg.ai\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/03\/logo.svg\",\"contentUrl\":\"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/03\/logo.svg\",\"caption\":\"NILG.AI\"},\"image\":{\"@id\":\"https:\/\/nilg.ai\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/twitter.com\/nilg_ai\",\"https:\/\/youtube.com\/@nilg_ai\",\"https:\/\/www.linkedin.com\/company\/nilg-ai\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/nilg.ai\/#\/schema\/person\/a860b9395bd25c5090160a3ac30e980d\",\"name\":\"Paulo Maia\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/nilg.ai\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9e3e7cb701fd6dcee37f7a4e9f73ef5a27f5741062c4cb179724a1052ea23086?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9e3e7cb701fd6dcee37f7a4e9f73ef5a27f5741062c4cb179724a1052ea23086?s=96&d=mm&r=g\",\"caption\":\"Paulo Maia\"},\"url\":\"https:\/\/nilg.ai\/pt\/author\/paulo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Teaching Models With Free Data - NILG.AI","description":"An overview of self-supervised learning methods using siamese neural networks. Training models without labels for real-life applications.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nilg.ai\/pt\/202202\/teaching-models-with-free-data\/","og_locale":"pt_PT","og_type":"article","og_title":"Teaching Models With Free Data - NILG.AI","og_description":"An overview of self-supervised learning methods using siamese neural networks. Training models without labels for real-life applications.","og_url":"https:\/\/nilg.ai\/pt\/202202\/teaching-models-with-free-data\/","og_site_name":"NILG.AI","article_published_time":"2022-02-23T20:34:21+00:00","article_modified_time":"2025-03-17T12:39:39+00:00","og_image":[{"width":2048,"height":1365,"url":"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/02\/pexels-erik-mclean-4582541-e1656153098676.jpg","type":"image\/jpeg"}],"author":"Paulo Maia","twitter_card":"summary_large_image","twitter_creator":"@nilg_ai","twitter_site":"@nilg_ai","twitter_misc":{"Written by":"Paulo Maia","Est. reading time":"10 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/#article","isPartOf":{"@id":"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/"},"author":{"name":"Paulo Maia","@id":"https:\/\/nilg.ai\/#\/schema\/person\/a860b9395bd25c5090160a3ac30e980d"},"headline":"Teaching Models With Free Data","datePublished":"2022-02-23T20:34:21+00:00","dateModified":"2025-03-17T12:39:39+00:00","mainEntityOfPage":{"@id":"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/"},"wordCount":1640,"commentCount":0,"publisher":{"@id":"https:\/\/nilg.ai\/#organization"},"keywords":["Deep Learning","Machine Learning","Self-Supervised"],"articleSection":["Technical"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/","url":"https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/","name":"Teaching Models With Free Data - NILG.AI","isPartOf":{"@id":"https:\/\/nilg.ai\/#website"},"datePublished":"2022-02-23T20:34:21+00:00","dateModified":"2025-03-17T12:39:39+00:00","description":"An overview of self-supervised learning methods using siamese neural networks. Training models without labels for real-life applications.","inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nilg.ai\/202202\/teaching-models-with-free-data\/"]}]},{"@type":"WebSite","@id":"https:\/\/nilg.ai\/#website","url":"https:\/\/nilg.ai\/","name":"NILG.AI","description":"Create ever-improving businesses with AI","publisher":{"@id":"https:\/\/nilg.ai\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nilg.ai\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/nilg.ai\/#organization","name":"NILG.AI","url":"https:\/\/nilg.ai\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/nilg.ai\/#\/schema\/logo\/image\/","url":"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/03\/logo.svg","contentUrl":"https:\/\/nilg.ai\/wp-content\/uploads\/2022\/03\/logo.svg","caption":"NILG.AI"},"image":{"@id":"https:\/\/nilg.ai\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/twitter.com\/nilg_ai","https:\/\/youtube.com\/@nilg_ai","https:\/\/www.linkedin.com\/company\/nilg-ai\/"]},{"@type":"Person","@id":"https:\/\/nilg.ai\/#\/schema\/person\/a860b9395bd25c5090160a3ac30e980d","name":"Paulo Maia","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/nilg.ai\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9e3e7cb701fd6dcee37f7a4e9f73ef5a27f5741062c4cb179724a1052ea23086?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9e3e7cb701fd6dcee37f7a4e9f73ef5a27f5741062c4cb179724a1052ea23086?s=96&d=mm&r=g","caption":"Paulo Maia"},"url":"https:\/\/nilg.ai\/pt\/author\/paulo\/"}]}},"_links":{"self":[{"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/posts\/1451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/comments?post=1451"}],"version-history":[{"count":10,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/posts\/1451\/revisions"}],"predecessor-version":[{"id":4283,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/posts\/1451\/revisions\/4283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/media\/1468"}],"wp:attachment":[{"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/media?parent=1451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/categories?post=1451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nilg.ai\/pt\/wp-json\/wp\/v2\/tags?post=1451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}