<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: pcoz</title>
    <description>The latest articles on DEV Community by pcoz (@pcoz).</description>
    <link>https://dev.to/pcoz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1385717%2Fd6dbc9ba-ac83-4bd3-a98a-6c17f55a5bc8.png</url>
      <title>DEV Community: pcoz</title>
      <link>https://dev.to/pcoz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pcoz"/>
    <language>en</language>
    <item>
      <title>Chain of Thought Without a Language Model</title>
      <dc:creator>pcoz</dc:creator>
      <pubDate>Mon, 30 Nov 2026 16:14:12 +0000</pubDate>
      <link>https://dev.to/pcoz/chain-of-thought-without-a-language-model-5d79</link>
      <guid>https://dev.to/pcoz/chain-of-thought-without-a-language-model-5d79</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://fleetingswallow.com/chain-of-thought-without-a-language-model/" rel="noopener noreferrer"&gt;Fleeting Swallow&lt;/a&gt;. Paper: &lt;a href="https://doi.org/10.5281/zenodo.24679095" rel="noopener noreferrer"&gt;doi:10.5281/zenodo.24679095&lt;/a&gt; · Research page: &lt;a href="https://sapientronic.ai/chain-of-thought-without-a-language-model.html" rel="noopener noreferrer"&gt;sapientronic.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Most people assume you need a Large Language Model to generate Chain of Thought reasoning. However we have built a reasoning machine that accomplishes Chain of Thought with no language model, and in which every step is checkable.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Chain of Thought in Chatbots
&lt;/h2&gt;

&lt;p&gt;Chatbots made Chain of Thought famous. In 2022, researchers at Google found that a language model shown a few worked examples would write out steps of its own, and that it then solved far more problems. Since then, reasoning in steps has been built into the models themselves.&lt;/p&gt;

&lt;p&gt;The trouble is that a language model writes its steps the same way it writes everything else, one likely word after another. Studies have found that the steps it shows are not always the steps that decided its answer. So when a chatbot writes a fluent chain of reasoning, you can't always tell whether the chain is what produced the answer, or only an account of it written afterwards.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fczc5gxtilbapa08hmwi1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fczc5gxtilbapa08hmwi1.png" alt="A language model: your question goes into one process that writes everything, one likely word after another. Both the steps and the answer come out of that one process, and the steps are not always what decided the answer." width="800" height="723"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In a language model, the steps and the answer come from the same word-by-word process.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Reasoning Like a Circuit
&lt;/h2&gt;

&lt;p&gt;Sapientronic AI works in a different way. It holds a set of rules as a system of linked statements, a bit like switches wired up in a circuit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fctvvj76mgpxex8veg9xn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fctvvj76mgpxex8veg9xn.png" alt="Sapientronic AI: your facts go into the rules, held as a system of linked statements, which settle. The steps and the answer are both read from the same settled system." width="800" height="723"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;In Sapientronic AI, the steps and the answer are read from the same settled system.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A lamp wired to a battery through two switches works like this. Put the switches one after the other, and the lamp lights only if the first switch &lt;em&gt;and&lt;/em&gt; the second are closed. Put them side by side, and it lights if the first &lt;em&gt;or&lt;/em&gt; the second is closed. Nobody tells the electricity what to do. You set the switches, and the lamp is either lit or not.&lt;/p&gt;

&lt;p&gt;Our machine treats a rulebook the same way. Each statement, such as "the notice was in time", is one part of the system. Each rule wires its conditions to its conclusion, one after the other where all of them are needed, side by side where any one will do. You set the facts of your case, the system settles, and the machine reads off the answer. It then reads the Chain of Thought from the same settled system, step by step, with the rule behind each step. Because the steps and the answer are read from the same place, the steps can't disagree with the answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Worked Example: A Stolen Card
&lt;/h2&gt;

&lt;p&gt;We tested the Sapientronic reasoning machine on the US banking regulation that decides how much you have to pay when your bank card is lost or stolen. Tell the bank within two business days and you owe at most $50. Tell it later and you may owe a good deal more.&lt;/p&gt;

&lt;p&gt;Let's say your card is stolen while you're in hospital. You couldn't call the bank straight away, and the bank agreed to give you more time. You told them as soon as you reasonably could. Does the $50 limit still apply to you?&lt;/p&gt;

&lt;p&gt;You give the machine four facts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the card was lost or stolen;&lt;/li&gt;
&lt;li&gt;your delay was due to extenuating circumstances (the hospital stay);&lt;/li&gt;
&lt;li&gt;the bank extended the time limits;&lt;/li&gt;
&lt;li&gt;you gave notice within a reasonable period.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It answers &lt;strong&gt;yes&lt;/strong&gt;, and it shows why, in four steps.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvjcz35ksmxxj1mhjsk9k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvjcz35ksmxxj1mhjsk9k.png" alt="The worked example as a diagram. At the top, the four things you tell it: your card was stolen; you were in hospital, so you were delayed; the bank gave you more time; you told the bank in reasonable time. Below, the steps it works out: 1, a card was lost or stolen; 2, the time limits are extended; 3, your notice was in time; 4, the $50 limit applies. Arrows show which facts and steps each step rests on. At the foot, the answer: yes." width="800" height="739"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Each step rests on the facts and steps above it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In its own words, the machine's answer reads:&lt;/p&gt;

&lt;blockquote&gt;
&lt;ol&gt;
&lt;li&gt;An access device was lost or stolen, because the card was lost or stolen (you told me).&lt;/li&gt;
&lt;li&gt;The time limits are extended for extenuating circumstances, because the consumer's delay was due to extenuating circumstances (you told me) and the bank extended the time limits (you told me).&lt;/li&gt;
&lt;li&gt;The notice of loss or theft was in time, because the notice of loss or theft came within a reasonable period (you told me) and the time limits are extended for extenuating circumstances (step 2).&lt;/li&gt;
&lt;li&gt;The supplied text's limit for timely notice reaches this case (the lesser of $50 or the transfers before notice), because an access device was lost or stolen (step 1) and the notice of loss or theft was in time (step 3).&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;

&lt;p&gt;Each step names what it rests on: something you told it, or an earlier step. You can check every line against the rules yourself.&lt;/p&gt;

&lt;p&gt;Now suppose you leave out one fact: you don't know whether the bank formally extended the time limits. The machine doesn't guess. It tells you it can't settle the question yet, and it tells you why. The regulation says the bank "shall extend" the time limits in a case like yours, but it doesn't say whether that happens automatically or only once the bank has acted. Read one way, the answer is yes. Read the other way, it stays open. That's a question for whoever is responsible for the rules, and the machine can list the answers that a ruling either way would settle, before anyone makes it.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Than an Answer
&lt;/h2&gt;

&lt;p&gt;Because the reasoning machine reads everything from one settled system, it achieves several abilities that are hard to get from a language model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It says what an answer rests on.&lt;/strong&gt; Take away any one of the facts it lists, and the answer no longer holds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It says what it's missing.&lt;/strong&gt; When it can't answer, it lists the facts it wasn't given and the points the rules leave open, and asks for the one fact that would help most.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It can be taught by writing one line, and un-taught by taking the line back.&lt;/strong&gt; Before a new ruling is written in, it lists every answer that will change. Take the line out again, and everything goes back to how it was, while its other lessons stay in place.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Bigger Picture
&lt;/h2&gt;

&lt;p&gt;It's widely believed that reasoning in steps needs a large language model behind it. Our results show that when the reasoning is from a set of rules, it doesn't. What matters is how the knowledge is held. Hold the rules as a system that settles, and the answer arrives with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the Chain of Thought that leads to it;&lt;/li&gt;
&lt;li&gt;the facts it rests on;&lt;/li&gt;
&lt;li&gt;the gaps that stopped it, when it can't answer;&lt;/li&gt;
&lt;li&gt;the effect of anything new it's taught.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Language models &lt;em&gt;are&lt;/em&gt; very good at reading, NLP, and parsing information. In our work, a language model read the regulation and drafted the rules, and from then on the reasoning was done by a machine with no language model in it. This division of labour seems natural: let language models read, and let a reasoning machine do the reasoning, especially where answers have to be right and checkable, such as in banking, insurance, compliance or any business with written rules.&lt;/p&gt;

&lt;p&gt;Another benefit of this approach is that the reasoning stage this runs happily on an ordinary laptop. No GPUs, data centre or giant language model are involved, only the rules and the CPU-run reasoning machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Further Reading
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://sapientronic.ai/chain-of-thought-without-a-language-model.html" rel="noopener noreferrer"&gt;research page&lt;/a&gt; explains the work in full, with exhibits you can try. The paper, &lt;em&gt;Achieving Chain of Thought Without a Large Language Model&lt;/em&gt;, is on Zenodo (&lt;a href="https://doi.org/10.5281/zenodo.24679095" rel="noopener noreferrer"&gt;doi:10.5281/zenodo.24679095&lt;/a&gt;).&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>explainableai</category>
      <category>systematicreasoning</category>
    </item>
  </channel>
</rss>
