<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gradient Clipping on Nalar</title>
    <link>https://nalar.dev/tags/gradient-clipping/</link>
    <description>Recent content in Gradient Clipping on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 24 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/gradient-clipping/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Global Gradient Norm Clipping Rescales Parameter Gradients with One Shared Factor</title>
      <link>https://nalar.dev/global-gradient-norm-clipping-rescales-parameter-gradients-with-one-shared-factor/</link>
      <pubDate>Thu, 24 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/global-gradient-norm-clipping-rescales-parameter-gradients-with-one-shared-factor/</guid>
      <description>&lt;p&gt;Global gradient norm clipping treats the current parameter gradients as one aggregate vector. If its norm exceeds a threshold, every participating gradient is multiplied by the same coefficient. The operation changes update magnitude while preserving the direction of the aggregate gradient vector, apart from finite-precision effects.&lt;/p&gt;&#xA;&lt;h2 id=&#34;one-norm-controls-the-whole-gradient-set&#34;&gt;One norm controls the whole gradient set&lt;/h2&gt;&#xA;&lt;p&gt;Let the parameter gradients be &lt;code&gt;g_1, g_2, ... g_m&lt;/code&gt;. For a p-norm, global clipping first forms the equivalent norm of their concatenation:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
