<?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>Representations on Sanketh's Blog</title><link>https://sankethbk.github.io/blog/tags/representations/</link><description>Recent content in Representations on Sanketh's Blog</description><generator>Hugo -- 0.166.0</generator><language>en-us</language><lastBuildDate>Mon, 14 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://sankethbk.github.io/blog/tags/representations/index.xml" rel="self" type="application/rss+xml"/><item><title>Embeddings: From One-Hot Vectors to Learned Representations</title><link>https://sankethbk.github.io/blog/posts/ml/2026-09-14-4-embeddings-from-one-hot-to-learned-representations/</link><pubDate>Mon, 14 Sep 2026 00:00:00 +0000</pubDate><guid>https://sankethbk.github.io/blog/posts/ml/2026-09-14-4-embeddings-from-one-hot-to-learned-representations/</guid><description>&lt;h1 id="embeddings-from-one-hot-vectors-to-learned-representations"&gt;Embeddings: From One-Hot Vectors to Learned Representations&lt;/h1&gt;
&lt;p&gt;Everything in the previous notes assumed the network&amp;rsquo;s input was already a list of numbers — &lt;code&gt;x1 = 1, x2 = 2&lt;/code&gt;, pixel intensities, whatever. But most interesting data is not numeric. &amp;ldquo;cat&amp;rdquo;, &amp;ldquo;dog&amp;rdquo;, &amp;ldquo;bank&amp;rdquo;, user IDs, product IDs, words of a sentence. Neural networks cannot multiply the string &lt;code&gt;&amp;quot;cat&amp;quot;&lt;/code&gt; by a weight matrix. Somewhere between the raw symbol and the first linear layer, a translation to numbers must happen, and the way we do it — the &lt;strong&gt;embedding layer&lt;/strong&gt; — turns out to be one of the most consequential ideas in modern deep learning.&lt;/p&gt;</description></item></channel></rss>