<?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 Dataloop AI on Medium]]></title>
        <description><![CDATA[Stories by Dataloop AI on Medium]]></description>
        <link>https://medium.com/@DataloopAI?source=rss-3fbc401aa6f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*u2S4Yh7RrkZj1sNOKdJzsA.png</url>
            <title>Stories by Dataloop AI on Medium</title>
            <link>https://medium.com/@DataloopAI?source=rss-3fbc401aa6f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:36:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@DataloopAI/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[Introducing Dataloop’s Information Extraction Tool]]></title>
            <link>https://medium.com/@DataloopAI/introducing-dataloops-information-extraction-tool-b6e2a60d8f72?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6e2a60d8f72</guid>
            <category><![CDATA[anomaly-detection]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Thu, 09 Jun 2022 12:16:38 GMT</pubDate>
            <atom:updated>2022-06-09T12:16:55.531Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>You only need one click to get the most informative items from your dataset.</strong></p><p>Let me put the following scenario out there… You have a dataset that contains 1M images, and you have a deep learning supervised task that requires your data to be annotated in order to train it. The big question then becomes, do you send all 1M images for labeling? This is extremely time-consuming and not to mention very costly. And here’s another curveball, what if your budget can only handle 10% of the data? How do you choose which items to send for annotating?</p><h3>A Little Help Understanding Your Unlabeled Dataset</h3><p>In most cases, you don’t really need your whole dataset to be labeled. As a Data Scientist, you should have the ability to understand what your datasetmp to cover the dataset variance and extract only what is sufficient to “describe” the whole dataset.</p><p>For example, if you have an anomaly in your dataset that you should be paying attention to, or some unrelated images that were inserted by mistake, this tool will help you find them, and then you’ll be able to decide whether to label them or discard them.</p><p>The most important value you can get out of this tool is the ability to gain information from your dataset without any required labels. We use self-supervised and <a href="https://dataloop.ai/blog/unleashing-unsupervised/">unsupervised learning methods</a> in order to analyze the data, which we primarily represent in a high-dimensional embedded feature representation.</p><p>Our method investigates how every item is represented in comparison to the other items in the same data collection, revealing hidden patterns, and by using anomaly detection, cluster analysis, and smart sampling, it extracts the dataset’s most informative representation. This tool is also a learnable one, meaning it could be used to train your unlabelled datasets in order to improve its ability.</p><h3>Summed Up</h3><p>The days of manually going over your dataset and trying to find the most informative parts are over. With our new Information Extraction Tool, you can quickly get a “tailor-made” dataset that covers exactly what you need to focus on, in order that you can handle your time and annotation budget smoothly and efficiently. <a href="https://calendly.com/dataloopdemo/dataloop-blog-exploration">Let us know</a> if you’d like to try it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6e2a60d8f72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Choose The Best Ontology Structure for Your Model | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/how-to-choose-the-best-ontology-structure-for-your-model-dataloop-blog-e90f562cc6e?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e90f562cc6e</guid>
            <category><![CDATA[ontology]]></category>
            <category><![CDATA[ai-model]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Wed, 04 May 2022 10:23:58 GMT</pubDate>
            <atom:updated>2022-06-09T07:11:04.570Z</atom:updated>
            <content:encoded><![CDATA[<p>When training a model you need labeled data which is the input for your model. Just like there are multiple ways to phrase a sentence there are multiple ways to define the language structure of your model and that’s — ontology. In this blog post, I will introduce you to three recommended approaches to developing an ontology structure. Let’s just take a moment and define what an ontology is.</p><p>Ontology is a part of the <a href="https://dataloop.ai/blog/data-recipes/">recipe</a>. It’s the building block of your model and it will help you define the object detection that your model is fed. Labels, like classes, are the signs used to classify a dataset. Understanding the ontology structure is important for defining the labeling instructions and the desired output format. Additionally, it also has a major impact on the time spent during the labeling phase.</p><h3>4 Steps to Developing Your Ontology Structure</h3><p><strong>Step #1: Define the purpose of your labeling project.</strong></p><p>For example: labeling fruits and vegetables.</p><p><strong>Step #2: Define the entities you would like to have and their relation.</strong></p><p>For example: Potato is a type of vegetable.</p><p><strong>Step #3: Understand what is the best ontology structure for your projects.</strong></p><p>When the data scientist wants to train the model using the exported data labels, they need to have the ability to understand the simple structure of the data which is built from the ontology. This can only be achieved if the data output is structured wisely.</p><p><strong>Step #4: Decide on the ontology structure.</strong></p><h3>Ontology Structure Options</h3><p>So let’s get started. I’d like to share three approaches for ontology structures. All approaches have the identical output, but the ontology structures are different and the major discrepancy will be in the time spent during the labeling phase.</p><h3>Ontology Structure # 1: Sub-Labels</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*2Lvibxm5enLfx1H8-XyuwA.png" /></figure><p>This ontology structure allows a connection between labels and sub-labels. In this case — between the fruits/vegetables and their subs. The advantage of this ontology is that the annotator is given the ability to easily speed up their annotations and productivity by adding a few values to one bounding box. This is accomplished by simply selecting the sub-label on the Dataloop platform which decreases the annotation time immensely.<br><strong>For example:</strong> When selecting the sub-label of potato, naturally it’s related to the main label of vegetables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QqtXJNzTehayRLKd" /></figure><p>JSON output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*ip2BEh9UKiFPhWuw" /></figure><h3>Ontology Structure# 2: Combination of Labels &amp; Attributes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*1hzcvPt5hvr6bLw2JAlPQw.png" /></figure><p>This ontology structure allows a relation to specific labels and attributes.The disadvantage of this structure is that it takes longer in the labeling phase, because instead of just clicking the mouse once, the annotator is also required to select attributes from the attributes list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*02d4C63XNJynNyrR" /></figure><p>JSON output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/0*Lb9q355BYM0XYkc0" /></figure><h3>Ontology Structure #3: Advanced Sub-Labels</h3><p>In case you’d like to label objects and have a structure of their relation, you can simply do so by defining a recipe with sub-labels.</p><p><strong>For example:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/0*c488BBxfJ97UTz1D.jpg" /></figure><p>Potato is a root vegetable and will be reflected this way on the JSON: “vegetables.root.potato”. Once the annotator selects the “potato” label, the entire path of the potato will be reflected and this way it is more beneficial for granting a few entities to an object by only one click of the mouse.</p><p>The alternative for achieving such a relation, is to have one label for the potato, with 2 attributes, but this will take 3X longer, and will increase the labeling costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/0*GAICX9GKhF5p3B1g.jpg" /></figure><h3>Summed Up</h3><p>Defining the model’s ontology is the building block for the entire ML process. Building it wisely, will allow you to save time later in the labeling phase and simplify the model’s training phase. Each data project has its own requirements and therefore a different ontology structure is needed. It is important to ensure that you set up the structure wisley in order to ensure a smooth labeling process. It is also important to explain to your annotation team the structure and its purpose in order to ensure everything is clearly outlined for them and they know exactly what labels they need to select.</p><p>With this information in hand you can move onto the next stage which is the labeling instructions. To get you started check out this blog post “ <a href="https://dataloop.ai/blog/labeling-instructions/">All You Need to Know About Labeling Instructions</a> “.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/how-to-choose-the-best-ontology-structure-for-your-model/"><em>https://dataloop.ai</em></a><em> on May 4, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e90f562cc6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Curse of Dimensionality — Dimension Reduction | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/the-curse-of-dimensionality-dimension-reduction-dataloop-blog-4bc9a1bfae98?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bc9a1bfae98</guid>
            <category><![CDATA[dimensionality-reduction]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Wed, 06 Apr 2022 11:03:00 GMT</pubDate>
            <atom:updated>2022-06-09T07:22:40.663Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Curse of Dimensionality Part 2— Dimension Reduction | Dataloop Blog</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OKS5JCuvYAIuSigQ9xn3-Q.jpeg" /></figure><p>In my last blog post <a href="https://dataloop.ai/blog/dimensionality-behind-the-scenes/">The Curse of Dimensionality: Behind the Scenes</a>, we discussed the curse of dimensionality and demonstrated how having too many features could be harmful to machine learning models. We mentioned that dimensionality reduction represents a trade-off between a more robust model and lower interpretability.</p><p>The curse of dimensionality refers to a set of problems that arise when working with high-dimensional data. The dimension of a dataset corresponds to the number of attributes or features that exist in it. A dataset with a large number of attributes, generally of the order of a hundred or more, is referred to as high dimensional data. Some of the difficulties that come with high dimensional data manifest during analyzing or visualizing the data to identify patterns, and some manifest while training machine learning models.</p><p>In this second part of this series, we will dig into dimensionality reduction and explore practical algorithms that tackle the curse of dimensionality. Dimensional reduction techniques are very useful to transform sparse features into dense features. Furthermore, dimensionality reduction is also used for ‘cleaning’ the data and for feature extraction.</p><h3>Mitigating Curse of Dimensionality</h3><p>To mitigate the problems associated with high dimensional data a suite of techniques generally referred to as ‘dimensional reduction techniques’ are used.</p><p>Dimensionality reduction is the task of reducing the number of features in a dataset. As discussed, <strong>the higher the number of features, the more difficult it is to model them</strong>. Additionally, some of these features can be quite redundant, adding noise to the dataset and it makes no sense to include them in the training data. This is where the feature space needs to be reduced.</p><p>The process of dimensionality reduction essentially transforms data from a high-dimensional feature space to a low-dimensional feature space. Simultaneously, it is also important that meaningful properties present in the data are not lost during the transformation.</p><p>Dimensionality reduction is commonly used in data visualization to understand and interpret the data, and in machine learning or deep learning techniques to simplify the task at hand.</p><h3>Dimensionality Reduction Techniques</h3><p>Let’s present and discuss some of the most common techniques for dimensionality reduction. It is worth mentioning that these algorithms are supposed to be used based on your task and data. For instance, if the nature of your data is linear then use decomposition methods otherwise use manifold learning techniques.</p><h3>Decomposition Algorithms</h3><h4>Principal Component Analysis (PCA)</h4><p>PCA is a dimensionality reduction method to find lower-dimensional space by preserving the variance as measured in the high dimensional input space. It is an unsupervised method for dimensionality reduction.</p><p>PCA transformations are linear transformations. It involves the process of finding the <strong>principal components</strong>, which is the decomposition of the feature matrix into eigenvectors. This means that PCA will not be effective when the distribution of the dataset is non-linear.</p><p>It is very important to choose the right hyperplane so that when the data is projected onto it, it has the maximum amount of information about how the original data is distributed.</p><p>In simple words, the idea of PCA is to reduce the number of variables of a data set, while <strong>preserving as much information as possible</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*FkJ1OL07fab6H2WR.png" /><figcaption><a href="https://towardsdatascience.com/dimensionality-reduction-for-data-visualization-pca-vs-tsne-vs-umap-be4aa7b1cb29">Source</a></figcaption></figure><h4>Singular Value Decomposition (SVD)</h4><p>SVD is a factorization method of a real or complex matrix. It is efficient when working with a <strong>sparse dataset</strong>; a dataset having a lot of zero entries. This type of dataset is usually found in the recommender systems, rating, and reviews dataset, etc.</p><p>The idea of SVD is that every matrix of shape nXp factorizes into A = USVT, where U is the orthogonal matrix, S is a diagonal matrix and VT is also an orthogonal matrix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/0*u8WG3QwflGCl04Ff" /></figure><p>The advantage of SVD is that the orthogonal matrices <strong>capture the structure</strong> of the original matrix A which means that their properties do not change when multiplied by other numbers. This can help us approximate A.<br>Eventually, we can use SVD to calculate a projection of a dataset and select a number of dimensions or principal components of the projection to use as input to a model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/0*6W-VADqjkNKxgZpb.png" /><figcaption><a href="http://www.analyticsvidhya.com/blog/2018/08/dimensionality-reduction-techniques-python">Source</a></figcaption></figure><h4>Non-negative Matrix Factorization (NMF)</h4><p>NMF is an unsupervised machine learning algorithm. When a non-negative input matrix X of dimension mxn is given to the algorithm, it is decomposed into the product of two non-negative matrices W and H.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*p2VHzLlz4JTAi-gT" /></figure><p>From the equation above you can see that to <strong>factorize the matrix</strong>, <strong>we need to minimize the distance</strong>. The most widely used distance function is the squared Frobenius norm; this is an extension of the Euclidean norm to matrices.</p><p>In this, each data point that is represented as a column in A, can be approximated by an additive combination of the non-negative vectors, which are represented as columns in W.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/0*9zJj3ngReTPOdT7S.png" /><figcaption><a href="https://www.geeksforgeeks.org/non-negative-matrix-factorization">Source</a></figcaption></figure><p>It is also worth noting that this problem is not solvable in general which is why it is approximated. As it turns out, NMF is good for parts-based representation of the dataset i.e. <strong>NMF provides an efficient, distributed representation</strong>, and can aid in the discovery of the structure of interest within the data.</p><p>Therefore, by using NMF we are able to obtain factorized matrices having<strong> significantly lower dimensions</strong> than those of the product matrix.</p><h3>Discriminant Analysis</h3><h4>Linear Discriminant Analysis (LDA)</h4><p>Linear Discriminant Analysis (LDA) is most commonly used as a dimensionality reduction technique in the pre-processing step for pattern classification. The goal is to project a dataset onto a lower-dimensional space with <strong>good class-separability</strong> in order to avoid overfitting and also reduce computational costs.</p><p>The general approach is very similar to PCA, rather than finding the component axes that maximize the variance of our data, we are additionally interested in the axes that <strong>maximize the separation</strong> between multiple classes.</p><p><strong>LDA can be computed using the following 5 steps:</strong></p><ol><li>Compute the d-dimensional mean vectors for the different classes from the dataset.</li><li>Compute the scatter matrices (in-between-class and within-class scatter matrices). the Scatter matrix is used to make estimates of the covariance matrix. This is done when the covariance matrix is difficult to calculate or joint variability of two random variables is difficult to calculate.</li><li>Compute the eigenvectors (e1, e2, e3…ed) and corresponding eigenvalues (λ1,λ2,…,λd) for the scatter matrices.</li><li>Sort the eigenvectors by decreasing eigenvalues and choose k eigenvectors with the largest eigenvalues to form a d×k dimensional matrix W (where every column represents an eigenvector).</li><li>Use this d×k eigenvector matrix to transform the samples onto the new subspace. This can be summarized by the matrix multiplication: Y=X×W (where X is an n×d dimensional matrix representing the n samples, and y are the transformed n×k-dimensional samples in the new subspace).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*b-e6zqh8yRxy8wku.png" /><figcaption><a href="https://sebastianraschka.com/Articles/2014_python_lda.html">Source</a></figcaption></figure><h3>Manifold Learning</h3><p>So far, we have discussed approaches that only involved linear transformation. But what do we do when we have a non-linear dataset? Manifold learning is a type of unsupervised learning that seeks to perform dimensionality reduction of non-linear data.</p><h3>t-Distributed Stochastic Neighbor Embedding (t-SNE)</h3><p>t-SNE is a dimensionality reduction technique well suited for data visualization. Unlike PCA which simply maximizes the variance, <strong>t-SNE minimizes the divergence between two distributions</strong>. Essentially, it recreates the distribution of a high-dimensional space in a low-dimensional space rather than maximizing variance or even using a kernel trick.</p><p><strong>We can get a high-level understanding of t-SNE in three simple steps:</strong></p><ol><li>It first creates a probability distribution for the high-dimensional samples.</li><li>Then, it defines a similar distribution for the points in the low-dimensional embedding.</li><li>Finally, it tries to minimize the KL-divergence between the two distributions.</li></ol><p>As you can see above, t-SNE clusters the data beautifully. Compared to PCA, t-SNE performs better than nonlinear data. The drawback with t-SNE is that when the data is larger it <strong>consumes a lot of time</strong>. Therefore, it is better to perform PCA followed by t-SNE, or use UMAP.</p><p><strong>UMAP</strong></p><p>t-SNE works very well on larger datasets but it also has its limitations, such as loss of large-scale information, slow computation time, and inability to meaningfully represent very large datasets.</p><p>Uniform Manifold Approximation and Projection (UMAP) is a dimension reduction technique that can preserve as much of the local and more of the <strong>global data structure</strong> as compared to t-SNE, with a shorter runtime. UMAP maps nearby points on the manifold to nearby points in the low dimensional representation, and does the same for faraway points. This method uses the concept of k-nearest neighbor and optimizes the results using stochastic gradient descent.</p><p>It first calculates the distance between the points in high dimensional space, projects them onto the low dimensional space, and calculates the distance between points in this low dimensional space. It then uses Stochastic Gradient Descent to <strong>minimize the difference between these distances</strong>.</p><p>Some of the key advantages of UMAP are:</p><ul><li>It can handle <strong>large datasets</strong> and high-dimensional data without too much difficulty.</li><li>It combines the <strong>power of visualization</strong> with the ability to reduce the dimensions of the data.</li><li>Along with preserving the local structure, it also <strong>preserves the global structure</strong> of the data.</li></ul><p><strong>Locally Linear Embedding (LLE)</strong></p><p>The LLE algorithm is an unsupervised method for dimensionality reduction. It tries to reduce n-dimensions while trying to <strong>preserve the geometric </strong>features of the original non-linear feature structure.</p><p>For example, in the illustration below, we cast the structure of the swiss roll into a lower-dimensional plane, while maintaining its geometric structure.</p><p>In short, if we have D dimensions for data X1, we try to reduce X1 to X2 in a feature space with d dimensions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/0*OZLH2Bn3jKjKa51b" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*qHz7XhXAURG5BsVHxLZBmg.gif" /><figcaption><a href="https://cs.nyu.edu/~roweis/lle/swissroll.html">Source</a></figcaption></figure><p>LLE first finds the <strong>k-nearest neighbors</strong> of the points. Then, it approximates each data vector as a<strong> weighted linear combination</strong> of its k-nearest neighbors. Finally, it computes the weights that best reconstruct the vectors from their neighbors, then produces the low-dimensional vectors best reconstructed by these weights. LLE optimizes relatively fast but fails on noisy data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*SoedIdmK56pTtEUY_GNZsA.gif" /><figcaption><a href="https://cs.nyu.edu/~roweis/lle/algorithm.html">Source</a></figcaption></figure><h3>Autoencoders</h3><p>An autoencoder can be defined as a neural network whose primary purpose is to <strong>learn the</strong> <strong>underlying manifold</strong> or the feature space in the dataset. An autoencoder tries to reconstruct the inputs at the outputs. Unlike other nonlinear dimension reduction methods, the autoencoders do not strive to preserve a single property like distance or topology.</p><p>An autoencoder generally consists of two parts: an encoder that transforms the input to a hidden code and a decoder that reconstructs the input from hidden code.</p><p>One might wonder, how does feature learning or dimension reduction happen if the end result is the same as the input? The assumption behind autoencoders is that the transformation <strong>“input -&gt; hidden -&gt; input” </strong>will help us learn important properties of the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*8LGKwgXmmlulisvDruFQUg.jpeg" /><figcaption><a href="https://www.mathworks.com/discovery/autoencoder.html">Source</a></figcaption></figure><h3>Final Thoughts</h3><p>Dealing with thousands and millions of features is a must-have skill for any data scientist. The amount of data we are generating each day is unprecedented and we need to find different ways to figure out how to use it. Dimensionality reduction is a very useful way to do this and has worked wonders on multiple tasks.</p><p>When trying to decide on which dimension reduction technique to use, It is considered to be a good practice to first visualize your data and then decide which method to use.</p><p>It is not difficult to fall into the trap of considering one technique better than the other, at the end of the day there is no way to map high-dimensional data into low dimensions while preserving the whole structure at the same time, there is always a trade-off of qualities and one technique will have to be compared to the other.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/the-curse-of-dimensionality-dimension-reduction/"><em>https://dataloop.ai</em></a><em> on April 6, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bc9a1bfae98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Curse of Dimensionality — Behind the Scenes | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/the-curse-of-dimensionality-behind-the-scenes-dataloop-blog-191777dbd692?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/191777dbd692</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[dimensionality]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Tue, 15 Mar 2022 11:12:39 GMT</pubDate>
            <atom:updated>2022-04-05T08:06:35.363Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Curse of Dimensionality — Behind the Scenes | Dataloop Blog</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDZbmVnrQG68Nu9PnHQ4Rw.jpeg" /></figure><p>Imagine yourself being in the middle of telling someone a long story or struggling through an explanation of something complicated when the other person looks at you and asks, “What’s the point?”</p><p>We can relate to that person’s needs, all they really want is that we deliver the information quickly and to the point. This problem is the essence of what’s known as “the curse of dimensionality”.</p><p>We live in a world of too much information. The same holds true in machine learning. There is almost always a huge set of potential features we can use to make our prediction. When confronted with a massive amount of data that has a high number of characteristics, we can use dimensionality reduction algorithms to make the data “get to the point”.</p><h3>High Dimensional Data and the Problem it Holds</h3><p>“The curse of dimensionality” sounds like an intimidating phrase but what it actually refers to is <strong>when your data has too many features.</strong></p><p>Many texts on statistics, machine learning, and computer science reference the “curse of dimensionality”, which is attributed to the applied mathematician, Richard Bellman. This phrase refers to the phenomenon that increasing data dimension exponentially increases the volume of space that data can occupy. Accordingly, in high-dimensional spaces, available data becomes sparse.</p><p>Let’s set an example from our world. You can think about an input image that is being fed into a deep neural network, that each of its layers extracts features in different scales so that this image could be eventually represented at some point as a 2048 sized vector of features. Which of these features are the most important? What features contribute more to the purpose underlying our data structure? Luckily, neural networks are built in a manner that important features can be extracted from these high-dimensional spaces.</p><p>As much as we would like to, we can’t use all of the features. We just don’t have enough observations. Using thousands of features to fit a model when we have significantly fewer observations of the target variable would be a bad idea. We run the risk of massively overfitting our model, this would generally result in a terrible out-of-sample performance in the real-world scenario.</p><p>When we have too many features, observations also become harder to cluster. Too many dimensions cause every observation in your dataset to appear equidistant from all the others. And because clustering uses a distance measure such as Euclidean distance to quantify the similarity between observations, this is a major issue. If the distances are all approximately equal, then all the observations appear equally alike (or equally different), and no meaningful clusters could be formed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9DBx28i9WuTUKIzh.png" /><figcaption><a href="https://www.kaggle.com/parulpandey/part3-visualising-kannada-mnist-with-umap?scriptVersionId=29322083">Formed clusters using different dimensionality reduction techniques</a></figcaption></figure><p>Without domain expertise and modeling experience, it can be hard to decide which features are truly worth keeping. This is where dimensionality reduction algorithms come into place. Helping us transform our set of thousands of features into an ideal set of features.</p><h3>The Ideal Set of Features</h3><p>If high-dimensional data has an underlying low-dimensional structure then the lower-dimensional structure can be extracted and explored. This is the concept behind traditional feature extraction and feature engineering methods. Meanwhile, feature extraction may employ linear combinations, projections, and transformations to extract new lower-dimensional sets of features with which to model.</p><p>If we could create an ideal set of features from scratch, then we should think about some <strong>main properties that this set would have:</strong></p><h3>High Variance</h3><p>Variance is basically how much the data bounces up and down. The more bouncy it is, the harder it is to predict or explain. Data with no variance has no uncertainty, so there is nothing for us to predict. Features with a high variance contain a lot of potential signals, which is a basic requirement for building a good and robust model.</p><h3>Uncorrelated</h3><p>Features that are highly correlated with each other are less useful and in certain cases downright harmful (when the correlation is so high as to cause multicollinearity).</p><h3>Not Too Many</h3><p>We wish to have a low number of features relative to our number of target variable observations. Too many features relative to observations would result in an overfit model that performs poorly out of the sample.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*Izkby89stPvXSiyx.png" /><figcaption><a href="https://www.math.umd.edu/~petersd/666/html/iris_pca.html">Principal Component Analysis (PCA) example for three final components</a></figcaption></figure><h3>Summed Up</h3><p>Today, we have demonstrated how having too many features could be harmful to machine learning models. In the real world of noisy, messy data and complicated relationships, dimensionality reduction represents a trade-off between a more robust model and lower interpretability.</p><p>Stay tuned for the second part of this series, where I’ll discuss the tools needed for combating the curse of dimensionality and explore practical algorithms for dimensionality reduction.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/dimensionality-behind-the-scenes/"><em>https://dataloop.ai</em></a><em> on March 15, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=191777dbd692" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uncovering AI Tactics For Solving Real-Life Problems | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/uncovering-ai-tactics-for-solving-real-life-problems-dataloop-blog-abe6c30769a8?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/abe6c30769a8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[knowledge-sharing]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Wed, 09 Mar 2022 13:38:56 GMT</pubDate>
            <atom:updated>2022-04-05T08:10:12.669Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zSTafB2xppWxBOAoyAnHIw.jpeg" /></figure><p>In my previous post, I discussed the different methods for <a href="https://dataloop.ai/blog/teach-machines-like-humans/">knowledge sharing in computer vision</a>. Think of it as the building blocks for the knowledge required to understand more about industry-specific use cases.</p><p>In this post, I will present a few examples of “questions” people want machines to answer in real-life scenarios. We will then review some of the more complex scenarios you might tackle using deep learning in the industry today, and how to take complex cases and break them apart into simpler, and more efficient tasks.</p><h3>Real Industry Use Cases: Using Different Tools</h3><h3>Goal Line Technology</h3><p>The first example I want to focus on works perfectly for <strong>classification</strong> because it <strong>exemplifies simple missions that capture a scene</strong>. The question here is, “did the ball cross over the line?” The answer or classification should be in the form of a “Yes”, or a “No.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OxJyBA0KfDgFNhEF.jpg" /></figure><p>The classification required in this <strong>example is binary</strong>; it’s either a “goal”, (yes) or “no goal” (no) for the entire image. This is simple for the model, simple for data collection, and simple for annotation.<br>Since most of the image is the actual signal (the entire ball is passing the line), the signal can be quite significant from the entire image. Keep in mind that there are classification missions with more than 2 labels.</p><h3>Fruit Monitoring</h3><p>In<strong> this example, we’ll focus on detection.</strong> Common agriculture use cases involve the detection of bugs, diseases, fruits, and plant growth stages. In many cases, the data is collected via drones or by vehicles on the ground and the easiest way to describe the mission to the machines is “mark a box around X.” As you can see in the example below, we detected around 40 objects, all from the class “apple.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*DzE9VbJDf4reo9t4.jpg" /></figure><p>In the case of detection, there are multiple types of items companies may want to focus on, which impacts the type of detection tool they would select for their given use case.<br>The simpler and faster ones are bounding boxes and key points while a more complex example is the polygon, typically used for more intricate shapes or models that require more elaborate detection.</p><h3>Manufacturing Quality Assurance</h3><p>One of the first verticals to be impacted by the <a href="https://dataloop.ai/blog/powering-the-data-loop/">Industrial Revolution</a> is Manufacturing. It began with the physical movement of objects and in later stages, fine motor skills. As computer vision began to stake its roots, many of the missions around manufacturing automation have gravitated towards automating the visual aspects of the operations. The most common use case is quality control. This is typically done via detection or classification, but today I want to focus on another classic example: semantic segmentation.</p><p>Practically speaking, if we’re detecting scratches on metal components (as is common in many manufacturing use cases), you need to provide precise information. Selecting the wrong tool for this task (like a bounding box) can generate a really bad SNR ratio. Think about it; of the 2000 pixels in the box detection, only 20 are the actual signal and the rest are just noise. Therefore, understanding the class of every pixel enables the model to learn the location of the scratch and its size of it with accuracy allows us to understand the severity of the issue and later on determine how it should be treated (preferably automatically).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*3h1eQdctFVKYFdyM.jpg" /></figure><p>These nuances require pixel-level accuracy and might not be achieved with simple approaches like bounding boxes and even less so when using classifications. In this case, the question is “what pixels in the image represent which class?”</p><h3>Complex Use Cases</h3><p>As your projects evolve, the questions you need to answer become more complex and you’ll need to answer a combination of questions that address multiple types of tasks. For example, on a practical level, in some cases, a sequence of a detection model and a classification model will be easier to train than one detection model that has numerous classes.</p><p>Let’s look at a real-life example in the retail shelf management industry. Suppose you have to detect certain items on a shelf. The parent group would be to detect all products on the shelf, and the child would be to determine what the actual product is. By breaking down one complex use case such as detecting all of the products, you’ll need to detect and select all the relevant labels (which can be from a list of 100K labels). You’ll need to repeat this step for all objects in the image. To simplify the process, you could break it down into two smaller tasks, such as “mark a box around every product” (detection) or “classify every product” (classification via selecting from a list). This makes the process much simpler and far more cost-effective.</p><p>Of course, you’ll need to take the following into account:</p><ul><li>Computation power</li><li>Time per predication</li><li>Cost of model convergence (getting to high accuracy)</li></ul><p>Let’s zoom in on the last bullet. In the previous example, the main reason to break the pipeline into a 2-step solution is the annotation costs along with the number of samples you need for each class in the model. Other costs can rise due to “expensive knowledge” (which requires certain expertise), so splitting into smaller tasks makes the process cheaper.</p><p>By letting experts do simpler tasks (classification or key point marking) and assigning “regular” annotators to the time-consuming tasks of polygons or semantic segmentation, you <strong>can significantly reduce the overall costs.</strong></p><p><strong>Here are 2 real-life examples:</strong></p><ol><li>Doctors mark only the cancerous cells with a key point and an annotator will then mark a polygon only on these cancerous cells.</li><li>Annotators mark the plants and the disease infestations using semantic segmentation while an agronomist will only classify the disease and its severity.</li></ol><h3>Summary</h3><p>Our goal is to automate missions and teach machines how to solve questions. If we simplify the questions to make them easier to learn, we can then solve many cases with cheaper and better results.</p><p>If you break down the question to be as simple as possible while keeping the following format of goals:</p><ul><li>“What category does this image fit on the known list?” (Classification)</li><li>“Detect all objects with class X (can be a list of classes) in the image.” (Detection)</li><li>“Identify the pixels of class X (can be a list of classes) in the image.” (Segmentation)</li></ul><p>As you can see, the questions are generic and can fit every industry even though they have different challenges. My next post will focus on these challenges when going to production.</p><p>The last tip I can give is adopting a “fail fast” approach. What does this mean? You want to try to run quick tests in order to get quick results to test what works for you. You will avoid wasting time and money on the wrong questions and it will help you understand if the machine was able to pick up from the knowledge in the examples before you start investing a lot of resources into your project. If you’d like to learn more, you can read more about the matter in this article on <a href="https://dataloop.ai/blog/organize-data-even-clueless-machines-will-understand/">how to start a project correctly</a>.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/ai-solving-real-life-problems/"><em>https://dataloop.ai</em></a><em> on March 9, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abe6c30769a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Organize Data Even Clueless Machines Will Understand | Dataloop]]></title>
            <link>https://medium.com/@DataloopAI/how-to-organize-data-even-clueless-machines-will-understand-dataloop-5d19aa015673?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d19aa015673</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Wed, 02 Mar 2022 14:29:11 GMT</pubDate>
            <atom:updated>2022-03-31T17:59:17.440Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*wgfoyVB4-97lQK2Z-ygCLA.jpeg" /></figure><p>Data is messy. It’s unclear. It’s noisy. Therefore, it makes sense that when we think of “real data,” we’re not referring to data that is organized in a zip file, with all the correct annotations. We’re talking about multiple sources with different parameters, configurations, noise, standards, etc. The challenge here is to align all these resources and make this data usable for training and evaluating machine and deep learning models.</p><p>When organizing data that machines can understand, we first need to answer these basic questions:</p><ul><li>Can we tell what’s important and relevant?</li><li>Is the data sufficient? How much of it is redundant?</li><li>Can we find the data’s secret to better understand it?</li><li>How can we visualize and get insights from mass amounts of data?</li></ul><p>Here are some tips to get you started and to help you clear the noise so even your clueless machines will understand.</p><h3>3 Sure-Fire Tips to Organizing Your Data</h3><ol><li>Identify Relevant Data</li><li>Achieve Transparency</li><li>Start Small</li></ol><p>I’ve come up with 3 sure-fire tips to guarantee you’ll be able to teach your machines to understand the data you feed them. Let’s explore each tip, and why it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*3z51uC70-nEMo5UB.jpg" /><figcaption><a href="https://alistapart.com/article/can-you-say-that-in-english-explaining-ux-research-to-clients/">Source</a></figcaption></figure><h3>Identify Relevant Data</h3><p>The first thing you need to ask yourself is do I have too much, or too little data? You need to be able to identify which samples are missing, and where your data is duplicated. It’s important that you extract the essence of the data and not waste time on the rest (the noise).</p><p>Let’s break it down further, between humans and machines:</p><p><strong>Human:</strong><br>For best results, I recommend you first extract the essence of your data sources and only annotate the “core” images. You can use unsupervised learning techniques, or get initial annotated patches, to cluster the data and help visualize the world you’re trying to represent (ontologies). Try to identify the classes that overlap and where you may need to merge or split classes to get better results.</p><p>Keep in mind that for machines, more data does not equal better answers. Thousands of samples of the same image might not provide you with more information and probably won’t contribute anything to the question you’re trying to answer. In reality, more data means higher costs, both in annotation (human) and training (machine).<br>Let’s take an example — suppose you have lots of images and you want to identify the “similar” ones. This could mean a lot of things. Pixel-wise similarity, MSE for example, can be high for two images that won’t add more information than a simple augmentation.</p><p>Let’s take a look at the 2 images below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/0*wPag2ec_O-hlWKk2.jpg" /></figure><p>A simple rotation gets a high mean square error (~32K), but our brain can easily see that this is the same image and does not need to be labeled twice. Instead, using a feature-based similarity will be better and will give a low distance scoring for the above images. Basically, we want the <strong>minimum</strong> amount of images with the <strong>highest</strong> variance in the model embedding plane. This will help us save money on the annotation, and for the model, we’ll use augmentations to make the most out of the core data, also helping us to<a href="https://towardsdatascience.com/8-simple-techniques-to-prevent-overfitting-4d443da2ef7d#f80d"> avoid overfitting the model</a>.</p><p>As <a href="https://analyticsindiamag.com/is-more-data-always-better-for-building-analytics-models/">Dipanjan Sarkar</a>, Data Science Lead at Applied Materials clearly states, “There are no shortcuts or direct mathematical formulae to say if we have enough data. The only way would be to actually get out there and build relevant ML models on the data and validate based on performance metrics […] to see if we are getting a satisfactory performance.” Therefore, if your data is relevant then your performance will prove so, too.</p><h3>Achieve Data Transparency</h3><p>Training a neural network requires many examples and you don’t want to ‘get lost’ while iterating through each batch. Make sure you stay on top of the data every step of the way and don’t be afraid to get your hands dirty with data; don’t assume the model understands you. Don’t assume people understand you.</p><p><strong>Human</strong>:<br>It’s not easy to express your labeling requirements, it’s even harder in writing, in different languages, across many hands, and all over the world.<br>You have to keep track of the annotation process and keep in touch with the individual annotator to get the best of their work.<br>Examples are better than explanations — it’s better to annotate a few examples and it will help you explain what exactly needs to be done. Be sure to have an open communication channel over the data to answer questions and review edge cases. Same as the model, the annotation requirements never stop evolving…</p><p>If by any chance you don’t get perfect training on the first attempt, one of the first things to review is what the model is seeing. You can do this by saving input tensors with the annotation drawn on top. Reverse the augmentation and any pre-processes manipulation and plot.<br>In my experience, we’ve traced many “weird” training issues to one simple error in the data and annotation loading process. Bottom line: don’t give the model data you wouldn’t eat. Here at Dataloop, we recommend using the SDK tools to achieve that flow easily.<br>The ability to fully understand the machine will, in turn, help you determine the reason and will help guide data scientists in building an optimal model.</p><h3>Start Small With Your Model Training</h3><p>Don’t go running days of training without getting some results on small subsamples. It’s not always true that “the more data, the better.” Instead, get quick and fast results and catch bugs and errors before going over the entire dataset. Keeping it small can help you keep on track. You can ascertain whether you’re making progress, whether your model needs improvement, and if you find bugs or errors you can quickly make the fix and move on.<br>Let’s apply this to the human/machine scenario:</p><p><strong>Human</strong>:<br>Don’t rush to annotate every single image you have. Making annotators work for nothing is one of the best ways to waste your budget. Start with small loops of labelers, thus allowing you to improve and better define your project’s recipe (instructions). Throughout this loop, identify where your labeling requirements “pass” and where more labeling work is required. Dataloop provides a very intuitive recipe-building option, giving you extensive support to build complex (and simple) instructions that will guarantee you’re set up for success.</p><p><strong>Machine</strong>:<br>The same goes for the training phase; a lot of time and money can be wasted on annoying coding errors and wrong data processing (this is where the model transparency kicks in). The best practice is to always start small. It’s better to test the entire training flow on a very small sample of images rather than a large sample that will lead to many more errors and issues. See how your model converges and try loading back the trained weights for a quick inference before you waste days of training just to see if an error pops up after the last epoch (“[Errno 2] No such file or directory”).</p><h3>Summed Up</h3><p>Machine learning is based predominantly on data and is what enables the training of algorithms. The important thing to keep in mind is that if you have loads of data but most of it is useless — then you won’t be able to make the machine learn successfully. Datasets require proper preparation to render successful results. Furthermore, if a machine can’t make sense of the data it can in fact cause harm. Following these tips will help you stay on track and will help make your datasets more suited for machine learning. Ready to make your data “stupid” enough for machines with Dataloop? Find out how. <a href="https://calendly.com/dataloopdemo/dataloop-blog-exploration">Let’s talk</a>.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/organize-data-even-clueless-machines-will-understand/"><em>https://dataloop.ai</em></a><em> on March 2, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d19aa015673" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unleashing Unsupervised Learning | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/unleashing-unsupervised-learning-dataloop-blog-a9faffba6d82?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9faffba6d82</guid>
            <category><![CDATA[unsupervised-learning]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Wed, 23 Feb 2022 09:57:15 GMT</pubDate>
            <atom:updated>2022-03-31T17:55:01.395Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_H5h78-pSz9zEISc.png" /></figure><p>In recent years, the world has gotten “smarter” as the AI field has made tremendous progress. To keep up with consumer expectations, companies are increasingly using machine and deep learning algorithms and developing systems that can learn from large amounts of labeled data.</p><p>Because of its simplicity, <strong>supervised learning</strong>, the task of training predictive models using data points with known outcomes, is generally the preferred approach in the industry.<br>It has a proven track record for training models that perform extremely well on the task they were trained to do.</p><h3>So Where is the Bottleneck?</h3><p>Supervised learning requires accurately labeled data, the collection of which is often labor-intensive. There are also some tasks for which there’s simply not enough labeled data. Moreover, there’s a limit to how far the field of AI can go using supervised learning alone.</p><p>If we could get a deeper understanding of our use case data beyond what’s specified in limited labeled training sets, and provide more general features for learning to perform many tasks, AI systems could be more useful, comprehensive, and much more “intelligent.”</p><h3>Setting the Supervision Loose</h3><p><strong>Unsupervised learning</strong> uses unlabeled training samples to model basic characteristics of an AI system’s input and discover hidden patterns in the data. These characteristics can be a useful starting point for supervised learning, and they can be used to extrapolate what is learned from labeled training sets.</p><p>What if we can get “free of charge” labels for unlabeled data and train unsupervised datasets in a supervised manner? We can achieve this by framing a <a href="https://dataloop.ai/blog/data-loop-phases/">supervised learning task</a> in a special form to predict only a subset of information using the rest. In this way, all the information needed, both inputs and labels, has been provided. This method is known as <strong>self-supervised learning</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*d8lQLgzshArtXoc8jX8Ggw.png" /><figcaption>A summary of how self-supervised learning tasks can be constructed (source: <a href="https://www.youtube.com/watch?v=7I0Qt7GALVk">LeCun’s talk</a>)</figcaption></figure><p>Self-supervised learning can be considered a subset of unsupervised learning. More precisely, unsupervised learning focuses on detecting specific data patterns (such as clustering, community discovery, or anomaly detection), while self-supervised learning aims at recovering missing parts, which is still in the paradigm of supervised settings.</p><h3>How Does It Actually Work?</h3><p>Self-supervised learning obtains supervisory signals from the data itself, often revealing the <strong>underlying structure</strong> of the data. Rather than labels, we are interested in the learned <strong>intermediate representation</strong> of the data, with the expectation that this representation can carry good semantic or structural meanings and can be beneficial to a variety of practical downstream tasks.</p><p>This approach can be described as “ <strong>A machine that predicts any parts of its input for any observed part</strong>.” The learning part includes obtaining “labels” from the data itself by using a semiautomatic process. Here, the “parts” could be transformed, distorted, or corrupted fragments of the input data.<br>To put it simply, the AI system learns to “recover” whole, parts of, or solely some features of its original input.</p><p>As a matter of fact, self-supervised learning is one of the most promising ways to build background knowledge and approximate a form of “ <strong>common sense</strong>” in AI systems.<br>Systems pretrained with this manner yield considerably higher performance than when merely trained in a supervised manner.</p><h3>How Can We Benefit From Self-Supervised Learning?</h3><h3>Scalability</h3><p>Supervised learning requires large labeled datasets to build proper models and make accurate predictions. Self-supervised learning can automate this process and handle a task with even massive amounts of data, by learning objectives accordingly so as to get supervision from the data itself.</p><h3>Harness the “Human Mind”</h3><p>Supervised models require human intervention to perform correctly. However, those interventions don’t always exist. Unlike machines, humans can think through the consequences of their actions before making them, and they don’t have to experience all actions to decide what to do.</p><p>Machines also have the potential to work in the same way. Once they’ve mastered learning the underlying structure of the data, they can use this “knowledge” in a similar way to human intervention. In that manner, self-supervised learning automatically generates meaningful representations without human intervention and enables machines to come up with a solution without any interference, to a large variety of tasks and scenarios.</p><h3>Applications</h3><p>Recently, we have witnessed self-supervised learning-based models improving computer vision and natural language processing capabilities. The following are some of its major applications in computer vision:</p><h3>Image-Based</h3><h3>Rotation</h3><p>Rotation of an image is an interesting way to modify an input image while the semantic content stays unchanged. In order to identify the same image with different rotations, the model has to learn to recognize semantic concepts, rather than local patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*XPuiwRg2S1omwKix4MPksw.png" /><figcaption>Incorporating rotation invariance into the feature learning framework, (source: <a href="https://openaccess.thecvf.com/content_CVPR_2019/papers/Feng_Self-Supervised_Representation_Learning_by_Rotation_Feature_Decoupling_CVPR_2019_paper.pdf">Feng et al. (2019)</a>)</figcaption></figure><h3>Contrastive Learning</h3><p>The approach for contrastive learning methods is to train a model to cluster an image and its slightly augmented version in latent space and “learn to compare” through a Noise Contrastive Estimation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*9QuiMD6NwgASI-U4Ue1hdA.png" /><figcaption>SimCLR is a framework for contrastive learning of visual representations. (source: <a href="https://arxiv.org/abs/2002.05709">Chen et al. (2020)</a>)</figcaption></figure><h3>Generative Modeling</h3><p>The pretext task in generative modeling is to reconstruct the original input while learning meaningful latent representation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*dorz-KDklRUHVA4cZY-N_w.png" /><figcaption>A regressor for a low-dimensional latent face representation. (source: <a href="https://openaccess.thecvf.com/content_cvpr_2018/papers/Tewari_Self-Supervised_Multi-Level_Face_CVPR_2018_paper.pdf">Tewari et al. (2018</a>))</figcaption></figure><h3>Video-Based</h3><h3>Colorization</h3><p>Self-supervised learning can be used for colorization, resulting in a rich representation that can be used for video segmentation and unlabeled visual region tracking, without extra fine-tuning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*QoDhlJuO6DZ23XjVU7TP4w.png" /><figcaption>Use video colorization to track object segmentation and human pose in time. (source: <a href="https://arxiv.org/abs/1806.09594">Vondrick et al. (2018)</a>)</figcaption></figure><h3>Tracking</h3><p>The movement of an object is traced by a sequence of video frames. Any visual representation learned for the same object across close frames should be close in the latent feature space. Therefore, it could be achieved by self-supervised learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*I69xnlgckraOGkaVSntQpg.png" /><figcaption>The dense tracking system: MAST — Memory Augmented Self-Supervised Tracker. (source: <a href="https://openaccess.thecvf.com/content_CVPR_2020/papers/Lai_MAST_A_Memory-Augmented_Self-Supervised_Tracker_CVPR_2020_paper.pdf">Lai Et. al (2020)</a>)</figcaption></figure><h3>Summed Up</h3><p>The progress of self-supervision in recent years is encouraging, and it is a monumental step towards human-level intelligence. As we further understand this better, self-supervision would help in building real-world scenarios, and we will get closer to creating AI systems that think more similar to humans.</p><p>Do you want to reveal the underlying structure of your data with <a href="http://dataloop.ai/">Dataloop</a>? <br>Find out how. <a href="https://dataloop.ai/demo/">Let’s talk</a>.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/unleashing-unsupervised/"><em>https://dataloop.ai</em></a><em> on February 23, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9faffba6d82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Teach Machines To Learn Like Humans | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/how-to-teach-machines-to-learn-like-humans-dataloop-blog-71151fdb9df2?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/71151fdb9df2</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai-model]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Wed, 16 Feb 2022 15:18:31 GMT</pubDate>
            <atom:updated>2022-03-07T13:11:52.867Z</atom:updated>
            <content:encoded><![CDATA[<p>Building effective AI models is synonymous with teaching computers to learn like a human. Traditionally, computer vision perception has forced engineers to select which features to look for in an image in order to identify a certain object to teach the computer. They’ve also been accustomed to selecting corresponding sets of features for each class of objects. As the number of classes increases, this method quickly becomes increasingly complex. The color, edges, and contrast are just a few aspects to consider but they don’t account for many parameters that have to be manually fine-tuned by the engineer.</p><p>On the other hand, deep learning makes use of the concept of “end-to-end learning.” When deep learning is used, the algorithm is simply instructed to learn what to look for in each specific class. It automatically determines the most prominent and descriptive features for each class by studying sample images. The difference in the results is huge: <strong>70% accuracy</strong> in <strong>traditional</strong> methods was a good result while <strong>85% accuracy</strong> using <a href="https://dataloop.ai/solutions/deep-learning/"><strong>deep learning</strong></a> methods is quite common.</p><p>I’m going to address high-level information about how to teach computers to learn like a human, which I’ll cover in a number of posts. I’ll uncover example use cases, discuss why variance matters so much and address complexities in the AI industry and how to break them down to simpler tasks that will ultimately make it easy for you to teach your machines to learn like humans. So let’s get started!</p><h3>Baby Steps: Teaching The Model</h3><p>When we build an AI model we are actually building a communication system between human knowledge and a machine. We assume that the machine knows nothing (literally nothing) and your only way to teach it is by feeding it examples. The machine’s only goal is to learn the mission you need it to learn (neural networks’ final layers make the decision based on the patterns learned in the neural net from examples).</p><p>Let’s take a simple example — teaching a toddler (smarter than an untrained neural network). If you need to teach them what a bird is, you will avoid showing pictures that don’t predominantly contain birds in the image. If the bird is in the picture but there are other elements, in most cases, you would point at the bird to “focus” the toddler on the relevant object you want them to learn. With that said, the toddler still needs to understand that a bird can be in the sky, on the ground, or partially hidden by a tree.</p><p>Let’s take another, slightly more complex example. Imagine someone is trying to teach you a new concept called “padada.” You have no idea what it means, and all you have are pictures containing 1000 other elements you do not know. You might be able to pick it up by trying to identify the similarities between images and assume that if an image contains similar traits, they will be translated as “padada,” but it will be extremely difficult to decipher whether you actually learned what “padada” is.</p><p>If your instructor were to point at the image and tell you what is “padada,” you would naturally understand the concept faster.</p><p>Using the above example we need to focus on a few basic steps:</p><ol><li>Defining the question correctly and making sure it is “simple” enough to understand (see examples below)</li><li>Feed enough samples that represent the “real world” and as many edge cases as possible (in order to maximize variance)</li><li>Make sure to feed answers that capture the required information without changing the question (e.g. in many cases, classification can’t answer detection questions since saying this image contains “bird” doesn’t help say where or how many)</li></ol><p>The below examples are the 4 most common ways to transfer the information in the image.</p><h3>Classification</h3><p>Label of the entire image = bird</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o4wtzJm2NNtFDJP8.png" /></figure><h3>Bounding Box</h3><p>Box territory is “bird” (by default the rest is noise that we need to learn to ignore):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dneGjwyJkg_M4pE9.png" /></figure><h3>Polygon</h3><p>The green territory is “bird” (by default the rest is noise we need to learn to ignore):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LGvXXiTt5CD6Ihb8.png" /></figure><h3>Semantic Segmentation</h3><p>Green pixels are of the class “bird”<br>Purple pixels are of the class “flower”<br>Orange pixels are of the class “background”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vzojpjNZrJs3aTCW.png" /></figure><p>The above methods progress from the least amount of information to the most amount of information provided to the model. The first couple of examples feeds the machine a lot of noise while the latter examples try to minimize the noise and hone in on the primary information that needs to be learned.</p><p>The SNR (Signal to Noise Ratio) is the common formula that compares the level of the desired signal out of the entire label. In practice, it means “how much information from the sample I got is important for me to understand?”</p><p><strong>There are 2 main considerations regarding SNR values we try to optimize:</strong></p><ol><li>The <strong>ratio</strong> between actual signal to the size of the label:</li></ol><ul><li>Lower than 0.5% = Unreliable and can’t be used in your given industry</li><li>0.5%-1% = Can work only with huge amounts of data and compute</li><li>1%-10% = Should work in most cases</li><li>More than 10% = Easy for the model to learn</li></ul><p><strong>2. Differentiation</strong> of the label from similar patterns in the data -</p><ul><li>We want to avoid marking labels that can confuse the model. For example, if we mark a box around a 12-pixel car which is all black dots we might accidentally teach the model that 12 black pixels are actually a car</li></ul><p>Simply, because it has its costs and usually the more information you provide, the more you need to invest (time = money). The bird classification in the above example can take 1–4 seconds to complete while the semantic segmentation can take hours if your images are complex (multiply it by thousands of images).</p><p>Therefore, in order to keep our mission cost-effective, we should find a trade-off: we need to find the right tool (classification/detection / detection-classification / pixel-level semantic segmentation). In many cases using polygons will not enhance the results of a simple bounding box mission but it will be far more expensive.</p><h3>Summary</h3><p>It is important to keep in mind the fact that the computer only knows what you teach it. Therefore, you need to validate and optimize the signal in order to capture the variance in your data.</p><p>Stay tuned for our next blog post, where I will feature samples from multiple domains across varying industries. We will also discuss how to validate your use case and what factors you should be considering for your use.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/teach-machines-like-humans/"><em>https://dataloop.ai</em></a><em> on February 16, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71151fdb9df2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Pillars to Data-Centric Approach | Dataloop Blog]]></title>
            <link>https://medium.com/@DataloopAI/3-pillars-to-data-centric-approach-dataloop-blog-afec130010ec?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/afec130010ec</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-centric]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Thu, 10 Feb 2022 12:11:17 GMT</pubDate>
            <atom:updated>2022-02-12T17:34:32.617Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data-Centric: The New AI Oil or a New Buzzword?| Dataloop Blog</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pKIztgk5VJkZCm3VlqreFQ.png" /></figure><p>Is data-centric really the new oil or is it just the new buzzword for all things AI? After all, since its beginning, AI has gone hand in hand with data. Even here at Dataloop, since our inception, we’ve been data-centric. But let’s just take a step back and analyze the situation.</p><p>If we start with the most basic makeup of the AI system, we are dealing with the code or the models/algorithms, and their data. As Andrew Ng explained in his talk about <a href="https://www.youtube.com/watch?v=06-AZXmwHjo">“From model-centric to data-centric”</a>, the way machine learning has progressed over the last couple of years is by teams downloading and trying to improve on standard benchmark datasets, spending most of their time on improving their code. But as we at Dataloop like to emphasize, what about the <strong><em>data</em></strong>? Let’s take a look at it from our perspective, and I’ll break it down for you. The first question we need to ask, then, is what is data-centric?</p><h3>What is Data-Centric?</h3><p>We believe it’s all about the data and the <a href="https://dataloop.ai/blog/optimizing-data-usage/">quality of that data</a>. And how do you achieve this? With 3 key pillars.</p><p><strong>Pillar #1:</strong> <a href="https://dataloop.ai/platform/annotation-platform/">Data Annotation Platform: </a>Creating precise, accurate, and repeatable annotations are key to quality data. If you don’t correctly label your data, you can’t correctly build your model. If you don’t have enough data volume, you won’t be able to build a lasting model. But data annotation isn’t just about the volume and the quality of labeled data; it’s also about the type of annotations you’re using for the type of models you’re producing. After all, even if we were to stick to the “model-centric” approach, without ensuring best-in-class data labeling, our model wouldn’t go anywhere. This is the first step in creating a computer vision model: <strong>quality labeled data that can be scaled</strong>. It doesn’t matter if you’re doing classification, detection, or segmentation; if you create a computer vision model, you’ll need to annotate your data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/0*Ug80azo32f71Or04.png" /></figure><p><strong>Pillar #2:</strong> <a href="https://dataloop.ai/platform/data-management/">Data Management: </a>Data-centric is actually a data-stable approach. This means you are managing your data across its entire lifecycle. Even before you build your model, you need to track your dataset progression. How are you managing your datasets’ versions? How are you tracking the changes to your datasets? How are you searching through your dataset versions and filtering out key information? This is where a data management platform comes into play: you need to be able to filter, sort, clone, merge, version, and query your datasets down to the metadata level. Providing a <strong>single secure visualization layer for all your unstructured data</strong> allows you to better understand the plethora of accumulated data as your AI project grows. Robust tools assist data scientists, data engineers, and data operators to analyze data sets quickly and seamlessly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/0*AiAh3RAMjBr0IrlX.png" /></figure><p><strong>Pillar #3</strong>: <a href="https://dataloop.ai/platform/data-pipelines/">Automation &amp; Pipelines: </a>As you finally scale your AI project, the ability to automate your annotation and data management workflows is probably the most instrumental part of successfully maintaining a data-centric vs. model-centric approach. It’s not just about pushing your models to production; it’s about being able to pre and post-process your datasets. Being able to create human-in-the-loop data validation and being able to scale your work as you revise and optimize your ever-adapting models is key. Dataloop’s solution makes it possible for organizations to create custom data automation pipelines using a no-code drag-and-drop interface or through a developer-friendly Python SDK, weaving together human labeling tasks and machine learning workflows. This makes it easier to develop ML pipelines or create <a href="https://dataloop.ai/platform/data-pipelines/build-custom-plugins/human-in-the-loop/">human-in-the-loop</a> data validation that can be scaled to production. Moving through pre/post-processing and validation leads to <strong>continual and systematic optimization of your models in less time</strong>, with fewer resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/0*h7hypsw-D-SjJRof.png" /></figure><p><strong>Further reading: </strong><a href="https://dataloop.ai/blog/data-loop-phases/">The Data Loop Phases</a></p><h3>The Secret Ingredient to Data Quality</h3><p>Preparing high-quality data for computer vision use cases is lengthy, complex, and expensive, creating a barrier to entry that many enterprises struggle to overcome.</p><p>Data is what makes or breaks your model. It’s not about the quantity but rather the quality. Therefore, your dataset needs to be diverse enough in order to provide your model with all the information it requires. Continuous validation from your production environment enables your organization to create a machine learning model that is constantly learning from its own behavior while adapting to new situations never encountered before. Dataloop’s 3 pillars can help you get to this goal. And there’s no other company on the market that can offer all 3 pillars under one roof. We serve one purpose: to ensure you succeed with a data-centric approach as you label data more efficiently and accurately while scaling to production — faster.</p><p>Dataloop is able to accelerate machine learning projects, by adding human validation in a continuous loop, improving the likelihood of success when shifting the model out of the lab and seamlessly transferring it to the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*UsYjPthi2Lkpbp5I.jpg" /></figure><p><strong>Further reading:</strong> <a href="https://aithority.com/machine-learning/how-dataloops-approach-to-human-in-the-loop-ml-boosts-project-efficiency/">How Dataloop’s Approach To Human-In-The-Loop ML Boosts Project Efficiency</a></p><h3>Summed Up</h3><p>It all boils down to the most important point that all models rely on data and you can’t get them to production or have them function optimally without data. So in essence models and AI have always been data-centric but the approach to using data is now changing. Instead of Data Scientists talking about their models, they’re focusing more on the quality of the data that constructs their models. In our opinion it’s never been about locking into a buzzword (model-centric vs data-centric vs next centric); it’s all about the approach: <strong>data first!</strong></p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/data-centric-approach/"><em>https://dataloop.ai</em></a><em> on February 10, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afec130010ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Content Moderation in the Realm of Machine Learning | Dataloop]]></title>
            <link>https://medium.com/@DataloopAI/content-moderation-in-the-realm-of-machine-learning-dataloop-98b7c7a615a0?source=rss-3fbc401aa6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/98b7c7a615a0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[content-moderation]]></category>
            <category><![CDATA[content-curation]]></category>
            <dc:creator><![CDATA[Dataloop AI]]></dc:creator>
            <pubDate>Tue, 25 Jan 2022 11:09:39 GMT</pubDate>
            <atom:updated>2022-01-26T19:19:36.814Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kPJv1G1X12h0rjH_Zs2qSA.jpeg" /></figure><p>Online content generation is now synonymous with social media and this presents a challenge: how do you moderate the content curation and ensure it stays safe? <a href="https://www.statista.com/statistics/272014/global-social-networks-ranked-by-number-of-users/">In 2020, over 3.6 billion people</a> were using social media worldwide, a number that is projected to increase to almost 4.41 billion by 2025. Within the social media platforms worldwide, Facebook was the first social network to surpass one billion registered accounts and currently boasts more than 2.89 billion monthly active users. What about video popularity online? As of February 2020, more than 500 hours of video were uploaded to YouTube every minute. This correlates to approximately 30,000 hours of newly uploaded content per hour. The <a href="https://www.statista.com/statistics/259477/hours-of-video-uploaded-to-youtube-every-minute/">amount of video content</a> hours on YouTube has drastically grown 40% between 2014 and 2020.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/0*tND39Q06QWd591lk" /></figure><p>In fact, online video is one of the most popular digital activities worldwide, with <a href="https://www.statista.com/statistics/259477/hours-of-video-uploaded-to-youtube-every-minute/">27 % of internet users watching more than 10 hours</a> of online videos on a weekly basis in 2020. In 2021, YouTube was one of the leading media and entertainment brands, with a brand value of more than <a href="https://www.statista.com/statistics/259477/hours-of-video-uploaded-to-youtube-every-minute/">$47 billion U.S. dollars</a>. From the number of people to the amount of content online, we can clearly see that the above data shows an increase in social media usage and users. With this content boom, it is essential for brands and businesses to ensure that they can create a safe space online for their readers. This is where content moderation steps in to ensure that users remain protected from harmful content such as hate speech, violence, abuse, and nudity.</p><h3>What Is Content Moderation?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*m2Vr_fs9_v_cE-r8.jpg" /></figure><p>Content moderation is a means of screening as well as monitoring user-generated content online. The purpose is to ensure a safe environment not only for the brand but their users as well. Platforms have a responsibility to monitor this content to ensure that it is appropriate and that pre-determined guidelines are adhered to. It is also important to ensure that the online behavior is appropriate in relation to the platform and the audience at hand. The responsibility of weeding out harmful content (such as nudity and profanities) is huge. This is where machine learning becomes a necessity to keep sites clean. Machine learning can categorize the content and pre-process images as well as screening out any inappropriate content.</p><h3>Defining Content Moderation’s Key Challenges</h3><p>Brands, lawmakers, and social media execs realize that moderating content is a huge undertaking due to the sheer volume and reach of distributed data and cannot be accomplished easily and solely by the human eye. And the problem is that these social platforms continue to grow to billions of users producing constant content. The question becomes- how do moderators keep up with this growing scale?</p><p>Due to this vast spread of content, most platform moderators have to resort to reactive content moderation, thereby moderating content that has already been posted. In addition, monitoring this vast content requires a huge human workforce. In 2019, <a href="https://www.theverge.com/2019/2/25/18229714/cognizant-facebook-content-moderator-interviews-trauma-working-conditions-arizona">Facebook had 15,000 full-time worldwide</a> content moderators in order to flag malicious content. The problem is that even if the content is posted on the platforms for a short amount of time, the malicious content still impacts the users on the platform. Another consideration is the toll it takes on these moderators to continuously be filtering through constant disturbing and sometimes traumatizing content, which commonly leads to moderator burnout.</p><p>Another challenge surrounding content moderation is defining appropriate policies. Defining when and how to delete or label objectionable content without crossing the line of stifling users’ free speech to engage in the dialogue of their choice is tricky. The pressure is definitely high for social platforms to deal with offensive content swiftly, but finding the correct balance has been proven to be quite tricky.</p><h3>The Significant Role AI Plays in Content Moderation</h3><p>How do you monitor vast amounts of content? Well, artificial intelligence can play a crucial role in accurately moderating user-generated content. This is accomplished with the help of machine learning algorithms that learn from the existing data, which in turn allows content moderation teams to review and make further decisions in this process. AI infuses automation into the moderation process resulting in faster delivery and error-free results. This process is generally handled in two phases: pre-moderation and post-moderation.</p><p>In the pre-moderation phases, AI can help flag content that needs attention from human moderators. This can be done by keywords, image detection, or object detection methods. In the post-moderation phase, automation can help flag inappropriate content according to a set of guidelines allowing moderators to check the flagged content and make decisions accordingly.</p><p>Overall, <strong>AI assists human annotators in being more productive</strong> and can help define which content needs to be re-assessed by human moderators, saving them loads of time and frustration.</p><h3>Classifying Content Moderation Types</h3><h3>Image and Video</h3><p>Object detection is a visual analysis that can identify images. This is essential in order to be able to identify targeted objects that may be inappropriate in images or in videos that are not up to your platform’s standards. Techniques involve the use of different algorithms that are able to detect harmful image content and pinpoint it on the image or video. When it comes to video moderation, it is required that the entirety of the video is analyzed from start to finish or scene-by-scene. Computer vision techniques review each and every shot to ensure the content is appropriate.</p><p>When it comes to images and videos a major challenge is the large ontology sizes. Defining the guidelines to detect inappropriate content is not only time-consuming, but it is also not feasible to search among all the labels of all the images on hand.</p><h3>Text</h3><p>Understanding text is not just about understanding the written word, it also involves understanding the intent of those words. Text classification assigns categories to analyze the context or the sentiment of the text according to labels such as positive, negative, or neutral, usually referring to the tone of the text; this is referred to as sentiment analysis.</p><h3>How are AI companies assisting in content moderation?</h3><p><strong>Scene Text Recognition (OCR)</strong> is a task that entails locating and recognizing the textual content, embedded in the images and the frames of the videos. This can surely be a cumbersome task, especially when you have professional images that contain a lot of text such as conference, lecture slides, quotes, etc. OCR allows you to identify offensive text, objects, and body parts within all types of unstructured data and moderate it accordingly.</p><p><strong>Natural language processing (NLP) </strong>is used in order to give a synopsis of text as well as extract the emotion connected to that specific text. This task is accomplished by locating and recognizing the textual content embedded in the images (this is also relevant to videos). NLP is used in order for computers to get a grasp of the human language. This is accomplished with techniques such as keyword filtering in order to flag and remove offensive language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hdpAv_-mNh8AXCDY" /></figure><p><strong>Visual/Video Moderation: </strong>Bounding Boxes/Polygons/Polyline/Ellipses/3D Cuboids — having these types of tools gives you flexibility in order to detect, locate, and define inappropriate objects in images and videos. Once detected, you can easily track an object across multiple frames and image sequences using unique identifiers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u5X_kXKrJco2UQwa.png" /></figure><p><strong>Automation</strong> can provide you with a variety of AI-Assisted tools and automation in order to speed up detection processes. You can integrate your own ML models to trigger auto-annotation of data. This allows a platform such as <a href="http://dataloop.ai/">Dataloop</a> to utilize active learning to progressively increase AI accuracy, which will eventually lead to a point where human intervention is required to handle use cases. Another automation capability is automating functions like cutting video files into individual frames, selecting only high variance items for manual annotations, enhancing the image and video quality, uploading sampled data to train/test the set. Overall, AI automation helps support human moderators by speeding up the review process.</p><h3>Effective Content Moderation with Dataloop</h3><h4>When it comes to content moderation tools, how does Dataloop outshine the competition?</h4><p>Media and content applications require high volumes of targeted data in near real-time, meaning models must perform well at scale and in diverse environments. At Dataloop, we try to focus on incorporating human knowledge and machine learning. We want real-time humans to validate content to ensure that no harmful content goes out. Dataloop accelerates machine learning projects, by adding human validation in a continuous loop, improving the likelihood of success when shifting the model out of the lab and seamlessly transferring it to the real world.</p><h4>How does Dataloop reduce the costs and improve the process?</h4><ul><li>Dataloop provides a semi-automated model assessment.</li><li>We can help you create your first model (even pre-trained data). This will reduce the amount of data that needs to be reviewed by a human being.</li><li>Built-in automation tools to ensure quick work which in turn saves you money</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tz56ISpxV3Dn0JY7" /></figure><h3>Key Points to Consider When Investing In a Platform</h3><ol><li>Better instructions/guidelines: to detect malicious content. This helps to define the issues and enable them to communicate what needs to be flagged and annotated.</li><li>More automation: AI-assisted tools and automation speed up the detection process and improve your model-generated content categorizations. Pre-annotating data prior to human labeling turns the manual annotation process into a simple auditing task. Labeling teams can save around 60%-90% of time spent on every batch.</li><li>Robust search tool: To help search among large topic tags at different levels which makes the process more efficient and effective. This enables you to find what your data doesn’t have or what edge cases you may have missed. When building an AI model, you’re building a communication system between human knowledge and a machine. This machine essentially knows nothing and the only way to teach it is by feeding it with examples. You’ll also need to figure out if you’ve fed the model all examples and if possible, you have some cases that are under-represented in your data.</li><li>ML and human-in-the-loop: reduce the moderator’s exhaustion and help in detecting more volumes of “bad” content. Human-in-the-loop accelerates machine learning projects, by adding human validation in a continuous loop, improving the likelihood of success when shifting the model out of the lab and seamlessly transferring it to the real world.</li></ol><h3>Summed Up</h3><p>Keeping up with user-generated content is going to continue to be a struggle. The advantage of moderating your content in near real-time allows users to keep up with the expectation of having content available upon posting. At the same time, viewers aren’t going to be exposed to as much harmful or inappropriate content. The task becomes even harder when you’re trying to scale your content and trying to ensure your moderators don’t burn out. But you can easily manage it with Dataloop’s intuitive platform that offers a wide variety of AI-assisted tools and automation that makes the detection processes faster and improves your model-generated content categorizations.</p><p>Social media platforms will continue to grow and naturally so will the content generated by their users. It is imperative that these platforms successfully manage and moderate the content created on them. Find out how Dataloop assisted LinkedIn, a network with over 740 million users across 200 countries in dozens of languages moderate their content.</p><p><em>Originally published at </em><a href="https://dataloop.ai/blog/content-moderation-machine-learning/"><em>https://dataloop.ai</em></a><em> on January 25, 2022.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98b7c7a615a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>