<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Factuality on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/factuality/</link>
    <description>Recent content in Factuality on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 29 Aug 2026 23:20:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/factuality/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>When Models Make Things Up</title>
      <link>http://programmer.ie/books/hallucination-from-first-principles/01-chapter/</link>
      <pubDate>Sat, 29 Aug 2026 22:10:00 +0100</pubDate>
      <guid>http://programmer.ie/books/hallucination-from-first-principles/01-chapter/</guid>
      <description>&lt;p&gt;A language model can produce an answer that is fluent, grammatical, detailed, confident, and wrong.&lt;/p&gt;&#xA;&lt;p&gt;That combination is what makes hallucination interesting.&lt;/p&gt;&#xA;&lt;p&gt;Ordinary software failures usually leave evidence. A parser throws an exception. A database rejects an invalid constraint. A test fails. A network call times out. The failure changes the shape of the result.&lt;/p&gt;&#xA;&lt;p&gt;A hallucinating language model can do something more difficult to handle: &lt;strong&gt;it can fail without looking broken&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Hallucination Is Not One Thing</title>
      <link>http://programmer.ie/books/hallucination-from-first-principles/02-chapter/</link>
      <pubDate>Sat, 29 Aug 2026 22:45:00 +0100</pubDate>
      <guid>http://programmer.ie/books/hallucination-from-first-principles/02-chapter/</guid>
      <description>&lt;p&gt;Chapter 1 began with a familiar failure: a language model says something fluent that it cannot justify.&lt;/p&gt;&#xA;&lt;p&gt;That description is useful until we try to build a detector.&lt;/p&gt;&#xA;&lt;p&gt;Consider six outputs:&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;A. The model invents a person who does not exist.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;B. The model names two real companies but reverses which acquired which.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;C. The model cites a real paper that does not support the claim.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;D. The model says it inspected a file that it never received.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;E. The model answers a question even though the available evidence is insufficient.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;F. The model gives the same generic recommendation after the decisive facts&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   of the problem have been reversed.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;All six can produce plausible text.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Evidence, Truth, and Verifiability</title>
      <link>http://programmer.ie/books/hallucination-from-first-principles/03-chapter/</link>
      <pubDate>Sat, 29 Aug 2026 23:20:00 +0100</pubDate>
      <guid>http://programmer.ie/books/hallucination-from-first-principles/03-chapter/</guid>
      <description>&lt;p&gt;Chapter 2 gave us a rule for talking about hallucination precisely:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Relative to what reference did the output fail?&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;That question immediately creates another one.&lt;/p&gt;&#xA;&lt;p&gt;What counts as a reference strong enough to constrain the answer?&lt;/p&gt;&#xA;&lt;p&gt;Suppose a model says:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Company A acquired Company B in 2024.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;There are several different things we might mean when we ask whether this is acceptable:&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;What exact proposition has been asserted?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Is that proposition true at the relevant time?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Do we possess evidence for it?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Does that evidence actually support this exact relationship?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Can we identify the source and passage that support it?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Where did that source come from?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Is the source sufficiently reliable and current for this claim?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Is the evidence package sufficient for the action we want to authorize?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Could the claim be verified by this system now?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Has the verification actually been performed?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Would the active policy allow the claim to be published or acted upon?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Those questions are related.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How Do You Measure a Hallucination?</title>
      <link>http://programmer.ie/books/hallucination-from-first-principles/04-chapter/</link>
      <pubDate>Sat, 29 Aug 2026 23:14:00 +0100</pubDate>
      <guid>http://programmer.ie/books/hallucination-from-first-principles/04-chapter/</guid>
      <description>&lt;p&gt;The first three chapters deliberately avoided building a detector.&lt;/p&gt;&#xA;&lt;p&gt;Before designing one, we needed to define exactly what it would be expected to detect.&lt;/p&gt;&#xA;&lt;p&gt;Chapter 1 established that fluent generation can continue after evidential support has weakened or disappeared.&lt;/p&gt;&#xA;&lt;p&gt;Chapter 2 showed that &lt;em&gt;hallucination&lt;/em&gt; covers several different failure relationships.&lt;/p&gt;&#xA;&lt;p&gt;Chapter 3 then separated the objects a reliability system must not collapse:&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;truth&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;≠&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;evidence&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;≠&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;support&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;≠&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;attribution&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;≠&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;provenance&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;≠&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;verification&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;≠&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;policy acceptance&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now we can finally ask the engineering question:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
