<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Geometry on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/geometry/</link>
    <description>Recent content in Geometry on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 09 Sep 2026 01:50:00 +0000</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/geometry/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Meaning Becomes Geometry</title>
      <link>http://programmer.ie/books/embeddings-from-first-principles/02-chapter/</link>
      <pubDate>Mon, 07 Sep 2026 09:10:00 +0000</pubDate>
      <guid>http://programmer.ie/books/embeddings-from-first-principles/02-chapter/</guid>
      <description>&lt;p&gt;&lt;em&gt;Part I — A Vector Is Not Meaning&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;a-space-you-can-draw&#34;&gt;A space you can draw&lt;/h2&gt;&#xA;&lt;p&gt;Give six words two coordinates each, by hand:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              (x = royalty/power,  y = gender: -1 female … +1 male)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;king      ( 0.9,  0.8)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;queen     ( 0.9, -0.8)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;man       ( 0.1,  0.9)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;woman     ( 0.1, -0.9)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;apple     (-0.8,  0.0)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;orange    (-0.8,  0.1)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now every semantic question has a geometric form:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;Are &lt;code&gt;king&lt;/code&gt; and &lt;code&gt;queen&lt;/code&gt; related?&lt;/em&gt; → they are close (distance 1.6, mostly along &lt;code&gt;y&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;What distinguishes &lt;code&gt;king&lt;/code&gt; from &lt;code&gt;queen&lt;/code&gt;?&lt;/em&gt; → a direction: &lt;code&gt;king − queen ≈ (0, 1.6)&lt;/code&gt;, the &amp;ldquo;gender axis.&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;Is &lt;code&gt;apple&lt;/code&gt; like &lt;code&gt;king&lt;/code&gt;?&lt;/em&gt; → the angle between them is wide; they point different ways.&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;Which words form a group?&lt;/em&gt; → &lt;code&gt;{apple, orange}&lt;/code&gt; cluster tightly, far from the royalty cluster.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This is the whole promise of embeddings in one picture:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Retrieval Is Not Geometry</title>
      <link>http://programmer.ie/books/embeddings-from-first-principles/25-chapter/</link>
      <pubDate>Wed, 09 Sep 2026 01:50:00 +0000</pubDate>
      <guid>http://programmer.ie/books/embeddings-from-first-principles/25-chapter/</guid>
      <description>&lt;p&gt;&lt;em&gt;Research Coda — What Alignment Really Preserves&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-result-that-looks-like-success&#34;&gt;The result that looks like success&lt;/h2&gt;&#xA;&lt;p&gt;Suppose a bridge translates vectors from space A into space B. On a held-out set, the true B-space counterpart appears in the translated vector&amp;rsquo;s top ten &lt;strong&gt;99.7%&lt;/strong&gt; of the time.&lt;/p&gt;&#xA;&lt;p&gt;That sounds finished.&lt;/p&gt;&#xA;&lt;p&gt;Now ask a different question: does the translated vector have the same ten neighbors as the native B-space vector?&lt;/p&gt;&#xA;&lt;p&gt;The answer can be barely &lt;strong&gt;59%&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
