<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vanishing-Gradients on Aayush Bajaj's Augmenting Infrastructure</title><link>https://abaj.ai/tags/vanishing-gradients/</link><description>Recent content in Vanishing-Gradients on Aayush Bajaj's Augmenting Infrastructure</description><generator>Hugo</generator><language>en</language><copyright>© 2026 Aayush Bajaj</copyright><lastBuildDate>Thu, 09 Jul 2026 21:02:28 +1000</lastBuildDate><atom:link href="https://abaj.ai/tags/vanishing-gradients/index.xml" rel="self" type="application/rss+xml"/><item><title>Long Short-Term Memory (LSTM)</title><link>https://abaj.ai/wiki/ml/dl/lstm/</link><pubDate>Thu, 09 Jul 2026 21:02:56 +1000</pubDate><guid>https://abaj.ai/wiki/ml/dl/lstm/</guid><description>&lt;p>the &lt;a
 href="https://abaj.ai/wiki/ml/dl/rnn/"
 
 
>vanilla rnn&lt;/a> cannot learn long-range dependencies: its gradient signal is a product of jacobians that shrinks or blows up geometrically with distance. the lstm&amp;rsquo;s answer is architectural, not numerical — give the network a second state, updated &lt;em>additively&lt;/em> rather than by repeated matrix multiplication, and let learned gates decide what enters, what stays, and what leaves.&lt;span class="margin-note" data-note="hochreiter identified the vanishing-gradient problem in his 1991 diploma thesis, five years before the fix was published">
 &lt;span class="margin-note-indicator">𐃏&lt;/span>
&lt;/span>

the design dates to hochreiter and schmidhuber&amp;rsquo;s 1997 paper (&lt;a
 href="https://doi.org/10.1162/neco.1997.9.8.1735"
 
 
 class="link--external" target="_blank" rel="noreferrer"
 
>&lt;em>long short-term memory&lt;/em>, neural computation 9(8)&lt;/a>), and for two decades it was simply what &amp;ldquo;rnn&amp;rdquo; meant in practice (Goodfellow, Ian, 2016).&lt;/p></description></item><item><title>Recurrent Neural Networks (RNNs)</title><link>https://abaj.ai/wiki/ml/dl/rnn/</link><pubDate>Thu, 09 Jul 2026 21:02:56 +1000</pubDate><guid>https://abaj.ai/wiki/ml/dl/rnn/</guid><description>&lt;p>feedforward networks eat fixed-size vectors. sequences — text, audio, sensor streams — have no fixed size, and worse, their &lt;em>order&lt;/em> carries the meaning. the recurrent neural network solves both problems with one idea: maintain a hidden state that is updated by the same function at every time step.&lt;span class="margin-note" data-note="one function, applied forever: an rnn is a learned dynamical system, and every pathology of dynamical systems — fixed points, chaos, sensitive dependence — shows up in training">
 &lt;span class="margin-note-indicator">𐃏&lt;/span>
&lt;/span>

parameter count stops depending on sequence length, and the state becomes a lossy summary of everything seen so far (Goodfellow, Ian, 2016).&lt;/p></description></item></channel></rss>