<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>LLM Reliability on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/llm-reliability/</link>
    <description>Recent content in LLM Reliability on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 31 Aug 2026 09:00:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/llm-reliability/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>Knowing When Not to Answer</title>
      <link>http://programmer.ie/books/hallucination-from-first-principles/11-chapter/</link>
      <pubDate>Sun, 30 Aug 2026 11:15:00 +0100</pubDate>
      <guid>http://programmer.ie/books/hallucination-from-first-principles/11-chapter/</guid>
      <description>&lt;p&gt;Chapter 10 ended with an ambiguity.&lt;/p&gt;&#xA;&lt;p&gt;A model gave weak, generic advice.&lt;/p&gt;&#xA;&lt;p&gt;Perhaps it ignored decisive evidence.&lt;/p&gt;&#xA;&lt;p&gt;But perhaps the evidence never justified a decisive answer in the first place.&lt;/p&gt;&#xA;&lt;p&gt;Those are not the same failure.&lt;/p&gt;&#xA;&lt;p&gt;Consider this question:&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 was Company A&amp;#39;s Q3 revenue?&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and this evidence:&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;Q1 revenue was $41.2 million.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Q2 revenue was $43.8 million.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;The company expects second-half demand to improve.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A language model can easily produce something that sounds reasonable:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Appendix: The Evidence Ledger</title>
      <link>http://programmer.ie/books/hallucination-from-first-principles/16-appendix/</link>
      <pubDate>Mon, 31 Aug 2026 09:00:00 +0100</pubDate>
      <guid>http://programmer.ie/books/hallucination-from-first-principles/16-appendix/</guid>
      <description>&lt;p&gt;The book argues that a claim should be governed by its provenance, its evidential support, and an explicit statement of what it does not establish. This appendix applies that discipline to the book itself.&lt;/p&gt;&#xA;&lt;p&gt;Every original empirical number produced for this book is listed here with three things: where it was measured, what its provenance status is, and what it does not establish.&lt;/p&gt;&#xA;&lt;p&gt;Two facts are visible immediately from the ledger:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
