<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Pytorch on The Standard Error</title><link>https://jongha-jeon-dev.github.io/standarderror/tags/pytorch/</link><description>Recent content in Pytorch on The Standard Error</description><generator>Hugo -- 0.123.7</generator><language>en-gb</language><lastBuildDate>Fri, 11 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://jongha-jeon-dev.github.io/standarderror/tags/pytorch/index.xml" rel="self" type="application/rss+xml"/><item><title>Gradients 1: Backprop Is the Chain Rule, and the Chain Rule Has Hypotheses</title><link>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-1-kinks/</link><pubDate>Thu, 10 Sep 2026 00:00:00 +0000</pubDate><guid>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-1-kinks/</guid><description>Autodiff returns a float at every point where the derivative does not exist, and the float is a choice. The choices disagree inside one library, which makes differentiation a function of the expression rather than of the function - and then almost none of it turns out to happen in a real transformer.</description></item><item><title>Gradients 2: A Confident Attention Head Passes Almost No Gradient</title><link>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-2-saturation/</link><pubDate>Thu, 10 Sep 2026 00:00:00 +0000</pubDate><guid>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-2-saturation/</guid><description>The softmax Jacobian&amp;#39;s norm is fixed within a factor of two by its largest probability alone, no matter how many positions it has. So one head of this model has committed hard enough that the gradient which could change its mind is gone - and it is the head the model cannot do without.</description></item><item><title>Gradients 3: LayerNorm Deletes Exactly Two Directions of Your Gradient</title><link>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-3-layernorm/</link><pubDate>Fri, 11 Sep 2026 00:00:00 +0000</pubDate><guid>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-3-layernorm/</guid><description>Its Jacobian has rank exactly d minus 2, and the two missing directions are the invariances the layer was built to have. Then the residual connection restores the rank everywhere except the last norm, where it becomes an exact invariance of the entire network.</description></item><item><title>Gradients 4: You Cannot Differentiate Through a Sampled Token</title><link>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-4-sampling/</link><pubDate>Fri, 11 Sep 2026 00:00:00 +0000</pubDate><guid>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-4-sampling/</guid><description>A sampled token is a step function of its logits, so the derivative is zero almost everywhere and undefined elsewhere. On a decision small enough to enumerate, the three things people return instead can be compared against the gradient that does exist.</description></item><item><title>Gradients 5: The Gradient in Embedding Space Does Not Point at a Token</title><link>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-5-embeddings/</link><pubDate>Fri, 11 Sep 2026 00:00:00 +0000</pubDate><guid>https://jongha-jeon-dev.github.io/standarderror/lectures/gradients-5-embeddings/</guid><description>The embedding table is 65 near-orthogonal points on a sphere, so there is no local neighbourhood and a descent step leaves you nearest to the token you started from. The same gradient, asked to rank five candidates instead of to point, recovers almost all of the available gain.</description></item></channel></rss>