<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Efficient Transformers on Deepak Baby</title><link>https://deepakbaby.in/tags/efficient-transformers/</link><description>Recent content in Efficient Transformers on Deepak Baby</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 03 Dec 2026 15:56:22 +0100</lastBuildDate><atom:link href="https://deepakbaby.in/tags/efficient-transformers/index.xml" rel="self" type="application/rss+xml"/><item><title>Attention Mechanisms, Part 3: Escaping N² — The Approximation Era</title><link>https://deepakbaby.in/posts/attention-approximation-era/</link><pubDate>Thu, 03 Dec 2026 00:00:00 +0000</pubDate><guid>https://deepakbaby.in/posts/attention-approximation-era/</guid><description>&lt;p>&lt;a href="https://deepakbaby.in/posts/attention-is-all-you-need/">Part 2&lt;/a> ended with the Transformer&amp;rsquo;s bill: every head in every layer builds an $N \times N$ table of scores. With the few-hundred-token sequences of 2017, that table was small. By 2019 people wanted whole documents, long audio clips, and images flattened into thousands of pixels, and the table had become the thing standing in the way.&lt;/p>
&lt;p>Between roughly 2019 and 2021, a wave of papers tried to get around it. They all started from the same observation: in a trained model, most entries of the attention table are close to zero. A token usually puts almost all of its weight on a handful of other tokens. If most of the table is nearly empty, maybe we do not need to compute all of it.&lt;/p></description></item></channel></rss>