<?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 Dipthi. S   |   PhystorywithTea on Medium]]></title>
        <description><![CDATA[Stories by Dipthi. S   |   PhystorywithTea on Medium]]></description>
        <link>https://medium.com/@phystorywithtea?source=rss-f1447bc5ca91------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Dipthi. S   |   PhystorywithTea on Medium</title>
            <link>https://medium.com/@phystorywithtea?source=rss-f1447bc5ca91------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:29:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@phystorywithtea/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 Idea that kept being found]]></title>
            <link>https://medium.com/@phystorywithtea/the-idea-that-kept-being-found-cb298dcf4fa0?source=rss-f1447bc5ca91------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb298dcf4fa0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[theoretical-astrophysics]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[backpropagation]]></category>
            <dc:creator><![CDATA[Dipthi. S   |   PhystorywithTea]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 10:32:27 GMT</pubDate>
            <atom:updated>2026-11-17T10:32:27.777Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A probe and a fold,</em></p><p><em>A trick that is known of old,</em></p><p><em>Found again, retold.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*Hq_c0yygr-07QQ8A.png" /></figure><p>Welcome back folks, to my series, <strong><em>Neural Network for Physicists. </em></strong>If you are new here, I’d suggest you start from <a href="https://medium.com/@phystorywithtea/why-neural-networks-deserve-a-physicists-attention-893083b34413">here</a>. If not, thank you for travelling with me in this series. In the <a href="https://medium.com/@phystorywithtea/nonlinearity-the-hidden-dimension-0e1a5b66ae1b">last piece</a>, I wrote about how nonlinear activation functions in neural networks alter the geometry of data similar to changing coordinate systems in physics enabling the model to separate data and solve problems that purely linear layers cannot.</p><p>There is a question physicists ask so often that we hardly notice it. If I change this, what happens to that? Nudge a planet and its orbit shifts. Much of physics is the art of following a small change forward to see where it goes. This piece is about turning that question around, and how the turned-around version became the way every neural network learns.</p><p>Picture a small probe on its way to a distant moon. Every hour it fires its thrusters, a short burn that bends its path, and between burns Newton does the rest. Where it will be an hour from now depends only on where it is and how it is moving now, and on the burn it makes now. After many hours it arrives, and misses its target by a little. How should each burn have been different?</p><p>The straightforward answer is to change one burn slightly and fly the whole journey again. A small change at hour three is carried into hour four, stretched or turned by the motion, then into hour five, until it shows up at the end as a slightly different miss. For a handful of burns that is fine. For thousands, it means thousands of flights for one round of corrections.</p><p>The better way starts at the end. At the target we know exactly how the miss would change if the final position or speed were a little different: how much the miss cares about the state at arrival. Now step back one hour. We know how that last hour of motion turns a small change into a change at arrival, so we can work out how much the miss cares about the state an hour earlier. And so on, back to launch. With that in hand, each burn’s correction can be read straight off: how much the burn moved the probe, combined with how much the miss cares about where it moved it. One sweep backwards, and every burn has its answer.</p><p>I want to be careful here. The probe never flies backwards; the backward sweep is the shape of our question, how the end depends on each earlier moment. The quantity that travels back is called the costate. It is what Lagrange’s multipliers become when they hold a path to its equations of motion, and the procedure is called the <em>adjoint</em> method.</p><p>I handed you the right weights last time. A real network starts with random ones, so its point lands in the wrong place. We measure how wrong by squaring the difference between its answer and the right one, so that a miss in either direction counts, and call that the loss. Squaring is the simplest choice; others can wait.</p><p>The probe’s method now carries over unchanged. At the output, how the loss depends on the answer is how far, and which way, we missed. We pass that back through the last layer of weights to learn how much the miss cares about the hidden layer, then back through the fold. At each layer, the correction for its weights is what has arrived from the output, combined with what fed into that layer on the way forward, which the network kept from its first pass. Nothing is worked out twice, so the corrections for every weight cost little more than running the network once. On a network, this backward sweep is called backpropagation.</p><p>With a correction for every weight, the network takes a small step that lowers the loss, then another, its stride set by the learning rate from Article 3. Picture the loss as a landscape with one direction per weight, and training as a walk downhill. Cauchy described this walk in 1847 while working out the orbits of planets and comets. It reliably finds a valley, though not necessarily the deepest one.</p><p>The backward sweep has a history of its own, and it gives this piece its title. Around 1960 Henry Kelley, an engineer at Grumman, used it to find the best flight paths for spacecraft, one pushed along by a solar sail, and Arthur Bryson’s group reached much the same method around then. In 1970 Seppo Linnainmaa, a student in Finland, described it again while studying how rounding errors build up inside a computer. Paul Werbos found it in 1974, and in 1986 David Rumelhart, Geoffrey Hinton and Ronald Williams showed in Nature that it could train networks with hidden layers. Two years later Yann LeCun wrote it out in the Lagrangian language of optimal control, and the probe and the network were seen to share one piece of mathematics.</p><p>The probe also explains the vanishing gradient I promised to return to. The correction is scaled by each layer’s slope as it travels back. ReLU passes it unchanged where a unit was active and stops it where the fold flattened space, so learning flows only through the parts the fold left standing. A sigmoid never passes on more than a quarter of what it receives, so through a long chain of them the correction fades before it reaches the earliest layers.</p><p>So the question physicists ask without noticing has a second form: ask it from the end, and one journey backwards answers it for every settling at once. That may be why the idea kept being found. Engineers, steering spacecraft, a student chasing rounding errors and researchers training networks were all asking it of a long chain of steps, and each found the same answer waiting. What we haven’t asked yet is what a stack of folds can build, given enough of them.</p><p>That’s where we’re going next.</p><p>- Dipthi. S</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb298dcf4fa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nonlinearity: The Hidden Dimension]]></title>
            <link>https://medium.com/@phystorywithtea/nonlinearity-the-hidden-dimension-0e1a5b66ae1b?source=rss-f1447bc5ca91------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e1a5b66ae1b</guid>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[bias-in-ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[astrophysics]]></category>
            <dc:creator><![CDATA[Dipthi. S   |   PhystorywithTea]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 02:33:30 GMT</pubDate>
            <atom:updated>2026-11-17T02:33:30.632Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/651/0*EjP5PDxQf1PCznhX" /></figure><p><strong>In the </strong><a href="https://medium.com/@phystorywithtea/stars-slopes-and-the-limits-of-a-straight-line-63c77bc5d2d5"><strong>last piece</strong></a><strong>, I built the simplest learning machine there is, the perceptron, and showed you exactly where it breaks. A perceptron can draw only one kind of boundary: a hyperplane. A flat line, a flat plane, a flat sheet. If your data sits neatly on either side of one, it works, and works provably. If it doesn’t, no amount of tuning helps, because the thing it’s looking for doesn’t exist.</strong></p><p><strong>XOR is the cleanest example. Four points, two classes, and geometry that makes a single straight separating line impossible. (If that piece is new to you, it’s worth a few minutes first. And if this whole series is new, start with the first article, on why a physicist should care about neural networks at all.)</strong></p><p><strong>I ended that piece by naming the fix without explaining it: put a nonlinear transformation between the layers. That’s what this piece is about. It’s also the first moment in this series where I felt something click. I stopped seeing a neural network as a pile of matrices and started seeing it as a machine that bends space.</strong></p><p><strong>The obvious instinct is to stack more perceptrons. If one layer can’t do it, surely two can?</strong></p><p><strong>They can’t. Stack two linear layers and you get:</strong></p><p><strong>y = W₂(W₁x + b₁) + b₂ = (W₂W₁)x + (W₂b₁ + b₂)</strong></p><p><strong>Call W₂W₁ a new matrix W₃, and the bias term b₃. What’s left is W₃x + b₃, a single linear layer in disguise. You can stack a hundred of them and they’ll still collapse into one. This isn’t a quirk of the architecture. It’s a theorem of linear algebra: composing linear maps always gives you a linear map.</strong></p><p><strong>I love this result, because it’s so honest. It tells you depth alone buys you nothing.</strong></p><p><strong>What breaks the collapse is a nonlinear function σ placed between the layers:</strong></p><p><strong>y = W₂ · σ(W₁x + b₁) + b₂</strong></p><p><strong>Now the algebra can’t be folded down, and the layers become genuinely different operations. σ is called an activation function, and the most popular one is almost embarrassingly simple:</strong></p><p><strong>ReLU(x) = max(0, x)</strong></p><p><strong>If the input is positive, let it through. If it’s negative, output zero. That’s all.</strong></p><p><strong>Geometrically, it’s a fold. Apply it to each coordinate of a vector and the plane gets creased along its axes. The first quadrant passes through untouched. Points with one negative coordinate get pushed flat onto an axis. The whole negative quadrant collapses to the origin.</strong></p><p><strong>That collapse is the key: distinct points can land on the same spot. Once they do, no linear map can pull them apart again. The geometry has changed in a way linear algebra can’t undo.</strong></p><p><strong>Here’s the moment it becomes real. Take W₁ = [[1, −1], [−1, 1]] with no bias, and follow the four XOR points:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*2T4mUKEJVnDAHqVDX_S43A.png" /></figure><p><strong>Look at the last column. The two class-0 points, (0, 0) and (1, 1), have landed on the same spot. The two class-1 points sit apart at (1, 0) and (0, 1). A single straight line now separates them easily.</strong></p><p><strong>What was impossible in the original space is trivial in the new one. The problem didn’t get easier. The coordinates did.</strong></p><p><strong>ReLU isn’t the only option. Sigmoid and tanh are smooth S-curves that squeeze every input into (0, 1) and (−1, 1) respectively. They never merge points; they compress them instead. But their flat tails make learning painfully slow in deep networks, a problem called the vanishing gradient, which we’ll meet properly soon.</strong></p><p><strong>So here’s what each piece of the network does:</strong></p><ul><li><strong>W₁x + b₁ rotates, stretches, shears and shifts the input. It rearranges things, but it can’t change what is or isn’t linearly separable. Another affine map could undo all of it.</strong></li><li><strong>σ is where the geometry actually changes. ReLU folds, and sigmoid and tanh squeeze. Neither can be undone by a linear map, and that’s the point.</strong></li><li><strong>W₂ draws a straight boundary in the new space, one that σ has made possible.</strong></li></ul><p><strong>That alternating rhythm is what gives depth its meaning. Each new layer is another chance to rearrange the geometry before the next straight cut.</strong></p><p><strong>This is the part that got me excited, because physicists do this all the time. We just don’t call it a neural network.</strong></p><p><strong>Imagine a scatter of points: one class clustered inside a circle, the other in a ring around it. Try separating them with a straight line in x and y and you’ll fail, for the same reason as XOR. Every line cuts through both.</strong></p><p><strong>Now switch to polar coordinates. Compute r = √(x² + y²) for each point, and the problem collapses. Everything with r below some value is one class, and everything above it is the other. One number, one threshold, done. The data didn’t change. You just stopped describing it in coordinates that didn’t suit it. That square root is a nonlinear transformation, and it’s the reason we reach for polar coordinates the moment a problem has a centre, whether it’s a planet’s orbit, a charged sphere, or a hydrogen atom.</strong></p><p><strong>Or think back to your first lab course. You measure something, plot it, and get a curve. Then someone tells you to take logarithms. Plot log T against log a for the planets and Kepler’s third law, T² ∝ a³, falls out as a straight line with slope 3/2. The log is the nonlinearity, and the straight-line fit afterwards is the linear layer. Nonlinear, then linear.</strong></p><p><strong>That’s all a hidden layer is doing. The difference is that we <em>choose</em> polar coordinates or logarithms because we already understand the physics. A neural network has no such insight. It starts with random numbers and <em>learns</em> its own version of “take the log” or “switch to r” from the data alone.</strong></p><p><strong>Kepler spent years staring at Tycho Brahe’s observations before the pattern appeared. A network does that search on its own. It turns a hard problem into a straight line by finding the right coordinates to look at it in.</strong></p><p><strong>I gave you those W₁ values. The network wasn’t given them. It started from random numbers and somehow found its way. To do that, it needed to know not just <em>that</em> it was wrong, but which way to nudge every single weight to be less wrong, through layer after layer of composed functions.</strong></p><p><strong>The tool for that is the chain rule, applied patiently backwards through the network. In this world, it has a name: backpropagation.</strong></p><p><strong>That’s where we’re going next.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e1a5b66ae1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stars, Slopes, and the Limits of a Straight Line]]></title>
            <link>https://medium.com/@phystorywithtea/stars-slopes-and-the-limits-of-a-straight-line-63c77bc5d2d5?source=rss-f1447bc5ca91------2</link>
            <guid isPermaLink="false">https://medium.com/p/63c77bc5d2d5</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[perceptron]]></category>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Dipthi. S   |   PhystorywithTea]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 02:28:11 GMT</pubDate>
            <atom:updated>2026-11-17T02:28:11.057Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kOiGcqJu7JbdIqNSoM2fnQ.png" /></figure><p><strong>In the </strong><a href="https://medium.com/@phystorywithtea/change-coordinates-the-problem-decouples-e18f9ac88fe6"><strong>last piece</strong></a><strong> , I talked about the single most powerful move in a physicist’s toolkit: change coordinates, and the problem decouples. A neural network, I argued, is just that strategy scaled up: a machine that learns the right coordinate system from data, rather than having to guess it. If that piece is new, it’s worth a few minutes before continuing here. And if this series is new entirely, the first article is a good place to start, it’s about why a physicist should care about neural networks at all.</strong></p><p><strong>But there’s a gap I left open deliberately. I’ve been talking about neural networks as coordinate-transformation machines, which I think is the right framing. What I haven’t done is show the actual machine. What does it look like? What are the moving parts? What happens when it runs?</strong></p><p><strong>So let’s build one. The simplest one possible. Strip everything away andStars and Sl ask: what is the minimum structure that can actually learn something?</strong></p><p><strong>Imagine yourself, on a clear night, away from city lights, where it is possible to tell planets from stars with the naked eye alone. Stars twinkle. Planets, for the most part, don’t. Stars are so distant that their light arrives as a near-perfect point, and the turbulence in the atmosphere scrambles that point randomly, hence the flickering. Planets are close enough to subtend a tiny disc, and the scrambling averages out across it. So twinkling is one signal. But it isn’t the only one. Planets are also unusually bright for their position, and they move against the fixed background of stars over days and weeks. Each of these signals: twinkling, brightness, motion carry some information about what the object is. But they don’t carry equal information. Motion is the most diagnostic: a star simply does not move relative to the others on any timescale a human can observe. Twinkling is next. Brightness is weakest, some stars are genuinely bright. So when making a judgment, we weight these signals by how much we trust them, add them up in our heads, and cross a threshold: planet, or star.</strong></p><p><strong>This is intuitive. But the word “weight” here is still doing a lot of hand-waving, why does motion matter more than brightness by some specific amount, and not some other? To see where weights come from physically, consider something simpler.</strong></p><p><strong>A ball is rolling toward you across an uneven surface. Will it reach you, or stop first? Two things determine this: how fast it is moving right now, and the slope of the ground between you and it. Speed contributes positively, a faster ball is more likely to arrive. An uphill slope contributes negatively, it bleeds kinetic energy away. These two inputs combine to determine the outcome, but they don’t combine equally. A steep slope matters more than a gentle one, and by how much is not a matter of intuition, it comes directly from the equations of motion. The weights on these inputs are physically determined. Change the slope by a factor of two, and its contribution to the outcome changes by a factor of two. The physics tells you the numbers. The decision reaches you or doesn’t, it is binary.</strong></p><p><strong>A perceptron is exactly this process, written down as an equation. Take the inputs. Multiply each by how much it matters, that’s its weight. Add them up. If the total crosses a threshold, one answer. If not, the other.</strong></p><p><strong>That’s a perceptron.</strong></p><p><strong>Formally: take inputs x₁, x₂, x₃. Assign each a weight w₁, w₂, w₃. Compute the weighted sum. Compare to a threshold. Output a decision. If you’ve ever computed a centre of mass (summing positions weighted by how much mass sits at each one), this is the same operation. It’s not exotic. It’s a weighted average, which is one of the most natural things in physics.</strong></p><p><strong>There’s also a bias term: an extra number added to the sum before the threshold comparison. It doesn’t depend on the inputs at all. Its job is to shift the decision, to give the machine a baseline inclination one way or the other. The threshold becomes adjustable rather than fixed. Simple, almost disappointingly so. But look at what it actually is geometrically, and it becomes more interesting.</strong></p><p><strong>Consider only two inputs, two numbers describing each data point, plotted on a flat 2D plane. The perceptron’s decision rule, the set of all points where the weighted sum equals zero, is w₁x₁ + w₂x₂ + b = 0. This is a line. The perceptron draws a line across the 2D plane and says: everything on this side is one class, everything on the other side is another. With three inputs, it’s a plane cutting through 3D space. With more inputs, it’s a hyperplane: the same idea in higher dimensions. The weights determine the orientation of this surface, and the bias determines where it sits relative to the origin.</strong></p><p><strong>This is familiar territory. A surface in space defined by its normal vector. Equipotential surfaces in electrostatics are exactly this: the set of all points where the potential equals some fixed value. The perceptron’s decision surface is the same mathematical object, a level set, parameterised by weights and bias.</strong></p><p><strong>There’s a deeper analogy worth sitting with. Think of a ferromagnet being heated. Below the Curie temperature, the atomic spins align and the material is magnetic. Above it, they’re disordered. There’s a sharp boundary in parameter space (temperature, pressure, applied field) separating two qualitatively different phases. Cross it, and the behaviour of the system flips. A perceptron’s decision surface is that same kind of boundary. On one side: class A. On the other: class B. The weights and bias define where it sits, exactly as thermodynamic parameters define where the phase boundary sits. I don’t want to push this further than it deserves, a perceptron is not a physical system undergoing a phase transition, but the mathematical structure is genuinely the same, and I find that worth pausing on.</strong></p><p><strong>The perceptron starts with a guess. Random weights, random orientation. It knows nothing yet. A data point arrives, (x₁, x₂), with the correct answer attached. A prediction is made. If it’s right, nothing changes. If it’s wrong, the weights adjust: the boundary nudges in the direction that would have given the correct answer. Then the next point arrives. And the next. The update rule is w → w + η × (correct − predicted) × x, where η is a small number called the learning rate: it controls the size of each adjustment.</strong></p><p><strong>This structure should feel familiar. It’s a restoring force. The larger the error, the stronger the correction, proportional feedback driving the system toward the right answer. The same logic as a damped oscillator being pushed back toward equilibrium, or a control system correcting for deviation. The perceptron learning rule is, in its bones, gradient descent on the simplest possible loss function: how wrong was I on this one point?</strong></p><p><strong>If the data is linearly separable, if some hyperplane exists that correctly divides the classes, the perceptron learning rule is guaranteed to find one. Rosenblatt proved this in 1958. It’s a clean theorem, and it was rightly celebrated. He called his machine the perceptron and genuinely believed it was a step toward thinking machines. The New York Times wrote about it. Then, eleven years later, Minsky and Papert wrote a book.</strong></p><p><strong>Four points in 2D. Two classes.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*Zbe3z0tWh3_2y9lSDoNd4Q.png" /></figure><p><strong>This is XOR, exclusive or. The output is 1 when exactly one input is 1, and 0 otherwise. Plot these. The 1s sit at (1,0) and (0,1). The 0s sit at (0,0) and (1,1). Diagonally opposite corners of a square. Any orientation, any position, one point always ends up on the wrong side. This isn’t a failure of the learning algorithm. The algorithm is doing exactly what it was designed to do. It’s a geometric impossibility: the classes are not linearly separable, and a perceptron can only produce hyperplanes.</strong></p><p><strong>Minsky and Papert proved this rigorously in 1969. Their book showed that a single-layer perceptron couldn’t compute XOR, let alone more complex functions. The argument was mathematically careful and entirely correct. It effectively froze funding for neural network research for nearly a decade, which in retrospect feels a little like concluding that because a ruler can’t measure curved surfaces, measurement is a dead end.</strong></p><p><strong>The obvious response: use two perceptrons. Layer them. More complexity, more power. This doesn’t work, and it’s worth being precise about why. A perceptron computes a linear function of its inputs. Stack two: output = W₂(W₁x + b₁) + b₂ = (W₂W₁)x + (W₂b₁ + b₂), still linear, because the composition of linear maps is always a linear map. Depth alone buys nothing. What’s being done is one complicated linear transformation that could have been written down directly, without the layers.</strong></p><p><strong>What actually fixes this is something placed between the layers, something that breaks the linearity before the next transformation is applied. A function that takes the output of one layer and warps it before passing it forward. In the new warped representation, things that were geometrically tangled in the original input space can become separable. This is the coordinate-transformation story again. The perceptron fails at XOR because the input space has the wrong geometry for a linear classifier. The fix is to transform into a space where the geometry is right. The question is: what transformation? And how does the network learn it?</strong></p><p><strong>That’s what the next piece is about.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63c77bc5d2d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Change Coordinates. The Problem Decouples]]></title>
            <link>https://medium.com/@phystorywithtea/change-coordinates-the-problem-decouples-e18f9ac88fe6?source=rss-f1447bc5ca91------2</link>
            <guid isPermaLink="false">https://medium.com/p/e18f9ac88fe6</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[theoretical-physics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[physicist]]></category>
            <dc:creator><![CDATA[Dipthi. S   |   PhystorywithTea]]></dc:creator>
            <pubDate>Fri, 01 May 2026 19:29:00 GMT</pubDate>
            <atom:updated>2026-09-29T21:31:01.750Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Physicist’s Guide to Why This Should Feel Familiar</h3><p>There’s a move every physicist makes. We don’t talk about it much because it’s so routine it’s invisible. But it’s the single most powerful thing we do.</p><p>We find a problem that looks impossible. The equations are nonlinear. The variables are coupled. It’s a mess.</p><p>Then we change coordinates.</p><p>Suddenly the problem decouples. The nonlinear becomes linear. What was opaque becomes clear. We rotate into a frame where the symmetry becomes visible. We transform into normal modes. We shift to the basis where the tensor diagonalizes.</p><p>And it <em>works</em>.</p><p>Scattering problems in the center-of-mass frame. Quantum systems in the eigenbasis. Fluid dynamics rotating into the frame that follows the flow. Every time: <em>find the right coordinate system, and the physics becomes legible.</em></p><p>We don’t solve nonlinear problems by mastering nonlinearity. We find the transformation that makes them linear. That’s the strategy. That’s the whole strategy.</p><p>A neural network does exactly the same thing.</p><p>It takes data. It applies a sequence of transformations-each one nonlinear-that maps the data into a new space. In that new space, the answer we’re looking for becomes simpler. Linear. Clear.</p><p>We’ve done this our entire careers. We guess the transformation. We use intuition, symmetry principles, experience. We rotate, decompose, change variables until we’re in the frame where the problem simplifies. But our guesses are limited by what we can visualize, what we’ve seen before, what fits on a blackboard.</p><p>A neural network can learn the transformation instead. And it can do this in spaces we can’t visualize-thousands of dimensions, millions of parameters-searching systematically through possibilities that no human could enumerate by hand.</p><p>That’s what makes it powerful. Not that it thinks differently from us. It doesn’t. It uses the same principle: find the coordinate system where the problem becomes linear. But it scales the search to places we physically cannot reach. Problems where the right transformation involves hundreds of variables, where the structure is buried under layers of complexity, where intuition runs out-that’s where the network earns its place.</p><p>It tries millions of transformations. It adjusts. It converges on the one that makes the data separable. And it does this in minutes, on problems that would take us lifetimes to explore by hand.</p><p>We still frame the problem. We still ask the questions. The network answers them-systematically, tirelessly, at a scale we couldn’t match alone.</p><p>There’s a deeper question hiding here, and it’s worth pausing on.</p><p>Why should one transformation work across completely different problems? Why does group theory describe both atomic nuclei and crystalline lattices? Why does the Gaussian distribution-built on π, a number that comes from circles-show up when we count populations and births and things that have nothing to do with geometry?</p><p>Wigner puzzled over this. He called it unreasonable-the fact that mathematical structures, developed with no physical purpose in mind, fit nature with startling precision.</p><p>But from where we stand, it isn’t unreasonable at all. The universe is structured. Patterns, once found, work everywhere they matter. A symmetry that holds in one domain holds in another-not because mathematics is magical, but because the physics has that structure built into it.</p><p>I used to argue that mathematics without physics is empty-just symbol-pushing, disconnected from anything real. I was half right. The symbols on their own don’t mean much. But the patterns they describe? Those are real. Those are the universe’s patterns. We just happen to write them down with mathematics.</p><p>And this is exactly why neural networks work. They aren’t borrowing some abstract mathematical trick. They’re using the same structural principle the universe runs on: that problems have hidden coordinate systems, and in the right one, complexity becomes simple.</p><p>The network finds the pattern. The pattern was always there. Physics put it there.</p><p>This is why neural networks should feel familiar to us. We’ve spent our careers finding the right coordinate system. A neural network is that same strategy, scaled up: <em>find the transformation that makes the data legible.</em></p><p>We already understand the principle. Now there’s a tool that systematizes it. That lets us scale it. That reaches into the spaces where our intuition alone isn’t enough.</p><p>So when we pick up a paper on neural networks, it isn’t alien technology. It’s a machine for finding coordinate systems. The question is how to ask it the right questions. And that’s what this series is about.</p><p>- Dipthi. S</p><p><em>Originally published at </em><a href="https://phystorywithtea.blogspot.com/2026/05/change-coordinates-problem-decouples.html"><em>https://phystorywithtea.blogspot.com</em></a><em> on May 1, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e18f9ac88fe6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Neural Networks Deserve a Physicist’s Attention]]></title>
            <link>https://medium.com/@phystorywithtea/why-neural-networks-deserve-a-physicists-attention-893083b34413?source=rss-f1447bc5ca91------2</link>
            <guid isPermaLink="false">https://medium.com/p/893083b34413</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Dipthi. S   |   PhystorywithTea]]></dc:creator>
            <pubDate>Fri, 24 Apr 2026 07:44:07 GMT</pubDate>
            <atom:updated>2026-09-26T03:30:31.127Z</atom:updated>
            <content:encoded><![CDATA[<h4>A personal essay, and an invitation.</h4><p>The first time physics truly caught me, I was a high schooler watching <em>Interstellar</em>. What got me wasn’t the plot. It was the sheer brilliance of the universe being so big, and the fact that human beings had figured out enough of it to put a story like that on a screen. Black holes bending light. Time dilating near mass. All of it constrained, in principle, by equations we could write down.</p><p>That was the hook. I went back to my textbooks differently after that. Physics was the most honest thing I had ever encountered. It didn’t ask you to believe anything. It asked you to look. It was almost magical.</p><p>I’m still as much in love with physics as when I started. Nothing I’m about to write changes that. This article is about something else: a tool I think physicists should pay attention to, and why. So let me be direct about what it is. <em>Neural Networks.</em></p><p>A <em>neural network</em> is a function. You give it an input , a number, an image, a time-series, a string of text and it produces an output. What makes it interesting is that the function is not hand-written. It is learned from data.</p><p>Here is the basic picture. Imagine a very long chain of simple operations: multiply the input by some numbers (call them weights), add some more numbers (biases), pass the result through a simple nonlinear function, and repeat. Do this enough times and you have a machine that can map almost any input to almost any output provided you find the right weights.</p><p>Finding those weights is the whole game. You define a loss function that measures how wrong the network is on examples where you know the correct answer. Then you adjust the weights, step by step, to reduce that loss. The adjustment rule is gradient descent: follow the slope of the loss downhill until you reach a minimum.</p><p>If that sounds familiar, it should. It is a variational problem. You are minimising a function on a very high-dimensional parameter space. Physicists have been doing this, in one form or another, since Lagrange.</p><p>The popular telling of deep learning skips the physics. You hear about Silicon Valley, GPUs, ChatGPT. You hear less often that one of the foundational models of modern neural networks, the <em>Hopfield network, </em>was proposed by a physicist using the mathematics of spin glasses. That the <em>Boltzmann machine</em> is named after Boltzmann because it uses the Boltzmann distribution to define how the network learns. That the Nobel Prize in Physics in 2024 went to exactly this lineage.</p><p>Through a physicist’s eyes, the strangeness falls away. Training is <em>gradient descent</em> on a high-dimensional energy landscape. Regularisation is a <em>prior</em>. Over fitting is the same problem you had fitting a polynomial to noisy data in your first lab course, scaled up by a factor of a billion. The loss surface has saddle points and basins and behaviour that looks a lot like phase transitions. This is not a foreign country. It is a neighbourhood that grew up while we were looking the other way.</p><p>I noticed it first in particle astrophysics. At <em>IceCube</em>, the neutrino observatory buried a kilometer deep in the Antarctic ice, neural networks now help reconstruct what each detected neutrino actually was — its energy, where it came from in the sky, even its flavor. At the <em>Pierre Auger Observatory</em> in Argentina, they’re being used to figure out what ultra-high-energy cosmic rays are made of, from the footprints their air showers leave on the ground. Gamma-ray telescopes use them to separate real gamma-ray signals from the enormous cosmic-ray background that would otherwise drown them out. <em>LIGO</em> uses them to flag gravitational wave candidates in real time.</p><p>At first I filed this under useful engineering trick. But the more I looked, the less it felt like borrowing. It felt like a tool built partly out of physics, quietly coming home.</p><p>What finally pulled me in was one specific mechanism inside modern networks, called <em>attention</em>. Given a sequence of things — words in a sentence, events in time, pixels in an image — attention computes, for each element, how much it should care about every other element. Then it replaces each element with a weighted combination of all the others, with the weights decided by those scores. Three small matrices, a dot product, a softmax, a weighted sum. It fits on a napkin.</p><p>That one operation, scaled up and stacked in layers, is most of what powers the systems you’ve heard about — the ones that read papers, translate languages, and are starting to act as genuine research assistants to people doing real science.</p><p>I am not going to tell you that physics is over, or that the interesting questions have moved somewhere else. That would be both false and ungrateful. Every time I open a paper on neutrino astrophysics, or on imaging astrophysical objects, or on identifying new planetary systems, I remember why I started. Theoretical physics is still home.</p><p>What I will tell you is this. There is a new instrument on the table. It was partly built by our ancestors, it speaks a language we already half-know, and it is being used, right now, to help physicists, especially astrophysicists and particle astrophysicists, ask and answer real questions about the universe. Picking it up is not a detour away from physics. It is picking up a beautifully made tool, built partly by people who thought like us, and seeing what it can do in our hands.</p><p>That is why, somewhere between finishing a calculation on a blackboard and reading about networks reconstructing neutrino events under the Antarctic ice, I started to wonder what else this thing could do. What it could do for the questions that kept me up as a kid, staring at the ceiling after Interstellar ended, trying to picture a black hole from the inside.</p><p>And that is why a theoretical physicist started paying attention to <em>attention</em>.</p><p><em>Originally published at </em><a href="https://phystorywithtea.blogspot.com/2026/04/why-neural-networks-deserve-physicists-attention.html"><em>https://phystorywithtea.blogspot.com</em></a><em> on April 24, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=893083b34413" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>