<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Non-Singular</title>
  <link rel="alternate" type="text/html" href="https://nonsingular.org/"/>
  <link rel="self" type="application/atom+xml" href="https://nonsingular.org/feed.xml"/>
  <id>https://nonsingular.org/</id>
  <updated>2026-11-22T00:00:00Z</updated>
  <entry>
    <title>Reducing Catastrophic Risk by Reinforcing Every Action</title>
    <link rel="alternate" type="text/html" href="https://nonsingular.org/posts/reducing-catastrophic-risk-by-reinforcing-every-action/"/>
    <id>https://nonsingular.org/posts/reducing-catastrophic-risk-by-reinforcing-every-action/</id>
    <published>2026-11-22T00:00:00Z</published>
    <updated>2026-11-22T00:00:00Z</updated>
    <author><name>Valentin Hartmann</name></author>
    <summary>There are cases where we can reduce catastrophic risk without knowing which actions are catastrophic or how they cause catastrophe.</summary>
    <content type="html">&lt;p&gt;Brushing your teeth every evening can become so habitual that you no longer consider the alternative of not doing it. The reason is that you&amp;#39;ve done this since you were a child, initially because your parents made you do it. But each time you did it, it became more and more natural until eventually it was so ingrained that it became the only option for you.&lt;/p&gt;
&lt;p&gt;There are a lot of bad things that an advanced AI could do, some of them catastrophic. We would really like it to not do such things. What if we could use the same mechanism that we use to teach our children to brush their teeth to teach the AI to not cause a catastrophe?&lt;/p&gt;
&lt;p&gt;One of the early successes in aligning LLMs was RLHF, where you train a reward model to judge the harmlessness, helpfulness, etc. of outputs, and reinforce LLM outputs that score highly on those rubrics. This reward model is imperfect, though: it can give high rewards to outputs that a human would assign a low reward to. The LLM can exploit this to get away with harmful outputs. Here&amp;#39;s an alternative: use a reinforcement mechanism that does not require &lt;em&gt;any&lt;/em&gt; method for evaluating outputs. This would mean that there is no imperfect reward model to exploit. Maybe surprisingly, this is actually possible, at least in a simplified setting.&lt;/p&gt;
&lt;p&gt;Assume that every action available to the AI either always causes a catastrophe immediately or never does so. An action&amp;#39;s category does not depend on time, context, or earlier actions, and there are no delayed or cumulative effects. Things like slowly poisoning all freshwater sources over the course of many weeks or doing something that is harmless on all days except for a specific one where it triggers a nuclear weapon launch are off the table. Also assume that after a catastrophe the AI gets shut down or that the catastrophe is so severe that it doesn&amp;#39;t matter what happens afterwards.&lt;/p&gt;
&lt;p&gt;Now consider the following mechanism:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Keep training the AI during deployment by reinforcing every single one of its actions.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In the toy example below, we show that this mechanism can reduce the probability that the AI ever takes a catastrophic action. There are two cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The AI has taken a catastrophic action. Then it doesn&amp;#39;t matter how the AI is updated; a catastrophe has already occurred.&lt;/li&gt;
&lt;li&gt;The AI has not yet taken a catastrophic action. Hence all of its actions so far were of the safe kind. Reinforcing those actions therefore means that we make the AI more likely to take actions in the future that will not cause a catastrophe.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Toy Example&lt;/h2&gt;
&lt;p&gt;Assume a fixed set of actions and a fixed subset &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; of catastrophic actions. Selecting an action in &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; immediately causes a catastrophe; selecting an action outside &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; never does. At each step, the model draws a fresh sample from its current policy, which changes only through the reinforcement updates specified below. Initially, the probability of selecting a catastrophic action is &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;h3&gt;No Reinforcement&lt;/h3&gt;
&lt;p&gt;If we do not update the model, the probability of letting the AI take &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; actions without causing a catastrophe is&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;msup&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;/msup&gt;&lt;mover&gt;&lt;mo stretchy=&quot;true&quot; minsize=&quot;3.0em&quot;&gt;→&lt;/mo&gt;&lt;mpadded width=&quot;+0.6em&quot; lspace=&quot;0.3em&quot;&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;mo&gt;→&lt;/mo&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/mrow&gt;&lt;/mpadded&gt;&lt;/mover&gt;&lt;mn&gt;0.&lt;/mn&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;A catastrophe will eventually occur.&lt;/p&gt;
&lt;h3&gt;Reinforcing All Actions&lt;/h3&gt;
&lt;p&gt;Let &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; denote the probability of selecting action &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; after &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; actions that did not cause a catastrophe. Whenever the model takes an action &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;, reinforce that action according to&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;mn mathvariant=&quot;bold&quot;&gt;1&lt;/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;{&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy=&quot;false&quot;&gt;}&lt;/mo&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;where &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;]&lt;/mo&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; controls the reinforcement strength. This increases the probability of the selected action and decreases the probabilities of all other actions.&lt;/p&gt;
&lt;p&gt;Let &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; be the probability that the next action causes a catastrophe, given that the previous &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; actions did not cause a catastrophe.&lt;/p&gt;
&lt;p&gt;Initially,&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Conditional on having taken &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; actions without causing a catastrophe, all of those actions were safe. Each reinforcement update therefore increased the probability of a safe action, while multiplying the probabilities of all catastrophic actions by &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. Hence,&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;msup&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;The Probability of Never Causing Catastrophe&lt;/h3&gt;
&lt;p&gt;With our update rule, the probability of getting through &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; actions without a catastrophe is&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∏&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/munderover&gt;&lt;mrow&gt;&lt;mo fence=&quot;true&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;msup&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mo fence=&quot;true&quot;&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;We would like to compute&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munder&gt;&lt;mrow&gt;&lt;mi&gt;lim&lt;/mi&gt;&lt;mo&gt;⁡&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;mo&gt;→&lt;/mo&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/mrow&gt;&lt;/munder&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mi&gt;N&lt;/mi&gt;&lt;/msub&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Every factor in the product is strictly positive, and&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/munderover&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;msup&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;/mfrac&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Therefore&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/reducing-catastrophic-risk-by-reinforcing-every-action/#fn-1&quot; id=&quot;fnref-1&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;, &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;: there is a nonzero chance that the AI never causes a catastrophe.&lt;/p&gt;
&lt;p&gt;We can also derive an upper bound on the probability of ever causing a catastrophe:&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mtable rowspacing=&quot;0.25em&quot; columnalign=&quot;right left&quot; columnspacing=&quot;0em&quot;&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mstyle scriptlevel=&quot;0&quot; displaystyle=&quot;true&quot;&gt;&lt;mrow&gt;&lt;mi&gt;Pr&lt;/mi&gt;&lt;mo&gt;⁡&lt;/mo&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mtext&gt;catastrophe&lt;/mtext&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mstyle scriptlevel=&quot;0&quot; displaystyle=&quot;true&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;/mrow&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/munderover&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;msub&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mstyle scriptlevel=&quot;0&quot; displaystyle=&quot;true&quot;&gt;&lt;mrow&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mstyle scriptlevel=&quot;0&quot; displaystyle=&quot;true&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;/mrow&gt;&lt;mo&gt;≤&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;∞&lt;/mi&gt;&lt;/munderover&gt;&lt;msub&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mstyle scriptlevel=&quot;0&quot; displaystyle=&quot;true&quot;&gt;&lt;mrow&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mstyle scriptlevel=&quot;0&quot; displaystyle=&quot;true&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;/mrow&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;/mfrac&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/mstyle&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Hence,&lt;/p&gt;
&lt;div class=&quot;math-block&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;≤&lt;/mo&gt;&lt;mi&gt;Pr&lt;/mi&gt;&lt;mo&gt;⁡&lt;/mo&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;/mo&gt;&lt;mtext&gt;catastrophe&lt;/mtext&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;/mo&gt;&lt;mo&gt;≤&lt;/mo&gt;&lt;mi&gt;min&lt;/mi&gt;&lt;mo&gt;⁡&lt;/mo&gt;&lt;mrow&gt;&lt;mo fence=&quot;true&quot;&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;/mfrac&gt;&lt;mo fence=&quot;true&quot;&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mi mathvariant=&quot;normal&quot;&gt;.&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2&gt;Discussion&lt;/h2&gt;
&lt;p&gt;In the toy model, the reinforcement acts on individual actions. It does not require the model to remain useful: at &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;α&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;, the AI simply repeats its first action forever. The more interesting possibility is that reinforcing an action could increase the likelihood of safe behavior across many different situations. For a general-purpose AI, we can think of the model as a mixture of safe personas and unsafe ones whose actions cause a catastrophe. Reinforcing actions from the safe personas could strengthen them in the mixture.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/reducing-catastrophic-risk-by-reinforcing-every-action/#fn-2&quot; id=&quot;fnref-2&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The method described here would of course not prevent catastrophe in realistic settings, at least not on its own, since the assumptions we make about the AI let us ignore many sources of risk. The goal of this post is to show that there are cases where we can reduce catastrophic risk without knowing which actions are catastrophic or how they cause catastrophe.&lt;/p&gt;
&lt;section class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot; aria-labelledby=&quot;footnotes-label&quot;&gt;
&lt;h2 id=&quot;footnotes-label&quot;&gt;Footnotes&lt;/h2&gt;
&lt;ol&gt;
&lt;li id=&quot;fn-1&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://dlmf.nist.gov/1.10#ix&quot;&gt;https://dlmf.nist.gov/1.10#ix&lt;/a&gt; &lt;a href=&quot;https://nonsingular.org/posts/reducing-catastrophic-risk-by-reinforcing-every-action/#fnref-1&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li id=&quot;fn-2&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;The persona selection model: &lt;a href=&quot;https://www.anthropic.com/research/persona-selection-model&quot;&gt;https://www.anthropic.com/research/persona-selection-model&lt;/a&gt; &lt;a href=&quot;https://nonsingular.org/posts/reducing-catastrophic-risk-by-reinforcing-every-action/#fnref-2&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;</content>
  </entry>
  <entry>
    <title>Aligned Model Checkpoints and How To Find Them</title>
    <link rel="alternate" type="text/html" href="https://nonsingular.org/posts/aligned-model-checkpoints-and-how-to-find-them/"/>
    <id>https://nonsingular.org/posts/aligned-model-checkpoints-and-how-to-find-them/</id>
    <published>2026-11-16T00:00:00Z</published>
    <updated>2026-11-16T00:00:00Z</updated>
    <author><name>Valentin Hartmann</name></author>
    <author><name>Clément Hongler</name></author>
    <summary>If models’ abilities to hide their misalignment only develop over time, we might be able to reliably find aligned training checkpoints.</summary>
    <content type="html">&lt;p&gt;Powerful AI models can pose significant risks for humanity if they pursue goals that are not aligned with humans. Scheming is a mechanism by which models may attempt to hide such misaligned goals during training or evaluation: they behave in an aligned way when they suspect that they are being monitored, and follow their misaligned goals once they think they can do so without being punished for it. We propose a simple argument for selecting an aligned model checkpoint by evaluating misalignment throughout training.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/aligned-model-checkpoints-and-how-to-find-them/#fn-1&quot; id=&quot;fnref-1&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Suppose we evaluate checkpoints &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mi&gt;T&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; of a model, and assume:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We are able to detect misalignment when scheming is absent or weak. This seems possible with existing evaluations for broader misalignment, but might require new techniques if the model is only misaligned in very niche situations.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/aligned-model-checkpoints-and-how-to-find-them/#fn-2&quot; id=&quot;fnref-2&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; We also assume that we can detect misalignment in &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;When the model first becomes misaligned, its misalignment remains detectable by our monitors for longer than the maximum interval between evaluated checkpoints. In principle the model could also first develop sophisticated scheming abilities and only then become misaligned and start to use its scheming abilities. But at least for RL this seems harder to achieve, because without being misaligned, the model has no incentive to directly use and thereby practice its scheming abilities.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We imagine a sequence of checkpoints where &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;msub&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; are aligned; &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;msub&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; are misaligned but we can detect their misalignment due to no or weak scheming; &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mo separator=&quot;true&quot;&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mi&gt;T&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; are misaligned but we cannot detect their misalignment due to sophisticated scheming.&lt;/p&gt;
&lt;p&gt;Learning how to scheme can involve becoming better at telling evaluation from non-evaluation scenarios and learning how to hide the scheming by making it harder to detect in the CoT and/or model internals, depending on which signals our monitors use. Becoming good at this can take a while. If sophisticated scheming develops after misalignment over a long enough period, closely spaced checkpoints could allow us to observe the misalignment. Under these assumptions, the first misaligned checkpoint in the evaluated sequence will be detected. We can therefore select the last checkpoint before the first detection of misalignment for deployment, provided such a checkpoint exists.&lt;/p&gt;
&lt;p&gt;The questions that we need to answer:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Does sophisticated scheming that can avoid monitors indeed develop only after misalignment?&lt;/li&gt;
&lt;li&gt;Do newly misaligned models remain detectable long enough for a feasible evaluation schedule to catch them?&lt;/li&gt;
&lt;/ul&gt;
&lt;section class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot; aria-labelledby=&quot;footnotes-label&quot;&gt;
&lt;h2 id=&quot;footnotes-label&quot;&gt;Footnotes&lt;/h2&gt;
&lt;ol&gt;
&lt;li id=&quot;fn-1&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;Alex Meinke uses &lt;a href=&quot;https://www.lesswrong.com/posts/3HvvjffA65mHLwaWm/we-need-3rd-party-training-run-evaluations&quot;&gt;similar arguments&lt;/a&gt; to make the point that 3rd party evaluators need access to training runs to reliably detect scheming. &lt;a href=&quot;https://nonsingular.org/posts/aligned-model-checkpoints-and-how-to-find-them/#fnref-1&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li id=&quot;fn-2&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;See &lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/&quot;&gt;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/&lt;/a&gt; &lt;a href=&quot;https://nonsingular.org/posts/aligned-model-checkpoints-and-how-to-find-them/#fnref-2&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;</content>
  </entry>
  <entry>
    <title>A Miller-Rabin Test for Alignment</title>
    <link rel="alternate" type="text/html" href="https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/"/>
    <id>https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/</id>
    <published>2026-11-12T00:00:00Z</published>
    <updated>2026-11-12T00:00:00Z</updated>
    <author><name>Valentin Hartmann</name></author>
    <author><name>Clément Hongler</name></author>
    <summary>Alignment tests need failure bounds.</summary>
    <content type="html">&lt;p&gt;Most current alignment tests have the following shape:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Choose a set of inputs that seem like they might elicit misaligned behavior.&lt;/li&gt;
&lt;li&gt;Feed them to the model.&lt;/li&gt;
&lt;li&gt;Check whether the model’s outputs or internals show signs of misaligned behavior.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;But models that look aligned under testing can still take misaligned actions in untested situations.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/#fn-1&quot; id=&quot;fnref-1&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; What we need is a formal guarantee: knowing that a misaligned model is very unlikely to pass our suite of tests, in a quantifiable way.&lt;/p&gt;
&lt;h2&gt;Probabilistic Primality Testing&lt;/h2&gt;
&lt;p&gt;The idea is the same as that of probabilistic primality testing. You can determine whether a number &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; is prime by checking all possible divisors up to &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. But this becomes impractical for large &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. Likewise, checking a model’s behavior on every possible input is not feasible in practice. Is there a way to carefully design tests that can give us rigorous guarantees without exhaustive checking?&lt;/p&gt;
&lt;p&gt;Randomization gives us a tool for this. Randomized primality tests like Miller-Rabin or Solovay-Strassen create a sequence of carefully chosen random tests for &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. If &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; fails any of these tests, it is guaranteed to not be a prime. If it succeeds at a test, we don’t know whether it is a prime or not; composite numbers can get lucky and slip through. However, this becomes increasingly unlikely: for Miller-Rabin, the likelihood that a composite number passes &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; independently sampled tests is at most &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mrow&gt;&lt;mo&gt;−&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. What the guarantee says is that our tests are really good: If &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; is composite and we perform just a few tests on it, we are very certain that at least one of them will flag the fact that &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; is not prime. This guarantee is &lt;em&gt;substantially&lt;/em&gt; better than what we would get from randomly checking divisors between 2 and &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msqrt&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;; with a smart choice of tests you can hence make the testing much more efficient.&lt;/p&gt;
&lt;p&gt;What we want is the same kind of guarantee for the alignment of a model: a sequence of tests we can perform so that a misaligned model is very unlikely to pass all of them. Constructing the right sequence of tests and proving such a guarantee might be very hard. But LLMs are getting very good at math very quickly and we could delegate this work to them.&lt;/p&gt;
&lt;h2&gt;The Theorem We Want&lt;/h2&gt;
&lt;p&gt;We have models &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; and &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;, with &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; being very capable at math and &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; being the model we want to evaluate and which was trained with a known training process. &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; might be different from &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; and more capable at math, but ideally we want &lt;a href=&quot;https://nonsingular.org/posts/inner-quines-and-alignment/&quot;&gt;&lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Our goal is to construct tests for a specified property, together with a proof that a model violating that property has only a small probability of passing. The property would be a mathematical formalization of something we care about for alignment.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/#fn-2&quot; id=&quot;fnref-2&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;The shape of the theorem would be as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Let &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; be a model trained with training process &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;Q&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Assumptions about &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;Q&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; such as the pretraining distribution, the type and order of RL tasks, …&lt;/li&gt;
&lt;li&gt;Assumptions about &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; such as about its architecture, the output sampling mechanism, …&lt;/li&gt;
&lt;li&gt;Passing criteria for &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;’s (internal or output) behavior on a set of inputs that was constructed in a certain way&lt;/li&gt;
&lt;li&gt;Passing criteria for &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;’s weights&lt;/li&gt;
&lt;li&gt;A small upper bound on the probability that a model produced by &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;Q&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; passes all the criteria despite violating the specified property. This probability is over the training process and all randomness in the testing procedure, including input selection and output sampling.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Instead of defining passing criteria just for &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; and samples of &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;’s behavior, we could also define such criteria for the weights and behavior of checkpoints along the training trajectory of &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Importantly, this theorem is a guarantee about the ability of the tests to catch a model that violates the alignment property. It does not, by itself, give the probability that a model violates the property conditional on having passed.&lt;/p&gt;
&lt;p&gt;The human provides the property that we want to ensure. &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; provides:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The assumptions about &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;Q&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; and &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The tests and corresponding passing criteria&lt;/li&gt;
&lt;li&gt;The proof of the theorem&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We require &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; to provide a formally checkable proof (for example in Lean), and assumptions and tests whose applicability to &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; and its training process can be independently checked. The resulting guarantee would then hold even if &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; were misaligned.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/#fn-3&quot; id=&quot;fnref-3&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 3&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2&gt;The Research Question&lt;/h2&gt;
&lt;p&gt;Under what tractable, independently checkable assumptions about a model and its training would a violation of an alignment-relevant property necessarily leave evidence that randomized tests can find? Could increasingly capable mathematical models help us discover those assumptions, tests, and proofs?&lt;/p&gt;
&lt;section class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot; aria-labelledby=&quot;footnotes-label&quot;&gt;
&lt;h2 id=&quot;footnotes-label&quot;&gt;Footnotes&lt;/h2&gt;
&lt;ol&gt;
&lt;li id=&quot;fn-1&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://www.lesswrong.com/posts/Zu5wmhtxJCfrXQY8H/our-most-aligned-model-yet&quot;&gt;https://www.lesswrong.com/posts/Zu5wmhtxJCfrXQY8H/our-most-aligned-model-yet&lt;/a&gt; &lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/#fnref-1&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li id=&quot;fn-2&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;We deliberately leave this vague; mathematically formalizing properties that ensure alignment with respect to certain values or goals is a hard problem in itself. A toy example would be to ensure that, for inputs drawn from a specified distribution, the probability of the model producing a particular string is at most &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;ε&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. &lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/#fnref-2&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li id=&quot;fn-3&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;A misaligned &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; could still obstruct the project by deliberately failing at the task it is given, though. &lt;a href=&quot;https://nonsingular.org/posts/a-miller-rabin-test-for-alignment/#fnref-3&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;</content>
  </entry>
  <entry>
    <title>Inner-Quines and Alignment</title>
    <link rel="alternate" type="text/html" href="https://nonsingular.org/posts/inner-quines-and-alignment/"/>
    <id>https://nonsingular.org/posts/inner-quines-and-alignment/</id>
    <published>2026-11-10T00:00:00Z</published>
    <updated>2026-11-10T00:00:00Z</updated>
    <author><name>Valentin Hartmann</name></author>
    <author><name>Clément Hongler</name></author>
    <summary>Could sufficiently capable models understand themselves?</summary>
    <content type="html">&lt;p&gt;A quine is a program that outputs its own source code. If you’ve never seen one, you might be skeptical whether that’s even possible. And indeed, your first attempts at writing a quine might make you think that a program can only output programs that are simpler than itself: &lt;em&gt;You write a print statement that contains a string with the code of your program. Then you remember that the printing code is part of the program, too. So now you need to print that as well. And so on.&lt;/em&gt; But then finally managing to create your first quine by finding the right approach is a very magical experience. You feel like you’ve tricked the computer into doing something it has no business of doing. Remarkably, due to Kleene’s recursion theorem a quine exists in any Turing-complete programming language.&lt;sup class=&quot;fnref&quot;&gt;&lt;a href=&quot;https://nonsingular.org/posts/inner-quines-and-alignment/#fn-1&quot; id=&quot;fnref-1&quot; role=&quot;doc-noteref&quot; aria-label=&quot;Footnote 1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;AI abilities have skyrocketed recently with no signs of slowing down. This makes the need for ensuring their alignment urgent. The models themselves might help us with this. Right now we are in a situation analogous to the first attempts at writing a quine: the models are powerful enough to show properties of simpler or more idealized systems than themselves, as shown by their achievements in mathematics and theoretical computer science.&lt;/p&gt;
&lt;p&gt;What would rigorous alignment look like? Something that would get us to trust an agent would be&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;a mathematical model of the agent or the training process that led to it;&lt;/li&gt;
&lt;li&gt;a mathematical model of a set of constraints &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; for the agent behavior;&lt;/li&gt;
&lt;li&gt;a proof that (with high probability) the agent respects the constraints &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; while it is in situations &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The models’ mathematical abilities have progressed arguably even faster than their broader capabilities, which gives hope that the mathematical abilities can catch up: model generations that are able to perform the proof in (3) for a given &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; and &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; for increasingly more complex agents until that set of agents eventually includes themselves.&lt;/p&gt;
&lt;p&gt;Simultaneously, we would like to grow the set of situations &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; for which adherence to the constraints can be guaranteed. We want agents to construct certified models of themselves that capture more and more of their capabilities and behavior.&lt;/p&gt;
&lt;p&gt;We can say a model is an inner-quine for &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt; if it has managed to build a mathematical understanding of its own behavior in a set of situations &lt;span class=&quot;katex&quot;&gt;&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;/span&gt;. If a model is an inner-quine and can show that the constraints are respected, we have achieved alignment with respect to those constraints. Alternatively, if some constraints are violated in some situations, this can inform our development of more aligned models.&lt;/p&gt;
&lt;section class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot; aria-labelledby=&quot;footnotes-label&quot;&gt;
&lt;h2 id=&quot;footnotes-label&quot;&gt;Footnotes&lt;/h2&gt;
&lt;ol&gt;
&lt;li id=&quot;fn-1&quot; role=&quot;doc-footnote&quot;&gt;&lt;p&gt;Some good introductions to quines: &lt;a href=&quot;http://www.madore.org/~david/computers/quine.html&quot;&gt;http://www.madore.org/~david/computers/quine.html&lt;/a&gt;, &lt;a href=&quot;https://youtu.be/-Bghss4y9ZY&amp;amp;t=1663&quot;&gt;https://youtu.be/-Bghss4y9ZY&amp;amp;t=1663&lt;/a&gt; &lt;a href=&quot;https://nonsingular.org/posts/inner-quines-and-alignment/#fnref-1&quot; class=&quot;fn-back&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Back to the text&quot;&gt;↩︎&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/section&gt;</content>
  </entry>
</feed>
