<?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 Evam Kaushik on Medium]]></title>
        <description><![CDATA[Stories by Evam Kaushik on Medium]]></description>
        <link>https://medium.com/@evamkaushik?source=rss-33cf41074f59------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*64zc5Jdq1OVBPRnwVdFxUw.jpeg</url>
            <title>Stories by Evam Kaushik on Medium</title>
            <link>https://medium.com/@evamkaushik?source=rss-33cf41074f59------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:43:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@evamkaushik/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[Stochastic Parrots, Universe Pies, and Chinese Rooms]]></title>
            <link>https://medium.com/@evamkaushik/stochastic-parrots-universe-pies-and-chinese-rooms-3ef7ba8a1742?source=rss-33cf41074f59------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ef7ba8a1742</guid>
            <category><![CDATA[philosophy-of-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[research]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Evam Kaushik]]></dc:creator>
            <pubDate>Sat, 28 Feb 2026 04:36:09 GMT</pubDate>
            <atom:updated>2026-02-28T04:36:09.195Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why Better Candles Won’t Give Us a Light Bulb</h3><p>At DICTA 2025 in Adelaide, recalling when Prof. Anton van den Hengel delivered his keynote by pulling us <em>above</em> the technical details and asking a simple but uncomfortable question about AI:</p><blockquote>“What are today’s large models actually doing?”</blockquote><p>When he described current large language models as <strong>“stochastic parrots,”</strong> the audience laughed, but it was the kind of laugh that says</p><blockquote>“I recognise the uncomfortable truth in that.”</blockquote><p>His point was that modern models are astonishingly good at predicting the next token, one step at a time. They can generate essays, code, explanations, and even reflections about themselves. It all feels very human. Our instinct is to anthropomorphise them; to mistake <em>human-like output</em> for <em>human-like understanding</em>. Under the hood, though, the basic game is still the same: next-token prediction over a large context.</p><ol><li><strong>We won’t get to AGI just by scaling Transformers.</strong></li><li><strong>The real frontier lies in memory, online learning, and new architectures.</strong></li></ol><p>That first point is where I found myself nodding the hardest. I often translate it into a line I like to repeat to myself:</p><blockquote><strong>The light bulb was not invented by improving the candles.</strong></blockquote><p>Scaling up models: bigger networks, more data, cleverer training tricks — might give us incredibly good “candles,” but at some point you need a different idea entirely. So let’s deep dive into the words of the Maestro and my own ¢2.</p><h3>Beyond tuning the same dials</h3><p>One way to see recent progress in AI is as a careful tuning of a few big “dials”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rKVgdgyeNuD4jMWFdDZdWw.png" /><figcaption>Welch Labs on YouTube</figcaption></figure><ul><li>Model size</li><li>Dataset size and filtering</li><li>Training tricks (instruction tuning, RLHF, etc.)</li><li>Context window length</li></ul><p>These are powerful levers, and conferences every year are full of work that shows how far you can go by tuning them.</p><p>Anton’s critique isn’t that these dials are unimportant. It’s that they all live within the same basic setup: a giant Transformer doing next-token prediction with mostly static weights.</p><p>My extension to his argument is:</p><blockquote>We don’t just need new dial settings; we need new <strong>dimensions.</strong></blockquote><p>Those new dimensions might come from:</p><ul><li><strong>Neuroscience</strong> — How do brains tie together perception, memory, and action over time?</li><li><strong>Embodied cognition</strong> — What changes when intelligence is rooted in a body that moves and fails in the world?</li><li><strong>Mathematics &amp; complexity theory</strong> — Are we implicitly asking AGI to behave like a solution to an <strong>NP-hard or even NP-complete meta-problem</strong>?</li><li><strong>Philosophy (and even religion)</strong> — Long-running attempts to understand consciousness, agency, and meaning.</li></ul><p>Right now, much of AI research is still framed as “given a big Transformer, how far can we push it?” Anton’s talk felt like permission to widen that frame.</p><h3>Embodiment and the blind-to-sighted thought experiment</h3><p>(And my favourite Philosophical Crossroads)</p><figure><img alt="A person in a room with a Chinese rulebook can perfectly mimic understanding Chinese by manipulating symbols, proving that AI can simulate intelligence without having any real understanding or consciousness." src="https://cdn-images-1.medium.com/max/1024/0*AkJxruVM9dZMgA6L.png" /><figcaption>A person in a room with a Chinese rulebook can perfectly mimic understanding Chinese by manipulating symbols, proving that AI can simulate intelligence without having any real understanding or consciousness.</figcaption></figure><p>Anton referenced the <strong>Chinese Room</strong>: following symbol manipulation rules doesn’t automatically imply understanding. That connects, for me, to a different thought experiment:</p><blockquote>Imagine a person born blind who is taught everything about the world from textbooks: geometry, physics, stories, detailed descriptions of apples, faces, and landscapes. Then, as an adult, they suddenly gain sight.</blockquote><p>Would they immediately recognise an apple just by looking at it? And to what degree?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tVhaAMHfqOQ4fJaAuF31fQ.png" /><figcaption>Degrees of Aphantasia</figcaption></figure><p>Instinctively, most of us feel: probably not. Their concept of an apple is grounded in touch, smell, use, not vision. Vision would have to be integrated into that existing, embodied model of the world over time, through interaction.</p><p>Now compare that to how we train current models:</p><ul><li><strong>Training</strong> is like teaching the blind learner via text. The model is exposed to enormous amounts of written (and sometimes visual) data, but not to a lived loop of acting in and being changed by the world.</li><li><strong>Standard Models do not update weights during inference.</strong> They compute an output, then reset. Any “learning” happens later via fine-tuning or retraining.</li><li>Whereas humans <strong>do update continuously</strong> (synapses, attention, short-term and long-term memory) while perceiving and acting.</li><li>After the output, the model essentially <em>resets</em> to its prior weights. There is no lasting memory trace from that specific experience.</li></ul><p>In other words:</p><blockquote>A model that only truly “exists” for the duration of a forward pass does not internalise concepts in the same way humans do.</blockquote><p>It may encode rich statistical structure in its parameters, but it doesn’t <em>tap into</em> those structures with the same intuitive, action-ready feel that an embodied agent has. It can talk about apples, but it has never tried to pick one up and dropped it on the floor.</p><p>This is where anthropomorphism becomes dangerous. When the model speaks fluently about emotions, ethics, or everyday life, we naturally imagine a human-like inner life behind the screen. But under Anton’s lens, it might be closer to the hyper-educated blind learner: superb at answering questions from descriptions, briefly “seeing” during a forward pass, but never allowed to go out and live inside those concepts.</p><p>That raises a question we often skip past:</p><blockquote>Do we want AGI to mirror <strong>human-like, embodied intelligence</strong>, or are we content with a very powerful but fundamentally different kind of intelligence?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uSevesngGA6GoyRybRnYaw.png" /><figcaption>The Crutch of Anthropomorphism: Who’s more “Robot”? C-3PO from Star Wars or TARS from Interstellar?</figcaption></figure><p>Anton doesn’t impose an answer, but he makes it harder to pretend that distinction doesn’t matter.</p><h3>Infinite knowledge and the Sagan problem</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/0*z-Hwunh-hDwNIsS-" /></figure><p>Carl Sagan famously said:</p><blockquote>“If you wish to make an apple pie from scratch, you must first invent the universe.”</blockquote><p>Applied to AGI, it becomes:</p><blockquote>If we want an AI that “knows everything about humans”, we might first need to <strong>teach it</strong> more of the universe than we ourselves understand.</blockquote><p>We sometimes talk about AGI as if we’re asking for a kind of <strong>perfect cookbook</strong> that:</p><ul><li>Teaches you how to read</li><li>Teaches you the language</li><li>Teaches you physics and culture</li><li>And also contains every recipe you might ever need</li></ul><p>In complexity terms, this sounds a bit like demanding a solution to an <strong>NP-hard or NP-complete meta-problem</strong>: for any task, in any domain, produce a near-optimal answer, with limited information and moving targets.</p><p>I don’t mean AGI is literally NP-complete in the strict formal sense. But the metaphor is useful: what we’re asking for is combinatorially huge. That’s a hint that “one giant pre-training run, then freeze the weights” is unlikely to be enough.</p><p>If the problem is anywhere near that broad, Anton’s emphasis on <strong>memory and online learning</strong> becomes non-negotiable. You can’t bake the whole universe into a single static matrix and call it finished. Any serious attempt has to <strong>grow into</strong> knowledge, continuously, selectively, and safely.</p><h3>Incremental progress still matters (hello, double descent)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*MnwqKS-Zeh5rfTSB" /><figcaption>Welch Labs on YouTube</figcaption></figure><p>With all this talk about new paradigms, it would be easy to dismiss incremental progress as unimportant. I don’t think that’s right.</p><p>The <strong>double descent</strong> phenomenon in neural networks is a perfect reminder that small steps can reveal big surprises. As you increase model capacity, test error can:</p><ol><li>Decrease (as expected),</li><li>Then <em>increase</em> again (worse generalisation),</li><li>Then <strong>decrease once more</strong> as capacity grows even further.</li></ol><p>That behaviour isn’t what classical intuition would predict. We only discovered it because people kept pushing scale, plotting curves, and paying attention when they looked strange.</p><p>So there’s a balance to strike:</p><ul><li><strong>Yes</strong>, we need new dimensions , architectures with real memory, online learning, and maybe a very different relationship to embodiment.</li><li><strong>But also yes</strong>, we still learn a lot from each incremental improvement, each odd curve, each failed attempt to squeeze a few extra percent out of an existing method.</li></ul><p>And there’s a subtler point too:</p><blockquote>Looking closely at <strong>why</strong> we keep returning to candles — what they solve, what we tolerate in their limitations, what we’re afraid to change — tells us something about our own internal workings as designers and researchers.</blockquote><p>Understanding those needs is part of understanding what kind of “light bulb” we should actually be aiming for.</p><h3>In The End</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0pOmjZiYmhAdUv4v.jpg" /></figure><p>Walking out of Anton’s keynote, a few things felt clearer:</p><ul><li>Today’s large models are extraordinary <strong>stochastic parrots</strong>, not general minds.</li><li>Their core limitations — local next-token prediction, static training, lack of persistent memory and embodiment — are conceptual, not just engineering details.</li><li>If we’re serious about AGI, we’ll probably need architectures with <strong>online learning</strong>, <strong>explicit and structured memory</strong>, and objectives that care about <strong>global behaviour</strong> rather than just local token probabilities.</li><li>Real progress will likely involve <strong>new dimensions of thinking</strong> — from neuroscience and embodiment to philosophy and complexity theory — not just bigger GPUs and longer context windows.</li><li>And yet, the incremental work we do today — including the kind of SOTA vision research on display at DICTA — still matters. It maps out the landscape of our current tools and shows us where they crack.</li></ul><p>Most of all, the talk reinforced one conviction for me:</p><blockquote><strong><em>We won’t invent the AI “light bulb” by endlessly polishing the candle.</em></strong></blockquote><p>But it’s not just about understanding candles better. It’s about understanding <strong>our need for candles</strong> — what problems they’re really solving for us, what trade-offs we’re willing to live with, what fears they hide, and what aspirations they hint at.</p><p>If we examine those needs as honestly as we examine our models, the design of the “light bulb” might emerge less as a stroke of genius and more as an unavoidable consequence of truly understanding ourselves.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ef7ba8a1742" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you a Printer or a Painter?]]></title>
            <link>https://medium.com/@evamkaushik/are-you-a-printer-or-a-painter-6ef7db55436c?source=rss-33cf41074f59------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ef7db55436c</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[honesty]]></category>
            <category><![CDATA[patience]]></category>
            <category><![CDATA[kindness]]></category>
            <dc:creator><![CDATA[Evam Kaushik]]></dc:creator>
            <pubDate>Sun, 05 Feb 2023 09:14:00 GMT</pubDate>
            <atom:updated>2024-10-06T09:01:28.819Z</atom:updated>
            <content:encoded><![CDATA[<p>An Ode to the Expression of Faith in the Mechanics of the Universe</p><p>Let me ask you a simple question,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*YuvhC9rO20VhKw8nRp4xKA.png" /></figure><p>If this entire article was to be summarised in a single tweet, it’d be this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*p1pAeXJ-cptYSHZb7I2XhQ.jpeg" /></figure><p>You move a house <em>brick by brick.</em></p><blockquote>Why the sudden interest in masonry logistics, you say?</blockquote><p>The house, of course, is the metaphor for colossal tasks in life. Long projects that will feel unfinished up until the very last brick is moved to its new place. And what I have to say about it is that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3pEVySYR9_6nMMjKm8GsXw.png" /></figure><h3>Don’t be a printer.</h3><p>A printer has no patience. The moment a command is given it begins whirring and buzzing and gets busy <em>finishing</em> the task. It makes no improvisations, no mistakes, and is fairly dreadful of employing any sort imagination. Ask a printer to print a beautiful flower and here’s what it does:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fi6izaVvaCqP65wxT45rvA.png" /></figure><p>It has no favourite colour, no part of the flower it’s looking forward to draw the most eagerly. All’s the same, each step towards completion looks like how it’s supposed to look like once completed. To move a house from one place to other this way would be:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*un_Rs5Y7qX7rM5OmeSpwZA.png" /><figcaption>Little Blue Mr. Steve is giving it his all. Perhaps the only mistake he’s making is giving it his all.</figcaption></figure><p>The house won’t move even if you’re pulling with 99% of the strength needed. Anything below the 100% of the <em>currency of your vitality</em> will not add to the final progress. And you will begin to doubt if it’s ever possible. Instead,</p><h3>Be a painter.</h3><p>Instead, when you move a house brick-by-brick, you won’t find the task to be herculean. It will come naturally to you and you won’t remind yourself of the magnitude of the toil.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*_-ehNdQ-ImgLpFy2C8poAA.png" /></figure><p>With more steps in the process, you will make more mistakes. But if you don’t let yourselves feel <em>disheartened, stressed or intimidated</em> by them then you will learn from them and even have some fun doing so. You will make <em>new</em> mistakes and not <em>big</em> mistakes. The silly ones, the harmless ones and the creative ones. And if you do it right, you will overcome them all.</p><p>Have patience and take your time. It’s a <strong>house</strong> you’re moving.</p><blockquote>“A delayed game is eventually good, but a rushed game is forever bad.”</blockquote><blockquote>— Shigeru Miyamoto, Game Director, Nintendo</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*oyIbDPfmPGYmowR2rxvPqg.png" /></figure><p>Do not magnify the problem just to have a chance at solving it <em>heroically, </em>nor to gather sympathy to cushion your failures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*GJ4rjGg-rjKG88sXGEvjtA.png" /></figure><p>Let the challenges take you back and forth. Chalk-up plans, scratch it up, make new ones. Hammer down, drill in and put it together; make a magnificent mess. It’s not your task to conquer challenges. It is to ascend them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*FYyFFq9NJR7hGK9huFsCOw.png" /></figure><p>A painter loves the whole flower, every part of it. Each stroke, each drop of paint, and each shape is a story of his thoughts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQulBP2EX3MpBrZ0SN4RuA.png" /></figure><blockquote>“The man who moves a mountain begin by carrying small rocks.” — Confucius</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ef7db55436c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A True Level Up]]></title>
            <link>https://medium.com/@evamkaushik/a-true-level-up-c6b72c90a4ca?source=rss-33cf41074f59------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6b72c90a4ca</guid>
            <category><![CDATA[chill]]></category>
            <category><![CDATA[awareness]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Evam Kaushik]]></dc:creator>
            <pubDate>Mon, 05 Dec 2022 15:22:10 GMT</pubDate>
            <atom:updated>2024-01-28T04:45:25.329Z</atom:updated>
            <content:encoded><![CDATA[<p>My Philosophy on Solving the Grander Battles in Life</p><blockquote>Ok so I lied. It’s more about ‘c<em>ontributing’</em> to the grander battles in life but blah … comes down to be the same.</blockquote><p>This article is the product of me going over some of my thoughts and finding a connector in them. It begins by sieving hyper-specialisation and breadth-expansion, where the former is about taking a deep concentrated plunge into a topic and the latter is about connecting variables from different domains to build a collective understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*TK975N1jrHPKrnlz02XYew.jpeg" /><figcaption>Doodlaic Representation of my thoughts</figcaption></figure><p>I conclude that when you can put a face on the problem, you hyper-specialise to deal with it. You can treat it like a rival. You will develop and upskill yourself just and exactly to beat that specific problem. But if the problem is vague it will reveal more about yourself. You will need to tweak and tune parts of yourself to have a solution to arise from you, and so, learn to let facets of your life to lend their learnings to each other.</p><blockquote>But, hey man, can’t I just learn to identify every problem so I can put a face on it and beat it as it is?</blockquote><p>Yes.</p><p>But not directly and not all the time. You see, what’s going to happen when you approach a problem breadth first is that you will eventually reach a state where you identify a face for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ObtSTMHyxqng98AER8A-nQ.jpeg" /><figcaption>Important Historical Figures before carving different paths of life, Naruto Universe</figcaption></figure><p>Take the case of Sage Hagoromo choosing a successor for his Ninshu creed from his sons (from the Naruto Universe by Masashi Kishimoto). He leaves them each with a test, to resolve the domestic problems of a couple of neighbouring villages. Indra, the prodigy (who here represents hyper-specialisation), is skilled and smart. He ends up fixing his assigned village’s problem in merely a couple of weeks and returns. His brother Ashura, the slow but virtuous one (who here represents breadth-expansion), returns after more than a year after doing his part, and accompanied by three followers too. When questioned why he took so long, he reveals that he stayed there and helped the people learn the problem too. He empowered them to solve their problems, functioning as a catalyst to their progress.</p><blockquote>If your job is to build a car, learn to build a car-building factory with it.</blockquote><blockquote>— Evam Kaushik</blockquote><h3>And so</h3><p>The illustration below is the solution I mean to suggest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9BZ9s57jDMhm8u78rMHNlw.jpeg" /><figcaption>My bedside diary to document mini-epiphanies</figcaption></figure><p>My handwriting isn’t the prettiest so I’m going to write it down too.</p><ul><li>Stack up tasks in the decreasing order of difficulty/effort.</li><li>Go over the layers over-and-over. Do not hyper-fixate on just one task/solution.</li><li>Do not compare progresses.</li><li>Let the momentum of each finished low-level task carry you updraft.</li><li>The effort will only start making sense much later.</li></ul><p>And finally, this article isn’t a guide to using this thought to some ‘<em>productivity advantage</em>’. This is me reporting my understanding of how I think this works. You must deduce your own interpretation and colour it with our own thoughts. As with all hacks, strategies, tweets or self-help books must come a regulatory disclaimer that says:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*KahPREfaAyhSoQIPYn0Nkw.jpeg" /><figcaption>Tom Gauld for New Scientist, The Casual Optimist</figcaption></figure><p>Thank You.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6b72c90a4ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics of Shape Modelling]]></title>
            <link>https://medium.com/@evamkaushik/basics-of-shape-modelling-3ab18c3c485f?source=rss-33cf41074f59------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ab18c3c485f</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[biomedical-engineering]]></category>
            <category><![CDATA[shape-modelling]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Evam Kaushik]]></dc:creator>
            <pubDate>Wed, 22 Sep 2021 10:45:42 GMT</pubDate>
            <atom:updated>2021-09-27T06:00:26.009Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mathematics of Statistical Shape Modelling (An Overview)</h3><p>This article explores the intuitive understanding of the mathematics behind statistical shape modelling. It deals with turning numbers and equations to shapes for analysis. Our focus will be learning about anatomical shapes and how statistical shape modelling is useful in this line of work.</p><h3>What are Shapes?</h3><p>There are shapes all around us. From a round ball to a square box, any closed curve is a shape. For this article (or an article series if I overcome procrastination ) we will be talking only about 2D shapes. We will call themThank you for reading. I hope you have a better understanding about the mathematics behind statistical shape models now. <em>geometric shapes.</em></p><blockquote>Geometric Shapes can be defined as figure or area closed by a boundary which is created by combining the specific amount of curves, points, and lines.</blockquote><p>Note that geometric shapes retain their properties upon change in orientation (rotation) and change in size (scale). So a triangle remains a triangle even if you change its size or rotate it. This, however, does not hold for <strong>anatomical shapes</strong> which only survive rotation. Which is obvious as you wouldn’t want to get the size of an organ wrong during a treatment.<br>Hence an <em>anatomical shape</em> is defined as</p><blockquote>All geometrical information that remains when location and rotational effects are filtered out from an object.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YcL4kalOXQRNm1Tydg8ZSg.png" /><figcaption>Fig 1. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/16859">Notations of Shape Modelling</a> by Dr. Marcel Lüthi. Shapes are mathematically represented using point coordinates. A contour is a continuous boundary consisting of theoretically infinite points.</figcaption></figure><p>Different objects of the same shape are called to be a part of the shape family (e.g. isosceles triangles, equilateral triangles and scalene triangles all belong to the triangles family). Shape variations within a shape family can be modelled by a normal distribution. They are known as <em>point distribution models</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9aNbAxA03gB91YtA0635TQ.png" /><figcaption><a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/16859">Fig 2. Notations of Shape Modelling</a> by Dr. Marcel Lüthi</figcaption></figure><h3>Multivariate Normal Distribution</h3><h4>Normal Distribution</h4><p>A normal distribution is a probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean. It looks like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wx2ubC8pHZSiNavCBaW_5A.png" /><figcaption>Fig 3. <a href="https://www.scribbr.com/statistics/normal-distribution/">A normal distribution of SAT scores for the year 2020</a>. Note how the most frequent scores occur around the mean. Another interpretation will be that extreme values occur seldom.</figcaption></figure><p>Here is a general example of a probability density normal distribution curve. A probability density curve predicts how likely a value can occur in a distriibution. Say, <em>How likely is the score of 1150 in SAT 2020?. </em>This would mathematically be represented as <em>p(x) where x = 1150. </em>From the distribution above, it’s evident that this value is very likely to occur (say <em>p(1150) = 0.8 </em>would mean there’s an 80% chance of <em>x = 1150 </em>occurring in the distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_ZvgQ6BGvmku6bcIjz7JQ.png" /><figcaption>Fig 4. μ : Mean of the distribution; σ : standard deviation of the distribution</figcaption></figure><h4>Univariate Normal Distribution</h4><p>A normal distribution with only one random variable is called <em>Univariate Normal Distribution. </em>For example Fig 3, the normal distribution of SAT scores of 2020, is an example of a univariate normal distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5IW1fVdr03B-8f7lgdplQ.png" /><figcaption>Fig 5. Changing the mean (μ) shifts the position of the peak about the x-axis. Changing the standard deviation (σ) defines how spread out are values around the mean.</figcaption></figure><p>Some properties of the Univariate Normal Distribution are :</p><ul><li>Unimodal Distribution</li><li>Symmetric and centred around the mean</li><li>Values far from the mean quickly become unlikely.</li><li>There will always only be one maxima.</li></ul><h4>Multivariate Normal Distribution</h4><p>In shape modelling, our interest is usually in modelling multiple random variables that we model together. This is done by arranging all those random variables (x₁…xₙ) into a vector x.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/152/1*tDNpsUxEV3_hjf7T2etKsw.png" /><figcaption>Fig 6. x₁,…,xₙ are jointly normally distributed variables</figcaption></figure><p>This vector x follows a normal distribution <em>~N(μ, Σ) </em>with mean vector (<em>μ</em>) and covariance matrix (<em>Σ</em>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/86/1*cRujwwZj_n1NYhZNM0kdTQ.png" /><figcaption>Fig 7. Mean for xᵢ is <em>μ</em>ᵢ.</figcaption></figure><ul><li>The mean vector determines the location of the distribution</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/177/1*1mAIjw1EjaL8SfjOj4zI3g.png" /><figcaption>Fig 8. The shape of the covariance matrix will be n*n</figcaption></figure><ul><li>The covariance matrix determines the shape of the distribution.</li><li>It needs to be symmetric and positive definite.</li></ul><h3>Eample : Bivariate Normal Distribution</h3><p>We will now look at Bivariate Normal Distribution which is a Multivariate Normal Distribution in two jointly normally distributed random variables (x₁ , x₂). The Bivariate normal is defined by</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*J_2T17USqViB7NYRCV7Pow.png" /><figcaption>Fig 9. Note that the covariance matrix (<em>Σ) is written in it’s expanded form using the standard deviation (</em>σ<em>) of each random variable </em>x₁ and x₂</figcaption></figure><p>Let’s now talk about the parameters that define a normal distribution.</p><h4>Mean</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gUFgXMtJH7JxLbWFf60vWA.png" /><figcaption>Fig 10. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29632">Multivariate Normal Distribution by Dr. Marcel Lüthi</a>. We can see the effect of change of the means (<em>μ</em>₁<em>, μ</em>₂<em>) </em>of <em>each random variable </em>x₁ and x₂ on the distribution curve. The mean defines the location of the plot.</figcaption></figure><h4>Variance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_yP2u8ICV-MedxnFy-s4Tw.png" /><figcaption>Fig 11. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29632">Multivariate Normal Distribution by Dr. Marcel Lüthi</a>. The covariance matrix (<em>Σ</em>) is defined using standard deviation (σ<em>).</em></figcaption></figure><p>Here, σ²₁ and σ²₂ determine the effect of each random variable independently on the Normal Distribution.</p><h4>Covariance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NrCHwHYskvNrMKwvg0hP2A.png" /><figcaption>Fig 12. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29632">Multivariate Normal Distribution by Dr. Marcel Lüthi</a>.</figcaption></figure><p>The expression σ₁₂/σ₁*σ₂ is known as <em>covariance. </em>It’s used to determine how the two random variables change with each other.</p><h4>Marginal and Conditional Distribution</h4><p>Now we have reached the final topic of the article i.e. Marginal and Conditional Distribution. When we’re given a full joint distribution but are interested in only a subset of the variables, we utilise Marginal and Conditional Distribution (which are normal distributions) to extract only that subset. Following our example of a bivariate normal distribution (Fig 9.), it answers for us the following questions:<br>What is the distribution of x …<br>- … given we don’t know anything about y<br>- … given we have observed y</p><p>Let x = (x₁, …, xₙ) and y = (y₁, …, yₘ) be jointly normally distributed random variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NPhnRYtVqj8gqaAoNJrqXg.png" /><figcaption>Fig 13. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29632">Multivariate Normal Distribution by Dr. Marcel Lüthi</a>. Note that the mean vector and covariance matrix can be partitioned into blocks with entries from only x or y.</figcaption></figure><p>This can be represented in a simplified notation as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nx8UcJ6B2vdEdgdJrKOaLA.png" /><figcaption>Fig 14. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29632">Multivariate Normal Distribution by Dr. Marcel Lüthi</a>.</figcaption></figure><h4>Marginal Distribution</h4><p>It is defined by simply taking the blocks out of the mean vector and covariance matrix that involve only x. It essentially answers ‘What is the distribution of x given we don’t know anything about y’.</p><pre><em>p(x) = N(μ</em>ₓ<em>, Σ</em>ₓₓ<em>)</em></pre><h4>Conditional Distribution</h4><p>It is defined as distribution of x given y equals tilde_y. It answers ‘What is the distribution of x given that we have recorded y’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/211/1*W_0X395JHV9d2k8sFbaboQ.png" /><figcaption>Fig 15. tilde_y : median of y; <em>μ_bar : mean of μ</em></figcaption></figure><p>where</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*XiPnYfPKjxoL6QwqP-u9Eg.png" /><figcaption>Fig 16. This complicated looking expression is actually just linear algebra and vector multiplication</figcaption></figure><h3>Hands on action (Pun intended)</h3><p>Now that we have learnt the intuitive mathematics behind statistical shape modelling, we can go ahead and discuss a use case for the same. We will now build a very simple model of hand shapes by modelling the variation in the length and the span of the hand using a bivariate normal distribution.<br>In this first, very simplistic example of a shape model, we assume that the shape of a hand can be characterised by only two measurements: the length (l) and the span (s) of the hand (Fig 17). Our job is to now model how these 2 measurements vary in the family of hand shapes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*9JXgKXMDpKqQwOK6.png" /><figcaption><a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29633">Fig 17. </a>Measurements for the length and the span of a hand shape.<a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29633"> Simple shape modelling using the multivariate normal distribution by Dr. Marcel Lüthi.</a></figcaption></figure><p>In this particular example, this assumption implies that</p><ul><li>it is sensible to think of a mean hand (with average length and average span), around which all plausible hand shapes ‘cluster’;</li><li>it is equally likely for hands to be smaller or larger than this mean;</li><li>we are unlikely to ever observe shapes that are much larger or smaller than the mean.</li></ul><p>Our assumptions are confirmed by looking at some data. We have compiled a set of measurements of the hand length and span of 72 students. A scatterplot of these measurements is shown in Figure 18. We see that most measurements concentrate around a size of 19 cm for the length and 20 cm for the span.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*vOJJ6WMfSR2ZEiN1.png" /><figcaption>Fig. 18 Scatterplot showing measurements of the hand span and length of 72 students. <a href="https://www.futurelearn.com/info/courses/statistical-shape-modelling/0/steps/29633">Simple shape modelling using the multivariate normal distribution by Dr. Marcel Lüthi.</a></figcaption></figure><h4>Inferences about Shapes using Models</h4><ul><li>Marginal Distribution for length (l)<br><em>p(l) = N(μₗ, σ²ₗₗ)<br>p(l) = N(19.3, 2.1)</em></li><li>Marginal Distribution for span (s)<br><em>p(s) = N(μₛ, σ²ₛₛ)<br>p(s) = N(20.2, 3.8)</em></li></ul><h4>Observations</h4><p>Variance in span is 3.8 which is greater than variance in length 2.1. Which makes sense as not everyone opens their hands to a different span.</p><p>Furthermore, the span and length are correlated with</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/1*rUcggGgXoukJtbl1uleesw.gif" /><figcaption>Fig. 19 Correlation (ρ) tells us how one random variable changes with respect to another</figcaption></figure><p>If <em>‘ρ’ </em>and <em>‘s’ </em>are given we can calculate <em>‘l’ </em>(or vice versa) using conditional probability as <em>p(l|s).</em></p><p>Let s = 24 and the conditional distribution be</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*J5t3DiHJqbuNXAo22TDsMA.gif" /><figcaption>Fig. 20 Conditional distribution</figcaption></figure><p>Mean <em>(μ) = </em>20.7<em> </em>and<br>Standard deviation <em>(σ) = 1.58<br></em>This suggests that the mean length is 20.7 with a variation of ±1.58</p><h4>Evaluating the probability density</h4><p>It tells us how likely a tuple of value is to occur. <br>E.g. Let <em>l = 20 and s = 18</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*EjoTKcqvxRb4V9g2YFkvkw.gif" /><figcaption>Fig. 21 A probability density of 0.02 means a 2% chance the pair (<em>l = 20, s = 18) exists.</em></figcaption></figure><p>This observation is reasonable as a span on of 18 units is very unlikely with a length of just 20 units.</p><p>Thank you for reading. I hope you have a better understanding about the mathematics behind statistical shape models now.</p><h3>Bonus Reading</h3><ul><li><strong>Density Function <em>p(x)</em><br></strong>It’s denoted as</li></ul><pre>p(x) = N(μ, Σ)<br>or<br>p(x₁...xₙ) = N(μ, Σ)</pre><p>It consists of 2 parts, namely the Normalization and a special distance measure called the <em>Mahalanobis Distance </em>(named after the Indian scientist and statistician P.C. Mahalanobis). The normalization simply ensures that the density integrates to 1. And the Mahalanobis Distance is the distance of a point from the mean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Q0YmsDvqTygFdYmkr8l4w.png" /><figcaption>Fig. 22 Definition of the probability density function</figcaption></figure><ul><li><strong>Parameters from Data<br></strong>If we are given a normal distribution in a variable say<br><em>x = (x₁, …, xₙ),<br></em>Mean (μ) and standard deviation (<em>σ</em>) are given by,</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/111/1*Q_ossR1YvIoqjFaIEtMOxQ.gif" /><figcaption>Fig. 23 Mean (μ)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*-DhRSLJ7sPL9Qk27rL-PKA.gif" /><figcaption>Fig. 24 Standard Deviation (<em>σ)</em></figcaption></figure><h3>References</h3><ul><li><a href="https://www.futurelearn.com/courses/statistical-shape-modelling">https://www.futurelearn.com/courses/statistical-shape-modelling</a><br>A course on <a href="https://www.futurelearn.com/courses/statistical-shape-modelling">statistical shape modelling</a> by Dr Marcel Lüthi and Dr Ghazi Bouabene.</li><li><a href="https://g.co/kgs/WWmMiK">https://g.co/kgs/WWmMiK</a><br>A book on Gaussian Processes for Machine Learning</li><li><a href="https://www.codecogs.com/latex/eqneditor.php">https://www.codecogs.com/latex/eqneditor.php</a><br>Equation editor to create mathematical equations</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ab18c3c485f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>