<?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 Marina Estévez-Almenzar on Medium]]></title>
        <description><![CDATA[Stories by Marina Estévez-Almenzar on Medium]]></description>
        <link>https://medium.com/@marinaestvezalmenzar?source=rss-c4fb2c4fef5e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CP2g3lcjgTwQ8AAc9NA1Rg.jpeg</url>
            <title>Stories by Marina Estévez-Almenzar on Medium</title>
            <link>https://medium.com/@marinaestvezalmenzar?source=rss-c4fb2c4fef5e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:39:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marinaestvezalmenzar/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[The Relevance of Non-Human Errors in Machine Learning — a quick overview]]></title>
            <link>https://medium.com/@marinaestvezalmenzar/the-relevance-of-non-human-errors-in-machine-learning-11c0d3a98dc5?source=rss-c4fb2c4fef5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/11c0d3a98dc5</guid>
            <category><![CDATA[trustworthy-ai]]></category>
            <category><![CDATA[error-analysis]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[model-evaluation]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Marina Estévez-Almenzar]]></dc:creator>
            <pubDate>Wed, 03 Aug 2022 12:37:02 GMT</pubDate>
            <atom:updated>2022-08-04T14:40:50.124Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently had the great opportunity to present our paper <a href="http://ceur-ws.org/Vol-3169/paper5.pdf">The Relevance of Non-Human Errors in Machine Learning</a> at the <a href="https://sites.google.com/view/ebem2022/home">first international workshop on AI Evaluation Beyond Metrics (EBeM)</a>, held in Vienna on 24 July 2022 during <a href="https://ijcai-22.org/">IJCAI-ECAI 2022</a>. The intention of this post is to offer a brief and informal summary of our paper and to expand a little on the presentation I made during the workshop. But first things first: I want to thank the workshop reviewers for their helpful and enriching comments, and the organisers for a wonderful first edition that I hope will have a long life!</p><p>The most recurrent feedback I received from reviewers was not really in the form of comments, but rather something akin to the feeling you get when a film ends without giving you the kind of explanation you expected:</p><p><em>But I don’t get it, what are the new metrics you are proposing?</em></p><p>Well, there are no new metrics in this work. Not even old metrics. Nor an in-depth analysis of some of the results. Just the idea of taking a different approach than usual when evaluating a machine learning model. That is why I like to think of this short paper as a preliminary work, presenting and justifying some concepts so that we can contribute to decentralising the usual approach that dominates the training and evaluation procedures of machine learning models.</p><p><em>Give me some context; decentralisation of training and evaluation procedures for machine learning models?</em></p><p>It is not a secret that the current practice of evaluating machine learning models focuses mainly on the accuracy obtained during model validation, a tendency inherited from the fact that the training of these models focuses on maximising their accuracy. And don’t get me wrong, of course accuracy is important, but the current understanding of accuracy is solidly based on a quantitative approach that pays little attention to many other factors that could be of great relevance. The habit of inducing this machine-centricity is causing the solutions proposed by the machine to ignore some important aspects of human perception not only in developing a solution to a problem, but also in delivering that solution. It is essential for humans to carefully study the potential errors associated with the proposed solution. In the same way, we require that if the proposed solution presents errors that may entail risks, these are reported. Let’s see why.</p><h4>The Elevator Problem</h4><p>Imagine that you enter a skyscraper. You need to get to a very high floor, so you head towards the elevator and find a sign that says:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*o6YpkuFZkV0cDX4xFAJu4g.png" /></figure><p>I am pretty sure that most of you wouldn’t take the elevator, would you? However, if the sign said:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*7V-RH0t3MZ0nhNsYirPDQg.png" /></figure><p>Then you would probably take the elevator. But the difference is only in the explanation of the error. With it, you are able to assess the possible consequences and act accordingly.</p><p>Along the lines of this example, nowadays, machine learning models are being trained and evaluated primarily on the basis of successes rather than failures, and since we generally keep failures in the background, we do not take into account the potential harm of model errors.<br>And that is precisely our intention in this paper: we propose to make an effort to identify and differentiate these errors and organise them hierarchically, so that we can use this information to provide a more meaningful and reliable evaluation of these models.</p><p><em>Ok. But what do you mean by “organising the errors hierarchically”?</em></p><h4>The Error Taxonomy</h4><p>Let’s go back to our elevator. Let’s imagine that we delve into the details of our elevator’s failures and discover that 85% of the errors consist of the elevator taking you to the wrong floor, 12% of the errors consist of the elevator stopping, and the remaining 3% of the errors consist of the catastrophic event of the elevator falling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*gMr1hmqi1N48hcL63dtQCA.png" /></figure><p>Now we could still address this scenario in a quantitative manner: <em>Ok, we should work on minimizing the “wrong floor” errors because these corrections would have the greatest impact in terms of improving the total accuracy of the elevator.</em></p><p>But since this hierarchical structure of error (which we will call the <strong>error taxonomy</strong>) is constructed on the basis of the risk associated with the different errors, we can take a qualitative approach and state: <em>We should certainly work on the eradication of “the elevator falling” error, even if that means a reduction in overall accuracy.</em></p><p>But now you might think (and you would be right) that this idea of defining a taxonomy of errors depends very much on the use case we consider, and that the complexity of distinguishing and categorising errors increases a lot when the example is no longer a toy example.</p><p><em>This approach would be inefficient, even infeasible if we wanted (and indeed want) to apply it in a general way.</em></p><p>And that is why in this paper we define the concept of non-human errors.</p><h4>The Non-Human Errors</h4><p>Now imagine that we are given a binary problem. The solution space for this problem is a white sheet of paper. We are also given the Ground Truth that solves this problem, and it appears as a green sphere on the sheet such that the true positive answers are inside the green sphere, and the true negative answers are outside.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*3Qf7nHQstcUQfXKwsNMdmA.png" /></figure><p>We now consider two agents trying to solve the problem. A human and a machine. The human appears as a blue ellipse and the machine as a red triangle. The points inside the blue ellipse are the points predicted as positive by the human, and the points inside the red triangle are the points predicted as positive by the machine. The same logic applies to the points outside the figures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*9TTL1lioAdxEzzQg3NNM3w.png" /></figure><p>It is trivial to deduce which are the common correct predictions between the human and the machine:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PFWOU4kvfO8kodmS4whiuQ.png" /></figure><p>But what we are really interested in are the errors. Let’s look at the different types of errors we can find if we distinguish between errors committed by each agent separately and those committed by both agents together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*wP_OzLtwXsASwNdpqBJ7Rw.png" /></figure><p>It is reasonable to think that those errors that humans would not make, those that are atypical for humans, can have dangerous consequences because they are unexpected. It is difficult for us to explain and control these errors because we, as humans, would not have made them.</p><p>So we will take these errors, the ones that are furthest from the errors that a human could make, and call them <strong>non-human errors</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*vA2z3v8yCg4PqiqXpJvxig.png" /></figure><p>So far so good. We have this taxonomy of errors as a potential tool to work on this decentralisation of the usual model evaluation procedure, and we have this category of errors, the non-human errors, which could help us to build the taxonomy in a more general way. But so far it all seems rather abstract, so let’s get a little bit closer to reality.</p><h4>Proof of Concept</h4><p>In our work we carried out a fine-grained image classification problem with the <a href="https://www.robots.ox.ac.uk/~vgg/data/pets/">Oxford-IIIT Pets Dataset</a>, containing images of different breeds of cats and dogs. We checked the top-ranked models solving this task and we selected the <a href="https://arxiv.org/abs/1912.11370?context=cs">Big Transfer model</a> (specifically, the BiT-M network), which reaches more than 94% of accuracy for the mentioned dataset.</p><p>Given this problem, it is quite direct to imagine or hypothesise which would be the non-human errors. We could understand that two dogs (or two cats) from the same category of breeds were mixed up, and we could even understand that two dogs (or two cats) from different categories were mixed up. But it would be humanly illogical to mistake a dog for a cat, or a cat for a dog. So these will be the errors that we will be considering as non-human errors: mistaking a cat for a dog, or vice versa.</p><p>For this problem, we propose a simple classification tree as a taxonomy of the error. The following figure shows part of this taxonomy (the complete taxonomy has 25 dog breeds and 12 cat breeds). In red, we can see one of the non-human errors made by the BiT-M model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*51t2ViyAfzBL1pDRA-P7hw.png" /></figure><p>We re-evaluated the model adopting this error perspective and found that more than 3% of the errors were non-human errors, meaning that out of 241 total errors, 8 were non-human errors. Here we can see some of them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*5wtRyxGQVicLeerlc5XhvQ.png" /></figure><p>In the confusion matrix below, we can see all non-human errors as light-coloured squares in the upper right and lower left rectangles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*o6Q5bodb38m021KfRGF6Ng.png" /></figure><h4>Summary and Conclusions</h4><p>As I mentioned at the beginning of this post, this is primarily a conceptual paper. Our main intention is to present two concepts: error taxonomy and non-human errors. We believe that error taxonomy can function as a potential tool to evaluate machine learning models in a more transparent and informative way, providing an approach that does not focus only on maximising accuracy. Differentiating the category of non-human errors can help to build this taxonomy in a general way, providing some clues as to which errors might be the riskiest, with some independence of the use case.</p><p>You can find a simple notebook containing all the computations done for this work <a href="https://github.com/ealmenzar/non-human-errors">in this Github repository</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11c0d3a98dc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>