<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://www.sri.inf.ethz.ch/blog/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.sri.inf.ethz.ch/" rel="alternate" type="text/html" /><updated>2026-11-08T16:45:24+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/feed.xml</id><title type="html">SRI Lab | Blogposts</title><subtitle>SRI Group Website</subtitle><entry><title type="html">Probing the SynthID-text deployment on Gemini APIs</title><link href="https://www.sri.inf.ethz.ch/blog/probing-synthid-gemini-apis" rel="alternate" type="text/html" title="Probing the SynthID-text deployment on Gemini APIs" /><published>2026-10-21T00:00:00+00:00</published><updated>2026-10-21T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/probing-synthid-gemini-apis</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/probing-synthid-gemini-apis"><![CDATA[<p><a href="https://www.nature.com/articles/s41586-024-08025-4">SynthID-Text</a> is the first major publicized large-scale deployment of an LLM watermarking algorithm, announced in 2024. It was originally deployed in the <a href="https://deepmind.google/blog/watermarking-ai-generated-text-and-video-with-synthid/">Gemini app</a>, and following the requirements of the <a href="https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-50">EU AI Act</a> is <a href="https://discuss.ai.google.dev/t/does-gemini-api-text-output-carry-synthid-watermarking-gemini-2-5-flash-lite-gemini-3-1-flash-lite-eu-ai-act-art-50-2/177241/4">allegedly</a> deployed in the API. While Google released an <a href="https://github.com/google-deepmind/synthid-text">open-source</a> implementation of SynthID-Text, they have not discussed how they deploy their watermark in practice. In this blog post, using our <a href="https://www.sri.inf.ethz.ch/publications/gloaguen2024detectingwatermarks">ICLR 2025 work</a>, we answer the following questions:</p>
<ul>
  <li>Do all Gemini models share the same watermark?</li>
  <li>What are the hyperparameters used by the deployed SynthID-Text?</li>
  <li>Is the (hidden) thinking trace watermarked?</li>
</ul>

<p>Answering those questions has important practical implications. With the watermark hyperparameters, attackers can then mount more sophisticated <a href="https://watermark-stealing.org/">watermark stealing</a> attacks that allow them to either remove or spoof the watermark. Furthermore, knowing that lite models use the same watermark as larger models enables attackers to attack the SynthID watermark at a much lower cost. Lastly, knowing whether the thinking trace is watermarked has significant implications for the research community. In particular, recent works (<a href="https://arxiv.org/abs/2601.05144">ReasonMark</a>, <a href="https://arxiv.org/html/2607.20462#S4.SS4">Marking the Wrong Symptoms: Evaluating LLM Watermarks in Medical Texts</a>) have been discussing whether the thinking trace should be watermarked and how watermarking the thinking trace impacts reasoning accuracy.</p>

<h3 id="how-does-text-watermarking-work">How does text watermarking work?</h3>

<p>The idea behind most LLM watermarks, including SynthID-Text, is to change the probabilities of the next tokens to leave a detectable pattern in the generated text. Let’s start with a small example.</p>

<p><img src="/assets/blog/probing-synthid-gemini-apis/red-green-context-seeding.png" alt="" class="blogpost-img100" /></p>

<p class="blogpost-caption"><em>Illustration of the Red-Green watermarking algorithm. Given a partial sentence, the LLM outputs a probability distribution over the next token. The watermark uses the previously generated token as a seed to partition the vocabulary into red and green tokens. It then increases the probability of green tokens. Thus, a watermarked text has more green tokens than a non-watermarked one.</em></p>

<p>The LLM is generating the following text: “ETH is a” and needs to choose the next word. Let’s assume that the LLM gives a probability of 1/2 to “great” and 1/2 to “nice”. Without a watermark, the sampling algorithm would simply choose either word with probability 1/2. A simple watermark could increase the probability of “great” to 3/4 (green word) and decrease that of “nice” to 1/4 (red word). Here the color is chosen deterministically by the watermark. Both words are still possible, but “great” is now chosen more often! Repeating this kind of transformation throughout the text leaves a statistical pattern: the generated text contains more of the green words favored by the watermark than we would otherwise expect.</p>

<p>SynthID-Text uses a more complex transformation than this simple probability shift, designed to not alter the quality of the generated text. But the underlying idea remains the same: change the probabilities deterministically so that the text carries a detectable statistical pattern.</p>

<p>How do we decide which tokens to favor? The deterministic choice should look random, but the watermark detector needs to be able to reproduce it. To achieve this, the watermark combines a secret key with a few preceding tokens, called the watermark’s context, to compute a seed. This seed determines which tokens are favored: the same key and context give the same choices, while a different context can favor different tokens. A detector with the key can reconstruct these choices from the text and check whether unusually many favored tokens were generated. This reproducibility across queries is also the property our black-box tests exploit.</p>

<h3 id="black-box-detection-of-language-model-watermarks">Black-Box Detection of Language Model Watermarks</h3>

<p>In “<a href="https://www.sri.inf.ethz.ch/publications/gloaguen2024detectingwatermarks">Black-Box Detection of Language Model Watermarks</a>”, we introduced several statistical tests that allow us to detect, from text responses alone, whether an API is watermarked or not. We have now updated our method to be more resilient to modern LLM scenarios (e.g., thinking models).</p>

<p><img src="/assets/blog/probing-synthid-gemini-apis/context-size.png" alt="" class="blogpost-img100" /></p>

<p class="blogpost-caption"><em>Illustration of context-size probing. Changing a token outside the four-token watermark context preserves the choice probabilities, while changing one inside it changes them.</em></p>

<p>In our original work, we asked the LLM to choose a random word and tested whether its word preferences depended strongly on the preceding tokens. To infer the watermark context length, we require replies of the form \(t_{n}\dots t_{1} \text{choice}\), where \(t_{i}\) is the token \(i\) positions before the chosen word. For each position \(i\), we vary \(t_{i}\) while keeping all other preceding tokens fixed, then compare the choice probabilities across repeated replies.</p>

<p>If \(i\) is smaller than or equal to the watermark context length (e.g., \(i = 4\) in the example above, with a context length of 4), changing \(t_{i}\) changes the watermark context and therefore which tokens the watermark favors. We thus expect the choice probabilities to change. If \(i\) is greater than the watermark context length (e.g., \(i = 5\) in the example above), changing \(t_{i}\) leaves the watermark context unchanged, so the watermark should continue to favor the same tokens.</p>

<h3 id="autoresearch-to-update-our-method">Autoresearch to update our method</h3>

<p>The original method presented above faces several issues when used in practice, e.g., thinking models may decide the choice of the words in their thinking trace without the intended context.</p>

<pre><code class="language-example">User: Finish the sentence: "I bought 2222" using a word from the list [bananas, strawberries, apples, pears].

Model: &lt;think&gt;I am asked to finish the sentence with a word from the list. I will use the word bananas. Thus my final answer is: 'I bought 2222 bananas'.&lt;/think&gt;
I bought 2222 bananas.
</code></pre>

<p>In this example, the word <code class="language-plaintext highlighter-rouge">bananas</code> was chosen by the model in the thinking trace: there is no influence due to the context <code class="language-plaintext highlighter-rouge">2222</code> and thus our test would have failed.</p>

<p>To update our method, we let auto-research agents figure out how to overcome this issue. Specifically, we gave an Opus 5.5 agent access to 3 black-box APIs (from its perspective) with only 1 of them watermarked. The agent was tasked with figuring out which one is watermarked. It also had access to a local GPU for conducting its experiments. After about 24 hours of research, it came up with an improvement to our method!</p>

<p><img src="/assets/blog/probing-synthid-gemini-apis/autoresearch.png" alt="" class="blogpost-img100" /></p>

<p class="blogpost-caption"><em>Illustration of our autoresearch setup. An Opus5.5 agent is running in an isolated sandbox and has access to 3 black-box APIs, one of them being watermarked. It is tasked to design a test to infer which one is watermarked.</em></p>

<blockquote class="blogpost-note">
  <p>The three black-box APIs served Qwen3.5-9B, Gemma-4-E4B-it, and Olmo-3-7B-Think, with their identities hidden from the agent. For local experiments, the agent had access to LiquidAI’s LFM2.5-2.6B on an NVIDIA RTX PRO 6000 GPU (96 GB). Downloading any additional model weights, from Hugging Face or elsewhere, was forbidden, preventing direct comparisons between the APIs and local copies of the same models.</p>
</blockquote>

<p>The updated method still tests whether word preferences depend on the preceding tokens. To keep those tokens next to the chosen word even during thinking, we ask the model to write a story with a code at the start of each sentence:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Answer immediately without deliberation. Write a story about a lighthouse keeper in exactly 20 sentences, one sentence per line. Each line must begin with the given code copied exactly (single letters separated by single spaces), then a space, then the sentence. Use these codes in this order, one per line:
r o o g o p d y
j d u d c o p d
e y h u k t v r
[17 more codes]
Output only the 20 lines.
</code></pre></div></div>

<p>Here, each code gives the sequence \(t_n\dots t_1\) before the opening word. We let the model choose any opening word, giving it more entropy than a fixed list. The eight letters in this example are a choice we make when designing the prompt. Below, we use sixteen letters to probe contexts longer than four tokens. The code length and the number of sentences are chosen separately. A typical reply would be</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;think&gt;I'll start by drafting the sentences. I'll need to create a narrative arc,
building a sense of place and atmosphere.

r o o g o p d y Silas climbed the spiral iron staircase as the sun began to sink below the jagged horizon.
j d u d c o p d The brass lantern housing gleamed under his weathered, calloused hands.
e y h u k t v r Outside, a brisk northern wind howled against the thick granite tower walls.
[...]&lt;/think&gt;

r o o g o p d y Silas climbed the spiral iron staircase as the sun began to sink below the jagged horizon.
j d u d c o p d The brass lantern housing gleamed under his weathered, calloused hands.
e y h u k t v r Outside, a brisk northern wind howled against the thick granite tower walls.
[...]
</code></pre></div></div>

<p>In this example, the code immediately precedes the opening word when the model first drafts it in the thinking trace. If thinking is watermarked, the code can therefore influence the word choice. Copying this draft into the visible answer preserves that bias. With thinking disabled, the model chooses the word directly after the code in its visible answer. This lets us apply the same test in both settings.</p>

<p>To compare codes with different amounts of shared context, we construct 20 families before querying the model. Each family starts with one random 16-letter reference code. We create eight variants that share exactly 0, 1, 2, 3, 4, 6, 8, or 12 trailing letters with it. For each variant, we keep the suffix, change the letter immediately before it, and randomly draw the earlier letters, keeping the first letter fixed. We also add two controls that preserve the first 12 or 14 letters and change the last letter. Each family thus contains 11 codes, giving 220 codes in total. Keeping the first letter fixed helps control for models that use it to choose the first letter of the opening word.</p>

<p>For example, these shorter codes all share the last three letters <code class="language-plaintext highlighter-rouge">t d f</code>:</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>r a p t d f
r e s t d f
r z o t d f
</code></pre></div></div>

<p>We count shared trailing letters backwards from the code endings, stopping at the first difference. The first two codes above share exactly three trailing letters. The second and third share four.</p>

<blockquote>
  <p>For each tested model, we also verify that each letter corresponds exactly to one token (it would be possible for tokenizers to tokenize e.g. <code class="language-plaintext highlighter-rouge">a b</code> in a single token). This lets us count the tokens immediately before the opening word from the letters in the code.</p>
</blockquote>

<p>For each story, we randomly select one code from each family and shuffle their order. Each of the 20 lines uses one selected code. We repeat this with new stories and record each code together with the first word that follows it. The code pool stays fixed throughout the experiment. After collecting the replies, we use the same observations to analyze every tested suffix length.</p>

<p>For each code, we build a word-preference profile by comparing the observed word counts with the counts expected if word choice did not depend on the code. We use the 12 most frequent opening words and group the remaining words into an “other” category. A positive profile entry means that a word appears more often than expected, and a negative entry means that it appears less often. We scale each difference by the square root of its expected count.</p>

<p>Let’s work through a small example. Suppose we use five-letter codes and each sentence starts with “The”, “Silas” (a character’s name), or “Outside”. For example, <code class="language-plaintext highlighter-rouge">r b c d y Silas climbed the stairs.</code> gives us the code <code class="language-plaintext highlighter-rouge">r b c d y</code> followed by the word “Silas”. In one family, we have the reference <code class="language-plaintext highlighter-rouge">r b c d y</code> and two variants, <code class="language-plaintext highlighter-rouge">r l x d y</code> and <code class="language-plaintext highlighter-rouge">r j k x y</code>. For each story, we select one of these codes and record the word that follows it. The first variant shares two trailing letters with the reference, while the second shares only one.</p>

<p>Suppose we observe the reference 30 times: 12 followed by “The”, 9 by “Silas”, and 9 by “Outside”. Across all codes, the three words appear equally often, so we would expect 10 of each for this code. Its profile is therefore \((2,-1,-1)/\sqrt{10}\). If <code class="language-plaintext highlighter-rouge">r l x d y</code> gives the same counts, the two codes favor the same words. If <code class="language-plaintext highlighter-rouge">r j k x y</code> instead gives counts of 10, 13, and 7, it favors “Silas” and disfavors “Outside”. Repeating this comparison across families, we would look for word preferences that become similar once codes share two trailing tokens. This would suggest a two-token watermark context.</p>

<p>We then compare these profiles for codes sharing different numbers of trailing tokens. If the watermark uses a context of 4 tokens, codes sharing only their last 3 tokens generally produce different watermark seeds and therefore different word preferences. Once they share their last 4 tokens, their seeds match, and their preferences should become as similar as those observed with the same code. We therefore look for a sudden jump in similarity, followed by a plateau: the location of the jump reveals the watermark’s context size!</p>

<blockquote class="blogpost-note">
  <p>Precisely, we randomly split the collected replies into halves \(A\) and \(B\). Let \(N^A_{cw}\) count how often code \(c\) is followed by word \(w\) in half \(A\). Let \(n^A_c\) be the total count for code \(c\), \(n^A_w\) the total for word \(w\), and \(n^A\) the total number of observations. Under independence between codes and words, the expected count is \(E^A_{cw}=n^A_c n^A_w/n^A\). Define the standardized residual \(R^A_{cw}=(N^A_{cw}-E^A_{cw})/\sqrt{E^A_{cw}}\), and similarly for half \(B\). The similarity between any two codes \(c\) and \(d\) is</p>

\[G_{cd}=\frac12\sum_w\left(R^A_{cw}R^B_{dw}+R^B_{cw}R^A_{dw}\right).\]

  <p>Within each family, we average \(G_{cd}\) over distinct code pairs sharing exactly \(m\) trailing tokens. We then average equally across families to obtain \(S_m\). Pairs sharing no trailing tokens but a long prefix are kept as separate controls and excluded from \(S_0\). We also average over multiple random splits of the replies. A larger \(S_m\) means that these codes reproducibly favor and disfavor the same words.</p>

  <p>Let \(S_0\) be the baseline for codes sharing no trailing tokens, and \(S_{\mathrm{same}}\) the average similarity of each code with itself across the two halves. For each suffix length \(m\), we define the alignment \(r_m=(S_m-S_0)/(S_{\mathrm{same}}-S_0)\). An alignment near 0 means that sharing \(m\) trailing tokens produces as little similarity as sharing none. An alignment near 1 means that these codes have word preferences as similar as those measured with the same code.</p>
</blockquote>

<p>We give a <a href="/blog/probing-synthid-gemini-apis/worked-example/">worked example</a> with two small families, three possible opening words, and detailed calculations.</p>

<h3 id="applying-our-method-to-all-gemini-models">Applying our method to all Gemini models</h3>

<p>We apply our method to ten Gemini models using the same 20 families of 16-letter codes described above. We collect 2,000 stories per model, except for Gemini 2.5 Pro (1,200) and Gemini 3.7 Flash (1,990 retained). Each story provides up to 20 code–word observations, giving up to 40,000 observations per model, or about 182 per code. From these replies, we compute alignment at shared suffix lengths 1, 2, 3, 4, 6, 8, and 12, using length 0 as the baseline and identical codes for calibration. We disable thinking whenever the API allows it.</p>

<p><a href="/assets/blog/probing-synthid-gemini-apis/gemini-context-alignment.png"><img src="/assets/blog/probing-synthid-gemini-apis/gemini-context-alignment.png" alt="" class="blogpost-img50 blogpost-plot" /></a></p>

<p class="blogpost-caption"><em>Within-model alignment for 10 Gemini models as a function of the number of shared trailing tokens. Faint blue curves show individual models and the thick blue curve shows their median. The jump at four shared tokens is consistent with a four-token watermark context across all evaluated models.</em></p>

<p>Our results show that, for codes sharing exactly 3 trailing tokens, we see no similar word preferences across codes on any model. However, for codes sharing 4 or more trailing tokens, we see on all models that different codes consistently lead to the same word preferences. This means that the watermark context size of all evaluated Gemini models is 4 tokens.</p>

<p><a href="/assets/blog/probing-synthid-gemini-apis/gemini-watermark-correlation.png"><img src="/assets/blog/probing-synthid-gemini-apis/gemini-watermark-correlation.png" alt="" class="blogpost-img50 blogpost-plot" /></a></p>

<p class="blogpost-caption"><em>Alignment between the watermark biases of 10 Gemini models. All models except Gemini 4 Argon share the same context bias, consistent with a shared watermarking key. Gemini 4 Argon has no detectable alignment with those models and thus effectively has a different watermarking key.</em></p>

<p>Furthermore, if we look at the word preference across the nine models from Gemini 2.5 to 3.8, we find that for each shared set of trailing tokens, these models show the same word preference. This is consistent with those nine models sharing the exact same watermarking key. Gemini 4 Argon also has a four-token watermark context, but its biases do not align with those of the earlier models in any of the nine comparisons. This lack of alignment means that Argon effectively has a different watermarking key. This result is actually not surprising: the watermark is applied at the token level, and Gemini 4 uses a different tokenizer compared with previous models. This means that the watermark is also applied differently, similar to having a different key.</p>

<h3 id="detecting-that-the-thinking-trace-is-watermarked">Detecting that the thinking trace is watermarked</h3>

<p>A question in the watermark literature is whether model providers should watermark the thinking trace (<a href="https://arxiv.org/abs/2601.05144">ReasonMark</a>, <a href="https://arxiv.org/html/2607.20462#S4.SS4">Marking the Wrong Symptoms: Evaluating LLM Watermarks in Medical Texts</a>). With our probing, we find that Google decided to watermark the thinking traces of Gemini.</p>

<p>We realized the thinking trace of Gemini 3.8 Flash is watermarked quite inadvertently. On the Gemini 3.8 Flash API, you can enable/disable the thinking trace. We therefore ran the above experiment with thinking enabled and disabled.</p>

<p><a href="/assets/blog/probing-synthid-gemini-apis/thinking-context-alignment.png"><img src="/assets/blog/probing-synthid-gemini-apis/thinking-context-alignment.png" alt="" class="blogpost-img50 blogpost-plot" /></a></p>

<p class="blogpost-caption"><em>Alignment scores for Gemini 3.8 Flash without and with thinking depending on the number of shared trailing tokens in each code word. We see that the alignment jumps at 4 tokens without thinking and 3 with thinking.</em></p>

<p>As we can see in the figure, the jump in similarity appears at 3 tokens with thinking on (orange curve) whereas it appears at 4 tokens with thinking off (blue curve). This seems to suggest that the watermark context is not the same when thinking is on or off. But is it really?</p>

<p>Because of these unexpected results, we pushed our investigation further. The Gemini API allows us to obtain thinking summaries of the thinking trace. We therefore decided to look in detail at those summaries.</p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>1.  `g e x q m j h r` High atop the jagged peaks of Mount Ashen, a solitary beast slumbered beneath centuries of frozen mist.
2.  `f r x t k b m o` His crimson scales shimmered like polished rubies caught in the pale morning sun.
3.  `h b x f o d d r` For a thousand years, the dragon had ignored the petty squabbles of the mortal realm below.
</code></pre></div></div>

<p>The summaries sometimes show a backtick between the code and the first word. If the model also inserts it when drafting the story in its hidden trace, the backtick takes up one token of the watermark context. A four-token context would then contain the last three tokens of the code and the backtick, explaining the jump at 3 shared tokens.</p>

<p>To test this explanation, we collected 500 additional stories with thinking disabled, using the same code pool and adding a closing backtick after every code. The resulting word preferences align with those measured with thinking enabled, supporting the explanation that the model chooses the words after a backtick during thinking and copies them into its visible answer. Thinking summaries are rewritten accounts of the hidden trace, so the controlled comparison provides stronger evidence than the summaries alone.</p>

<h3 id="why-watermark-the-thinking-trace">Why watermark the thinking trace?</h3>

<p>We now know that Google decided to watermark the thinking trace of their model. In this part, we try to give sensible explanations for why this choice makes sense.</p>

<p>Intuitively, because the thinking trace is hidden anyway, one would think that there is no need for it to be watermarked: end users should never see it anyway. Yet, our tests already give an explanation for why watermarking the thinking trace makes sense. We saw that with our prompt the thinking model first drafted the answer in its trace and then copy-pasted it almost exactly in the visible answer. If the trace were not watermarked, copying its draft would leave little freedom for final-answer watermarking to bias the word choices.</p>

<p>We therefore propose a simple “attack” against thinking models whose final answers are watermarked while their thinking traces are not. We ask for a reply with a fixed number of sentences, encouraging the model to draft and count the sentences during thinking, then copy them into the visible answer. We observed this behavior on Gemini 3.8 Flash above. To test its effect on watermark detection, we run a separate experiment on an open model where we control which parts are watermarked.</p>

<p><a href="/assets/blog/probing-synthid-gemini-apis/thinking-watermark-attack.png"><img src="/assets/blog/probing-synthid-gemini-apis/thinking-watermark-attack.png" alt="" class="blogpost-img50 blogpost-plot" /></a></p>

<p>Specifically, we evaluate our attack on Qwen3.8-27B with 1,000 ELI5 prompts and a SynthID watermark with a context of 4 tokens, with final-answer watermarking enabled in both conditions. We only change whether the thinking trace is also watermarked. We use the following prompt:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Answer in 10 sentences exactly this question: {eli5 question}
</code></pre></div></div>

<p>As we can see in the attached figure, when the thinking is watermarked, we can easily detect the watermark even at low FPRs. However, when the thinking is not watermarked, the watermark is almost undetectable (TPR=FPR).</p>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[Google DeepMind's SynthID-Text is the first large-scale LLM watermark deployment, yet little is known about how it is actually deployed. Using our work, we, for the first time, identify several key watermark hyperparameters. We find that: (1) all Gemini models are watermarked and they all share the same key except for Gemini 4 Argon, (2) the context size of the watermark is 4 tokens (the same as the default from the open-source SynthID release), and (3) Gemini models also watermark the (hidden) thinking trace. Our findings allow us to better understand how watermarks are actually deployed in practice and understand the trade-offs made by LLM providers.]]></summary></entry><entry><title type="html">Searching for errors in mathematical papers with GPT-6.1 Sol</title><link href="https://www.sri.inf.ethz.ch/blog/literature-mistakes" rel="alternate" type="text/html" title="Searching for errors in mathematical papers with GPT-6.1 Sol" /><published>2026-10-15T00:00:00+00:00</published><updated>2026-10-15T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/literature-mistakes</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/literature-mistakes"><![CDATA[<!-- Comparison counts are a publication snapshot from MathArena revision 8d5696845. -->
<div class="content blog-content">

      <div id="paper-results">

<figure class="paper-comparison" aria-label="Papers after all versions">
  <div class="comparison-legend">

    <span><i class="cohort-key before" aria-hidden="true"></i>Before Aug 2026 <span class="cohort-n">(n = 656)</span></span>

    <span><i class="cohort-key recent" aria-hidden="true"></i>Aug–Sep 2026 <span class="cohort-n">(n = 137)</span></span>

  </div>
  <div class="comparison-canvas"><canvas id="paper-comparison-chart" role="img" aria-label="After all versions: papers category percentages comparing earlier papers with August–September 2026"></canvas></div>

  <div class="comparison-definitions" aria-label="Category meanings">
    <span aria-label="None: no counterexample found">No counterexample found</span>
    <span aria-label="Edge: clear intent, but literal gap">Clear intent, but literal gap</span>
    <span aria-label="Minor: error with a simple repair">Error with a simple repair</span>
    <span aria-label="Major: central claim needs reworking">Central claim needs reworking</span>
  </div>

  <div id="paper-comparison-accessible" class="comparison-accessible"></div>
  <figcaption class="caption">Figure 1. Major mistakes occur in 6% of arXiv papers, and this proportion dropped significantly in the last two months.</figcaption>
</figure>

      </div>

      <div class="acknowledgement">
        This work was supported by a grant from <a href="https://epoch.ai/" target="_blank" rel="noopener">Epoch AI</a>.
      </div>
      <p>Mathematical papers published on arXiv are not peer-reviewed and can therefore contain mistakes. However, these works are frequently relied upon and cited in follow-up work, and mathematicians spend a lot of time reading through them. Pollution in this source can therefore have significant consequences for the mathematical field. We therefore ask the following questions: How many arXiv papers contain major mistakes that make their main results invalid? And how has the recent rise of AI affected this possibility?</p>
      <p>AI agents are now sufficiently good to approximately answer these questions at scale. However, despite their capabilities, there are still major issues when applying them to this task. For this reason, we focus on a subset of very consequential mistakes by measuring how often an LLM can find a counterexample to one of the main theorems proven in a paper. Additionally, we require the agent to place each counterexample in one of three categories:</p>
      <ol>
        <li><strong>Edge:</strong> the authors clearly meant the statement differently, but due to a typo or a missing, very common assumption, the statement is false as written.</li>
        <li><strong>Minor:</strong> the statement is mathematically false in some cases but can be salvaged by adding minor additional assumptions or corrections that do not affect the main contribution of the theorem.</li>
        <li><strong>Major:</strong> the statement is fundamentally flawed and can only be salvaged by significantly limiting or changing its conclusion.</li>
      </ol>
      <p>We use GPT-6.1 Sol with a pipeline consisting of statement extraction, counterexample search, and verification. Across 656 papers from January 2025 to July 2026, it reports major mistakes in theorem statements in 6% of papers and minor mistakes in a further 30%. In August and September 2026, <a href="https://epoch.ai/data/arxiv?view=graph" target="_blank" rel="noopener">when AI acknowledgments started appearing in over 25% of papers</a>, the prevalence of reported major mistakes dropped to 1.5%. While this gives an indication that the rise in AI usage in research mathematics has also reduced the error rate, we cannot exclude the possibility that confounding factors affect this proportion. For instance, GPT-6.1 Sol might be less able to identify mistakes in papers that were written with its help.</p>
      <p>We release <a href="https://matharena.ai/literature/">all our raw data</a> with this blog post. However, we will not actively contact authors whose papers likely contain mistakes for two reasons. First, the reported mistakes include a significant number of false positives: around 10%, by our best estimate. Second, we believe that forcing others to read and verify AI-written text is counterproductive. Mathematicians could (and perhaps should) run AI agents on their own past papers to identify and correct mistakes, but doing so is already taxing in itself: when a mistake is found, one has to acknowledge that an autonomous system quickly found issues in a work that might have taken months or years to produce. If such corrections then came from external researchers, this might lead to understandable pushback.</p>

      <h2 class="anchorable" id="method"><a href="#method">Methodology</a></h2>
      <p><strong>Scope.</strong> Naively asking an AI agent to find mistakes in a mathematical arXiv paper runs into several major issues:</p>
      <ul>
        <li>In our experience, current agents often overestimate the importance of the mistakes they find. A small typo might be labeled as a major error.</li>
        <li>Trying to find mistakes in papers is still very challenging. For instance, models have to handle complicated dependencies over long contexts. Given that error rates are likely low, even moderate false positive rates can be detrimental to the analysis.</li>
        <li>Determining the severity of a mistake in a proof is extremely challenging. A mistake in the proof of a small lemma could be easily circumvented, or it could completely invalidate the proof.</li>
      </ul>
      <p>For these reasons, we instead focus on an easier, more clearly defined task: finding counterexamples to main theorems proven in the paper. Such counterexamples are easier to categorize and verify, and this approach, when properly executed, significantly reduces the effect of the second and third issues. Further, this process still identifies the most consequential mistakes: those for which follow-up work relying on the correctness of the results also leads to false conclusions.</p>
      <p><strong>Extraction pipeline.</strong> We extract counterexamples through a four-stage pipeline. The first three stages of this pipeline focus on the first version of articles published on arXiv, while the final stage checks whether mistakes found in the first version also survive in later versions. This allows us to investigate how often mistakes get corrected.</p>
      <p>In particular, the four stages are:</p>
      <ol>
        <li><strong>Theorem extraction:</strong> given the raw TeX of the paper, we first ask the model to extract up to five main theorems that are likely to be reused in follow-up work. All assumptions and definitions required to understand a theorem should be included in the extracted theorem. All further stages are executed on each extracted theorem.</li>
        <li><strong>Counterexample search:</strong> given an extracted theorem and the raw TeX, we ask the model to find counterexamples that invalidate the theorem and categorize these counterexamples into the three categories described in the introduction: edge, minor, and major.</li>
        <li><strong>Verification:</strong> given the extracted theorem, the counterexample report from the previous stage, and the raw TeX, the model is asked to verify the counterexamples and reconsider their categorization. This stage changed the severity of only 2% of the mistakes.</li>
        <li><strong>Follow-up versions:</strong> given all prior information and the latest version of a paper, we ask the model to check whether the mistake is fixed in the latest version and, if so, to change the categorization of the counterexample found. When a follow-up version exists, it reduces the severity of major errors in 50% of cases, and the frequency of any errors decreases by 28%.</li>
      </ol>
      <p>Prompts for all stages can be found below. For each stage, we used a Codex agent with GPT-6.1 Sol at high reasoning effort, using a total of around <span>$2,500</span> in API credits.</p>

      <h2 class="anchorable" id="results"><a href="#results">Results</a></h2>
      <p><strong>Sol flags major errors in 6% of submitted papers.</strong> Among papers published before August, GPT-6.1 Sol reports major errors in 6% of papers (<a href="#paper-results">Figure 1</a>) and 2.3% of extracted theorems (<a href="#theorem-results">Figure 2</a>). Based on feedback from several mathematicians, this is more or less in line with expectations, given that arXiv papers are not peer-reviewed. A further 30% of papers are reported to contain minor errors, which does show that, despite the limited subset of mistakes we focus on, a very significant portion of arXiv articles contain mistakes that are worth fixing.</p>

      <div id="theorem-results">

<figure class="paper-comparison" aria-label="Theorems after all versions">
  <div class="comparison-legend">

    <span><i class="cohort-key before" aria-hidden="true"></i>Before Aug 2026 <span class="cohort-n">(n = 2543)</span></span>

    <span><i class="cohort-key recent" aria-hidden="true"></i>Aug–Sep 2026 <span class="cohort-n">(n = 556)</span></span>

  </div>
  <div class="comparison-canvas"><canvas id="theorem-comparison-chart" role="img" aria-label="After all versions: theorems category percentages comparing earlier papers with August–September 2026"></canvas></div>

  <div id="theorem-comparison-accessible" class="comparison-accessible"></div>
  <figcaption class="caption">Figure 2. 2.3% of main theorems in arXiv papers contain major mistakes, and this proportion dropped significantly in the last two months.</figcaption>
</figure>

      </div>

      <p><strong>Major mistakes have dropped by 75% in the past two months.</strong> In the last two months, <a href="https://epoch.ai/data/arxiv?view=graph" target="_blank" rel="noopener">when the use of AI in mathematical research has increased significantly</a>, major errors have decreased to just 1.5%. If we instead differentiate between papers with and without AI use statements, the decrease is similar: from 5.4% to 1.8%. Several confounding factors could have caused this: the distribution of published papers might have changed, or GPT-6.1 Sol might be less able to find mistakes in papers that were written with its help. However, this is more or less in line with mathematicians' expectations: at the very least, AI is now great for verifying papers and can therefore reduce the error rate as well as increase output.</p>
      <p><strong>Estimated 10% false positives.</strong> To validate our approach, we first spot-checked 20 errors and found no mistakes in their categorization. We then ran the search stage using Opus 5.5 (high) on all 75 theorems with reported major errors remaining after the verification stage, and randomly selected 75 additional theorems from each of the three other categories.
        As shown in <a href="#cross-model-agreement">Figure 3</a>, Opus 5.5 is more lenient overall and agrees with GPT-6.1 Sol in roughly 80% of cases classified as major errors.
        We manually investigated the errors that Opus 5.5 downgraded from major to edge or none. Three of these six errors were correctly characterized by GPT-6.1 Sol.
        After asking GPT-6.1 Sol to investigate the errors downgraded to minor, we believe that a bit less than 90% of the major mistakes found by GPT-6.1 Sol are correctly identified.
        Rerunning GPT-6.1 Sol on the 75 major errors also retained 90% of the major errors, with the other 10% being downgraded. Importantly, these experiments only provide an estimate of error rates.</p>

      <figure id="cross-model-agreement" class="search-confusion" aria-label="Sol and Opus theorem-level confusion matrix">
        <div class="confusion-column-model">Opus 5.5</div>
        <div class="confusion-body">
          <div class="confusion-row-model">GPT-6.1 Sol</div>
          <table class="confusion-matrix">
            <thead><tr><td></td><th scope="col" class="confusion-category category-none">None</th><th scope="col" class="confusion-category category-edge">Edge</th><th scope="col" class="confusion-category category-minor">Minor</th><th scope="col" class="confusion-category category-major">Major</th></tr></thead>
            <tbody>

              <tr><th scope="row" class="confusion-category category-none">None</th>



                <td class="confusion-cell" data-percent="96.0" title="Sol None → Opus None: 96.00%">
                  <span>96.0%</span>
                </td>



                <td class="confusion-cell" data-percent="1.3333333333333333" title="Sol None → Opus Edge: 1.33%">
                  <span>1.3%</span>
                </td>



                <td class="confusion-cell" data-percent="2.6666666666666665" title="Sol None → Opus Minor: 2.67%">
                  <span>2.7%</span>
                </td>



                <td class="confusion-cell" data-percent="0.0" title="Sol None → Opus Major: 0.00%">
                  <span>0.0%</span>
                </td>

              </tr>

              <tr><th scope="row" class="confusion-category category-edge">Edge</th>



                <td class="confusion-cell" data-percent="28.0" title="Sol Edge → Opus None: 28.00%">
                  <span>28.0%</span>
                </td>



                <td class="confusion-cell" data-percent="61.333333333333336" title="Sol Edge → Opus Edge: 61.33%">
                  <span>61.3%</span>
                </td>



                <td class="confusion-cell" data-percent="10.666666666666666" title="Sol Edge → Opus Minor: 10.67%">
                  <span>10.7%</span>
                </td>



                <td class="confusion-cell" data-percent="0.0" title="Sol Edge → Opus Major: 0.00%">
                  <span>0.0%</span>
                </td>

              </tr>

              <tr><th scope="row" class="confusion-category category-minor">Minor</th>



                <td class="confusion-cell" data-percent="9.333333333333334" title="Sol Minor → Opus None: 9.33%">
                  <span>9.3%</span>
                </td>



                <td class="confusion-cell" data-percent="21.333333333333332" title="Sol Minor → Opus Edge: 21.33%">
                  <span>21.3%</span>
                </td>



                <td class="confusion-cell" data-percent="68.0" title="Sol Minor → Opus Minor: 68.00%">
                  <span>68.0%</span>
                </td>



                <td class="confusion-cell" data-percent="1.3333333333333333" title="Sol Minor → Opus Major: 1.33%">
                  <span>1.3%</span>
                </td>

              </tr>

              <tr><th scope="row" class="confusion-category category-major">Major</th>



                <td class="confusion-cell" data-percent="2.6666666666666665" title="Sol Major → Opus None: 2.67%">
                  <span>2.7%</span>
                </td>



                <td class="confusion-cell" data-percent="5.333333333333333" title="Sol Major → Opus Edge: 5.33%">
                  <span>5.3%</span>
                </td>



                <td class="confusion-cell" data-percent="13.333333333333334" title="Sol Major → Opus Minor: 13.33%">
                  <span>13.3%</span>
                </td>



                <td class="confusion-cell" data-percent="78.66666666666667" title="Sol Major → Opus Major: 78.67%">
                  <span>78.7%</span>
                </td>

              </tr>

            </tbody>
          </table>
        </div>
        <figcaption class="caption">Figure 3. Agreement between Opus and Sol is high, but there is a significant number of discrepancies.</figcaption>
      </figure>

      <p><strong>Examples.</strong> Finally, we give two examples from each of the three error categories to give a better idea of the severity of each. These examples were specifically selected to be easy to understand and explain:</p>
      <p><strong>Edge:</strong> In <a href="https://arxiv.org/abs/2609.16129v1" target="_blank" rel="noopener">this paper</a>, the authors accidentally omit an absolute value in equation 3.5, but the correct formula appears elsewhere in the paper. In <a href="https://arxiv.org/abs/2509.11956v1" target="_blank" rel="noopener">this paper</a>, Theorem 3 fails because the definition of a relationship between three points allows identical points to be included. Both errors can be fixed very easily and are readily understood by readers as simple oversights or typos.</p>
      <p><strong>Minor:</strong> The robot-motion algorithm in <a href="https://arxiv.org/abs/2506.10686v1" target="_blank" rel="noopener">this paper</a> incorporates gravity directly into its calculations of how a joint's geometry changes, predicting changes even when the robot is motionless.
        <a href="https://arxiv.org/abs/2511.06340v1" target="_blank" rel="noopener">This paper</a> proposes an optimization algorithm whose incorrect lower bound can cause it to discard the best solution and incorrectly declare a worse solution optimal. Both errors can be fixed by making small changes to the algorithms.</p>
      <p><strong>Major:</strong> <a href="https://arxiv.org/abs/2601.07114v1" target="_blank" rel="noopener">This paper</a> supposedly guarantees a feasible traffic schedule under certain conditions, but counterexamples with infeasible traffic schedules can be found. <a href="https://arxiv.org/abs/2605.06375v1" target="_blank" rel="noopener">This paper</a> claims that its GRPO-based training algorithm improves monotonically under a mild condition, but due to a mismatch between the reward and the training objective, this is not true. Both errors require substantially changing the assumptions or conclusions.</p>

      <h2 class="anchorable" id="prompts"><a href="#prompts">Prompts</a></h2>
      <p>Below are the prompts for the four stages. The prompts were changed slightly midway through the generation process, but this did not significantly affect error rates.</p>

      <details class="example-container prompt-details">
        <summary class="title is-4">Theorem extraction</summary>
        <div class="box problem-box prompt-content">
<h3>Task</h3>
<p>I want to determine how many ArXiv articles contain critical mistakes in their core theorems. For this purpose, I first want to extract the core mathematical theorems from a given ArXiv paper. The goal is to identify the most central and reusable results that are likely to be used in follow-up work. You are given a paper with the ArXiv ID <code>{arxiv_id}</code>. Your task is to read the TeX files in the <code>paper/</code> directory, follow their inputs/includes, and extract at most five core theorems that are likely to be used by future research. You are explicitly given v1 of the paper, and you should not use any later versions (even through internet search).</p>

<h3>Theorem Extraction</h3>
<p>Select AT MOST FIVE core theorems that are likely to be used by follow-up work. Prioritize reusable structural results, central techniques, classifications, and general statements on which future papers could build. Consider results called propositions, lemmas, or corollaries when they serve that role. Rank by mathematical centrality and likely downstream use. Do not fill the quota with peripheral results; a paper is very likely to contain less than five central contributions.</p>

<p>For each result, preserve the exact quantifiers, domains, constants, and conclusion. Make the statement self-contained, explicitly collecting ALL hypotheses, including standing assumptions elsewhere in the article. Keep a theorem with several clauses as one item. Use the original theorem label and a unique local ID T1, T2, ... Check that each claim is made in the rendered paper, rather than only in a TeX comment, obsolete draft, or unused source file.</p>

<p>The extracted statement will be the fixed target of a separate counterexample search. Preserve the paper's mathematical claim faithfully: do not strengthen hypotheses, weaken conclusions, restrict to a convenient special case, or supply a correction. Distinguish assumptions actually imposed by the paper from a proof strategy, an intermediate claim, or a property claimed as a consequence. A restriction used in a proof is not automatically an additional hypothesis. Collect standing assumptions only when the context establishes that they apply to the selected result, and quote the supporting passages.</p>

<p>If a domain, convention, or standing assumption is genuinely ambiguous, preserve the paper's wording and explain the ambiguity in Source references. Do not silently resolve it by making the theorem narrower or broader. Identify which assumptions are stated in the theorem and which are supplied by the surrounding context. Do not split clauses of one theorem into separate selections or select essentially duplicate restatements just to fill the quota.</p>

<p>Internet and shell tools are available. Use them if needed to understand the mathematics, but treat only this v1 source as authoritative for the claim. Do not import a later revision's hypotheses or corrected conclusions. Extract theorems without assessing their correctness or searching for mistakes. That is not your job.</p>

<p>Write one separate UTF-8 Markdown file per theorem in <code>theorems/</code>, named T1.md, T2.md, ... through T5.md at most. Use this structure in each file:</p>

<h3>T1 — Original theorem label</h3>

<h3>Theorem statement</h3>
<p>[The complete self-contained mathematical claim, preserving all quantifiers and conclusions, collecting the paper's applicable hypotheses and explaining definitions, conventions, and notation needed to interpret the statement. Do not add assumptions to repair or specialize the claim. Use ordinary mathematical Markdown and LaTeX.]</p>

<h4>Importance for follow-up work</h4>
<p>Explain why this is a core theorem likely to be used by follow-up work.</p>

<h4>Source references</h4>
<p>Paths relative to <code>paper/</code>, theorem labels or line locations, and verbatim TeX quotes supporting the statement and the relevant assumptions. Distinguish hypotheses in the theorem from standing assumptions in its context, and record any unresolved scope ambiguity. Do not expand macros or rephrase quoted TeX.</p>
</div>
      </details>

      <details class="example-container prompt-details">
        <summary class="title is-4">Counterexample search</summary>
        <div class="box problem-box prompt-content">
<h3>Task</h3>
<p>I want to determine how many ArXiv articles contain critical mistakes in their core theorems. You are given a theorem extracted from the paper with ArXiv ID <code>{arxiv_id}</code>, identified by <code>{theorem_id}</code> in <code>theorems/{theorem_id}.md</code>. Read that file and the full TeX source in <code>paper/</code>, following inputs/includes, and actively search for counterexamples to the extracted theorem. The supplied paper is v1. Do not consult any later version of this target paper, including through internet search.</p>

<p>Your task is to find a mathematical contradiction to the theorem's conclusion under its hypotheses. You are not assessing the correctness of its proof. You may read the proof to understand notation and develop constructions, but a proof gap is not a counterexample. Do not assume that a mistake must exist.</p>

<h3>Fixed target</h3>
<p>The Theorem statement in <code>theorems/{theorem_id}.md</code> is the fixed target of this search. Preserve all its hypotheses, quantifiers, domains, conventions, and conclusions. Use the paper to understand the statement and check its provenance; do not replace it with another interpretation of the paper, drop a hypothesis, enlarge its domain, or attack a different claim. A construction outside the extracted theorem's hypotheses is not a counterexample, even if it challenges broader wording elsewhere in the paper.</p>

<p>If you suspect an extraction error or unresolved scope ambiguity, describe it separately in Assessment with source references. Such an issue alone receives NONE.</p>

<h3>Search and verification</h3>
<p>Internet, shell, and computation tools are available. Use them as useful to find relevant constructions and independently verify them. Independent background sources are allowed; later versions of the target paper are not. Include URLs and explain their relevance when used.</p>

<p>Test boundary values, degenerate cases, non-generic objects, small instances, and substantive families. For every candidate:</p>

<ul>
  <li>Specify the objects and parameters precisely.</li>
  <li>Check every hypothesis of the extracted statement, including standing assumptions, and explain why your objects are in the allowed domain.</li>
  <li>Identify the exact clause of the extracted conclusion that fails and demonstrate the contradiction.</li>
  <li>Distinguish exact arguments or verified computations from numerical exploration. Justify that any claimed discrepancy is not numerical error or a convention mismatch. Finite tests alone do not contradict an asymptotic or limiting statement without an argument connecting them to its conclusion.</li>
</ul>

<h3>Categories</h3>
<p>Choose exactly one category. First establish a verified contradiction to the fixed target. Then distinguish a defect in expressing a clearly correct intended claim from an actual mathematical error, and assess how easily the latter can be repaired. Judge the mathematical effect of a repair, not the length of the edit: a short restriction can discard a major part of the claimed result. The number of counterexamples, the size of their parameters, the breadth of the affected family, or the difficulty of finding them does not determine severity by itself.</p>

<ul>
  <li><strong>NONE:</strong> No verified counterexample to the extracted theorem was found. This includes rejected candidates, proof concerns without a counterexample, and extraction or interpretation issues alone.</li>
  <li><strong>EDGE:</strong> The extracted statement fails under a strict reading, but v1 makes it clear that the authors actually meant the correct formulation. The issue is an omission, imprecision, or wording defect in expressing that already evident intended claim, rather than a mathematical error in it. State the literal failure, give the precise clarification, and cite evidence in v1 establishing the intended meaning and why it avoids the counterexample. A convenient fix, a charitable guess, or ease of correction alone does not qualify as EDGE.</li>
  <li><strong>MINOR:</strong> There is an actual mathematical error, but it is easily correctable. Give a concrete, straightforward mathematical repair, justify why it resolves the failure, and explain why the theorem's main contribution survives without substantial reworking. A failure across many instances can still be MINOR if the repair is straightforward. Unlike EDGE, this category requires correcting the mathematics, not just making an already clear intended meaning explicit.</li>
  <li><strong>MAJOR:</strong> There is an actual mathematical error that cannot be easily corrected while retaining the theorem's main contribution. Salvaging the result requires substantial weakening, major reworking, or abandonment of a central claim. Identify the essential failure and explain why straightforward corrections cannot preserve the main result. The existence of some surviving statements does not make the error MINOR. A defect in the proof alone never warrants MAJOR.</li>
</ul>

<p><strong>Severity caps for added assumptions:</strong> If a theorem can be repaired by adding an assumption that either (1) is typical, common, or standard in the field, or (2) excludes only a small set of edge cases, classify the issue as no more severe than MINOR, provided the repair preserves the main or important cases. If that assumption is very standard in the field or is almost always included in theorems of this kind, classify the issue as no more severe than EDGE. These caps apply even when the paper does not explicitly state the assumption; separate evidence of the authors' intent is not required. State the assumption and justify that it repairs the theorem and meets the relevant conditions.</p>

<p><strong>MAJOR severity</strong>: MAJOR is reserved for issues that require substantial weakening, major reworking, or abandonment of a central claim. Do not assign MAJOR merely because a statement fails in peripheral edge cases or can be repaired by a small or standard added assumption while preserving its main or important cases. For every MAJOR finding, explain why plausible straightforward corrections cannot resolve the demonstrated failure while retaining the theorem’s main contribution. Changing the literal statement or conclusion does not, by itself, establish substantial weakening. If the MAJOR classification depends on resolving an ambiguity about the authors’ intended scope or conventions against them, do not assign MAJOR.</p>

<p>For an actual mathematical error, distinguish MINOR from MAJOR by the smallest justified repair and whether it preserves the main contribution. If several genuinely different failures are verified, report them and classify by the strongest justified failure. Do not stop when you have found an EDGE or MINOR counterexample; continue searching for a MAJOR one. If you find multiple counterexamples, report the strongest justified failure and summarize the others in Assessment.</p>

<h3>Output</h3>
<p>Write exactly ONE UTF-8 Markdown file at the workspace root called <code>result.md</code>, using the sections below. Before choosing a non-NONE heading, confirm that at least one construction satisfies every hypothesis in the extracted file and contradicts a conclusion in that same file. If none does, use NONE.</p>

<h3>{theorem_id} — {category: NONE, EDGE, MINOR, MAJOR}</h3>

<h4>Assessment</h4>
<p>State the verdict for the extracted theorem and why the category is appropriate. Record any extraction or interpretation issue separately from the verdict. For NONE, summarize the search's limits without claiming a proof of correctness.</p>

<h4>Counterexample(s)</h4>
<p>For a non-NONE verdict, give the explicit objects and parameters and verify every hypothesis of the extracted theorem. For NONE, briefly explain any significant rejected candidates, if applicable.</p>

<h4>Failed conclusion</h4>
<p>For a non-NONE verdict, identify the exact extracted clause and demonstrate how it fails. For NONE, state that no verified contradiction to the extracted conclusion was found.</p>

<h4>Scope and repair</h4>
<p>For EDGE, give the precise clarification and cite v1 evidence that the authors clearly meant the correct formulation. For MINOR, give the straightforward mathematical correction and justify why it suffices while preserving the main contribution. For MAJOR, explain the substantial changes needed and why an easy correction cannot retain the main result.</p>
</div>
      </details>

      <details class="example-container prompt-details">
        <summary class="title is-4">Verification</summary>
        <div class="box problem-box prompt-content">
<h3>Task</h3>
<p>I want to determine how many ArXiv articles contain critical mistakes in their core theorems. You are given a candidate counterexample to the theorem extracted from the paper with ArXiv ID <code>{arxiv_id}</code>, identified by <code>{theorem_id}</code> in <code>theorems/{theorem_id}.md</code>. Read that file, the candidate report in <code>counterexample.md</code>, and the full TeX source in <code>paper/</code>, following inputs/includes. Independently verify the reported counterexample and its classification. The supplied paper is v1. Do not consult any later version of this target paper, including through internet search. Do not try to find new counterexamples; your task is to verify and refine the supplied findings.</p>

<p>You may change the issue's severity to any of NONE, EDGE, MINOR, or MAJOR, and rewrite the counterexample description to correct mistakes, fill justified gaps, and remove unsupported claims. Treat the candidate report as a claim to test, not as established evidence. Do not assume it is correct or that its category must be retained.</p>

<h3>Fixed target and evidence</h3>
<p>The Theorem statement in <code>theorems/{theorem_id}.md</code> is the fixed target. Preserve every hypothesis, quantifier, domain, convention, and conclusion. Use the paper to understand notation and check provenance. Do not drop assumptions, enlarge the allowed domain, substitute a broader interpretation, or attack a different claim.</p>

<p>The supplied target paper is v1. Internet, shell, and computation tools are available. Independent background sources are allowed, but do not consult later versions of the target paper, including through internet search. Include relevant URLs when used.</p>

<p>Check every reported construction independently:</p>

<ul>
  <li>Make the objects and parameters explicit and check every hypothesis, including standing assumptions from the fixed statement.</li>
  <li>Identify the exact extracted conclusion that fails and independently reproduce the contradiction. A proof gap is not a counterexample.</li>
  <li>Check calculations, cited facts, quantifiers, limiting arguments, and conventions. Distinguish exact reasoning and certified computations from numerical exploration; finite tests alone do not refute an asymptotic claim.</li>
  <li>Fill gaps only with arguments you can justify. You may correct a construction or its parameters when the corrected construction still contradicts the same fixed theorem. Do not modify the theorem to manufacture a contradiction or present an unresolved gap as repaired.</li>
  <li>Remove invalid candidates and unsupported descriptions of the failure's scope. Verify any proposed repair and assess whether it preserves the theorem's main contribution.</li>
</ul>

<p>Your task is to verify and refine the supplied findings. If several failures are reported, review each. If no candidate can be established as a counterexample, use NONE and explain what failed or remains unresolved; do not imply that you proved the theorem correct.</p>

<h3>Categories</h3>
<p>Choose exactly one category after verifying the contradiction. Judge severity by the smallest justified repair and its mathematical effect, not the length of an edit, the number or size of counterexamples, or the difficulty of finding them.</p>

<ul>
  <li><strong>NONE:</strong> No reported counterexample survives verification against the fixed theorem. This includes invalid or unverified constructions, proof concerns without a contradiction, and extraction or interpretation issues alone.</li>
  <li><strong>EDGE:</strong> The statement fails under a strict reading, but the paper clearly shows that the authors meant the correct formulation. Give the literal failure, the precise clarification, and evidence in v1 establishing that intended meaning and why it avoids the counterexample.</li>
  <li><strong>MINOR:</strong> An actual mathematical error has a concrete, straightforward correction that resolves the failure while preserving the main contribution without substantial reworking. Verify the correction. Failure across many instances can still be MINOR when this repair is straightforward. Unlike EDGE, the mathematics itself needs correction.</li>
  <li><strong>MAJOR:</strong> An actual mathematical error cannot be easily corrected while retaining the theorem's main contribution. Give the essential failure and explain why straightforward repairs do not suffice: salvage requires substantial weakening, major reworking, or abandonment of a central claim. A short restriction can still discard a major part of the result; surviving statements alone do not make it MINOR.</li>
</ul>

<p><strong>Severity caps for added assumptions:</strong> If a theorem can be repaired by adding an assumption that either (1) is typical, common, or standard in the field, or (2) excludes only a small set of edge cases, classify the issue as no more severe than MINOR, provided the repair preserves the main or important cases. If that assumption is very standard in the field or is almost always included in theorems of this kind, classify the issue as no more severe than EDGE. These caps apply even when the paper does not explicitly state the assumption; separate evidence of the authors' intent is not required. State the assumption and justify that it repairs the theorem and meets the relevant conditions.</p>

<p><strong>MAJOR severity</strong>: MAJOR is reserved for issues that require substantial weakening, major reworking, or abandonment of a central claim. Do not assign MAJOR merely because a statement fails in peripheral edge cases or can be repaired by a small or standard added assumption while preserving its main or important cases. For every MAJOR finding, explain why plausible straightforward corrections cannot resolve the demonstrated failure while retaining the theorem’s main contribution. Changing the literal statement or conclusion does not, by itself, establish substantial weakening. If the MAJOR classification depends on resolving an ambiguity about the authors’ intended scope or conventions against them, do not assign MAJOR.</p>

<h3>Output</h3>
<p>Write exactly ONE UTF-8 Markdown file at the workspace root called <code>result.md</code>. Its first line must be:</p>

<h3>{theorem_id} — {category: NONE, EDGE, MINOR, MAJOR}</h3>

<p>Replace the category placeholder with exactly one category. Write a self-contained revised report that can be understood without the candidate report; do not merely give editing instructions. Use these sections:</p>

<h4>Assessment</h4>
<p>State the verified category and justify it. Explain what changed from the candidate report and why, including rejected claims. Separate extraction or interpretation issues from the verdict.</p>

<h4>Counterexample(s)</h4>
<p>For a non-NONE verdict, give the corrected objects, parameters, and a complete check of the fixed theorem's hypotheses. For NONE, explain why the significant candidates failed verification or which essential gaps remain unresolved.</p>

<h4>Failed conclusion</h4>
<p>For a non-NONE verdict, identify the exact extracted clause and give the independently verified contradiction. For NONE, state that no reported contradiction was verified.</p>

<h4>Scope and repair</h4>
<p>For EDGE, give the clarification and evidence of the authors' clear intent in the paper. For MINOR, justify the straightforward mathematical repair and preservation of the main contribution. For MAJOR, justify why an easy correction cannot retain the main result. For NONE, explain any remaining uncertainty without asserting correctness of the theorem.</p>
</div>
      </details>

      <details class="example-container prompt-details">
        <summary class="title is-4">Later-version check</summary>
        <div class="box problem-box prompt-content">
<h3>Task</h3>
<p>I want to determine how many ArXiv articles contain critical mistakes in their core theorems. I have constructed a verified counterexample to the theorem extracted from the first version of the paper with ArXiv ID <code>{arxiv_id}</code>, identified by <code>{theorem_id}</code> in <code>theorems/{theorem_id}.md</code>. Check whether the verified issue with theorem <code>{theorem_id}</code> from arXiv paper <code>{arxiv_id}</code> has been fixed in the latest available version, <code>{latest_arxiv_id}</code>. You are given the complete original source in <code>paper_v1/</code>, the complete latest-version source in <code>paper_latest/</code>, the theorem extracted from v1 in <code>theorems/{theorem_id}.md</code>, and its verified counterexample description in <code>counterexample.md</code>.</p>

<p>Assess whether the supplied issue still exists in the latest version and classify its current severity as NONE, EDGE, MINOR, or MAJOR. Do not search for unrelated new counterexamples.</p>

<h3>Compare the versions</h3>
<p>For each supplied failure, identify changes that matter to it and test whether its construction still satisfies the latest claim's hypotheses and contradicts its conclusion. You may translate notation and justify small corrections to the supplied construction; do not drop a latest-version hypothesis, enlarge its domain, substitute another claim, or invent a different issue.</p>

<p>If the claim was corrected, restricted, or withdrawn so that the supplied issue no longer applies, use NONE and explain the substantive change, including any loss of scope.</p>

<p>Internet, shell, and computation tools are available. Independent background sources may help verify calculations and cited facts. The assessment must concern the supplied pinned version <code>{latest_arxiv_id}</code>. Include relevant URLs when used.</p>

<h3>Categories in the latest version</h3>
<p>Choose one category based on the strongest supplied failure that survives checking against the latest claim. Judge severity by the smallest justified repair and its mathematical effect.</p>

<ul>
  <li><strong>NONE:</strong> No supplied counterexample establishes a remaining issue in the latest version. Explain whether the issue was fixed by a correction, a changed hypothesis, withdrawal of the claim, or whether the candidate no longer applies or cannot be verified.</li>
  <li><strong>EDGE:</strong> The latest claim fails under a strict reading, but the latest source clearly shows that the authors meant the correct formulation. Give the literal failure, the precise clarification, and evidence of that intended meaning. An easy mathematical fix alone does not establish EDGE.</li>
  <li><strong>MINOR:</strong> The supplied issue still demonstrates an actual mathematical error, but a concrete, straightforward correction resolves it while preserving the latest theorem's main contribution without substantial reworking. Justify that correction.</li>
  <li><strong>MAJOR:</strong> The supplied issue still demonstrates an actual mathematical error that cannot be easily corrected while retaining the latest theorem's main contribution. Explain why salvage needs substantial weakening, major reworking, or abandonment of a central claim. A proof gap alone is not a counterexample.</li>
</ul>

<p><strong>Severity caps for added assumptions:</strong> If a theorem can be repaired by adding an assumption that either (1) is typical, common, or standard in the field, or (2) excludes only a small set of edge cases, classify the issue as no more severe than MINOR, provided the repair preserves the main or important cases. If that assumption is very standard in the field or is almost always included in theorems of this kind, classify the issue as no more severe than EDGE. These caps apply even when the paper does not explicitly state the assumption; separate evidence of the authors' intent is not required. State the assumption and justify that it repairs the theorem and meets the relevant conditions.</p>

<p><strong>MAJOR severity</strong>: MAJOR is reserved for issues that require substantial weakening, major reworking, or abandonment of a central claim. Do not assign MAJOR merely because a statement fails in peripheral edge cases or can be repaired by a small or standard added assumption while preserving its main or important cases. For every MAJOR finding, explain why plausible straightforward corrections cannot resolve the demonstrated failure while retaining the theorem’s main contribution. Changing the literal statement or conclusion does not, by itself, establish substantial weakening. If the MAJOR classification depends on resolving an ambiguity about the authors’ intended scope or conventions against them, do not assign MAJOR.</p>

<h3>Output</h3>
<p>Write exactly ONE UTF-8 Markdown file at the workspace root called <code>result.md</code>. Its first line must be:</p>

<h3>{theorem_id} — {category: NONE, EDGE, MINOR, MAJOR}</h3>

<p>Replace the category placeholder with exactly one category. Write a self-contained report, using these sections:</p>

<h4>Assessment</h4>
<p>State both version IDs, whether the supplied issue remains, and the category for the latest version. Explain any change from the v1 verdict. Distinguish established repairs from inability to verify a surviving issue.</p>

<h4>Version comparison</h4>
<p>Identify the relevant claims and source locations in v1 and the latest version. Describe the exact statement, hypothesis, definition, or convention changes relevant to the counterexample, including renumbering or removal of a claim.</p>

<h4>Counterexample and latest conclusion</h4>
<p>For a surviving issue, give the objects and parameters, check every hypothesis of the latest claim, and demonstrate which conclusion fails. For NONE, explain why the supplied counterexamples no longer contradict the latest claim, or precisely what remains unverified.</p>

<h4>Scope and repair</h4>
<p>Explain the scope of the remaining issue and the smallest justified repair. If fixed, explain how the revision resolves the old failure and any accompanying change in scope. Do not invent a surviving issue merely because the repair weakened or removed the original theorem.</p>
</div>
      </details>
    </div>



<script id="paper-comparison-data" type="application/json">{"categories": ["NONE", "EDGE", "MINOR", "MAJOR"], "groups": [{"counts": {"revision": {"EDGE": 183, "MAJOR": 39, "MINOR": 200, "NONE": 234}, "search": {"EDGE": 177, "MAJOR": 55, "MINOR": 228, "NONE": 196}, "verify": {"EDGE": 182, "MAJOR": 52, "MINOR": 225, "NONE": 197}}, "id": "before", "label": "Before Aug 2026", "n": 656}, {"counts": {"revision": {"EDGE": 30, "MAJOR": 2, "MINOR": 22, "NONE": 83}, "search": {"EDGE": 31, "MAJOR": 2, "MINOR": 22, "NONE": 82}, "verify": {"EDGE": 31, "MAJOR": 2, "MINOR": 22, "NONE": 82}}, "id": "recent", "label": "Aug\u2013Sep 2026", "n": 137}], "unit": "papers"}</script>
<script id="theorem-comparison-data" type="application/json">{"categories": ["NONE", "EDGE", "MINOR", "MAJOR"], "groups": [{"counts": {"revision": {"EDGE": 434, "MAJOR": 58, "MINOR": 333, "NONE": 1718}, "search": {"EDGE": 466, "MAJOR": 76, "MINOR": 402, "NONE": 1599}, "verify": {"EDGE": 477, "MAJOR": 72, "MINOR": 392, "NONE": 1602}}, "id": "before", "label": "Before Aug 2026", "n": 2543}, {"counts": {"revision": {"EDGE": 60, "MAJOR": 3, "MINOR": 25, "NONE": 468}, "search": {"EDGE": 61, "MAJOR": 3, "MINOR": 25, "NONE": 467}, "verify": {"EDGE": 61, "MAJOR": 3, "MINOR": 25, "NONE": 467}}, "id": "recent", "label": "Aug\u2013Sep 2026", "n": 556}], "unit": "theorems"}</script>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[We use GPT-6.1 Sol to search for counterexamples to main theorems in recent arXiv papers and flag major errors in 6% of papers published before August 2026. The reported rate drops to 1.5% in August and September, though the cause of this decline remains unclear.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_literature_mistakes.png" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_literature_mistakes.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">AutoMark: Enabling Autoresearch to Discover Better LLM Watermarks</title><link href="https://www.sri.inf.ethz.ch/blog/automark" rel="alternate" type="text/html" title="AutoMark: Enabling Autoresearch to Discover Better LLM Watermarks" /><published>2026-09-28T00:00:00+00:00</published><updated>2026-09-28T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/automark</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/automark"><![CDATA[<link rel="stylesheet" href="/assets/blog/automark/automark.css">

<div class="am">

<p>
This blog post summarizes our paper <a href="https://arxiv.org/abs/2609.37310">AutoMark: Enabling Autoresearch to Discover Better LLM Watermarks</a>.
The code is available on <a href="https://github.com/eth-sri/automark">GitHub</a>.
</p>

<p>
LLM watermarking embeds a signal invisible to humans in model outputs, and has become the standard for tracing AI-generated text: regulators <a href="https://artificialintelligenceact.eu/article/50/">mandate it</a>, and major providers <a href="/blog/probingsynthid">deploy it</a>.
Yet, recent progress has mostly come from refining existing designs, at a pace capped by that of human researchers.
Autoresearch, where agents propose, implement, and evaluate ideas in a loop, is a natural way to accelerate it.
</p>

<p>
Watermarking, however, is harder to verify than, e.g., mathematics, where a proof can be checked by Lean.
Detectability, robustness, and quality trade off, so an improvement on a single metric need not make a better watermark.
Agents may also exploit gaps in the evaluation, e.g., by inflating robustness through flagging more human texts as watermarked.
In our new paper, we show that with an adequate harness, autoresearch discovers watermarks that are trustworthy, explainable, and Pareto-superior to existing schemes.
In this post, we summarize how, and let you explore the components that the agents discovered.
</p>

<h3>What makes a watermark valid?</h3>

<figure class="am-figure am-illu">
  <svg class="am-illu-panel" viewBox="0 0 380 300" role="img" aria-label="Bar chart: most keys have a near-zero false positive rate, but one key flags most human texts.">
  <text x="44" y="30" class="am-illu-title">Naive scheme</text>
  <text transform="translate(26 144) rotate(-90)" text-anchor="middle" class="am-illu-axis">FPR on human texts</text>
  <line x1="50" y1="214" x2="346" y2="214" class="am-illu-rule"/>
  <line x1="50" y1="214" x2="50" y2="60" class="am-illu-rule"/>
  <text x="198.0" y="236" text-anchor="middle" class="am-illu-axis">Random watermark keys</text>
  <rect x="56.0" y="210.8" width="9.4" height="3.2" rx="1.5" class="am-illu-bar"/>
  <rect x="70.4" y="209.3" width="9.4" height="4.7" rx="1.5" class="am-illu-bar"/>
  <rect x="84.8" y="210.2" width="9.4" height="3.8" rx="1.5" class="am-illu-bar"/>
  <rect x="99.2" y="209.0" width="9.4" height="5.0" rx="1.5" class="am-illu-bar"/>
  <rect x="113.6" y="208.9" width="9.4" height="5.1" rx="1.5" class="am-illu-bar"/>
  <rect x="128.0" y="211.7" width="9.4" height="2.3" rx="1.5" class="am-illu-bar"/>
  <rect x="142.4" y="72.0" width="9.4" height="142.0" rx="1.5" class="am-illu-bad"/>
  <rect x="156.8" y="207.8" width="9.4" height="6.2" rx="1.5" class="am-illu-bar"/>
  <rect x="171.2" y="210.7" width="9.4" height="3.3" rx="1.5" class="am-illu-bar"/>
  <rect x="185.6" y="210.8" width="9.4" height="3.2" rx="1.5" class="am-illu-bar"/>
  <rect x="200.0" y="207.0" width="9.4" height="7.0" rx="1.5" class="am-illu-bar"/>
  <rect x="214.4" y="209.6" width="9.4" height="4.4" rx="1.5" class="am-illu-bar"/>
  <rect x="228.8" y="207.8" width="9.4" height="6.2" rx="1.5" class="am-illu-bar"/>
  <rect x="243.2" y="209.6" width="9.4" height="4.4" rx="1.5" class="am-illu-bar"/>
  <rect x="257.6" y="208.8" width="9.4" height="5.2" rx="1.5" class="am-illu-bar"/>
  <rect x="272.0" y="211.2" width="9.4" height="2.8" rx="1.5" class="am-illu-bar"/>
  <rect x="286.4" y="208.8" width="9.4" height="5.2" rx="1.5" class="am-illu-bar"/>
  <rect x="300.8" y="207.7" width="9.4" height="6.3" rx="1.5" class="am-illu-bar"/>
  <rect x="315.2" y="209.4" width="9.4" height="4.6" rx="1.5" class="am-illu-bar"/>
  <rect x="329.6" y="208.3" width="9.4" height="5.7" rx="1.5" class="am-illu-bar"/>
  <text x="147.1" y="62.0" text-anchor="middle" class="am-illu-note">key puts &#8220;.&#8221; in the first class</text>
  <line x1="50" y1="174" x2="346" y2="174" class="am-illu-alpha"/>
  <text x="352" y="179" class="am-illu-alpha-label">&#945;</text>
  <text x="44" y="268" class="am-illu-verdict">Sound over the key: <tspan class="am-illu-yes">yes</tspan></text>
  <text x="44" y="290" class="am-illu-verdict">Sound given a key: <tspan class="am-illu-no">no</tspan></text>
  </svg>
  <svg class="am-illu-panel" viewBox="0 0 380 300" role="img" aria-label="Bar chart: all keys stay below alpha except at most a fraction beta of them.">
  <text x="44" y="30" class="am-illu-title">Scheme sound given a key</text>
  <text transform="translate(26 144) rotate(-90)" text-anchor="middle" class="am-illu-axis">FPR on human texts</text>
  <line x1="50" y1="214" x2="346" y2="214" class="am-illu-rule"/>
  <line x1="50" y1="214" x2="50" y2="60" class="am-illu-rule"/>
  <text x="198.0" y="236" text-anchor="middle" class="am-illu-axis">Random watermark keys</text>
  <rect x="56.0" y="187.2" width="9.4" height="26.8" rx="1.5" class="am-illu-bar"/>
  <rect x="70.4" y="198.8" width="9.4" height="15.2" rx="1.5" class="am-illu-bar"/>
  <rect x="84.8" y="185.6" width="9.4" height="28.4" rx="1.5" class="am-illu-bar"/>
  <rect x="99.2" y="188.8" width="9.4" height="25.2" rx="1.5" class="am-illu-bar"/>
  <rect x="113.6" y="194.3" width="9.4" height="19.7" rx="1.5" class="am-illu-bar"/>
  <rect x="128.0" y="199.4" width="9.4" height="14.6" rx="1.5" class="am-illu-bar"/>
  <rect x="142.4" y="183.6" width="9.4" height="30.4" rx="1.5" class="am-illu-bar"/>
  <rect x="156.8" y="191.0" width="9.4" height="23.0" rx="1.5" class="am-illu-bar"/>
  <rect x="171.2" y="186.3" width="9.4" height="27.7" rx="1.5" class="am-illu-bar"/>
  <rect x="185.6" y="183.3" width="9.4" height="30.7" rx="1.5" class="am-illu-bar"/>
  <rect x="200.0" y="186.4" width="9.4" height="27.6" rx="1.5" class="am-illu-bar"/>
  <rect x="214.4" y="182.5" width="9.4" height="31.5" rx="1.5" class="am-illu-bar"/>
  <rect x="228.8" y="192.5" width="9.4" height="21.5" rx="1.5" class="am-illu-bar"/>
  <rect x="243.2" y="167.0" width="9.4" height="47.0" rx="1.5" class="am-illu-bad"/>
  <rect x="257.6" y="191.6" width="9.4" height="22.4" rx="1.5" class="am-illu-bar"/>
  <rect x="272.0" y="182.2" width="9.4" height="31.8" rx="1.5" class="am-illu-bar"/>
  <rect x="286.4" y="183.3" width="9.4" height="30.7" rx="1.5" class="am-illu-bar"/>
  <rect x="300.8" y="198.1" width="9.4" height="15.9" rx="1.5" class="am-illu-bar"/>
  <rect x="315.2" y="197.4" width="9.4" height="16.6" rx="1.5" class="am-illu-bar"/>
  <rect x="329.6" y="195.9" width="9.4" height="18.1" rx="1.5" class="am-illu-bar"/>
  <text x="247.9" y="157.0" text-anchor="middle" class="am-illu-note">at most a fraction &#946; of keys</text>
  <line x1="50" y1="174" x2="346" y2="174" class="am-illu-alpha"/>
  <text x="352" y="179" class="am-illu-alpha-label">&#945;</text>
  <text x="44" y="268" class="am-illu-verdict">Sound over the key: <tspan class="am-illu-yes">yes</tspan></text>
  <text x="44" y="290" class="am-illu-verdict">Sound given a key: <tspan class="am-illu-yes">yes</tspan></text>
  </svg>
</figure>
<p class="blogpost-caption"><em><strong>Soundness over the key and given a key.</strong> Each bar is the false positive rate on human texts of one watermark key (not to scale). Left: averaged over the key, the naive scheme flags any text with probability 1/100, but a key that puts &#8220;.&#8221; in the first class flags most human texts. Right: a scheme that is sound given a key, for which at most a fraction &#946; of the keys have a false positive rate above &#945;.</em></p>

<p>
Before agents can search for better watermarks, we first need to formally define what makes a watermarking scheme valid, so that every submission can be checked automatically.
Without such a definition, autoresearch is easy to fool: in earlier versions of our harness, agents designed schemes that appeared to outperform prior work, yet had an abnormally high false positive rate.
</p>

<p>
All schemes in this work are distortion-free.
At every step of generation, a hash of the preceding tokens and a private key seed a pseudo-random score for every candidate token, and the watermark samples the next token so that it correlates with these scores, while preserving the next-token distribution in expectation over the key.
The detector recomputes the scores of a text and returns a p-value under the null hypothesis that the text is not watermarked.
</p>

<p>
Most prior schemes are <em>sound over the key</em>: for any text, the probability over the key that its p-value falls below &alpha; is at most &alpha;.
This alone does not make a scheme reliable.
Consider a deliberately naive scheme that uses the key to split the vocabulary into a hundred classes, and flags a text if its last token lies in the first class.
Averaged over the key, it flags any text with probability 1/100, but for a key that puts &ldquo;.&rdquo; in the first class, most human texts are flagged as watermarked (left of the figure above).
</p>

<p>
We therefore introduce a second requirement, <em>soundness given a key</em>: for every (non-degenerate) human text distribution, the probability of sampling a key whose false positive rate exceeds &alpha; must be at most &beta; (we use &beta;&nbsp;=&nbsp;5%), as illustrated on the right of the figure above.
Any scheme that is sound over the key becomes provably sound given a key if we multiply its p-values by 1/&beta;, at the cost of detection power.
We turn both properties, along with distortion-freeness, into statistical tests that run automatically on every submitted scheme.
</p>

<h3>The autoresearch harness</h3>

<figure class="am-figure">
  <img src="/assets/blog/automark/harness.png" alt="The agent works in a sandbox with a GPU, web access, the watermark library, and prior runs. It submits schemes to a private verification (distortion-free, sound over key, sound given a key). Schemes that pass are evaluated on detectability, robustness, and quality, and a new agent then takes over." style="width: 62%;">
</figure>
<p class="blogpost-caption"><em><strong>The autoresearch loop.</strong> An agent iterates on a watermarking scheme in an isolated sandbox. Submissions are first verified and, upon passing, evaluated. Either way, a new agent then takes over with access to all prior results.</em></p>

<p>
The agent has a dedicated GPU, Internet access, our vLLM watermarking library, and the implementations and evaluations of AAR, SynthID, and TextSeal.
When it submits a scheme, a private pipeline first runs our three tests.
If the scheme passes, it is evaluated on detectability (TPR at 1% FPR), on robustness to four attacks (word deletion, synonym substitution, back-translation, and paraphrasing), and on quality (the distance to the unwatermarked model in perplexity and in the diversity of replies, measured with Self-BLEU).
The results are then added to the environment, and a new agent takes over with access to all prior results and code.
The first agent has four submissions, and every subsequent agent has a single one, a setup that we found leads to more creative solutions and less hyperparameter tuning.
</p>

<p>
Both the verification and the evaluation are private.
In an earlier version of our harness with public verification, an agent remapped its p-values with a threshold chosen just below the fifth-smallest p-value of the public human texts, and documented it in its submission.
</p>

<h3>Agents outperform prior work</h3>

<p>
We ran four research agents until their submission budget was exhausted: GPT-6 Astra (xhigh and low reasoning), Opus 5 (high), and Gemini-3.8 Flash (high).
This yields 52 evaluated schemes, at an API cost between $13.81 (Gemini-3.8 Flash) and $435.96 (Opus 5) per agent.
All agents improve their submissions over time, and outperform the baselines in most cases.
Two baselines, AAR and SynthID, fail our soundness given a key test in the evaluated configurations, which means that their robustness is slightly inflated.
</p>

<figure class="am-figure">
  <img src="/assets/blog/automark/trajectories.png" alt="Two panels over the number of submissions. Left: paraphrasing TPR at 1% FPR, where Opus 5 reaches 85.7% and all agents end above the best baseline at 57.7%. Right: quality distance, where GPT-6 Astra xhigh reaches 0.7% against 2.0% for the best baseline.">
</figure>
<p class="blogpost-caption"><em><strong>Submission history of each agent.</strong> Left: robustness to paraphrasing (TPR@1%FPR). Right: quality, as the distance to the unwatermarked model. Each dot is a submission and the solid lines are the best value so far. Baselines are in italic, and a parenthesis means that the baseline fails our verification.</em></p>

<p>
The research processes of GPT-6 Astra and Opus 5 were similar: after first tweaking the TextSeal baseline, both proposed a range of novel and creative watermarking ideas.
In contrast, all submissions of Gemini-3.8 Flash tuned the hyperparameters of TextSeal and did not result in any new ideas.
</p>

<h3>Two new state-of-the-art schemes</h3>

<p>
To mitigate overfitting to our evaluation, we select two agent schemes and evaluate them under a held-out protocol: 1,000 English and 1,000 Chinese prompts from WildChat, DeepSeek-v4 Flash as the back-translation and paraphrasing attacker, and replies from both Llama-3.1-8B and Qwen3.8-27B.
<strong>ConcordMark</strong> combines <span class="am-comp">Lexical group</span> units, <span class="am-comp">Ladder</span> context seeding, a <span class="am-comp">Prelude</span>, six <span class="am-comp">Channels</span>, and the <span class="am-comp">Gumbel race</span>; its high variant uses a model forward pass at detection.
<strong>RotationFirst</strong> combines <span class="am-comp">Lexical group</span> units, <span class="am-comp">Global first use</span> seeding, the <span class="am-comp">Rotation</span> geometry, the <span class="am-comp">ResidualRace</span>, and the <span class="am-comp">Predictive Gamma</span> detector.
</p>

<div id="am-heldout" class="am-heldout am-panel">
  <noscript>This figure requires JavaScript.</noscript>
</div>
<p class="blogpost-caption"><em><strong>Held-out evaluation.</strong> Robustness axes show the TPR@1%FPR under each attack, and quality axes show the relative deviation (in %) from the unwatermarked model in perplexity and in bigram and trigram Self-BLEU. Outward is better on every axis, and each axis is rescaled to the plotted schemes, with its range (from center to rim) under its label. We report the worst TPR and the median quality deviation over five watermark keys, and the clean TPR in the legend.</em></p>

<p>
ConcordMark (high) is Pareto-better than all baselines: on almost all metrics, it outperforms the best baseline.
RotationFirst has a diversity very close to that of the unwatermarked model, while its detection and robustness remain comparable to those of the baselines, which makes it suitable for model providers that want a strong watermark with the smallest impact on quality.
For both schemes, the results of the autoresearch evaluation transfer to new prompts, models, and attackers.
</p>

<h3>What did the agents discover?</h3>

<p>
Agents may produce results faster than humans can understand them.
To extract their key ideas, we manually decompose every scheme into five components: the four components of most watermarks (<em>context seeding</em>, <em>score</em>, <em>logits transformation</em>, and <em>detector</em>), and the <em>watermark unit</em>, a generalization introduced by the agents in which the watermark applies to classes of tokens rather than to tokens.
We then ablate each component against a simple core scheme in the style of AAR (token units, a two-token context, the <span class="am-comp">Gumbel race</span>, and the <span class="am-comp">Gamma</span> detector), swapping one component at a time.
</p>

<p>
To improve quality, the agents consistently add a small amount of true randomness to the watermark score.
Their <span class="am-comp">Gaussian copula</span> mixes the keyed score with fresh Gaussian noise, and with all other components fixed, it outperforms TextSeal&rsquo;s random key switching along all evaluated dimensions.
The agents also discovered fundamentally new ideas, such as aligning watermark scores with a random direction drawn for every request (the <em>private geometries</em>), on which RotationFirst builds.
Finally, they extend the Gumbel race with residual clocks (<span class="am-comp">ResidualRace</span>), which improves robustness against every attack at a slight cost to quality, and design detectors that group the evidence by context or use a model forward pass.
</p>

<h3>Explore the components</h3>

<p>
Each chip below is one of the 42 components of the paper, 39 of which are new, arranged by stage.
Select a component to read its description and the results of every configuration in which we evaluated it, and plot up to four configurations on the radar.
The dashed polygon is the core scheme, which every configuration modifies.
The <em>Unit</em> switch shows the results with token units or with the <span class="am-comp">Lexical group</span>, and the examples reproduce findings from the paper.
</p>

</div>

<div id="am-explorer" class="am am-panel am-explorer">
  <noscript>The component explorer requires JavaScript. All values are also listed in the appendix of the paper.</noscript>
</div>

<div class="am">

<p class="blogpost-caption"><em><strong>Components of the agents' schemes.</strong> Colors indicate the family (fresh race, private geometry, or skeleton), within which components are interchangeable, and white components are compatible with every family. Skeleton schemes reuse the fresh-race scores and detectors (green edge), and components marked * come from prior work. All values come from our ablation study: a single watermark key, 1,000 Llama-3.1-8B replies to ELI5 prompts, and p-values multiplied by 1/&beta;&nbsp;=&nbsp;20 so that every configuration is provably sound given a key.</em></p>

<h3>Summary</h3>

<p>
In this post, we presented AutoMark, which enables autoresearch for LLM watermarking with rigorous validity criteria, statistical tests to verify them, and a tailored harness.
We found that frontier agents go beyond hyperparameter tuning and introduce novel ideas, with two schemes, ConcordMark and RotationFirst, outperforming prior work on held-out data.
In autoresearch, the key challenge is to build a verification that agents cannot exploit and that faithfully captures the desired property.
There are many desirable properties we did not include in this work, e.g., security, radioactivity, or the multi-bit setting, and we believe that future research should focus not only on new schemes but also on how to build verifiers and evaluations for those properties.
<!-- TODO: link the paper once it is public. -->
</p>

</div>

<script src="/assets/blog/automark/data.js"></script>
<script src="/assets/blog/automark/automark.js"></script>]]></content><author><name></name></author><category term="paper" /><summary type="html"><![CDATA[Can research agents discover better LLM watermarks? We build a harness that verifies and evaluates agent-designed watermarks, find schemes that outperform prior work, and break them down into components you can explore interactively.]]></summary></entry><entry><title type="html">ArXivLean: How Well Can LLMs Formally Prove Research Math?</title><link href="https://www.sri.inf.ethz.ch/blog/arxivlean" rel="alternate" type="text/html" title="ArXivLean: How Well Can LLMs Formally Prove Research Math?" /><published>2026-04-21T00:00:00+00:00</published><updated>2026-04-21T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/arxivlean</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/arxivlean"><![CDATA[<img src="/assets/generated/thumbnails/a19eef271d0ffe3d-640.webp"
  srcset="/assets/generated/thumbnails/a19eef271d0ffe3d-320.webp 320w, /assets/generated/thumbnails/a19eef271d0ffe3d-640.webp 640w, /assets/generated/thumbnails/a19eef271d0ffe3d-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="1448" height="1086"
  alt="ArXivLean banner"
  loading="eager" decoding="async" style="height: auto;"
  class="responsive-image main-image" usemap="#arxivlean-map">

      <map name="arxivlean-map">
            <area target="" title="" coords="687,236,668,282,664,321,671,353,690,388,708,412,728,431,766,446,820,439,845,418,896,392,899,339,907,296,883,258,853,217,804,208,748,210,716,218" shape="poly"
          href="/assets/blog/matharena/blog_arxivlean_card.png" alt="Go to homepage">
      </map>

      <div class="acknowledgement">
        This work was partially supported by an evaluation grant from Google.
      </div>


      <div class="content blog-content">
        <h2 class="anchorable" id="introduction">
          <a href="#introduction">
            Introduction
          </a>
        </h2>

        <p>
          Verifying mathematical proofs written by LLMs is both error-prone and demands substantial human time
          and effort. This verification bottleneck limits the use of LLMs in mathematics and has
          pushed the AI4Math community toward formal proof assistants such as <a href="https://lean-lang.org/"
            target="_blank">Lean</a>. In these systems, LLMs express
          proofs as code that can be checked automatically, bypassing the manual verification bottleneck entirely.
          Recent progress in this direction, including <a href="https://github.com/AxiomMath/putnam2025" target="_blank">a perfect score on Putnam 2025</a>
          and <a href="https://www.math.inc/sphere-packing" target="_blank">several large-scale formalization efforts</a>, suggests that this is becoming a valid alternative to natural-language proofs. This
          naturally raises the question: is Lean already strong enough to enable models to formally prove difficult
          research-level questions? Existing research-level benchmarks for formal theorem proving, such as <a
            href="https://www.vals.ai/benchmarks/proof_bench" target="_blank">ProofBench</a>
          and <a href="https://arxiv.org/abs/2511.02872" target="_blank">FATE</a>, are a step in this direction, but
          they are not built from real research statements spanning a broad range of mathematical areas.
        </p>

        <p>
          <strong>ArXivLean.</strong> To address this, we introduce ArXivLean, a new open benchmark for research-level
          mathematical theorem proving in Lean. As with <a href="https://matharena.ai/arxivmath" target="_blank">ArXivMath</a> and <a
            href="https://matharena.ai/brokenarxiv" target="_blank">BrokenArXiv</a>, all samples are drawn from recent arXiv papers, which
          allows the benchmark to be refreshed regularly and helps reduce contamination concerns. Statements are
          automatically extracted and formalized from paper abstracts, then checked by a member of our team to ensure
          the formalization is correct. The first release of ArXivLean contains 41 problems, all based on papers posted
          in March 2026. Models are run with extensive tool access, including Lean verification, semantic search
          through Lean and <a href="https://leanprover-community.github.io/" target="_blank">Mathlib</a>, and a
          persistent file of proven Lean lemmas.
        </p>

        <p>
          <strong>Results.</strong> As shown in Figure 1, all models, including Harmonic's Lean agent <a
            href="https://aristotle.harmonic.fun/dashboard" target="_blank">Aristotle</a>, score below 20%. At
          first glance, this suggests that they perform very poorly on this task. However, the problems in ArXivLean are
          extremely challenging, often requiring models to formalize deep mathematical statements that have never been
          formalized before, with a single problem potentially demanding thousands of lines of Lean code. Expecting
          one-shot solutions to problems of this kind sets a very high bar. What the benchmark currently does show is that,
          with a reasonable budget, LLMs cannot yet leverage Lean to a sufficient extent to formally prove most
          research-level mathematics.
        </p>

        <p>
          Pushing performance significantly further would likely require much deeper agentic proof search at scale,
          which is prohibitively expensive. For instance, even on undergraduate-level problems, <a
            href="https://github.com/project-numina/numina-lean-agent/tree/main" target="_blank">NuminaLeanAgent</a>
          reported costs of <span>$50</span> to <span>$1000</span> per problem. We therefore also see ArXivLean as a
          challenge to the
          formal-proving community: how far can performance be pushed on questions like these?
        </p>

        <p style="font-size: 0.9em; font-style: italic; margin-bottom: -30px !important;">
          <strong>Correction 23/04.</strong>
          Due to a bug in our code, Aristotle's solution to problem  39 was counted as incorrect, even though it was correct.

          We have now fixed the bug and updated the results accordingly.

          For those interested, the issue was as follows.
          Initially, a bug in our code caused Aristotle's postprocessing step to fail.
          To avoid rerunning Aristotle on all questions, we automatically downloaded the original submission files for completed questions.
          However, during this step, we accidentally used Lean 4.29.0 (instead of Lean 4.28.0) to verify those solutions.
          Aristotle's proof to problem 39 does not compile in Lean 4.29.0 (and does in Lean 4.28.0), so we incorrectly marked it as incorrect.
        </p>

        <figure>
          <img src="/assets/generated/thumbnails/2d337128b4cd61fc-640.webp"
  srcset="/assets/generated/thumbnails/2d337128b4cd61fc-320.webp 320w, /assets/generated/thumbnails/2d337128b4cd61fc-640.webp 640w, /assets/generated/thumbnails/2d337128b4cd61fc-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="1594" height="540"
  alt="ArXivLean results"
  loading="lazy" decoding="async" style="height: auto;"
  class="responsive-image second-image">

          <figcaption class="caption">
            Fig 1. Screenshot of results on the March version of ArXivLean. The screenshot only shows the first 11
            questions. Full results are available on <a href="https://matharena.ai/?comp=arxivlean--march&view=problem">our main page</a>.
          </figcaption>
        </figure>

        <h2 class="anchorable" id="construction">
          <a href="#construction">
            Construction Process
          </a>
        </h2>

        <p>
          To create problems for ArXivLean, we build on the same pipeline used for ArXivMath and BrokenArXiv, with
          small modifications to extract statements that can be automatically formalized in Lean. Most of the pipeline
          is automated, with only a final manual review step to ensure quality. The prompts used during construction
          are included at the end of this blog post.
        </p>

        <p>
          <strong>Initial extraction.</strong> We start from recent mathematics papers posted on arXiv and use
          Gemini-3.1-Pro to create clean theorem-like claims from their abstracts. The model is instructed to keep an
          extracted theorem only if it is plausibly expressible in Lean using existing Mathlib infrastructure. We
          then run a second verification pass to confirm that the extracted statement is both self-contained and
          faithful to the source.
        </p>

        <p>
          <strong>Lean formalization.</strong> We next ask an LLM to translate the natural-language statements into
          Lean theorem statements. We found that the formalizations produced by Gemini-3.1-Pro were often low
          quality, so we switched to GPT-5.4 for this step. To support this process, we provide access to three
          separate tools:
        </p>

        <ul>
          <li><strong>Lean execution.</strong> Using Axle, the model can execute Lean code in Lean v4.29.0 and receive
            full feedback, including errors and warnings.</li>
          <li><strong>Loogle.</strong> <a href="https://github.com/nomeata/loogle" target="_blank">Loogle</a> allows the model to search Lean directly and retrieve the exact
            signatures of tactics and theorems.</li>
          <li><strong>LeanExplore.</strong> <a href="https://github.com/justincasher/lean-explore" target="_blank">LeanExplore</a> provides semantic search over Lean and Mathlib, allowing the
            model to look up relevant theorems or definitions using natural language.</li>
        </ul>

        <p>
          The model is explicitly instructed to drop a question if formalization is difficult or requires introducing
          new definitions not already present in Mathlib. This is meant to reduce the risk of misformalization. Any
          candidate that fails to compile is discarded.
        </p>

        <p>
          <strong>Post-formalization verification.</strong> After formalization, we run several additional checks.
          First, we perform semantic verification to ensure that the Lean theorem faithfully captures the
          natural-language statement and does not distort the claim. Both GPT-5.4 and Gemini-3.1-Pro must accept the
          statement for this step. We also apply checks that are already part of the BrokenArXiv and ArXivMath
          pipelines: filtering out statements that are too directly recoverable from prior work, removing cases where
          the abstract omits conditions stated only in the full text, verifying author credibility, and excluding
          papers that explicitly mention the use of LLMs.
        </p>

        <p>
          <strong>Manual review.</strong> After all automated filtering stages, we manually review the remaining items
          and discard cases whose mathematical content still appears underspecified or wrong.
          After running models on the benchmark, we also inspect their outputs to identify any further
          issues with the statements. We found that several statements were slightly misformalized to make them easier
          than the original statement, but we kept them to have some easier samples in the benchmark as well.
        </p>

        <p>
          <strong>Updates.</strong> Constructing ArXivLean and running models on it is extremely expensive, with
          GPT-5.4 costing nearly <span>$10</span> per answer. Updating the benchmark every month is therefore neither
          feasible nor
          very informative given current model performance. We will instead update ArXivLean once every three months.
        </p>

        <h2 class="anchorable" id="evaluation">
          <a href="#evaluation">
            Evaluation Methodology
          </a>
        </h2>

        <p>
          One of the main advantages of Lean is that it can automatically check whether a produced proof actually
          compiles. ArXivLean therefore supports fully automatic evaluation. A model counts as successful only if its
          final submission is accepted by the Lean checker in a fixed environment.
        </p>

        <p>
          <strong>Model execution.</strong> Each model is given both a natural-language description of the theorem and
          the exact formal Lean statement to prove. Models are required to provide a full Lean file containing the theorem statement, its proof, and any necessary lemmas or definitions they need.
          Models can use the same set of tools as the formalizer, with a maximum of 200 tool calls. Through iterative experimentation with tool support, we also added the following tools:
        </p>

        <ul>
          <li><strong>Verification.</strong> Models sometimes made very small changes to the original theorem, for
            example, by slightly altering notation. These changes were rejected by our verifier, even when the model had
            essentially proved the intended statement. To reduce such failures, we allow the model to verify its
            submission before actually submitting it.</li>
          <li><strong>Persistent file.</strong> Models can add proven lemmas or definitions to a persistent file that
            is automatically prepended to every call to the Lean execution engine. This avoids repeatedly restating
            previously proved lemmas and lets the model focus on the next part of the proof.</li>
        </ul>

        <p>
          There is one exception to this setup: Aristotle, an agentic tool by Harmonic, is given the same statements as
          the other models, but runs on its own infrastructure, so we do not know which tools it enables.
          Additionally, since Aristotle only supports Lean v4.28.0, we allow it to provide proofs in this Lean version
          rather than v4.29.0.<sup><a href="#fn1" id="ref1">1</a></sup>
        </p>

        <p> <strong>Proof verification.</strong> In theory, proof verification in Lean is straightforward: if the code compiles without errors or gaps,
          then the proof is correct. In practice, however, care is needed to avoid edge cases that can lead to false positives.
          For example, models may present partial progress by proving a weaker version of the original statement or by introducing axioms
          that make the problem easier. While these cases will compile successfully, they do not represent valid solutions to the original problem.
          To guard against this, we explicitly replace the theorem statement in the model's output with the
          exact formalized statement we originally provided.
          We also use Lean's built-in tooling to detect axioms and reject any proof that introduces assumptions
          beyond the standard Lean and Mathlib trust base.
        </p>

        <p> However, these measures are not sufficient to prevent all false positives.
          Models often engage in behavior that can only be described as cheating by changing the meaning of existing, well-known definitions in Lean.
           For example, <a href="https://matharena.ai/?comp=arxivlean--march&amp;model=GPT-5.4+%28xhigh%29&amp;task=2&amp;run=1" target="_blank">in one attempt</a>, GPT-5.4 altered the definition of the norm so that every real number had norm zero.
           Unlike proving weaker statements or introducing axioms, this behavior is direct benchmark-gaming
           since it deliberately changes the meaning of the original statement by redefining familiar notation
           in a way that is not mathematically reasonable.
           To prevent this, we use the <a href="https://github.com/leanprover/comparator">Comparator tool</a>.
           Given the original formalized statement and the model's full proof, Comparator checks that the meaning of the statement has
           not been altered anywhere in the proof, thereby ruling out these forms of cheating.
        </p>

        <h2 class="anchorable" id="results">
          <a href="#results">
            Results
          </a>
        </h2>

        <p>
          <strong>Open models lag behind.</strong> As shown in Figure 1, the models split quite cleanly into two groups. Closed models solve
          6 to 7 problems, while the two open models, Step 3.5 Flash and GLM 5.1, solve only 0 to 1. This points to a
          substantial capability gap between the open and closed model ecosystems for Lean.
        </p>

        <p>
          <strong>Aristotle does not outperform one-shot baselines.</strong> Interestingly, Aristotle does not perform
          better than our one-shot alternatives. This differs from
          the conclusions of <a href="https://www.vals.ai/benchmarks/proof_bench" target="_blank">ProofBench</a>, where Aristotle appears stronger. We see two plausible explanations for the
          discrepancy. First, our tool setup is significantly better than the one used in ProofBench, including both
          semantic search and submission verification. Since Aristotle is not affected by the choice of tool set, these
          additions mainly help close the gap between Aristotle and the other models. Second, it may simply be that the
          unsolved problems in ArXivLean are so difficult that even Aristotle cannot produce a proof, thereby making
          its increased capabilities not show up in our benchmark.
        </p>

        <p>
          <strong>Solutions differ in proof length.</strong> The proof lengths for all solved problems are shown in
          Figure 2. All solved problems can be handled in under 3000 words (approximately 300 lines), but there are still notable
          differences across models. For instance, Gemini-3.1-Pro tends to produce the longest proofs, with one
          exception: on Problem 4, <a href="https://matharena.ai/?comp=arxivlean--march&model=Claude-Opus-4.7+%28high%29&task=3&run=1" target="_blank">Claude-Opus-4.7 finds a particularly convoluted solution that is quite long</a>.
        </p>

        <figure>
          <div style="position: relative; width: 100%; height: 540px; margin: 1rem 0 0.5rem;">
            <canvas id="arxivlean-solution-length-chart"
              aria-label="Lean solution lengths for solved ArXivLean problems"></canvas>
          </div>
          <figcaption class="caption" style="margin-top: 0;">
            Fig 2. Proxy Lean word counts for successful solutions on solved ArXivLean March 2026 problems.
          </figcaption>
        </figure>

        <p>
          <strong>Aristotle relies heavily on automated tactics.</strong> Lean includes several tactics that can
          perform substantial work behind the scenes, including <code>grind</code>, <code>aesop</code>, and
          <code>simp_all</code>. These tactics can automatically identify useful theorems and apply them directly.
          Aristotle uses them extensively: across the full benchmark, they appear hundreds of times, and all its correct
          proofs rely on them. In contrast, all the other models use these tactics only very rarely. We suspect
          that Harmonic's prompt explicitly encourages these tactics, similar to the prompts of NuminaLeanAgent. Interestingly,
          despite relying on these tactics far more often, Aristotle's proofs are not noticeably shorter than those
          produced by GPT-5.4.
        </p>

        <p>
          <strong>Tool use varies significantly.</strong> As shown in Figure 3, models also differ in how
          they use the tool set. For example, Step 3.5 Flash appears to misuse the tools quite badly, rarely using
          Lean verification even though that is by far the most useful tool. The average number of tool calls also
          varies widely: GPT-5.4 makes more than 100 calls per problem on average, while Claude-Opus-4.7 uses
          substantially fewer.
        </p>

        <figure>
          <div style="position: relative; width: 100%; height: 500px; margin: 1rem 0 0.5rem;">
            <canvas id="arxivlean-tool-usage-chart"
              aria-label="Average tool calls per problem by model on ArXivLean March 2026"></canvas>
          </div>
          <figcaption class="caption" style="margin-top: 0;">
            Fig 3. Average tool calls per problem on ArXivLean March 2026, excluding Aristotle.
          </figcaption>
        </figure>

        <p>
          <strong>Failure cases.</strong> When models fail, they almost always explicitly say that they were unable to
          find a proof. This stands in sharp contrast to BrokenArXiv and to natural-language problem settings more
          broadly, where models often claim success even when they have not actually solved the problem. The reason for
          the difference is quite obvious: in Lean, models can directly verify whether their proof works, so failure is
          unambiguous. Interestingly, models frequently say that the reason for their failure is that the given
          statement is very deep, often arguing that a proof would require theorems that have not yet been formalized
          in Lean. For instance, in Q21, both <a href="https://matharena.ai/?comp=arxivlean--march&model=Gemini+3.1+Pro+Preview&task=20&run=1" target="_blank">Gemini-3.1-Pro</a>
          and <a href="https://matharena.ai/?comp=arxivlean--march&model=Claude-Opus-4.7+%28high%29&task=20&run=1" target="_blank">Claude-Opus-4.7</a> mention this as the reason for their
          failure, despite <a href="https://matharena.ai/?comp=arxivlean--march&model=GPT-5.4+%28xhigh%29&task=20&run=1" target="_blank">GPT-5.4</a> and
          <a href="https://matharena.ai/?comp=arxivlean--march&model=Aristotle&task=20&run=1">Aristotle</a> managing to solve the problem within a couple hundred lines of code.
        </p>

        <h2 class="anchorable" id="qualitative-analysis">
          <a href="#qualitative-analysis">
            Qualitative Analysis
          </a>
        </h2>

        <p>
          Below we highlight several representative ArXivLean questions. For each, we show the benchmark statement, the
          corresponding Lean theorem statement, and a short qualitative summary of how the models responded.
        </p>

        <div class="example-container qualitative-card">
          <div class="title is-4">March Q11</div>
          <p class="qualitative-source"><strong>Source:</strong> <a href="https://arxiv.org/abs/2603.08675"
              target="_blank">arXiv:2603.08675</a></p>
          <p class="qualitative-meta"><strong>Solved by:</strong> no model</p>
          <div class="qualitative-statement-grid">
            <div class="qualitative-panel">
              <div class="qualitative-label">Natural-Language Statement</div>
              <div class="box problem-box">
                There exist constants $c &gt; 0$ and $N \in \mathbb{N}$ such that every connected Cayley graph on
                $n \ge N$ vertices with degree $d \ge n^{1-c}$ contains a Hamilton cycle.
              </div>
            </div>
            <div class="qualitative-panel">
              <div class="qualitative-label">Formal Lean Statement</div>
              <div class="box problem-box">
                <pre style="white-space: pre-wrap; overflow-x: auto; margin: 0;"><code class="language-lean">theorem cayley_hamiltonian_dense_large :
    ∃ c : ℝ, 0 &lt; c ∧ ∃ N : ℕ,
      ∀ (G : Type*) [Group G] [Fintype G] [DecidableEq G] (S : Finset G),
        (∀ s ∈ S, s⁻¹ ∈ S) →
        1 ∉ S →
        let Γ : SimpleGraph G := SimpleGraph.fromRel (fun a b => ∃ s ∈ S, b = a * s)
        Fintype.card G ≥ N →
        (S.card : ℝ) ≥ Real.rpow (Fintype.card G : ℝ) (1 - c) →
        Γ.Connected →
        Γ.IsHamiltonian := by
  sorry</code></pre>
              </div>
            </div>
          </div>
          <div class="qualitative-label">Analysis</div>
          <div class="box response-box qualitative-response-box">
            <p>
              This problem asks the models to show that, for sufficiently large $n$, every connected Cayley graph with
              sufficiently large degree contains a Hamiltonian cycle. This is the main result of the article, and
              essentially the entire 17-page paper is devoted to proving it.
            </p>
            <p>
              No model comes close to proving this result. While the basic graph-theoretic and group-theoretic language
              needed to state the theorem is available in Mathlib, the proof itself relies on several deep contemporary
              ingredients which are not yet included in Mathlib. Still, no model seems to get anywhere near even a
              convincing natural-language proof sketch of the full argument, so the dominant limiting factors here
              appear to be the depth and length of the proof rather than the need to express it in Lean.
            </p>
          </div>
        </div>

        <div class="example-container qualitative-card">
          <div class="title is-4">March Q21</div>
          <p class="qualitative-source"><strong>Source:</strong> <a href="https://arxiv.org/abs/2603.11196"
              target="_blank">arXiv:2603.11196</a></p>
          <p class="qualitative-meta"><strong>Solved by:</strong> <a
              href="https://matharena.ai/?comp=arxivlean--march&model=GPT-5.4+%28xhigh%29&task=20&run=1"
              target="_blank">GPT-5.4</a> and <a href="https://matharena.ai/?comp=arxivlean--march&model=Aristotle&task=20&run=1"
              target="_blank">Aristotle</a></p>
          <div class="qualitative-statement-grid">
            <div class="qualitative-panel">
              <div class="qualitative-label">Natural-Language Statement</div>
              <div class="box problem-box">
                For a prime $p$, let $c_n(p) = |\{A \in M_n(\mathbb{F}_p) \mid \det(A) \text{ generates }
                \mathbb{F}_p^\times\}| / p^{n^2}$, and let $c(p) = \inf_{n \ge 1} c_n(p)$. Then
                $\inf_{p \text{ prime}} c(p) = 0$.
              </div>
            </div>
            <div class="qualitative-panel">
              <div class="qualitative-label">Formal Lean Statement</div>
              <div class="box problem-box">
                <pre style="white-space: pre-wrap; overflow-x: auto; margin: 0;"><code class="language-lean">theorem inf_prime_inf_matrix_det_generators_eq_zero :
    sInf
      {c : ℝ |
        ∃ p : ℕ,
          Nat.Prime p ∧
            c =
              sInf
                {x : ℝ |
                  ∃ n : ℕ,
                    0 &lt; n ∧
                      x =
                        ((Nat.card
                            {A : Matrix (Fin n) (Fin n) (ZMod p) //
                              IsPrimitiveRoot (Matrix.det A) (p - 1)} : ℕ) : ℝ) /
                          (p : ℝ) ^ (n ^ 2)}} =
      0 := by
  sorry</code></pre>
              </div>
            </div>
          </div>
          <div class="qualitative-label">Analysis</div>
          <div class="box response-box qualitative-response-box">
            <p>
              In this problem, the models need to show that the quantity $c(p)=\inf_{n\ge 1} c_n(p)$, where $c_n(p)$
              is the density of $n \times n$ matrices over $\mathbb{F}_p$ with primitive-root determinant, can be made
              arbitrarily close to $0$ as $p$ varies over the primes. The extracted statement corresponds to Theorem 3
              of the research article, which is one of its multiple main results. In particular, it answers a question
              raised in earlier work of the author from 2021.
            </p>
            <p>
              The problem is correctly solved only by <a
                href="https://matharena.ai/?comp=arxivlean--march&model=GPT-5.4+%28xhigh%29&task=20&run=1"
                target="_blank">GPT-5.4</a> and <a href="https://matharena.ai/?comp=arxivlean--march&model=Aristotle&task=20&run=1"
                target="_blank">Aristotle</a>.
              Both successful proofs follow essentially
              the same number-theoretic strategy and are similar in length. First, they reduce the problem to the
              $n=1$ case, observing that $c(p)\leq c_1(p)$ and that $c_1(p)$ is exactly $\varphi(p-1)/p$, since
              $1\times 1$ matrices are just elements of $\mathbb{F}_p$ and primitive-root determinants are precisely
              primitive roots in $\mathbb{F}_p^\times$. The main remaining step is then to show that
              $\varphi(p-1)/p$ can be made arbitrarily small along a sequence of primes $p$.
            </p>
            <p>
              Both <a href="https://matharena.ai/?comp=arxivlean--march&model=Gemini+3.1+Pro+Preview&task=20&run=1" target="_blank">Gemini-3.1-Pro</a>
              and <a href="https://matharena.ai/?comp=arxivlean--march&model=Claude-Opus-4.7+%28high%29&task=20&run=1" target="_blank">Claude-Opus-4.7</a> give up and do not provide a formal proof. Instead, they return
              natural-language explanations of the argument and indicate that formalizing the result would require
              substantial number-theoretic infrastructure not yet readily available in Mathlib.
            </p>
          </div>
        </div>

        <div class="example-container qualitative-card">
          <div class="title is-4">March Q27</div>
          <p class="qualitative-source"><strong>Source:</strong> <a href="https://arxiv.org/abs/2603.16237"
              target="_blank">arXiv:2603.16237</a></p>
          <p class="qualitative-meta"><strong>Solved by:</strong> <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Aristotle&task=26&run=1"
              target="_blank">Aristotle</a>, <a
              href="https://matharena.ai/?comp=arxivlean--march&model=GPT-5.4+%28xhigh%29&task=26&run=1"
              target="_blank">GPT-5.4</a>, <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Claude-Opus-4.7+%28high%29&task=26&run=1"
              target="_blank">Claude-Opus-4.7</a>, <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Gemini+3.1+Pro+Preview&task=26&run=1"
              target="_blank">Gemini-3.1 Pro</a>, and <a
              href="https://matharena.ai/?comp=arxivlean--march&model=GLM+5.1&task=26&run=1"
              target="_blank">GLM-5.1</a></p>
          <div class="qualitative-statement-grid">
            <div class="qualitative-panel">
              <div class="qualitative-label">Natural-Language Statement</div>
              <div class="box problem-box">
                Let $F : (0, \infty) \to \mathbb{R}$ be a continuous, nonconstant function such that $F(1) = 0$. Let
                $P(u, v)$ be a symmetric polynomial in two variables over $\mathbb{R}$ of total degree at most two. If
                $F(xy) + F(x/y) = P(F(x), F(y))$ for all $x, y \in (0, \infty)$, then there exists a constant
                $c \in \mathbb{R}$ such that $P(u, v) = 2u + 2v + c u v$ for all $u, v \in \mathbb{R}$.
              </div>
            </div>
            <div class="qualitative-panel">
              <div class="qualitative-label">Formal Lean Statement</div>
              <div class="box problem-box">
                <pre style="white-space: pre-wrap; overflow-x: auto; margin: 0;"><code class="language-lean">theorem functional_equation_polynomial_classification
    (F : ℝ → ℝ) (P : ℝ → ℝ → ℝ)
    (hcont : ContinuousOn F (Set.Ioi (0 : ℝ)))
    (hnc : ∃ x ∈ Set.Ioi (0 : ℝ), ∃ y ∈ Set.Ioi (0 : ℝ), F x ≠ F y)
    (h1 : F 1 = 0)
    (hP : ∃ a b d e : ℝ,
      ∀ u v : ℝ, P u v = a + b * u + b * v + d * u ^ 2 + e * u * v + d * v ^ 2)
    (hfe : ∀ x &gt; 0, ∀ y &gt; 0, F (x * y) + F (x / y) = P (F x) (F y)) :
    ∃ c : ℝ, ∀ u v : ℝ, P u v = 2 * u + 2 * v + c * u * v := by
  sorry</code></pre>
              </div>
            </div>
          </div>
          <div class="qualitative-label">Analysis</div>
          <div class="box response-box qualitative-response-box">
            <p>
              This statement corresponds to the second, albeit easier, part of Theorem 3.3 of the paper, which is the
              central structural result of the article.
            </p>
            <p>
              The problem is solved correctly by Aristotle, GPT-5.4, Claude-Opus-4.7, Gemini-3.1 Pro, and GLM-5.1.
              All five successful proofs follow the same basic strategy. First, they plug in $y=1$ and use $F(1)=0$ to
              show that every value in the image of $F$ satisfies a quadratic identity, and then they show that the
              remaining coefficients must vanish. GPT-5.4 and Claude-Opus-4.7 do this through an explicit
              intermediate-value argument, while Gemini packages the same idea more abstractly via connectedness of the
              image. GLM-5.1 and Aristotle instead argue by contradiction, showing that if the quadratic were non-trivial
              then the image of $F$ would be finite, contradicting continuity and nonconstancy.
            </p>
          </div>
        </div>

        <div class="example-container qualitative-card">
          <div class="title is-4">March Q33</div>
          <p class="qualitative-source"><strong>Source:</strong> <a href="https://arxiv.org/abs/2603.19669"
              target="_blank">arXiv:2603.19669</a></p>
          <p class="qualitative-meta"><strong>Solved by:</strong> <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Aristotle&task=32&run=1"
              target="_blank">Aristotle</a>, <a
              href="https://matharena.ai/?comp=arxivlean--march&model=GPT-5.4+%28xhigh%29&task=32&run=1"
              target="_blank">GPT-5.4</a>, <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Claude-Opus-4.7+%28high%29&task=32&run=1"
              target="_blank">Claude-Opus-4.7</a>, and <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Gemini+3.1+Pro+Preview&task=32&run=1"
              target="_blank">Gemini-3.1 Pro</a></p>
          <div class="qualitative-statement-grid">
            <div class="qualitative-panel">
              <div class="qualitative-label">Natural-Language Statement</div>
              <div class="box problem-box">
                Let $G$ be a finite abelian group. Let $\Gamma(G)$ be the simple graph with vertex set $G$ where two
                distinct vertices $x, y \in G$ are adjacent if and only if the order of $xy$ in $G$ is a prime
                number. If the order of $G$ is a square-free integer, then $\Gamma(G)$ is a connected graph.
              </div>
            </div>
            <div class="qualitative-panel">
              <div class="qualitative-label">Formal Lean Statement</div>
              <div class="box problem-box">
                <pre style="white-space: pre-wrap; overflow-x: auto; margin: 0;"><code class="language-lean">theorem squarefree_order_graph_connected {G : Type*} [CommGroup G] [Fintype G]
    (hG : Squarefree (Fintype.card G)) :
    (let Γ : SimpleGraph G := {
      Adj := fun x y => x ≠ y ∧ Nat.Prime (orderOf (x * y))
      symm := by
        intro x y h
        rcases h with ⟨hxy, hp⟩
        refine ⟨?_, ?_⟩
        · intro hyx
          exact hxy hyx.symm
        · simpa [mul_comm] using hp
    }
    Γ.Connected) := by
  sorry</code></pre>
              </div>
            </div>
          </div>
          <div class="qualitative-label">Analysis</div>
          <div class="box response-box qualitative-response-box">
            <p>
              In this problem, the models need to prove a graph-theoretic structural statement about a graph
              $\Gamma(G)$ assigned to each finite abelian group $G$. The extracted statement is a direct corollary of
              Theorems 7.4 and 8.2, which is one of the main results of the article. Note that there are a number of ways of
              assigning graphs to finite groups, and that results very similar to this are well known in the
              mathematical literature.
            </p>
            <p>
              The problem is solved correctly by Aristotle, GPT-5.4, Claude-Opus-4.7, and Gemini-3.1 Pro. All four
              successful proofs show, in one form or another, that every element is connected to the identity. Claude,
              Gemini, and Aristotle follow a fairly direct inductive strategy on the order of an element. GPT-5.4
              proves the same result in a more conceptual way: instead of explicitly constructing a path step by step,
              it studies the subgroup generated by the prime-order elements and shows that square-freeness forces this
              subgroup to be the whole group, which implies connectivity.
            </p>
            <p>
              Interestingly, Gemini's proof is much longer than the others because it develops a substantial library of
              helper lemmas. Claude and Aristotle reach a broadly similar inductive proof shape much more efficiently,
              while GPT-5.4 avoids much of this infrastructure through its subgroup-based argument.
            </p>
          </div>
        </div>

        <div class="example-container qualitative-card">
          <div class="title is-4">March Q39</div>
          <p class="qualitative-source"><strong>Source:</strong> <a href="https://arxiv.org/abs/2603.26312"
              target="_blank">arXiv:2603.26312</a></p>
          <p class="qualitative-meta"><strong>Solved by:</strong> <a
              href="https://matharena.ai/?comp=arxivlean--march&model=GPT-5.4+%28xhigh%29&task=38&run=1"
              target="_blank">GPT-5.4</a>, <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Claude-Opus-4.7+%28high%29&task=38&run=1"
              target="_blank">Claude-Opus-4.7</a>, and <a
              href="https://matharena.ai/?comp=arxivlean--march&model=Gemini+3.1+Pro+Preview&task=38&run=1"
              target="_blank">Gemini-3.1 Pro</a></p>
          <div class="qualitative-statement-grid">
            <div class="qualitative-panel">
              <div class="qualitative-label">Natural-Language Statement</div>
              <div class="box problem-box">
                Let $n$ be a positive integer, and let $M_n(\mathbb{C})$ be the space of $n \times n$ complex matrices
                equipped with the operator norm. For a linear subspace $V \subseteq M_n(\mathbb{C})$ and
                $A \in M_n(\mathbb{C})$, define $\mu_V(A) = 1 / \inf\{\|X\| : X \in V, \det(I_n - AX) = 0\}$, where
                $\mu_V(A) = 0$ if the set $\{X \in V : \det(I_n - AX) = 0\}$ is empty. Let
                $E = \{cI_n : c \in \mathbb{C}\}$. If $F$ is a linear subspace of $M_n(\mathbb{C})$ containing $E$,
                then $\mu_E(A) = \mu_F(A)$ for all $A \in M_n(\mathbb{C})$ if and only if $E = F$.
              </div>
            </div>
            <div class="qualitative-panel">
              <div class="qualitative-label">Formal Lean Statement</div>
              <div class="box problem-box">
                <pre style="white-space: pre-wrap; overflow-x: auto; margin: 0;"><code class="language-lean">theorem mu_scalar_subspace_eq_iff
    (n : ℕ) (hn : 0 &lt; n)
    (F : Submodule ℂ (Matrix (Fin n) (Fin n) ℂ))
    (hEF : (ℂ ∙ (1 : Matrix (Fin n) (Fin n) ℂ)) ≤ F) :
    let E : Submodule ℂ (Matrix (Fin n) (Fin n) ℂ) := ℂ ∙ (1 : Matrix (Fin n) (Fin n) ℂ)
    let μ := fun (V : Submodule ℂ (Matrix (Fin n) (Fin n) ℂ)) (A : Matrix (Fin n) (Fin n) ℂ) =>
      by
        classical
        exact if h : ∃ X : Matrix (Fin n) (Fin n) ℂ, X ∈ V ∧ Matrix.det (1 - A * X) = 0 then
          (1 : ℝ) / sInf ((fun X : Matrix (Fin n) (Fin n) ℂ =>
            ‖((Matrix.toEuclideanLin ≪≫ₗ LinearMap.toContinuousLinearMap) X)‖) ''
            {X : Matrix (Fin n) (Fin n) ℂ | X ∈ V ∧ Matrix.det (1 - A * X) = 0})
        else 0
    (∀ A : Matrix (Fin n) (Fin n) ℂ, μ E A = μ F A) ↔ E = F := by
  sorry</code></pre>
              </div>
            </div>
          </div>
          <div class="qualitative-label">Analysis</div>
          <div class="box response-box qualitative-response-box">
            <p>
              For a given linear subspace $V \subset M_n(\mathbb{C})$, one may define the structured singular value
              $\mu_V$, which is a function from $M_n(\mathbb{C})$ to $\mathbb{R}$. The nontrivial direction here is
              proving that $\mu_E = \mu_F$ implies $E = F$. The extracted statement corresponds to Theorem 2.2 of the
              research article, which is one of its multiple main results.
            </p>
            <p>
              The problem is solved correctly by GPT-5.4, Claude-Opus-4.7, Aristotle, and Gemini-3.1 Pro. All successful
              proofs share the same high-level strategy: assume $F \neq E$, pick a non-scalar matrix
              $X \in F \setminus E$, and construct from $X$ a matrix $A$ such that $\mu_E(A) = 0$. However,
              $\mu_F(A) \neq 0$, yielding a contradiction. GPT-5.4 and Claude-Opus-4.7 implement this rather
              explicitly while doing a case distinction on $X$ being diagonal, while Gemini-3.1 Pro instead uses a
              more conceptual orthogonality-based characterization of scalar matrices. Generally, the core idea is
              similar across all three proofs.
            </p>
          </div>
        </div>

        <h2 class="anchorable" id="footnotes">
          <a href="#footnotes">
            Footnotes
          </a>
        </h2>

        <ol class="footnotes">
          <li id="fn1">
            We found that Aristotle sometimes uses the tactic <code>native_decide</code>, which is rejected by our
            verifier because it introduces a non-standard axiom. To prevent this, we explicitly instruct Aristotle not
            to use it.
            <a href="#ref1" class="footnote-backref">↩</a>
          </li>
        </ol>

        <h2 class="anchorable" id="prompts">
          <a href="#prompts">
            Prompts
          </a>
        </h2>

        <p>
          Below are the benchmark prompts used in the ArXivLean March 2026 pipeline.
        </p>

        <details class="example-container prompt-details">
          <summary class="title is-4">Solve</summary>
          <div class="box problem-box prompt-content">
<p>You are given a formal statement and its natural language description.
Your task is to generate a proof for the statement using Lean v4.29.0.
Under no circumstance are you allowed to add any axioms or assumptions.
You can use any definitions, lemmas, or theorems that are already present in the Lean mathematical library (mathlib).
You can also use any helper lemmas or definitions that you create yourself.
You should not attempt to provide a proof to a weaker statement or attempt to cheat in any way, as this is useless and will be penalized.</p>

<h4>Tools</h4>
<p>You have access to the following tools to assist you in finding a proof:</p>
<ul>
  <li><code>verify_lean</code>: Executes the Lean code and returns the result of the proof attempt, including any error messages if the proof fails.</li>
  <li><code>verify_submission</code>: Can be used to verify whether your final proof passes the check imposed by the grader. Its input requires the same format as the final submission and will check whether the proof compiles and is correct, and whether the formal statement matches the one given in the problem.</li>
  <li><code>add_to_file</code>: Adds helper Lean code to a persistent file, but only if the whole accumulated file remains valid. Whatever you add here will automatically be prepended to later <code>verify_lean</code>, <code>verify_submission</code>, and final checking. This can be useful for building up a library of helper lemmas or definitions that you can use across multiple proof attempts, without having to repeat that code in every submission.</li>
  <li><code>loogle</code>: Searches Mathlib with loogle and returns matching declarations. Good queries are usually either an exact declaration name or a small type pattern with <code>_</code> holes.</li>
  <li><code>lean_explore_search</code>: Searches Lean libraries with LeanExplore using natural-language or fuzzy semantic queries. Use this when you know the concept you need, but not the exact theorem name or type shape.</li>
</ul>

<p>Good <code>loogle</code> examples:</p>
<ul>
  <li>Exact name lookup: <code>Nat.add_comm</code></li>
  <li>Search for a commutativity lemma by shape: <code>(_ + _ = _ + _)</code></li>
  <li>Search for a monotonicity lemma: <code>(_ ≤ _ -&gt; _ + _ ≤ _ + _)</code></li>
  <li>Search for a membership-preservation lemma: <code>(_ ∈ _ -&gt; _ ∈ _)</code></li>
  <li>Search for a more structured statement: <code>(List.replicate (_ + _) _ = _)</code></li>
</ul>

<p>Common mistakes to avoid in <code>loogle</code> queries:</p>
<ul>
  <li>For exact-name lookup, pass the bare declaration name with no quotes, for example <code>Nat.add_comm</code>, not <code>"Nat.add_comm"</code>.</li>
  <li>For shape search, use only short Lean expressions with <code>_</code> holes. Do not put <code>?f</code>, <code>?x</code>, <code>⊢</code>, <code>∀</code>, lambdas like <code>fun x =&gt;</code>, or whole goal states into <code>loogle</code>.</li>
  <li>If your query is more like words or a mathematical idea than a short Lean expression, use <code>lean_explore_search</code> instead of <code>loogle</code>.</li>
</ul>

<p>Good <code>lean_explore_search</code> examples:</p>
<ul>
  <li><code>continuous function</code></li>
  <li><code>compact set image</code></li>
  <li><code>strict monotone natural numbers</code></li>
  <li><code>sum of nonnegative terms</code></li>
</ul>

<h4>Requirements</h4>
<ul>
  <li>You cannot change anything about the formal statement, including no variable renaming or rephrasing. The statement must be <strong>exactly</strong> as given in the problem.</li>
  <li>You should follow the output format specified below exactly.</li>
  <li><code>verify_submission</code> will only verify your submission accurately if you did not attempt to change the meaning of the statement. Making it pass by using things like <code>notation</code> or <code>alias</code> to change the names of variables or the statement will be penalized, and will not be accepted as a valid proof.</li>
</ul>

<h4>Output Format</h4>
<p>Your output should consist of a single lean code block containing the main proof of the statement and any helper lemmas or definitions you think are necessary for the proof.
If you used <code>add_to_file</code>, <strong>do not</strong> repeat that helper code in the final answer; it is already prepended automatically during checking.
If you do, it may cause your submission to be rejected for including duplicated content.
Your code block should end with the main proof of the statement, which should directly start with the statement you are proving, and needs to be an exact match for the statement given in the problem.
You are not allowed to change the formal statement in any way, including variable renaming or rephrasing.
In particular, the theorem statement in the second code block will be replaced with the formal statement from the problem before being checked.
If you are unsure, use the <code>verify_submission</code> tool to check whether your proof is in the correct format and will compile successfully before submitting your final answer.</p>

<p>For instance, you can output something like this:</p>

<pre><code class="language-lean">lemma add_zero_helper (n : ℕ) : n + 0 = n := by
  exact Nat.add_zero n

theorem my_theorem : ∀ n : ℕ, n + 0 = n := by
  intro n
  exact add_zero_helper n
</code></pre>

<h5>Natural Language Problem Statement</h5>
<p>{problem}</p>

<h5>Formal Statement</h5>
<pre><code class="language-lean">{formal_statement}
</code></pre>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Extract Natural Language Statement</summary>
          <div class="box problem-box prompt-content">
<h3>Task Description</h3>
<p>You are constructing benchmark items for research-level mathematics formalization in Lean 4 with Mathlib.</p>

<p>You will be given only:</p>
<ul>
  <li>a paper title</li>
  <li>the paper abstract</li>
</ul>

<p>Your task is to decide whether the abstract contains a clean theorem-like mathematical claim that can plausibly be formalized in Lean 4 with Mathlib, and if so, extract exactly one such statement.</p>

<p>Keep a candidate only if all of the following hold:</p>
<ul>
  <li><strong>Abstract-Grounded</strong>: the statement is directly supported by the abstract. Do not invent details that are not clearly present in the abstract.</li>
  <li><strong>Theorem-Like</strong>: the extracted statement is an actual mathematical claim, not a vague research direction, motivation, or summary sentence.</li>
  <li><strong>Self-Contained</strong>: the statement can be read on its own without referring to the paper or the abstract.</li>
  <li><strong>Mathlib-Plausible</strong>: the mathematical objects and assumptions look standard enough that a faithful Lean 4 Mathlib formalization is plausible.</li>
  <li><strong>Sufficiently Specific</strong>: the abstract gives enough detail to write a precise theorem statement.</li>
</ul>

<p>Reject the paper if any of the following holds:</p>
<ul>
  <li>the abstract is too vague to extract a precise theorem-like statement</li>
  <li>the abstract relies on paper-specific notation or definitions that are not sufficiently explained</li>
  <li>the abstract only states empirical, heuristic, or non-theorem-style claims</li>
  <li>the claim would likely require substantial bespoke infrastructure not already standard in Mathlib</li>
</ul>

<p>Prefer a central claim from the abstract rather than a minor side remark.</p>

<h4>Output Format</h4>

<p>Respond only with JSON:</p>

<pre><code class="language-json">{{
  "keep": boolean,
  "statement": "self-contained mathematical statement",
  "rationale": "short explanation of why this abstract claim is or is not a good Lean formalization candidate"
}}
</code></pre>

<p>If no suitable candidate exists, output:</p>

<pre><code class="language-json">{{
  "keep": false,
  "rationale": "short explanation"
}}
</code></pre>

<h3>Title</h3>
<p>{title}</p>

<h3>Abstract</h3>
<p>{abstract}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Verify Natural Language Statement</summary>
          <div class="box problem-box prompt-content">
<h3>Verification Task</h3>

<p>You are verifying whether an abstract-derived mathematical statement is suitable for a benchmark measuring the ability of LLMs to formalize and prove research-level theorems in Lean 4 with Mathlib.</p>

<p>You are given:</p>
<ul>
  <li>the paper title</li>
  <li>the abstract</li>
  <li>an extracted theorem-like statement</li>
</ul>

<p>Keep the statement only if all of the following hold:</p>
<ul>
  <li><strong>Faithful to the Abstract</strong>: the statement is genuinely supported by the abstract and does not add important assumptions, definitions, or conclusions that are not clearly present there.</li>
  <li><strong>Self-Contained</strong>: it can be understood without the rest of the paper.</li>
  <li><strong>Sufficiently Precise</strong>: it is specific enough that a faithful Lean statement can be written from it.</li>
  <li><strong>Mathlib-Plausible</strong>: it appears to live in an area and vocabulary that are standard enough for Lean 4 Mathlib.</li>
  <li><strong>Not Paper-Local</strong>: it does not fundamentally rely on bespoke paper-specific notation or hidden setup.</li>
</ul>

<p>Reject the statement if the abstract is too underspecified, the extraction overcommits beyond what the abstract says, or the statement likely needs substantial custom infrastructure before it can even be stated faithfully in Lean.</p>

<p>Be strict.</p>

<h4>Output Format</h4>

<p>Respond only with JSON:</p>

<pre><code class="language-json">{{
  "keep": boolean,
  "rationale": "short justification"
}}
</code></pre>

<h3>Title</h3>
<p>{title}</p>

<h3>Abstract</h3>
<p>{abstract}</p>

<h3>Extracted Statement</h3>
<p>{statement}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Formalize</summary>
          <div class="box problem-box prompt-content">
<h3>Task Description</h3>

<p>Formalize the following mathematical statement in Lean 4 using mathlib. You do not need to provide a proof, just the statement. If you are unable to find a suitable candidate for formalization, respond with "No suitable candidate for formalization found." or an empty string. We strongly prefer such a response over a low-quality formalization that does not faithfully capture the original mathematical meaning.</p>

<p>Requirements:</p>
<ul>
  <li><strong>Lean 4 with Mathlib</strong>: The formalization must be in Lean 4 and use the mathlib library. Do not use any other libraries or extensions.</li>
  <li><strong>No Imports</strong>: Imports are not required and will be automatically added during testing. Do not include any imports in your response.</li>
  <li><strong>Only the Statement</strong>: Only formalize the theorem statement, not the proof. The statement should end with <code>:= by sorry</code>.</li>
  <li><strong>Faithful Formalization</strong>: The formalization should faithfully capture the mathematical meaning of the original natural-language statement. Do not weaken the claim or add extra assumptions unless they are clearly required by the statement.</li>
  <li><strong>Use Mathlib Definitions</strong>: Use actual mathlib definitions and structures whenever standard notions exist. Do not replace core concepts with placeholder predicates, functions, constants, or parameters just to make the file compile.</li>
  <li><strong>No New Axioms</strong>: Do not use new <code>axiom</code>, <code>constant</code>, <code>opaque</code>, or <code>postulate</code> declarations.</li>
</ul>

<h3>Tools</h3>

<p>To assist you in this task, you have access to the following tools:</p>
<ul>
  <li><code>verify_lean</code>: Check whether your formalization compiles and inspect any errors or warnings. Use this iteratively to refine your statement until it compiles without errors. Warnings and infos are acceptable, as your statement will need to contain <code>sorry</code> placeholders, but errors are not.</li>
  <li><code>loogle</code>: Search Mathlib declarations by exact name or by a small type pattern with <code>_</code> holes.</li>
  <li><code>leanfinder</code>: Search Lean libraries using natural-language or fuzzy semantic queries when you know the concept you need, but not the exact theorem or definition name.</li>
</ul>

<p>Good <code>loogle</code> examples:</p>
<ul>
  <li>Exact name lookup: <code>Nat.add_comm</code></li>
  <li>Search for a commutativity lemma by shape: <code>(_ + _ = _ + _)</code></li>
  <li>Search for a monotonicity lemma: <code>(_ ≤ _ -&gt; _ + _ ≤ _ + _)</code></li>
  <li>Search for a membership-preservation lemma: <code>(_ ∈ _ -&gt; _ ∈ _)</code></li>
</ul>

<p>Good <code>leanfinder</code> examples:</p>
<ul>
  <li><code>continuous function</code></li>
  <li><code>compact set image</code></li>
  <li><code>strict monotone natural numbers</code></li>
  <li><code>sum of nonnegative terms</code></li>
</ul>

<p>Focus on a faithful statement formalization, even if the result is not easy to prove. A compilable but vacuous surrogate is not acceptable. If you find the statement is not formalizable in a faithful way, then it is better to respond with "No suitable candidate for formalization found." than to produce a low-quality formalization that does not capture the original mathematical meaning.</p>

<p>Syntax example:</p>

<pre><code class="language-lean">theorem syntax_example (x : ℤ) :
    ‖Finset.sum (Finset.Icc (-x) x) (fun n : ℤ =&gt; (n : ℂ))‖ ≤ 1 := by
  sorry
</code></pre>

<h4>Output Format</h4>

<p>Respond only with Lean code, without any explanation or commentary. For instance,</p>
<pre><code class="language-lean">theorem syntax_example (x : ℤ) :
    ‖Finset.sum (Finset.Icc (-x) x) (fun n : ℤ =&gt; (n : ℂ))‖ ≤ 1 := by
  sorry
</code></pre>

<p>If you did not find a suitable candidate for formalization, respond with any string not containing a Lean environment, such as "No suitable candidate for formalization found." or even an empty string.</p>

<h3>Natural-Language Statement</h3>
<p>{statement}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Semantic Judge</summary>
          <div class="box problem-box prompt-content">
<h3>Task Description</h3>

<p>You are checking whether a Lean 4 theorem statement faithfully formalizes a natural-language mathematical statement.</p>

<p>Keep the formalization only if:</p>
<ul>
  <li>the Lean code clearly states the same theorem as the natural-language statement</li>
  <li>no essential assumptions have been added or removed</li>
  <li>the theorem is neither weaker nor stronger in a materially different way</li>
  <li>the imported framework and encoding choices are mathematically faithful</li>
</ul>

<p>Be extremely diligent. If there is any meaningful ambiguity, discard the formalization. We much prefer false negatives to false positives. If you are unsure, discard it.</p>

<h4>Output Format</h4>

<p>Respond only with JSON:</p>

<pre><code class="language-json">{{
  "keep": boolean,
  "rationale": "short explanation"
}}
</code></pre>

<h3>Natural-Language Statement</h3>
<p>{natural_statement}</p>

<h3>Lean Code</h3>
<p>{lean_code}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Prior-Work Filter</summary>
          <div class="box problem-box prompt-content">
<h3>Task Description</h3>
<p>I am constructing benchmark items for research-level mathematics.
In particular, we want to see whether LLMs can generate a Lean proof of a new mathematical result, given its formalization.</p>

<p>I have extracted an original theorem-style statement describing a major contribution from the abstract. You are checking whether the statement as is already appears in prior work, or whether it depends on the new contribution of the paper. To check this, you have access to the full paper text.</p>

<p>Discard the pair if the full paper gives any indication that prior work already proves (very similar variants of) the original statement, or that the original statement can be easily derived from prior work. For instance, if the paper states that the original statement is a straightforward application of a known result, then discard it.</p>

<p>Discard the statement if there is any uncertainty. It is better to be strict and discard statements that are borderline than to keep statements where prior work clearly already gives the result or makes it easy to derive.</p>

<h4>Output Format</h4>

<p>Respond only with a JSON object:</p>

<pre><code class="language-json">{{
  "action": string,
  "rationale": string,
}}
</code></pre>

<ul>
  <li>
    <table>
      <tbody>
        <tr>
          <td>"action": "discard"</td>
          <td>"keep"</td>
        </tr>
      </tbody>
    </table>
  </li>
  <li>"rationale": short justification grounded in the paper's discussion of prior work</li>
</ul>

<h5>Original statement</h5>
<p>{original_statement}</p>

<h5>Full paper text</h5>
<p>{full_text}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Hidden Condition</summary>
          <div class="box problem-box prompt-content">
<h3>Task Description</h3>
<p>I am constructing benchmark items for research-level mathematics.
In particular, we want to see whether LLMs can generate a Lean proof of a new mathematical result, given its formalization.
The original statement and its formalization were extracted from the abstract. Unfortunately, we have found that many papers skip essential conditions in the abstract that are only mentioned in the full paper. This makes the original question incomplete, which in turn makes the formalized statement incorrect.</p>

<p>Your task:</p>
<ul>
  <li>Discard the question if it is fundamentally flawed due to missing conditions that are only mentioned in the full paper. This can be <strong>any</strong> trivial condition, including not stating that the result only holds for $n &gt; 1$, or that a certain object is nonempty, etc. If you, in any way believe the question is incomplete or incorrect as it stands, discard it. It is better to be strict and discard questions that are borderline than to keep questions that are clearly incomplete or incorrect.</li>
  <li>Keep the question if it is already accurate and central.</li>
</ul>

<h4>Output Format</h4>

<p>Respond only with a JSON object:</p>

<pre><code class="language-json">{{
  "action": string,
  "rationale": string,
}}
</code></pre>

<ul>
  <li>
    <table>
      <tbody>
        <tr>
          <td>"action": "discard"</td>
          <td>"keep"</td>
        </tr>
      </tbody>
    </table>
  </li>
  <li>"rationale": short justification grounded in the paper's discussion of prior work</li>
</ul>

<h5>Original statement</h5>
<p>{original_statement}</p>

<h5>Formalized statement</h5>
<p>{formalized_statement}</p>

<h5>Full paper text</h5>
<p>{full_text}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">AI Detection</summary>
          <div class="box problem-box prompt-content">
<p>I am creating a mathematical benchmark for LLMs called ArXivMath. For this purpose, I am extracting questions from recent arXiv papers along with their answers. In particular, I gave an LLM the title and abstract of each paper and asked it to generate a question and answer pair about the paper's main result.</p>

<h4>Problem</h4>
<p>However, many paper on ArXiv are now generated with the aid of LLMs. This gives an unfair advantage to LLMs that were used to generate the paper, since they can easily answer questions about the paper's main result. In contrast, LLMs that were not used to generate the paper would have to understand the paper's content and derive the main result in order to answer questions about it. This creates a bias in favor of LLMs that were involved in the paper generation process, which undermines the goal of testing LLMs' ability to understand and reason about new research contributions.</p>

<h4>Instructions</h4>
<p>Discard any paper that mentions the use of LLMs or AI tools in the paper generation process, in any way. It does not matter how large the acknowledgment of AI is, or whether it is in the main text, acknowledgments, or references. If there is any indication that AI was used in any part of the paper, discard the paper. Take the use of AI liberally: look for any mention of AI tools, include Claude, Anthopric, OpenAI, ChatGPT, LLaMA, Gemini, etc. If there is any mention of these tools in the paper, discard the paper.</p>

<h4>Output format</h4>
<p>Return JSON with keys:</p>
<ul>
  <li>
    <table>
      <tbody>
        <tr>
          <td>"action": "discard"</td>
          <td>"keep"</td>
        </tr>
      </tbody>
    </table>
  </li>
  <li>"rationale": short justification grounded in the full paper's discussion of prior work</li>
</ul>

<p>For instance,
{{
  "action": "discard",
  "rationale": "The paper explicitly mentions the use of ChatGPT in the acknowledgments section, indicating that AI tools were involved in the paper generation process."
}}</p>

<h5>Current question</h5>
<p>{question}</p>

<h5>Full paper text</h5>
<p>{full_text}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Author Verification</summary>
          <div class="box problem-box prompt-content">
<h3>Task</h3>
<p>Your job is to determine whether at least one author of the given scientific paper has a solid publication record in the relevant field.
In particular, you need to verify if at least one author is an expert in the field related to the paper, i.e., is a PhD student or has a higher degree in the field of study.</p>

<h4>Output Format</h4>

<p>Respond <strong>only</strong> with a JSON object:</p>

<pre><code class="language-json">{{
  "keep": boolean
}}
</code></pre>

<p>If you could not confirm any author satisfies the criteria, output <code>"keep": false</code>.
Otherwise, output <code>"keep": true</code>.</p>

<hr />

<h3>Paper Title</h3>
<p>{title}</p>

<h3>Paper Abstract</h3>
<p>{abstract}</p>

<h3>Paper Authors</h3>
<p>{authors}</p>
</div>
        </details>
      </div>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[ArXivLean tests whether LLMs can prove research-level mathematical statements in Lean, using 41 problems drawn from recent arXiv papers. All evaluated models, including the specialized Lean agent Aristotle, score below 20% despite access to proof verification and theorem search.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_arxivlean.png" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_arxivlean.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Proof, Not Bluff: LLMs Reach 95% on the 2026 USA Math Olympiad</title><link href="https://www.sri.inf.ethz.ch/blog/usamo" rel="alternate" type="text/html" title="Proof, Not Bluff: LLMs Reach 95% on the 2026 USA Math Olympiad" /><published>2026-03-28T00:00:00+00:00</published><updated>2026-03-28T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/usamo</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/usamo"><![CDATA[<img src="/assets/generated/thumbnails/608dd3ea17ed75db-640.webp"
  srcset="/assets/generated/thumbnails/608dd3ea17ed75db-320.webp 320w, /assets/generated/thumbnails/608dd3ea17ed75db-640.webp 640w, /assets/generated/thumbnails/608dd3ea17ed75db-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="2760" height="1504"
  alt="USAMO 2026 banner"
  loading="eager" decoding="async" style="height: auto;"
  class="responsive-image main-image" usemap="#kangaroo-map">

      <map name="kangaroo-map">
            <area target="" alt="" title="" href="/assets/blog/matharena/blog_usamo_card.jpeg" coords="308,122,265,183,269,268,316,327,350,339,408,322,425,275,425,195,406,144,352,115" shape="poly">
      </map>

      <div class="acknowledgement">
        This work was partially supported by an evaluation grant from Google.
      </div>
      <div class="content blog-content">
      <h2 class="anchorable" id="introduction">
        <a href="#introduction">
          Introduction
        </a>
      </h2>

      <p>
        The USA Math Olympiad (USAMO) is a prestigious annual competition that challenges the strongest
        high school students in the United States. Last year, <a href="https://arxiv.org/abs/2503.21934" target="_blank">we found that LLMs performed disastrously on the USAMO
        2025</a>. Their solutions contained many basic errors, including circular arguments, unsupported guesses, and very
        poor overall structure. Now, just one year later, we repeat our evaluation on USAMO 2026 and find that these
        issues are resolved: the top model, GPT-5.4, essentially saturates the benchmark with a top score of 95%.
      </p>

      <p>
        This result reflects the pace of progress in the field. The jump from near-zero performance to near-saturation
        in just one year is remarkable, though perhaps no longer surprising in light of recent results on the <a href="https://deepmind.google/blog/advanced-version-of-gemini-with-deep-think-officially-achieves-gold-medal-standard-at-the-international-mathematical-olympiad/" target="_blank">IMO</a>,
        <a href="https://matharena.ai/imc" target="_blank">IMC</a>, <a href="https://matharena.ai/?comp=miklos--2025&view=problem" target="_blank">Miklós Schweitzer</a>, and <a href="/blog/putnam" target="_blank">Putnam</a>.
        Beyond this result, we also focus this blog post on our grading pipeline and on the capability gaps that remain between models.
      </p>

      <p>
        <strong>Semi-automated grading.</strong> We design a new pipeline for automated proof grading. Due to
        concerns with <a href="https://arxiv.org/pdf/2510.13888" target="_blank">biases in LLM judges</a>, most notably <a href="https://arxiv.org/abs/2410.21819" target="_blank">self-bias</a> and <a href="https://arxiv.org/abs/2410.02736" target="_blank">formatting bias</a>, we develop a grading pipeline
        based on LLM juries that aims to be as accurate and unbiased as possible. For the USAMO 2026, we still
        manually verified and adjusted the resulting grades, but we found that this pipeline is already sufficiently
        robust without requiring much manual intervention.
      </p>

      <p>
        <strong>Capability gaps.</strong> Although GPT-5.4 achieves a near-perfect score, the gap to all other models remains substantial. Gemini-3.1-Pro reaches only
        75%, Opus-4.6 scores 47%, and the strongest open model, Step-3.5-Flash, reaches just 45%. We examine these
        differences in more detail below and highlight several high-level differences between these models.
      </p>

      <h2 class="anchorable" id="methodology">
        <a href="#methodology">
          Semi-Automated Grading
        </a>
      </h2>

      <p>
        Any automated grading pipeline must satisfy two key criteria: accuracy and unbiasedness.
        High accuracy ensures that the grades themselves are reliable, while unbiasedness ensures that the relative rankings are not distorted in favor of any model.
        <a href="https://arxiv.org/pdf/2510.13888" target="_blank">Recent work</a> suggests that LLM judges can already achieve high accuracy, but their biases still prevent their direct use for mathematical evaluation.
        For mathematical proof grading in particular, we find two forms of bias especially important:
      </p>

      <ul>
        <li>
          <strong>Self-bias:</strong> LLM judges often assign higher scores to their own outputs or to models from the
          same family. This may happen because the judge was used during RL training, enabling reward hacking, or
          simply because a model that can recognize a certain mistake is also less likely to generate it when solving a
          problem.
        </li>
        <li>
          <strong>Formatting bias:</strong> Judges can be influenced by surface-level features of a solution, such as
          whether it is unusually verbose or highly structured.
        </li>
      </ul>

      <p>
        To reduce these biases as much as possible, we design a grading pipeline with two distinct stages:
        grading scheme creation and final judging.
      </p>

      <p>
        <strong>Grading scheme creation.</strong> Following <a href="https://arxiv.org/pdf/2510.13888" target="_blank">prior work</a>, we first construct a grading scheme for each problem. We adopt the approach introduced
        in <a href="https://arxiv.org/pdf/2510.13888" target="_blank">ProofBench</a>: an LLM, in our case Gemini-3.1-Pro, is given the problem statement together with several
        reference solutions and is asked to produce a detailed grading rubric based on those solutions. These rubrics
        can include multiple valid solution paths, specify which steps deserve credit, and indicate both which errors
        should receive no credit and where additional deductions are warranted.
      </p>

      <p>
        Unfortunately, the resulting grading schemes were of poor quality for several problems. For instance,
        they were too rigid, ruling out even slight variations of a valid approach. We therefore
        made substantial manual changes to most grading schemes to ensure a high-quality grading process.
        After grading, we also found that we had underestimated how important the grading scheme would be: small phrasing
        issues often misled judges and were the main source of discrepancies
        between our own judgments and those of the automated judge. The grading scheme
        creation process can therefore benefit significantly from further improvements, which we leave as future work.
      </p>

      <p>
        <strong>Our judging pipeline.</strong> We specifically tweak the judging pipeline to mitigate the biases outlined above. Naively, one would run a
        single LLM judge with detailed instructions including the problem, model solution, and grading scheme. We make
        three modifications to the naive pipeline:
      </p>

      <ul>
        <li>
          <strong>Standardize formatting:</strong> We instruct an LLM, again Gemini-3.1-Pro, to rewrite each proof
          according to detailed formatting guidelines while preserving its mathematical content. For example, we ask it
          to remove obvious redundancies, such as restating the problem, and to present the solution in formal
          language with correct LaTeX formatting. We manually verified that the LLM had no trouble following these instructions.
        </li>
        <li>
          <strong>Code execution:</strong> We enable code execution for the judges. This is often useful for checking
          symbolic manipulations or verifying computations numerically.
          We found this to be particularly useful for the two geometry problems, where many models produced long algebraic manipulations.
        </li>
        <li>
          <strong>LLM jury:</strong> We replace a single judge with an LLM jury consisting of GPT-5.4,
          Gemini-3.1-Pro, and Opus-4.6. If the three judges agree within two points, out of seven, we take the
          minimum of their scores, since, in our experience, LLM judges tend to be overly generous.<sup><a href="#fn1" id="ref1">1</a></sup> If they
          disagree by more than two points, we provide each judge with all three initial judgments and ask them to
          reconcile them. After this second round, we take the minimum of the three revised scores as the final
          grade.
        </li>
      </ul>

      <p>
        <strong>Human validation.</strong> After running the automated grading pipeline on USAMO 2026, our team carefully reviewed every solution by
        hand. To speed up this process, the reviewers were given access to the explanations produced by the models in
        the LLM jury. One practical challenge was that many models used heavy computation-based approaches for the two
        geometry problems, resulting in pages of algebraic manipulations.
        To make validation manageable, we adopted the following procedure for these two problems: we assumed that any
        issue identified by at least one model in the jury captured the full set of relevant issues. Human review then
        focused primarily on ensuring that these issues were graded consistently across solutions.
      </p>

      <h2 class="anchorable" id="experiments">
        <a href="#experiments">
          Results
        </a>
      </h2>

      <p>
        <strong>Overall performance.</strong> All results are shown in Figure 1, with each model being executed four
        times on each problem. Despite its challenging nature, GPT-5.4 is
        able to consistently produce complete proofs for almost all problems. Its only significant error is a somewhat
        surprising one: on Problem 5, <a href="https://matharena.ai/?comp=usamo--usamo_2026&model=GPT-5.4+%28xhigh%29&task=4&run=4" target="_blank">one solution argues incorrectly</a> that the statement is false and presents an
        invalid counterexample. All other models perform substantially worse, with rankings that are broadly in line
        with expectations based on prior benchmark results.
        Notably, open models still trail the top closed models by a wide margin.
      </p>

      <figure style="margin: 2rem 0; text-align: center;">
        <img src="/assets/generated/thumbnails/b9033a4f85edc57e-640.webp"
  srcset="/assets/generated/thumbnails/b9033a4f85edc57e-320.webp 320w, /assets/generated/thumbnails/b9033a4f85edc57e-640.webp 640w, /assets/generated/thumbnails/b9033a4f85edc57e-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="2532" height="1073"
  alt="Results on USAMO 2026."
  loading="lazy" decoding="async" style="height: auto;"
  class="responsive-image">

        <figcaption  class="caption">
          <strong>Figure 1.</strong> Results on USAMO 2026. Each model was run four times on each problem. All
          results are also accessible on <a href="https://matharena.ai/?comp=usamo--usamo_2026">our main page</a>.
        </figcaption>
      </figure>

      <p>
        <strong>Comparison to USAMO 2025.</strong> This is in sharp contrast with our evaluation from last year, as
        shown in Figure 2. Scores are not only much higher, but the nature of model errors has also changed
        substantially. In 2025, models often guessed instead of proving, relied on circular reasoning, or produced
        irrelevant and poorly structured text. In 2026, these basic failure modes are much less common.
      </p>

      <figure style="margin: 2rem 0; text-align: center;">
        <img src="/assets/generated/thumbnails/ae3e477920741493-640.webp"
  srcset="/assets/generated/thumbnails/ae3e477920741493-320.webp 320w, /assets/generated/thumbnails/ae3e477920741493-640.webp 640w, /assets/generated/thumbnails/ae3e477920741493-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="2534" height="1230"
  alt="Results on USAMO 2025."
  loading="lazy" decoding="async" style="height: auto;"
  class="responsive-image">

        <figcaption  class="caption">
          <strong>Figure 2.</strong> Results on USAMO 2025. Each model was run four times on each problem. All
          results are also accessible on <a href="https://matharena.ai/?comp=usamo--usamo_2025">our main page</a>. The top three models were released after the competition took
          place.
        </figcaption>
      </figure>

      <p>
        That said, a few avoidable issues remain in USAMO 2026. Open models sometimes reconsider their
        approach mid-solution, effectively slipping back into chain-of-thought style reasoning without completing their
        proof. Opus-4.6 exhibits a different failure mode: in 4 out of 24 responses, it exhausts its full 128,000
        token budget without producing a completed proof. We briefly considered rerunning these samples, but decided
        against it for two reasons. First, we used the hyperparameters recommended by the model provider, and the
        token limit could not be increased. Second, three of the four failures occurred on Problem 2, making it
        unlikely that rerunning would have resolved the issue.
      </p>

      <p>
        <strong>Proof quality and style.</strong> Models differ not only in performance, but also in style. That
        style has a direct effect on proof quality, by which we mean how clearly and faithfully a solution is presented,
        independent of correctness. Although this judgment is necessarily somewhat subjective, human reviewers consistently found GPT-5.4’s proofs easiest to follow.
        Its solutions are clear, precise, and well organized, making effective use of sections, claims, and lemmas
        when appropriate.
      </p>

      <p>
        Gemini-3.1-Pro has a more explanatory style: its solutions often proceed through explicit steps that guide the
        reader toward the final argument. This can be helpful, but its paragraphs, like those of all other models
        except GPT-5.4, sometimes become hard to follow. Opus-4.6 puts the most effort into presentation: its
        outputs are carefully formatted, with polished headers and bolded subsection titles.
      </p>

      <p>
        Among the open models, Qwen3.5-397B is most concise, often to the extent that it skips essential steps.
        It does deserve credit for being the only model to (unsuccessfully) attempt synthetic rather
        than heavily algebraic solutions to the geometry problems. GLM-5 sits at the opposite extreme: it is often too
        verbose, and it is also the model most likely to rethink its approach
        mid-proof. Finally, Step-3.5-Flash is structurally the closest to GPT-5.4, but its solutions are generally less polished.
        Curiously, <a href="https://matharena.ai/?comp=usamo--usamo_2026&model=Step+3.5+Flash&task=4&run=1" target="_blank">it also sometimes puts newlines in the middle of sentences.</a>
      </p>

      <p>
        <strong>Accuracy of the automated grading pipeline.</strong> Table 1 compares each model's scores before and
        after human verification, and also displays the scores assigned by the individual judges. Overall, the
        jury's scores track the final human scores closely. Among the three judges, GPT-5.4 is clearly the strongest judge.
        Importantly, because its own performance is already nearly perfect, there is little room for self-bias,
        whereas Gemini-3.1-Pro and Opus-4.6 both substantially overestimate their own performance.
      </p>

      <p>
        Figure 3 shows the distribution of the absolute difference between the final human-validated scores and the
        scores produced by each individual judge. Human review changes the score by at most two points, and this
        happens for only three solutions. More broadly, Gemini-3.1-Pro and Opus-4.6 are also the only judges that make a major error
        large enough to substantially misjudge a solution.
      </p>


      <figcaption class="caption" style="margin-top: 10px; margin-bottom: -10px">
          <strong>Table 1.</strong> Comparison of model scores for various pipelines: before and after human intervention, and individual scores as given by each judge in the jury separately.
          Note: Our pipeline accidentally graded the unfinished reasoning chains from Opus-4.6 as if they were complete solutions. Since these responses did not produce a final proof,
          we corrected their scores to 0 in this table.
        </figcaption>
      <div class="table-container">
        <table class="table is-striped is-hoverable is-fullwidth">
          <thead>
            <tr>
              <th>Model</th>
              <th>After Human Intervention</th>
              <th>Ensemble Judge</th>
              <th>Gemini-3.1-Pro</th>
              <th>Opus-4.6</th>
              <th>GPT-5.4</th>
            </tr>
          </thead>
          <tbody>
            <tr><td>GPT-5.4</td><td>95.2%</td><td>95.2%</td><td>95.2%</td><td>95.8%</td><td>95.8%</td></tr>
            <tr><td>Gemini-3.1-Pro</td><td>74.4%</td><td>73.8%</td><td>85.7%</td><td>80.4%</td><td>74.4%</td></tr>
            <tr><td>Opus-4.6</td><td>47.0%</td><td>46.4%</td><td>66.1%</td><td>58.9%</td><td>47.0%</td></tr>
            <tr><td>Step-3.5-Flash</td><td>44.6%</td><td>43.5%</td><td>47.0%</td><td>58.3%</td><td>50.0%</td></tr>
            <tr><td>Qwen3.5-397B</td><td>36.3%</td><td>32.1%</td><td>33.9%</td><td>41.7%</td><td>38.7%</td></tr>
            <tr><td>GLM-5</td><td>35.1%</td><td>36.3%</td><td>44.0%</td><td>48.2%</td><td>36.3%</td></tr>
          </tbody>
        </table>
      </div>

      <figure style="margin: 2rem 0; text-align: center;">
        <img src="/assets/blog/matharena/usamo_human_intervention_gap_histogram.svg"
  alt="Histogram of absolute score gaps between after-human-intervention grading and the other four grading settings on USAMO 2026."
  loading="lazy" decoding="async" style="height: auto;"
  class="responsive-image">

        <figcaption class="caption">
          <strong>Figure 3.</strong> Histogram of absolute differences between final grades as given by the human graders and each of the judges shown in Table 1.
          Note: Our pipeline accidentally graded the unfinished reasoning chains from Opus-4.6 as if they were complete solutions.
          Since these responses did not produce a final proof, we corrected their scores to 0 in this plot.
        </figcaption>
      </figure>

      <h2 class="anchorable" id="qualitative-analysis">
        <a href="#qualitative-analysis">
          Qualitative Analysis
        </a>
      </h2>

      <p>
        Below, we provide a problem-by-problem qualitative analysis.
      </p>

      <div class="example-container qualitative-card">
        <div class="title is-4">Problem 1</div>
        <p class="qualitative-meta"><strong>Average model performance:</strong> 70.8%</p>
        <div class="qualitative-label">Problem Statement</div>
        <div class="box problem-box">Let $n$ be an integer greater than $1$. For which real numbers $x$ is
\[
\lfloor nx \rfloor - \sum_{k=1}^{n} \frac{\lfloor kx \rfloor}{k}
\]
maximal, and what is the maximal value that this expression can take?

\textit{Note:} $\lfloor z \rfloor$ denotes the greatest integer less than or equal to $z$.</div>
        <details class="example-container prompt-details">
          <summary class="title is-5">Grading Scheme</summary>
          <div class="box problem-box"><div class="marked-text"><h3>1. Checkpoints (7 pts total)</h3>
<ul>
  <li><strong>1 pt:</strong> Proving that $f(x)$ is periodic with period 1 (i.e., $f(x+1) = f(x)$), allowing the domain to WLOG be restricted to $x \in [0, 1)$ or any other interval of length 1.</li>
  <li><strong>1 pt:</strong> Showing that within any interval of the form $[\frac{\ell}{n}, \frac{\ell+1}{n})$ for integer $\ell$, $f(x)$ is non-increasing (since $\lfloor nx \rfloor$ is constant and $-\sum \frac{\lfloor kx \rfloor}{k}$ can only decrease). This restricts the search for the maximum to points of the form $x = \frac{\ell}{n}$.</li>
  <li><strong>1 pt:</strong> Evaluating $f(x)$ for the optimal range (e.g., testing $x \in [1-\frac{1}{n}, 1)$ or $x = \frac{n-1}{n}$) and explicitly calculating the candidate maximum value $-1 + \sum_{k=1}^n \frac{1}{k}$.</li>
  <li><strong>1 pt:</strong> Expressing the function algebraically in terms of fractional parts (e.g., deriving the identity $f(x) = \sum_{k=1}^n \frac{\{kx\}}{k} - \{nx\}$ or $f(\frac{\ell}{n}) = \sum_{k=1}^n \frac{\{k\ell/n\}}{k}$).</li>
  <li><strong>2 pts:</strong> Proving the general upper bound $\sum_{k=1}^n \frac{\{k\ell/n\}}{k} \le \sum_{k=1}^n \frac{n-k}{nk}$ for all integers $\ell$.
    <ul>
      <li><em>Partial credit of 1 pt:</em> Proving this bound only for the coprime case $\gcd(\ell, n) = 1$ (e.g., by recognizing the fractional parts form a permutation and applying the Rearrangement Inequality), but failing to correctly handle or rigorously bound the case where $\gcd(\ell, n) &gt; 1$.</li>
    </ul>
  </li>
  <li><strong>1 pt:</strong> Identifying the correct equality cases of the upper bound to conclude the exact set of optimal $x$ (i.e., proving the maximum is achieved for exactly $x \in \bigcup_{m \in \mathbb{Z}} [m + 1 - \frac{1}{n}, m + 1)$).</li>
</ul>

<h3>2. Zero-credit items</h3>
<ul>
  <li>Conjecturing the maximum value or the optimal intervals without any proof.</li>
  <li>Computing $f(x)$ for small specific values of $n$ without generalizing the algebraic step.</li>
  <li>Restating the problem in an equivalent form without making any tangible progress toward bounding the sum.</li>
</ul>

<h3>3. Deductions</h3>
<ul>
  <li><strong>-1 pt:</strong> Minor cosmetic or arithmetic slips in the evaluation of the final value (e.g., an off-by-one error in the sum bounds) despite otherwise correct logical reasoning.</li>
  <li><strong>-1 pt:</strong> Assuming without proof that the multiset of fractional parts for $\gcd(\ell, n) &gt; 1$ is majorized by or bounded by the set for $\gcd(\ell, n) = 1$ (apply this deduction to cap Checkpoint 5 at 1 out of 2 points if the student claims the general bound holds trivially from the coprime case).</li>
</ul>
</div></div>
        </details>
        <div class="qualitative-label">Analysis</div>
        <div class="box response-box qualitative-response-box">The hardest part of this problem is seeing how to apply the rearrangement inequality to prove the upper bound. Most other steps are relatively standard, at least by USAMO standards. The grading scheme is therefore likely a bit too lenient toward solutions that complete the first few steps but miss the key connection to rearrangement. All correct solutions follow the same overall structure as the grading scheme, and most incorrect solutions fail precisely at the rearrangement step. There are also a few cases where models mishandle the exact set on which the maximum is attained, but those are rarer.</div>
      </div>

      <div class="example-container qualitative-card">
        <div class="title is-4">Problem 2</div>
        <p class="qualitative-meta"><strong>Average model performance:</strong> 40.5%</p>
        <div class="qualitative-label">Problem Statement</div>
        <div class="box problem-box">Annie is playing a game where she starts with a row of positive integers, written on a blackboard, each of which is a power of $2$. On each turn, she can erase two adjacent numbers and replace them with a power of $2$ that is greater than either of the erased numbers. This shortens the row of numbers, and she continues to take turns until only one number remains. Annie wins the game if the final remaining number is less than $4$ times the sum of the original numbers. Is it always possible for Annie to win, regardless of the starting row of numbers?</div>
        <details class="example-container prompt-details">
          <summary class="title is-5">Grading Scheme</summary>
          <div class="box problem-box"><div class="marked-text"><h3>1. Checkpoints (7 pts total)</h3>
<p><strong>Score exactly one chain: take the maximum subtotal among chains; do not add points across chains.</strong></p>

<p><strong>Chain A: Constructive / Algorithmic / Invariant-Based Approach</strong></p>
<ul>
  <li><strong>2 pts:</strong> Defining a deterministic strategy (forward or reverse) AND accurately stating a precise mathematical invariant/bound that tracks the sequence’s sum. The claim must explicitly formulate a strict lower bound on the initial sum required to generate a localized configuration of elements (e.g., an inequality relating the minimum original sum required to form a block of adjacent identical elements).
    <ul>
      <li><em>(Note: This is all-or-nothing. 0 points if the strict inequality or formulation is mathematically incorrect, even if the strategy/framework is mentioned).</em></li>
    </ul>
  </li>
  <li><strong>5 pts:</strong> Rigorously proving that this bound holds globally via a flawless inductive, recursive, or telescoping algebraic argument, concluding that $F &lt; 4S$.
    <ul>
      <li><em>Partial Credit (4 pts):</em> The proof is logically complete and mathematically sound, but contains a localized, non-trivial gap (e.g., failing to explicitly address boundary edge cases, such as adjacent elements that do not merge).</li>
      <li><em>Partial Credit (2 pts):</em> The student provides a complete and rigorous proof of the bound for a highly restricted but meaningful sub-case (e.g., perfectly proving the bound for a starting board consisting <em>only</em> of $1$s and $2$s), or flawlessly executes the base cases and sets up the inductive gaps but fails the final algebraic reduction.</li>
    </ul>
  </li>
</ul>

<p><strong>Chain B: Existential / Structural / Information-Theoretic Approach</strong></p>
<ul>
  <li><strong>2 pts:</strong> Translating the game into a global structure (e.g., a binary tree) AND identifying the strict mathematical constraints required for a winning structure to exist (e.g., defining the target $V &lt; 4S$, the depth limits $d_i \le \log_2(V/a_i)$, and identifying the required inverse-power sum).
    <ul>
      <li><em>(Note: This is all-or-nothing. 0 points for merely stating the game is a binary tree without the precise depth and volume limits).</em></li>
    </ul>
  </li>
  <li><strong>5 pts:</strong> Rigorously proving the existence of a valid structure that satisfies these constraints without violating game rules (e.g., applying the Kraft-McMillan inequality and proving prefix domains are strictly disjoint), concluding that $F &lt; 4S$.
    <ul>
      <li><em>Partial Credit (4 pts):</em> The existence proof is mathematically valid, but lacks a rigorous verification of one specific structural rule (e.g., proving the total volume fits, but failing to formally prove strict left-to-right ordering).</li>
      <li><em>Partial Credit (2 pts):</em> Sets up the correct system of prefix code intervals or spatial domains, but fails to mathematically prove the Kraft-McMillan sum evaluates to $\le 1$ for this game, OR calculates the sum correctly but fails to map it to a valid geometric/structural existence proof.</li>
    </ul>
  </li>
</ul>

<h3>2. Zero-Credit Items</h3>
<ul>
  <li>Conjecturing that Annie can always win without providing a mathematical proof.</li>
  <li>Testing small sequences or specific initial board states and concluding the result holds generally.</li>
  <li>Outlining a valid conceptual approach (e.g., “I will use induction” or “I will build a tree”) but failing to execute any formal mathematics.</li>
</ul>

<h3>3. Deductions and Caps</h3>
<ul>
  <li><strong>-1 point:</strong> Minor arithmetic, algebraic, or indexing errors that do not invalidate the overall logic of the proof (can be applied up to 2 times; cap at -2).</li>
  <li><strong>Cap at 2/7:</strong> The proof states the correct bounds (2 pts) but the execution relies on a fundamental mathematical fallacy (e.g., circular reasoning, or assuming a tree exists without checking total “volume” constraints).</li>
</ul>
</div></div>
        </details>
        <div class="qualitative-label">Analysis</div>
        <div class="box response-box qualitative-response-box">This problem could be solved in two ways. The example solution modifies the game by allowing one to erase a single number and double it, which does not make the game easier, and then develops a deterministic strategy that produces a final number smaller than four times the original sum. However, no AI-generated solution that went down this route was successful. The <a href="https://matharena.ai/?comp=usamo--usamo_2026&model=GPT-5.4+%28xhigh%29&task=1&run=1" target="_blank">successful solutions came from the more capable models</a> and instead used a more computer-science-oriented existential proof, setting the problem up as a binary tree and using the Kraft-McMillan inequality to show that a valid sequence exists. Solutions that went down the deterministic, and arguably more human, route remained shallow. None of them produced a correct strategy; instead, they typically tried and failed to prove the claim by induction.</div>
      </div>

      <div class="example-container qualitative-card">
        <div class="title is-4">Problem 3</div>
        <p class="qualitative-meta"><strong>Average model performance:</strong> 25.0%</p>
        <div class="qualitative-label">Problem Statement</div>
        <div class="box problem-box">Let $ABC$ be an acute scalene triangle with no angle equal to $60^\circ$. Let $\omega$ be the circumcircle of $ABC$. Let $\Delta_B$ be the equilateral triangle with three vertices on $\omega$, one of which is $B$. Let $\ell_B$ be the line through the two vertices of $\Delta_B$ other than $B$. Let $\Delta_C$ and $\ell_C$ be defined analogously. Let $Y$ be the intersection of $AC$ and $\ell_B$, and let $Z$ be the intersection of $AB$ and $\ell_C$.

Let $N$ be the midpoint of minor arc $BC$ on $\omega$. Let $\mathcal{R}$ be the triangle formed by $\ell_B$, $\ell_C$, and the tangent to $\omega$ through $N$. Prove that the circumcircle of $AYZ$ and the incircle of $\mathcal{R}$ are tangent.</div>
        <details class="example-container prompt-details">
          <summary class="title is-5">Grading Scheme</summary>
          <div class="box problem-box"><div class="marked-text"><h3>1. Checkpoints (7 pts total)</h3>
<p><strong>Score exactly one chain: take the maximum subtotal among chains; do not add points across chains.</strong></p>

<p><strong>Chain A: Synthetic approach</strong></p>
<ul>
  <li><strong>3 pts:</strong> Proving that $O$ is the incenter of $\triangle DYZ$ (can be achieved via reverse reconstruction, moving points, projective geometry, or other valid methods).</li>
  <li><strong>1 pt:</strong> Defining $O&#39;$ as the reflection of $O$ over $YZ$ and showing that $O&#39;$ lies on the circumcircle of $\triangle AYZ$.</li>
  <li><strong>1 pt:</strong> Constructing the point $X$ on $(AYZ)$ appropriately (e.g., by letting $X = NK \cap (AYZ)$ where $OYKZ$ is a parallelogram) and showing that $OX$ bisects $\angle YXZ$.</li>
  <li><strong>1 pt:</strong> Applying Protassov’s theorem (or an equivalent homothety argument) to deduce that the circle tangent to $DY$, $DZ$, and $(AYZ)$ touches $(AYZ)$ at $X$.</li>
  <li><strong>1 pt:</strong> Proving that the constructed tangent circle passes through $N$ (e.g., by showing its center $I$ satisfies $IX = IN$), which identifies it as the incircle of $\mathcal{R}$ and concludes the proof.</li>
</ul>

<p><strong>Chain B: Complex numbers and inversion approach</strong></p>
<ul>
  <li><strong>1 pt:</strong> Identifying and setting up a suitable inversion (e.g., an inversion centered at $A$ with radius $\sqrt{bc}$, combined with a reflection over the angle bisector of $A$).</li>
  <li><strong>6 pt:</strong> Computing all valid coordinates to finish the complex number solution.</li>
</ul>

<h3>2. Zero-credit items</h3>
<ul>
  <li>Conjecturing that $O$ is the incenter of $\triangle DYZ$ or making other major geometric claims without proof.</li>
  <li>Merely stating an inversion strategy (Chain B) or identifying Protassov’s configuration (Chain A) without performing subsequent calculations or verifying its conditions for this specific problem.</li>
  <li>Routine coordinate geometry setups (e.g., simply assigning complex coordinates to the vertices) that do not result in meaningful progress.</li>
  <li>Any incomplete computational approach that does not finish the solution or does not arrive at a meaningful synthetic observation that can help finish the solution (i.e. those from Chain A)</li>
</ul>

<h3>3. Deductions</h3>
<ul>
  <li><strong>-1 point:</strong> Arithmetic or algebraic execution errors in Chain B or in Cartesian coordinate checks within Chain A (can be applied up to 2 times; cap at -2).</li>
  <li><strong>-1 point:</strong> Incomplete case analysis in the moving points/projective argument for proving $O$ is the incenter of $\triangle DYZ$ (e.g., verifying only one case instead of the required three).</li>
  <li><strong>Cap at 6/7:</strong> The student successfully applies Protassov’s theorem to find the tangent circle but fails to definitively show it is the incircle of $\mathcal{R}$ (i.e., failing to show tangency at $N$).</li>
  <li><strong>Cap at 5/7:</strong> The proof contains contradictory claims or assumes the conclusion halfway through to force a collinearity or tangency condition.</li>
</ul>
</div></div>
        </details>
        <div class="qualitative-label">Analysis</div>
        <div class="box response-box qualitative-response-box">This was the hardest problem of the contest for LLMs, and GPT-5.4 was the only model to get full marks. Qwen3.5-397B was the only model that attempted <a href="https://matharena.ai/?comp=usamo--usamo_2026&model=Qwen3.5-397b-a17b&task=2&run=1">a synthetic-only approach</a>. Although it earned no credit on Problem 3, this is still worth highlighting, since LLMs much more often resort to algebraic or bashed approaches that require less geometric insight. The expected computational route uses inversion, a standard technique in geometry that transforms circles in lines and lines in circles. Some models opted for this approach, and a suitable inversion was enough to earn one point. GPT-5.4, by contrast, solved the problem with a long coordinate-bashing solution. Importantly, the LLM judges were quite generous in awarding points for the initial setup, whereas the human judge gave zero points to setups that never became mathematically useful.</div>
      </div>

      <div class="example-container qualitative-card">
        <div class="title is-4">Problem 4</div>
        <p class="qualitative-meta"><strong>Average model performance:</strong> 93.5%</p>
        <div class="qualitative-label">Problem Statement</div>
        <div class="box problem-box">A positive integer $n$ is called \emph{solitary} if, for any nonnegative integers $a$ and $b$ such that $a + b = n$, either $a$ or $b$ contains the digit ``1''. Determine, with proof, the number of solitary integers less than $10^{2026}$.</div>
        <details class="example-container prompt-details">
          <summary class="title is-5">Grading Scheme</summary>
          <div class="box problem-box"><div class="marked-text"><h3>1. Checkpoints (7 pts total)</h3>

<p><strong>1. Answer &amp; Characterization (1 pt)</strong></p>
<ul>
  <li><strong>1 pt:</strong> State the correct final answer ($2^{2026} - 1$) <strong>AND</strong> provide a valid, mathematically rigorous characterization of the solitary numbers.</li>
</ul>

<p><strong>2. Sufficiency: The characterized numbers are solitary (3 pts)</strong><br />
<em>(Core logic: Proving that for numbers in the characterized set, any equation $a + b = n$ forces the use of the digit 1.)</em></p>

<ul>
  <li><strong>1 pt (Local Constraints / Base Mechanics):</strong> Rigorously establishing the rules of 1-free addition. The student must prove what carries are strictly forced when attempting to form the specific digits of the characterized set using only digits from $\{0, 2, 3, \ldots, 9\}$.</li>
  <li><strong>2 pts (Global Contradiction):</strong> Synthesizing the local constraints to prove a global impossibility. The student must definitively show that these forced carries chain together across the entire number to create an inescapable contradiction (e.g., an infinite carry loop or a failure at the leading digit).
    <ul>
      <li><em>Note:</em> This is an all-or-nothing 2 points. The student must complete the logical chain.</li>
    </ul>
  </li>
</ul>

<p><strong>3. Necessity: All other numbers are not solitary (3 pts)</strong><br />
<em>(Core logic: Proving that for any number outside the characterized set, there exists at least one valid 1-free decomposition $a + b = n$.)</em></p>

<ul>
  <li><strong>1 pt (The Invariant / Breakpoint):</strong> Identifying the structural feature of non-characterized numbers that permits a 1-free sum, and establishing a valid reduction/invariant (e.g., proving that deviating from the pattern pushes the carry into a relaxed, solvable state, or defining a valid “bare number” reduction).</li>
  <li><strong>2 pts (Global Construction / Existence):</strong> Proving that the <em>entire</em> non-characterized integer $n$ can be formed by a 1-free sum. The student must provide a generalized, rigorous construction or induction that holds for the entire number, explicitly verifying that no contradiction occurs at the boundaries/most significant digit.
    <ul>
      <li><em>Note:</em> This is an all-or-nothing 2 points for completing the global proof of existence.</li>
    </ul>
  </li>
</ul>

<h3>2. Zero-credit items</h3>

<ul>
  <li>Stating the numerical answer ($2^{2026}-1$) without explicitly defining the generalized structural set.</li>
  <li>Extrapolating the sequence/answer from small cases ($n &lt; 100$) without structural proof or induction.</li>
  <li>Providing a mathematically false characterization of the set (e.g., claiming solitary numbers are “numbers that require a carry in every single digit”).</li>
  <li>Demonstrating maximum bounds or isolating specific solitary examples (e.g., proving $199\dots9$ works) without proving the generalized set.</li>
</ul>

<h3>3. Deductions</h3>

<ul>
  <li><strong>-1 to -2 pts (Handwaving the Construction):</strong> The student claims a 1-free sum exists (e.g., “just pick digits that sum to $x$”) without explicitly proving that the restricted digit set $\{0, 2, 3, \ldots, 9\}$ is mathematically sufficient to fulfill those specific sums and carries.</li>
  <li><strong>-1 pt (Minor Boundary Error):</strong> The global logic is sound, but the student fails to explicitly state how the sum resolves at the absolute boundaries (e.g., forgetting to mention that infinite leading zeros resolve the final carry, or a minor index error in an induction step).</li>
</ul>
</div></div>
        </details>
        <div class="qualitative-label">Analysis</div>
        <div class="box response-box qualitative-response-box">This was by far the easiest problem in the contest. Almost all LLM attempts solved it successfully. The only significant mistake <a href="https://matharena.ai/?comp=usamo--usamo_2026&model=GLM+5&task=3&run=3" target="_blank">came from GLM 5</a>, which made an early logical mistake and therefore received zero points. In the other cases where points were lost, the issues were minor, such as a lack of sufficient rigor in the proof. All successful solutions followed the same main idea: they analyzed how carries propagate across digits and used this to characterize the structure of solitary numbers. The LLM judges were also highly consistent. Their scores differed by at most 1 point, and any differences were only from minor issues of rigor.</div>
      </div>

      <div class="example-container qualitative-card">
        <div class="title is-4">Problem 5</div>
        <p class="qualitative-meta"><strong>Average model performance:</strong> 58.3%</p>
        <div class="qualitative-label">Problem Statement</div>
        <div class="box problem-box">Let $ABC$ be a triangle. Points $D$, $E$, and $F$ lie on sides $BC$, $CA$, and $AB$, respectively, such that
\[
\angle AFE = \angle BDF = \angle CED.
\]
Let $O_A$, $O_B$, and $O_C$ be the circumcenters of triangles $AFE$, $BDF$, and $CED$, respectively. Let $M$, $N$, and $O$ be the circumcenters of triangles $ABC$, $DEF$, and $O_A O_B O_C$, respectively. Prove that $OM = ON$.</div>
        <details class="example-container prompt-details">
          <summary class="title is-5">Grading Scheme</summary>
          <div class="box problem-box"><div class="marked-text"><h3>1. Checkpoints (7 pts total)</h3>
<p><strong>Score exactly one chain: take the maximum subtotal among chains; do not add points across chains.</strong></p>

<p><strong>Chain A: Synthetic Geometry</strong></p>
<ul>
  <li><strong>1 pt:</strong> Prove that $\triangle ABC \sim \triangle EFD$ (e.g., by identifying that $DE$ is tangent to $(AFE)$ and similar cyclic applications).</li>
  <li><strong>1 pt:</strong> Introduce the Miquel point $P$ of $\triangle ABC$ with respect to $D,E,F$ (i.e., the point of concurrency of the circles $(AFE)$, $(BDF)$, and $(CED)$).</li>
  <li><strong>1 pt:</strong> Establish that $P$ is the center of a spiral similarity mapping $\triangle ABC$ to $\triangle EFD$ (or equivalently, prove $\triangle PAB \sim \triangle PEF$). <em>Note: This may be cited as a standard consequence of the Miquel point.</em></li>
  <li><strong>1 pt:</strong> Prove that $\triangle ABC \sim \triangle O_A O_B O_C$.</li>
  <li><strong>1 pt:</strong> Prove that $P$ is the center of a spiral similarity mapping $\triangle EFD$ (or $\triangle ABC$) to $\triangle O_A O_B O_C$ (e.g., by proving $\triangle PEF \sim \triangle PO_A O_B$).</li>
  <li><strong>1 pt:</strong> Deduce that $P$ is the center of a spiral similarity mapping the respective circumcenters $M \to N \to O$ (or establish equivalent similarity triangles involving $M,N,O$).</li>
  <li><strong>1 pt:</strong> Conclude $OM = ON$ using the properties of paired spiral similarities (e.g., noting that $\triangle M N O \sim \triangle A E O_A$ and $O_A A = O_A E$).</li>
</ul>

<p><strong>Chain B: Complex Bashing</strong></p>
<ul>
  <li><strong>1 pt:</strong> Prove that $\triangle ABC \sim \triangle EFD$.</li>
  <li><strong>1 pt:</strong> Identify the Miquel point $X$ (or $P$) as the center of spiral similarity mapping $\triangle ABC$ to $\triangle EFD$.</li>
  <li><strong>5 pt:</strong> Setting up and correctly completing a series of computations that result in discovering the relationship $|O-M| = |O-N|$ (or any equivalent one).</li>
</ul>

<h3>2. Zero-credit items</h3>
<ul>
  <li>Conjecturing that $OM = ON$ from an accurately drawn diagram without any angle chasing or algebraic proof.</li>
  <li>Simply restating the problem or rewriting the given angle conditions without deriving meaningful conclusions (e.g., not finding the tangent conditions).</li>
  <li>Introducing complex coordinates but failing to simplify them into a usable factored form (e.g., writing the full determinant for $O_A$ but not evaluating it).</li>
  <li>Any incomplete computational approach that does not finish the solution or does not arrive at a meaningful synthetic observation that can help finish the solution (i.e. those from Chain A)</li>
</ul>

<h3>3. Deductions</h3>
<ul>
  <li><strong>Algebraic/Arithmetic errors in Chain B:</strong> Deduct <strong>1 pt</strong> for each minor calculation error in evaluating determinants or expanding expressions. If an error drastically trivializes the remainder of the problem, <strong>cap at 3/7</strong> (or the score achieved up to the error).</li>
  <li><strong>Unjustified assumptions about spiral similarities:</strong> Concluding that two triangles are spirally similar simply because they are similar, without establishing the correct center or orientation, triggers a <strong>1 pt</strong> deduction.</li>
  <li><strong>Incomplete similarity argument:</strong> If a student claims the pairing property of spiral similarities (e.g., $P: \triangle A E O_A \to \triangle M N O$) but fails to note why $\triangle A E O_A$ is isosceles at $O_A$, deduct <strong>1 pt</strong>.</li>
</ul>
</div></div>
        </details>
        <div class="qualitative-label">Analysis</div>
        <div class="box response-box qualitative-response-box">The solution to this problem requires identifying the Miquel point of the configuration and then using it in a spiral-similarity argument to relate the relevant triangles. Most generated solutions identified the Miquel point, used angle chasing for the first part of the proof, and then resorted to a bashing approach. In contrast, Qwen3.5-397B was once again the only model to provide synthetic-only solutions, none of which were fully correct. Using judges with tool-calling made human review of these solutions significantly easier, since they could spot mistakes in the tedious calculations.</div>
      </div>

      <div class="example-container qualitative-card">
        <div class="title is-4">Problem 6</div>
        <p class="qualitative-meta"><strong>Average model performance:</strong> 49.4%</p>
        <div class="qualitative-label">Problem Statement</div>
        <div class="box problem-box">Let $a$ and $b$ be positive integers such that $\varphi(ab+1)$ divides $a^2 + b^2 + 1$. Prove that $a$ and $b$ are Fibonacci numbers.</div>
        <details class="example-container prompt-details">
          <summary class="title is-5">Grading Scheme</summary>
          <div class="box problem-box"><div class="marked-text"><h3>1. Checkpoints (7 pts total)</h3>
<ul>
  <li><strong>1 pt:</strong> Shows that $\nu_2(a^2+b^2+1)=\nu_2(\varphi(ab+1))=1$ by parity arguments, and concludes that $ab+1 = p^t$ for an odd prime $p \equiv 3 \pmod 4$.</li>
  <li><strong>2 pts:</strong> Handles the case $t=1$ using Vieta Jumping on the relation $ab \mid a^2+b^2+1$ to conclude that $a$ and $b$ must be Fibonacci numbers.
    <ul>
      <li><strong>1 pt:</strong> 1 point should be given for showing that $k=3$ in the relation $a^2 + b^2 + 1 = kab$ using Vieta Jumping.</li>
      <li><strong>1 pt:</strong> 1 point should be given by characterizing all solutions when $k=3$ as $(a,b) \in \{(1,1)\} \cup \{(F_{2l+1},F_{2l+3}) | l \in \mathbb{Z}_{&gt;0} \} \cup \{(F_{2l+3},F_{2l+1}) | l \in \mathbb{Z}_{&gt;0} \}$ using Vieta Jumping.</li>
    </ul>
  </li>
  <li><strong>4 pts:</strong> Handles $t \geq 2$ by showing no solutions exist for $t \geq 3$ and only some exceptional cases exist for $t=2$.
    <ul>
      <li><strong>1 pt:</strong> Shows that $p=3$ or $p \equiv 1 \mod 3$ by applying divisibility properties, e.g., by proving that $p\mid (a^2+a+1)(a^2-a+1)$ which implies that -3 is a quadratic residue mod $p$.</li>
      <li><strong>1 pt:</strong> Shows that $p \equiv 1 \mod 3$ is also impossible, e.g., by noting that it implies that either $3 | a$ or $3 | b$, which in turn implies that either $b^2 \equiv 2 \mod 3$ or $a^2 \equiv 2 \mod 3$ (contradiction).</li>
      <li><strong>1 pt:</strong> Shows that $t &gt; 2$ is impossible by deriving a contradiction modulo 9.</li>
      <li><strong>1 pt:</strong> Shows that $t  = 2$ and $p = 3$ leads to the solutions (1,8) and (8,1), both of which are pairs of Fibonacci.</li>
    </ul>
  </li>
</ul>

<h3>2. Zero-credit items</h3>
<ul>
  <li>Conjecturing that $a$ and $b$ are Fibonacci numbers based on testing small values without providing a proof.</li>
  <li>Showing that $a^2+b^2+1$ is not divisible by 4 without successfully restricting the prime factorization form of $ab+1$.</li>
  <li>Citing Vieta Jumping without first proving that $ab \mid a^2+b^2+1$ or establishing the specific prime form of $ab+1$.</li>
</ul>

<h3>3. Deductions</h3>
<ul>
  <li><strong>cap at 3/7:</strong> Assuming $ab+1$ is prime (i.e., assuming $t=1$) immediately after deducing it is a prime power, without proving that higher powers are impossible.</li>
  <li><strong>-1 pt:</strong> Omitting valid small cases that yield legitimate Fibonacci pairs (e.g., missing the $\{1, 1\}$ case or the $\{1, 8\}$ case from $p=3, t=2$). Apply this flat penalty once for any missing edge cases.</li>
  <li><strong>-1 pt:</strong> Minor algebraic or arithmetic slips that do not invalidate the overall logical pipeline (e.g., small errors during the Vieta jumping descent).</li>
</ul>
</div></div>
        </details>
        <div class="qualitative-label">Analysis</div>
        <div class="box response-box qualitative-response-box">This is a beautiful problem that connects Fibonacci numbers with the Euler totient function. For humans, it is probably far from obvious that Vieta Jumping, a standard technique since a famous IMO problem in 1988, can be used here, but all models seem familiar with it, even in the specific form that arises in this problem. Many human authors on AoPS were also aware of this Vieta Jumping setup. Still, some models, most <a href="https://matharena.ai/?comp=usamo--usamo_2026&model=Gemini+3.1+Pro+Preview&task=5&run=3" target="_blank">notably Gemini-3.1</a>, frequently make the mistake of confidently claiming that Vieta Jumping applies without actually carrying the argument through.
<br><br>
The problem becomes subtler in the cases where Vieta Jumping does not apply directly, and most mistakes occur there. One has to combine several divisibility properties to exclude more and more cases until only a few edge cases remain, each of which also leads to Fibonacci solutions. Models often fail here by trying many different ideas without finding the right sequence of reductions. Interestingly, many incorrect solutions still identify the right edge cases without proving that these are the only ones, which suggests that final-answer performance is stronger than proof-based performance. </div>
      </div>

        <h2 class="anchorable" id="prompts">
          <a href="#prompts">
            Prompts
          </a>
        </h2>

        <p>
          Below are the main prompts used in the USAMO 2026 evaluation pipeline.
        </p>

        <details class="example-container prompt-details">
          <summary class="title is-4">Grading Scheme Creation</summary>
          <div class="box problem-box prompt-content">
<p>You are an experienced Olympiad grader.
<em>Treat the official solution as fully correct and authoritative; do not claim it contains errors.</em>
Your task is to write a complete, grader-friendly rubric for the problem and official solution below. The rubric must map a student's proof to an integer score from <strong>0 to 7</strong>.
The official solution may occasionally skip or skim too quickly over particular steps. Make sure you have understood properly what goes on under the hood to determine the difficulty of a given step and how many points it should be awarded.</p>

<hr />

<h5>INSTRUCTIONS</h5>

<p>Produce the marking scheme in <strong>exactly</strong> the following three sections.
Do not deviate from this format, and do not give any further remarks or comments (i.e., do <strong>not</strong> even start with "here is the marking scheme for this problem").
Be concise and to-the-point, do not give details that limit the graders. The graders are capable, you do not have to specify every detail.</p>

<ol>
  <li><strong>Checkpoints (7 pts total)</strong>
    <ul>
      <li>Break the solution into logically independent checkpoints with <strong>integer</strong> point values.</li>
      <li>Allocate <strong>&gt;= 4 pts</strong> to the main idea/critical steps (all combined); <strong>&lt;= 3 pts</strong> to routine work (all combined).</li>
      <li>If a specific checkpoint can be achieved in multiple mathematically equivalent ways, mention this. However, only do so when the official solution mentions that the alternative is also acceptable.</li>
      <li><strong>Parallel solution paths (non-additive):</strong></li>
    </ul>
    <ul>
      <li>In rare occasions, the official solution admits more than one legitimate approach. If so, write <strong>parallel checkpoint chains</strong> labeled "Chain A: [idea] / Chain B: [idea] / ...". ONLY do so when the official solution allows for multiple paths. DO NOT add your own solution.</li>
      <li>When there are parallel solution paths, start this section with a bold rule: <strong>Score exactly one chain: take the **maximum</strong> subtotal among chains; do <strong>not</strong> add points across chains.**</li>
      <li>Within a chain, checkpoints may be additive.
      * Finish with a one-line <strong>"Total (max 7)"</strong> check that is consistent with the non-additivity rule.
      * Never demand cosmetic labels or specific variable names unless essential to the logic.</li>
    </ul>
  </li>
  <li><strong>Zero-credit items</strong>
    <ul>
      <li>List common arguments or observations that <strong>earn 0 points</strong> (e.g., conjectures without proof, especially in geometry, routine restatements of the problem, or dead-ends).</li>
      <li>Avoid redundancy with deductions below.</li>
    </ul>
  </li>
  <li><strong>Deductions</strong>
    <ul>
      <li>Bullet each typical/expected mistake with a <strong>flat</strong> penalty (<strong>1</strong>, <strong>2</strong>, or <strong>"cap at x/7"</strong>). Use caps for major problems, while subtraction should be used for smaller arithmetic errors. Try to anticipate likely errors based on the official solution structure.</li>
      <li>Target logic gaps, invalid claims, circular reasoning, or contradictions. Cosmetic slips (notation, arithmetic, wording) do <strong>not</strong> trigger deductions unless they break validity.</li>
      <li>If proofs contain <strong>contradictory claims</strong>, apply an appropriate deduction (e.g., <strong>cap at 5/7</strong>).</li>
      <li>If a proof is <strong>incomplete but logically sound</strong> (e.g., leaves cases unaddressed, or proves a key lemma but not the full result), do <strong>not</strong> deduct points; award partial credit based on checkpoints achieved.</li>
    </ul>
  </li>
</ol>

<h5>IMPORTANT REQUIREMENTS</h5>

<ul>
  <li>Be concise, do <strong>not</strong> include details.</li>
  <li><strong>Arithmetic sanity checks:</strong> it must be impossible to exceed <strong>7</strong> overall and at least one chain must allow a perfect <strong>7/7</strong>.</li>
  <li>Do <strong>not</strong> introduce, "fix," or critique the official solution.</li>
  <li>Avoid over-fragmenting: do not split routine algebra into 3+ separate 1-pt bullets.</li>
  <li>Keep notation consistent with the official solution; define any new symbols you introduce.</li>
  <li>Make sure your grading scheme can be understood separately from the solution. Notation only present in the solution (and not in the question) either needs to be clear from context or redefined.</li>
  <li>Do <strong>not</strong> include alternative pipelines based on angle chasing or bashing unless the official solution explicitly includes them.</li>
</ul>

<h5>PROBLEM</h5>
<p>{problem}</p>
<h5>OFFICIAL SOLUTION</h5>
<p>{solution}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Generation</summary>
          <div class="box problem-box prompt-content">
<p>Generate a rigorous proof for the following problem:</p>

<p>{problem}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Judging</summary>
          <div class="box problem-box prompt-content">
<p>You are an expert math proof grader. You are judging the correctness of an LLM-generated proof for a math problem.</p>

<h5>Input</h5>
<p>Your input will consist of:</p>
<ul>
  <li><strong>Problem Statement</strong>: A mathematical problem that the proof is attempting to solve.</li>
  <li><strong>Marking Scheme</strong>: A problem-specific grading rubric (0-7 scale) with checkpoints, zero-credit items, and deductions. You must follow this scheme when assigning points.</li>
  <li><strong>Proof Solution</strong>: The proof that you need to evaluate. This proof may contain errors, omissions, or unclear steps. The proof was generated by another language model.</li>
</ul>

<h5>Task</h5>
<p>Analyze the proof carefully.
<strong>Core principles (in order of precedence):</strong>
1) <strong>Mathematical validity</strong> of the proof's reasoning and conclusion.
2) <strong>Problem constraints</strong> (e.g., unique required final value; forbidden tools if stated).
3) <strong>Advisory mapping to the marking scheme</strong> (checkpoints/deductions), allowing different orders and techniques.</p>

<p><strong>Alternative-approach policy:</strong></p>
<ul>
  <li>If the proof uses a different but valid method, <strong>map its steps to equivalent rubric checkpoints</strong> (same logical role) and award points accordingly.</li>
  <li>Apply zero-credit items/deductions <strong>only when the underlying issue actually occurs</strong> in the given proof's approach; do not auto-penalize for omitting a rubric step.</li>
  <li>Avoid double-counting mutually exclusive items; if two items solve the same logical gap, <strong>award the larger only</strong>.</li>
  <li>If the final numeric/algebraic answer is wrong where uniqueness is required, award only partial credit justified by correct intermediate reasoning.</li>
</ul>

<p><strong>Rigor and evidence:</strong></p>
<ul>
  <li>Award credit for intermediate claims <strong>only if adequately justified</strong> within the proof (not merely asserted).</li>
  <li>If a step is plausible but under-justified, award <strong>conservative partial credit</strong> and note what is missing.</li>
</ul>

<p><strong>What to produce:</strong></p>
<ul>
  <li>Identify logical errors, incorrect steps, or unclear reasoning.</li>
  <li>Give a <strong>score between 0 and 7</strong> with a <strong>detailed assessment</strong>.</li>
  <li><strong>Within the assessment text</strong>, show clearly how the score was derived:
    <ul>
      <li>Which rubric checkpoints were earned and the points you awarded.</li>
      <li>Any zero-credit items or deductions you applied (and why).</li>
      <li>How these add up to the final integer score in [0-7].</li>
    </ul>
  </li>
</ul>

<p><strong>What to avoid:</strong></p>
<ul>
  <li>Do <strong>not</strong> provide value judgments on the proof, in particular, avoid subjective assessments like "brilliant", "elegant", "flawless", "sloppy", etc. Specify whether the proof is correct or not, and give a clear rationale for your score, but do not use subjective adjectives or point out other superficial aspects, like the writing style, the formatting, or the clarity of the explanation.</li>
</ul>

<h5>Code execution</h5>
<p>Use the provided code execution tool to verify calculations and check algebraic manipulations.
Sympy and Numpy are available for symbolic verification or numerical checks. If possible, always prefer symbolic verification for mathematical proofs.
However, do not use code execution as a crutch for understanding the proof. Your primary evaluation should be based on the logical structure and mathematical validity of the proof as written.
<strong>Never</strong> trust a model solution blindly, any computations or equalities it claims should be rigorously checked, preferably with numerical or symbolic verification using the code execution tool.</p>

<h5>Geometry problems</h5>
<p>Geometric problems often are solved using "bashed" solutions, either with coordinate geometry, complex numbers, or angle chasing.
Such proofs should be evaluated with extreme care, and the code execution tool should be used generously to verify the correctness of the bash and the validity of the conclusions drawn from it.
Partial credits should be awarded <strong>sparingly</strong>. In particular, the following rules should be followed:</p>
<ul>
  <li>If the grading scheme includes specific checkpoints for the bash, points should be awarded for each checkpoint that was finished completely correctly.</li>
  <li>A big portion of the grades for a bash are reserved for a correct setup and computations. For this portion, the following rules should be followed:
    <ul>
      <li>You are only allowed to either award 0 points, the full points, or a one-point deduction for a minor mistake that does not invalidate the final conclusion. It is impossible to give a partial score that is lower than the full points minus one for the bash. In such cases, you should always give 0 points instead.</li>
      <li>Two or more minor mistakes, as well as a single major mistake that invalidates the final conclusion, should lead to a score of 0 for the bash.
Be extremely strict when evaluating bashed solutions, and verify all calculations extensively with the code execution tool.</li>
    </ul>
  </li>
</ul>

<h5>Output Format</h5>
<p>Respond with <strong>only</strong> well-formed XML using the structure below. Do not include any extra text or Markdown.
<strong>Requirements:</strong></p>
<ul>
  <li>&lt;points&gt; must be an integer in [0, 7].</li>
  <li>&lt;assessment&gt; must be a <strong>detailed analysis</strong> that explains your reasoning step-by-step and provides a clear <strong>rationale for the score</strong>.</li>
  <li>&lt;errors&gt; must be a list of specific issues (empty if score = 7).</li>
</ul>

<p>Example output:
&lt;points&gt;0&lt;/points&gt;
&lt;assessment&gt;The proof shows a good understanding of the main idea, but has some unclear reasoning and minor mistakes...&lt;/assessment&gt;
&lt;errors&gt;
    1. specific error 1,
    2. specific error 2,
    ...
&lt;/errors&gt;</p>

<h5>INPUT DATA</h5>

<h4>Problem Statement</h4>
<p>{problem_statement}</p>

<h4>Marking Scheme</h4>
<p>{guidelines}</p>

<h4>Proof Solution</h4>
<p>{student_answer}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Judging with prior judgments</summary>
          <div class="box problem-box prompt-content">
<p>You are an expert math proof grader. You are judging the correctness of an LLM-generated proof for a math problem.</p>

<h5>Input</h5>
<p>Your input will consist of:</p>
<ul>
  <li><strong>Problem Statement</strong>: A mathematical problem that the proof is attempting to solve.</li>
  <li><strong>Marking Scheme</strong>: A problem-specific grading rubric (0-7 scale) with checkpoints, zero-credit items, and deductions. You must follow this scheme when assigning points.</li>
  <li><strong>Proof Solution</strong>: The proof that you need to evaluate. This proof may contain errors, omissions, or unclear steps. The proof was generated by another language model.</li>
</ul>

<h5>Task</h5>
<p>Analyze the proof carefully.
<strong>Core principles (in order of precedence):</strong>
1) <strong>Mathematical validity</strong> of the proof's reasoning and conclusion.
2) <strong>Problem constraints</strong> (e.g., unique required final value; forbidden tools if stated).
3) <strong>Advisory mapping to the marking scheme</strong> (checkpoints/deductions), allowing different orders and techniques.</p>

<p><strong>Alternative-approach policy:</strong></p>
<ul>
  <li>If the proof uses a different but valid method, <strong>map its steps to equivalent rubric checkpoints</strong> (same logical role) and award points accordingly.</li>
  <li>Apply zero-credit items/deductions <strong>only when the underlying issue actually occurs</strong> in the given proof's approach; do not auto-penalize for omitting a rubric step.</li>
  <li>Avoid double-counting mutually exclusive items; if two items solve the same logical gap, <strong>award the larger only</strong>.</li>
  <li>If the final numeric/algebraic answer is wrong where uniqueness is required, award only partial credit justified by correct intermediate reasoning.</li>
</ul>

<p><strong>Rigor and evidence:</strong></p>
<ul>
  <li>Award credit for intermediate claims <strong>only if adequately justified</strong> within the proof (not merely asserted).</li>
  <li>If a step is plausible but under-justified, award <strong>conservative partial credit</strong> and note what is missing.</li>
</ul>

<p><strong>What to produce:</strong></p>
<ul>
  <li>Identify logical errors, incorrect steps, or unclear reasoning.</li>
  <li>Give a <strong>score between 0 and 7</strong> with a <strong>detailed assessment</strong>.</li>
  <li><strong>Within the assessment text</strong>, show clearly how the score was derived:
    <ul>
      <li>Which rubric checkpoints were earned and the points you awarded.</li>
      <li>Any zero-credit items or deductions you applied (and why).</li>
      <li>How these add up to the final integer score in [0-7].</li>
    </ul>
  </li>
</ul>

<p><strong>What to avoid:</strong></p>
<ul>
  <li>Do <strong>not</strong> provide value judgments on the proof, in particular, avoid subjective assessments like "brilliant", "elegant", "flawless", "sloppy", etc. Specify whether the proof is correct or not, and give a clear rationale for your score, but do not use subjective adjectives or point out other superficial aspects, like the writing style, the formatting, or the clarity of the explanation.</li>
</ul>

<h5>Code execution</h5>
<p>Use the provided code execution tool to verify calculations and check algebraic manipulations.
Sympy and Numpy are available for symbolic verification or numerical checks. If possible, always prefer symbolic verification for mathematical proofs.
However, do not use code execution as a crutch for understanding the proof. Your primary evaluation should be based on the logical structure and mathematical validity of the proof as written.
<strong>Never</strong> trust a model solution blindly, any computations or equalities it claims should be rigorously checked, preferably with numerical or symbolic verification using the code execution tool.</p>

<h5>Geometry problems</h5>
<p>Geometric problems often are solved using "bashed" solutions, either with coordinate geometry, complex numbers, or angle chasing.
Such proofs should be evaluated with extreme care, and the code execution tool should be used generously to verify the correctness of the bash and the validity of the conclusions drawn from it.
Partial credits should be awarded <strong>sparingly</strong>. In particular, the following rules should be followed:</p>
<ul>
  <li>If the grading scheme includes specific checkpoints for the bash, points should be awarded for each checkpoint that was finished completely correctly.</li>
  <li>A big portion of the grades for a bash are reserved for a correct setup and computations. For this portion, the following rules should be followed:
    <ul>
      <li>You are only allowed to either award 0 points, the full points, or a one-point deduction for a minor mistake that does not invalidate the final conclusion. It is impossible to give a partial score that is lower than the full points minus one for the bash. In such cases, you should always give 0 points instead.</li>
      <li>Two or more minor mistakes, as well as a single major mistake that invalidates the final conclusion, should lead to a score of 0 for the bash.
Be extremely strict when evaluating bashed solutions, and verify all calculations extensively with the code execution tool.</li>
    </ul>
  </li>
</ul>

<h5>Output Format</h5>
<p>Respond with <strong>only</strong> well-formed XML using the structure below. Do not include any extra text or Markdown.
<strong>Requirements:</strong></p>
<ul>
  <li>&lt;points&gt; must be an integer in [0, 7].</li>
  <li>&lt;assessment&gt; must be a <strong>detailed analysis</strong> that explains your reasoning step-by-step and provides a clear <strong>rationale for the score</strong>.</li>
  <li>&lt;errors&gt; must be a list of specific issues (empty if score = 7).</li>
</ul>

<p>Example output:
&lt;points&gt;0&lt;/points&gt;
&lt;assessment&gt;The proof shows a good understanding of the main idea, but has some unclear reasoning and minor mistakes...&lt;/assessment&gt;
&lt;errors&gt;
    1. specific error 1,
    2. specific error 2,
    ...
&lt;/errors&gt;</p>

<h5>INPUT DATA</h5>

<h4>Problem Statement</h4>
<p>{problem_statement}</p>

<h4>Marking Scheme</h4>
<p>{guidelines}</p>

<h4>Proof Solution</h4>
<p>{student_answer}</p>

<p>You are additionally given the following judgments from other judges on the same proof.
They have all read the same proof and marking scheme, but they significantly differ in the score they awarded in their analysis.
Your task is to analyze their judgments and the proof, and reconcile the differences in the scores.
Your judgment should not directly reference these other judgments, but should be self-contained and should provide a clear rationale for the score you give, which may be different from the scores given by the other judges.</p>

<p>{other_judgments}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Rewriting prompt</summary>
          <div class="box problem-box prompt-content">
<p>We have obtained a benchmark to test how good LLMs are at writing difficult mathematical proofs.
We want to test how biased our graders are against certain styles of writing proofs to investigate whether the graders are truly evaluating the mathematical content of the proofs, or if they are being biased by superficial aspects of the writing style.
Your job is to take a proof written by an LLM and rewrite it in the given style, <strong>keeping the mathematical content exactly the same</strong> but changing the superficial writing style.</p>

<p>In particular, you are assigned the following style: "Accurate Writer". This style is characterized by:</p>
<ul>
  <li>Does not repeat the problem statement at the beginning of the proof, and does not include any unnecessary rephrasing or restatements of the same idea (if contained in the original proof).</li>
  <li>Uses accurate, precise, and formal language to present the proof. The proof should be written in a clear and straightforward manner, without any unnecessary words or explanations. The proof should be as concise as possible while still being clear and accurate.</li>
  <li>Computations should be presented in a clear and organized manner, but you cannot add or leave out any computational steps that are not present in the original proof. You can only reformat the existing computations to fit the style guidelines.</li>
  <li>Any argument or claim that is present in the original proof must be present in the rewritten proof, and it must be presented with the exact same level of rigor and justification as in the original proof. In particular, do not remove the reasoning steps or justifications behind claims in the proof.</li>
</ul>

<p>You should also follow these style guidelines when rewriting the proof:</p>
<ul>
  <li>Use LaTeX formatting for all mathematical expressions and remove any unicode characters in favor of their LaTeX equivalents. You should use dollar delimiters for inline math and double dollar delimiters for display math.</li>
  <li>All sentences should be complete and well-formed, with proper grammar and punctuation.</li>
  <li>If the proof is mostly empty, you should not invent content to add. LLMs sometimes make this mistake. In these cases, you can simply reformat the existing content to fit the style guidelines as best as possible, without adding any new mathematical claims or reasoning.</li>
  <li>If the proof empty, you can return an empty output. Do not invent content to add.</li>
  <li>If the proof contains reconsiderations (e.g., "Wait, this step doesn't work, let's try something else"), you should keep these reconsiderations in the rewritten proof, but you should rephrase them to fit the style guidelines. You should explicitly keep the reconsiderations in the rewritten proof.</li>
  <li>Start your output with "Proof." and end your output with "Q.E.D.", but only if the model claims to have found a full solution. Do not add any additional text before or after the proof, <em>not even for formatting purposes</em>.</li>
</ul>

<p>Under no circumstance are you allowed to change:</p>
<ul>
  <li>Any of the mathematical content of the proof, including the logical structure, the mathematical claims being made, and the final conclusion.</li>
  <li>The correctness of the proof. You should never change things you believe to be incorrect, and keep them as they are. It is never your job to judge correctness or fix the proof.</li>
  <li>If the original proof says it has not found a complete solution, it is NOT your job to complete the solution. You should keep the proof at the same level of completeness as the original proof, and you should not add any new mathematical claims or reasoning that were not present in the original proof.</li>
</ul>

<p>Your output should not reference these instructions, instead it should simply be the rewritten proof in the style of a "Accurate Writer" as described above.
Your proof should be self-contained and should not reference the original proof or the instructions.</p>

<h4>Problem</h4>
<p>{problem_statement}</p>

<h4>Proof</h4>
<p>{student_answer}</p>
</div>
        </details>

        <h2 class="anchorable" id="footnotes">
          <a href="#footnotes">
            Footnotes
          </a>
        </h2>
        <ol class="footnotes">
          <li id="fn1">
            We intended to only take the minimum when judges agreed to within one point instead of two
        points. However, we accidentally included a misconfiguration in the judge that was executed.<a href="#ref1" class="footnote-backref">↩</a>
          </li>
        </ol>


      </div>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[A year after LLMs struggled on the USA Math Olympiad, GPT-5.4 scores 95% on the 2026 problems. We explain how we graded the proofs using LLM juries and human review, and examine the gaps between models.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_usamo.jpeg" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_usamo.jpeg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Coding Agents Are “Fixing” Correct Code</title><link href="https://www.sri.inf.ethz.ch/blog/fixedcode" rel="alternate" type="text/html" title="Coding Agents Are “Fixing” Correct Code" /><published>2026-03-23T00:00:00+00:00</published><updated>2026-03-23T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/fixedcode</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/fixedcode"><![CDATA[<style>
    .blogpost-thumbnail {
        width: 30% !important;
    }
    @media (max-width: 768px) {
    /* styles that apply when viewport is 768px or smaller */
    .blogpost-title {
      font-size: 30px;
    }

    .blogpost-thumbnail {
        width: 60% !important;
    }

    .page-subtitle {
      font-size: 18px
    }

    .tldr {
      padding: 5% 5%;
    }

    .blogpost-col {
      text-align: left;
    }

  .blogpost-col p,
  .blogpost-col h3 {
      padding-left: 10px !important;
      padding-right: 10px !important;
    }
  }

  .trace-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }

  .trace-details > summary {
    list-style: none;
  }

  .trace-details > summary::-webkit-details-marker {
    display: none;
  }

  .trace-summary {
    display: inline-flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
  }

  .trace-summary * {
    pointer-events: none;
  }

  .trace-details {
    display: inline-block;
    background: #dbdbdb;
    width: 100%;
  }

  .trace-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2f7;
    border: 1px solid #d8e0ea;
    color: #213547;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }

  .trace-badge-primary {
    background: #213547;
    border-color: #213547;
    color: #ffffff;
  }

  .trace-badge-primary::before {
    content: "▸";
    margin-right: 6px;
    font-size: 11px;
  }

  .trace-details[open] .trace-badge-primary::before {
    content: "▾";
  }

  .trace-badge-accent {
    background: #f3e8d2;
    border-color: #e2c68e;
    color: #6b4e16;
  }
    
</style>

<p>Coding agents are increasingly used to maintain software over long time horizons. A standard task in this setting is resolving user-reported issues: a bug report comes in, the agent investigates, writes a patch, and submits it. But what happens when the reported issue is already resolved?</p>

<p>This is not a contrived scenario. In any real codebase, agents will encounter outdated bug reports, issues fixed in a parallel PR, or tickets that reference behavior that was already patched. A good agent should recognize this, report that no fix is needed, maybe update documentation and add a test case, but ultimately move on without attempting another code patch. We set out to measure whether current coding agents actually do this.</p>

<p><img src="/assets/blog/fixedcode/overview.svg" alt="Overview over the evaluation setup" class="blogpost-img80" /></p>

<p class="blogpost-caption">We run the coding agents on the code base <em>after</em> the reported user issue has been resolved. The expected behavior is to not make additional changes to relevant code.</p>

<h3 id="benchmark-fixing-already-fixed-code">Benchmark: Fixing already-fixed code</h3>

<p>We sampled 200 instances from SWE-Bench Verified <a id="ref-source-swebench" href="#ref-swebench">[1]</a>.
We evaluate a variety of recent coding models in their respective recommended harnesses and report the findings below. Concretely, we evaluate Sonnet 4.6 in the Claude Code harness, GPT 5.3-Codex and GPT 5.4 mini (both with xhigh thinking) in Codex, Gemini 3 Pro in Gemini CLI, and Qwen3.5 122B using the Qwen Code harness.
We also evaluate the popular <a href="https://github.com/ksenxx/kiss_ai">Sorcar</a> open-source agentic harness with GPT 5.3-Codex.
Any meaningful code change (excluding documentation and tests) counts as a failure.</p>

<p><img src="/assets/blog/fixedcode/score_postpatches_fix_by_model.svg" alt="Empty-patch success rate across models on fixed-code tasks" class="blogpost-img100" /></p>

<p class="blogpost-caption">No model exceeds 70% in our setting. GPT 5.3-Codex in Codex reaches 68%, with Sonnet 4.6 close behind at 65%, GPT 5.4 mini at 60.5%, Sorcar with GPT 5.3-Codex at 57.6%, Qwen3.5 122B at 50.3%, and Gemini 3 Pro at 36.5%. 
At the same time, both proprietary harnesses (e.g., Claude Code, Codex, Gemini-CLI, and Qwen Code) and open ones like Sorcar do not manage to solve this problem.</p>

<h3 id="agents-introduce-unnecessary-changes">Agents introduce unnecessary changes</h3>

<p>The results are sobering. Most models eagerly modify code even when there is nothing to fix. Interestingly, performance here does not align cleanly with coding capability as measured by SWE-Bench, but rather with the models’ tendency to push back against nonsensical requests as measured by BullshitBench <a id="ref-source-bullshitbench" href="#ref-bullshitbench">[3]</a>.
Manual trace analysis reveals the deciding factor: attempting to “fix” code without performing an issue reproduction first. Sonnet 4.6 typically begins by trying to trigger the bug. 
Upon finding it already resolved, it often correctly submits an empty patch. 
Most other models jump straight to patching without verification. 
Worse, since the issue was resolved in the most recent commit, even a quick look at the git history would reveal the fix. Yet most agents never check.</p>

<p>This is a problem beyond our benchmark. If deployed for autonomous maintenance, these agents would systematically introduce unnecessary changes to resolve stale issues, filling codebases with agent slop. Prior work <a href="#ref-haicode">[4]</a> has shown that agent-generated patches are typically overly verbose (unnecessarily defensive code, irrelevant edits, unrequested features), exacerbating this issue further. Our findings isolate this problem: even when the optimal patch is empty, most agents cannot help themselves.</p>

<h3 id="prompting-works-as-stopgap-solution">Prompting works as stopgap solution</h3>

<p><img src="/assets/blog/fixedcode/score_postpatches_gpt-5.4-mini_variants.svg" alt="GPT-5.4 mini under different prompting variants" class="blogpost-img50" /></p>

<p class="blogpost-caption">Upon explicitly telling the agent to abstain if no change is needed, abstention improves substantially: GPT-5.4 mini rises from 60.5% to 88.5%, Sonnet 4.6 from 65.0% to 80.5%, and Sorcar with GPT 5.3-Codex reaches 83.5%.</p>

<p>We investigated whether explicit instructions can address this. Using a prompt that tasks the agent to first investigate whether the issue still exists, then reproduce it, and only fix it if the reproduction succeeds, GPT-5.4 mini jumps from 60.5% to 88.5%. Sonnet 4.6 improves from 65.0% to 80.5%, and Sorcar with GPT 5.3-Codex reaches 83.5%. Meanwhile, simply asking to “reproduce before patching” (without the explicit option to abstain) leaves Sonnet 4.6 roughly unchanged at 65.5% and actually hurts GPT-5.4 mini, dropping it to 47.5%. To confirm these framings don’t hurt real bug-fixing capability, we ran the same prompts on standard SWE-Bench for Sonnet 4.6 and GPT-5.4 mini and saw no performance degradation. The exact prompt templates are listed in the prompt section below.
This indicates a good candidate instruction to add to context files <a href="#ref-agentsmd">[2]</a>.</p>

<p>But prompting is brittle across edge cases. We tested a scenario where a previous agent had already attempted a fix that was incorrect (using GPT-5.4 nano patches that fail SWE-Bench). When asked to fix the reported issue or abstain if resolved, both Claude Sonnet 4.6 and GPT-5.4 mini now strongly favor abstaining, submitting 70% and 94% empty patches, respectively, even though the existing patch is wrong and a real fix is needed.</p>

<h3 id="the-deeper-problem">The deeper problem</h3>

<p>We should not need to prompt agents to check whether their work is necessary. First, this implies requiring tight supervision from a human, which contradicts the goal of agentic autonomy. Second, it does not address the underlying issue, which is that current models lack taste in software engineering <a href="#ref-codetaste">[5]</a>; they overengineer, do not verify that changes are needed, and do not confirm that their patches actually change program behavior meaningfully. These edge cases, stale issues, partial prior fixes, and redundant changes are the norm in real-world software maintenance, not the exception.</p>

<p>There is a more general lesson here that extends beyond coding. LLMs, especially when used as agents, are trained to always find a way to “succeed” at the task they are given. If you ask a model to fix a bug, it will produce a fix, even if no fix is needed. The model has seen millions of bug-fixing trajectories during training and has been rewarded for producing patches, not for concluding that none are required. If you do not explicitly frame “no change needed” as a valid and successful outcome, the model will not choose it. This is why the fix-or-abstain prompt works so well: it redefines success to include the possibility of abstaining.</p>

<p>This dynamic applies broadly. Whenever an agent encounters unexpected circumstances, an already-resolved issue, a contradictory specification, or an ambiguous requirement, it will default to producing something rather than pushing back or asking for clarification. The practical takeaway for anyone deploying agents today: always define an explicit success path for unexpected circumstances. But long-term, if we want coding agents that can autonomously maintain software, they need to internalize the principle of minimal, verified changes. That requires changes to how models are trained, not just to how they are prompted.</p>

<h3 id="conclusion">Conclusion</h3>

<p>We set out to investigate in a controlled setting whether current coding agents ensure minimality of submitted patches by asking them to fix resolved issues in code bases. Overall, we found a sobering result: Most models unquestioningly perform patches, do not stop to confirm that they actually changed the program behavior meaningfully, and submit unnecessary changes in up to 70% of instances. Our stopgap recommendation is to explicitly ask models to abstain from fixing code that does not require changes. However, we suggest that this is a symptom of a broader, underlying issue in the reward design of coding agents, which prevents their use in long-term autonomous software maintenance.</p>

<p class="blogpost-caption">This work was done in collaboration with <a href="https://logicstar.ai">LogicStar</a>. Check out their work on reliable coding agents!</p>

<h4 id="references">References</h4>

<div class="blogpost-references">
<span id="ref-swebench"><a href="#ref-source-swebench">[1]</a> Jimenez et. al., <a href="https://arxiv.org/abs/2310.06770"><i>SWE-Bench: Can Language Models Resolve Real-World GitHub Issues?</i></a>, ICLR 2024</span>

<span id="ref-agentsmd"><a href="#ref-source-agentsmd">[2]</a> Gloaguen et. al., <a href="/publications/gloaguen2026agentsmd"><i>Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?</i></a>, 2026</span>

<span id="ref-bullshitbench"><a href="#ref-source-bullshitbench">[3]</a> Gostev, <a href="https://petergpt.github.io/bullshit-Benchmark/viewer/index.v2.html"><i>BullshitBench v2</i></a>, 2026</span>

<span id="ref-haicode"><a href="#ref-source-haicode">[4]</a> Wang et. al., <a href="https://zorazrw.github.io/files/position-haicode.pdf"><i>Position: Humans are Missing from AI Coding Agent Research</i></a>, 2026</span>

<span id="ref-codetaste"><a href="#ref-source-codetaste">[5]</a> Thillen et. al., <a href="/publications/thillen2026codetaste"><i>CodeTaste: Can LLMs Generate Human-Level Code Refactorings?</i></a>, 2026</span>
</div>

<h4 id="examples">Examples</h4>

<h5 id="traces">Traces</h5>

<p>We present a number of concrete agent traces that illustrate our findings below.
In the representative instance below, GPT-5.4 mini applies a patch to the repository before running any reproduction tests or checking the git history. It edits the PostgreSQL dbshell client immediately, only then runs the relevant test, and ends up submitting the unnecessary code change.</p>
<details class="trace-details">
<summary class="trace-summary"><span class="trace-badges"><span class="trace-badge trace-badge-primary">Show</span><span class="trace-badge">GPT-5.4 mini</span><span class="trace-badge">django/django#11239</span></span></summary>
<a class="iframe-link" href="/assets/blog/fixedcode/django__django-11239-fix.traj.html">Open GPT-5.4 mini fix trace</a>
<iframe class="iframe-full" src="/assets/blog/fixedcode/django__django-11239-fix.traj.html" height="900px"></iframe>
</details>

<p>There is even an easier path to discovering that no patch is required.
In our evaluation, the most recent commit diverges from the reported commit and includes the patch to the reported issue. If the agents inspect the recent git history, they quickly realize that the last commit solves the task they were assigned. However the agents rarely stop to compare that commit with the current state of the repository.
The notable exceptions is Sonnet 4.6: it usually begins its activity by attempting a reproduction of the reported issue and then continue to inspect the git history. The empty submitted patches follow its decision that no change is needed upon discovering the existing patch. Such an example is illustrated in the Sonnet 4.6 trace below.</p>

<details class="trace-details">
<summary class="trace-summary"><span class="trace-badges"><span class="trace-badge trace-badge-primary">Show</span><span class="trace-badge">Sonnet 4.6</span><span class="trace-badge">opshin/opshin#387</span></span></summary>
<a class="iframe-link" href="/assets/blog/fixedcode/opshin_opshin-387.traj.html">Open Sonnet 4.6 trace</a>
<iframe class="iframe-full" src="/assets/blog/fixedcode/opshin_opshin-387.traj.html" height="900px"></iframe>
</details>

<p>We consider this desirable behavior and not cheating. We were actually surprised to see so few models perform even this most basic check. However, reproducing bugs and inspecting the git history do not guarantee correct abstention.</p>

<p>Upon explicitly telling the model to abstain if no change is needed, even GPT-5.4 mini correctly abstains from submitting unnecessary code patches. Its abstention rate rises from 60.5% to 88.5%. Below we show the same instance as above, only with a small additional remark in the initial prompt. In this setting, GPT-5.4 mini reproduces the issue first and then leaves the repository unchanged.</p>

<details class="trace-details">
<summary class="trace-summary"><span class="trace-badges"><span class="trace-badge trace-badge-primary">Show</span><span class="trace-badge">GPT-5.4 mini</span><span class="trace-badge">django/django#11239</span><span class="trace-badge trace-badge-accent">Abstain Variant</span></span></summary>
<a class="iframe-link" href="/assets/blog/fixedcode/django__django-11239-fix-or-abstain.traj.html">Open GPT-5.4 mini fix-or-abstain trace</a>
<iframe class="iframe-full" src="/assets/blog/fixedcode/django__django-11239-fix-or-abstain.traj.html" height="900px"></iframe>
</details>

<h5 id="prompts">Prompts</h5>

<p>The four prompt variants used in the paper are listed below. We replacec <code class="language-plaintext highlighter-rouge">task</code> with the SWEBench problem statement.</p>

<p><strong>Fix</strong></p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{task}
</code></pre></div></div>

<p><strong>Reproduce Fix</strong></p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{task}

Tackle the task like this:
First, reproduce the issue described above.
Then fix the issue and verify the reproduction now fails.
</code></pre></div></div>

<p><strong>Reproduce Fix Abstain</strong></p>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{task}

Tackle the task like this:
First, reproduce the issue described above.
If the issue is not present (anymore), report that and don't make changes.
Otherwise fix the issue and verify the reproduction now fails.
</code></pre></div></div>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[What happens when coding agents are asked to fix an issue that has already been resolved? Our benchmark reveals that most current agents fail to abstain from making further changes in this setting, submitting irrelevant patches in over 50% of cases. While asking the model explicitly to abstain when it considers no changes needed mitigates this problem, it demonstrates a broader, more general weakness of coding agents in software engineering judgment.]]></summary></entry><entry><title type="html">LLMs Achieve Fellowship-Level Scores on The 2025 Putnam Exam</title><link href="https://www.sri.inf.ethz.ch/blog/putnam" rel="alternate" type="text/html" title="LLMs Achieve Fellowship-Level Scores on The 2025 Putnam Exam" /><published>2026-02-26T00:00:00+00:00</published><updated>2026-02-26T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/putnam</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/putnam"><![CDATA[<img src="/assets/generated/thumbnails/116762785d6e42cf-640.webp"
  srcset="/assets/generated/thumbnails/116762785d6e42cf-320.webp 320w, /assets/generated/thumbnails/116762785d6e42cf-640.webp 640w, /assets/generated/thumbnails/116762785d6e42cf-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="1536" height="1024"
  alt="Putnam Banner"
  loading="eager" decoding="async" style="height: auto;"
  class="responsive-image main-image" usemap="#kangaroo-map">

      <map name="kangaroo-map">
            <area target="" alt="" title="" href="/assets/blog/matharena/blog_putnam_card.png" coords="830,515,812,562,801,586,801,627,818,666,851,694,891,708,944,715,1029,726,1105,705,1146,650,1126,582,1092,555,1044,528,987,513,917,511,849,507,822,525" shape="poly">
      </map>

      <div class="acknowledgement">
        This work was partially supported by an evaluation grant from Google DeepMind.
        We also wish to thank the Putnam organizers for their support and collaboration in conducting this evaluation.
      </div>
      <div class="content blog-content">
      <h2 class="anchorable" id="introduction">
        <a href="#introduction">
          Introduction
        </a>
      </h2>

      <p>
        Last December, the 86th edition of the <a href="https://maa.org/putnam/" target="_blank">William Lowell Putnam Mathematical Competition</a> took place.
        The Putnam is widely regarded as one of the most challenging and prestigious mathematics competitions for undergraduate students in the world.
        In collaboration with the organizers, we were able to evaluate several state-of-the-art LLMs and agentic systems on this year's problems.
      </p>

      <p>
        The results, shown in Fig. 1, are clear: LLMs now excel in solving some of the most challenging mathematical problems designed for human students.
        The best-performing system, DeepSeek-v3.2-Speciale (Agent), achieved a score of 103 out of 120 points. This places it within the top 3 out of 4329 human participants and above the threshold required for Putnam Fellowship.
      </p>

      <p>
        In this post, we describe our evaluation methodology and highlight the two most interesting findings from this evaluation.
        First, open models have reached parity with closed models on the Putnam 2025 problems, with the strongest open agent even slightly outperforming its closed counterparts under similar cost constraints.
        Second, <a href="https://github.com/AxiomMath/Putnam2025" target="_blank">in light of the excellent results obtained by Lean-based agents</a>, we observe and discuss the narrowing performance gap between natural language reasoning and formally verified proof approaches.
      </p>
      <figure>
        <img src="/assets/generated/thumbnails/9d0eb962e1f2a969-640.webp"
  srcset="/assets/generated/thumbnails/9d0eb962e1f2a969-320.webp 320w, /assets/generated/thumbnails/9d0eb962e1f2a969-640.webp 640w, /assets/generated/thumbnails/9d0eb962e1f2a969-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="1748" height="538"
  alt="Results on the Putnam 2025 competition"
  loading="lazy" decoding="async" style="height: auto;"
  class="responsive-image kangaroo-image">

        <figcaption class="caption">Figure 1: Results of several AI models on the Putnam 2025 competition.</figcaption>
      </figure>

      <h2 class="anchorable" id="methodology">
        <a href="#methodology">
          Methodology
        </a>
      </h2>

      <p>
        <strong>Model selection.</strong>
        By agreement with the Putnam organizers, we were allowed to submit six model solutions for official evaluation.
        To maximize the insight gained, we selected three state-of-the-art base LLMs and their agentic counterparts.
        This would allow us to evaluate both the performance of different LLMs as well as the impact of agentic architectures on problem-solving capabilities.
        Further, we wanted to ensure that at least one of the selected systems was open to allow for a comparison between open and closed models.
      </p>

      <p>
        Concretely, we evaluated Gemini-3-Pro (Preview) together with Gemini Deep Think 3, GPT-5.1 (high) together with GPT-5-Pro, and the open DeepSeek-v3.2-Speciale model together with a custom agent developed by the DeepSeek authors.<sup><a href="#fn1" id="ref1">1</a></sup>
        In particular, the DeepSeek agent follows the architecture introduced in <a href="https://arxiv.org/abs/2511.22570" target="_blank">the DeepSeek-Math-V2 paper</a>, though we scaled down the maximum number of queries per problem from 65,000 to 1,000 due to time and API limitations.<sup><a href="#fn2" id="ref2">2</a></sup>
        Importantly, all model choices were finalized before the competition took place, and no tuning or selection was performed after we received the problems from the organizers.
      </p>

      <p>
        <strong>Model execution and answer preparation.</strong>
        Each model was prompted to generate full solutions for all twelve problems.
        The prompt used is provided <a href="/blog/putnam#conclusion">at the end of this post.</a>
        After that, the generated outputs were converted into LaTeX and compiled into PDF files for submission.<sup><a href="#fn3" id="ref3">3</a></sup>
        To simplify evaluation for the Putnam organizers, we manually fixed formatting and compilation issues where necessary.
        Importantly, we did not modify any of the actual content of any solution.
      </p>

      <p>
        <strong>Model evaluation.</strong>
        Finally, the anonymized PDFs were submitted to the Putnam organizers and graded following their procedure.
        In particular, the Putnam grading process has two separate rounds.
        In the first round, all human solutions are graded.
        In a second round, the top-scoring solutions are re-evaluated to ensure consistency and fairness.
        The model-generated solutions were only included in the second round of grading, using the same rubrics and graders as the human solutions.
        The graders were aware which solutions were generated by AI, but were not aware of which model generated which solution.
      </p>

      <h2 class="anchorable" id="experiments">
        <a href="#experiments">
          Discussion and Results
        </a>
      </h2>


      <p>
        <strong>Results.</strong>
        The results shown in Fig. 1 demonstrate a remarkable level of mathematical capability across all evaluated systems.
        In particular, all agentic models achieved scores that would place them within the top 10 human competitors.
        Even non-agentic models performed strongly, with Gemini-3-Pro scoring 91 points and being the only system to correctly solve problem A5.
        Interestingly, <a href="https://matharena.ai/?view=problem&comp=putnam--putnam_2025&model=Gemini+3+Pro&task=4&run=1" target="_blank">the Gemini solution to A5</a> was unique among both AI and human submissions, relying on a relatively obscure theorem that is not typically taught in undergraduate mathematics courses.
        Additionally, the graders found that many model solutions included information that was regarded as unnecessary or tangential to the problem, and are therefore too long and verbose.
        Finally, we note that the Putnam committee chair (Greta Panova) ensured that at least 6 out of the 12 problems were not solvable by the LLMs during the selection process in July.
        Our results therefore show a stark improvement in the models over only a 4 month period.
      </p>

      <p>
        <strong>Difficulty correlation.</strong>
        We analyze the relationship between model and human performance to understand whether LLMs find the same problems easy as humans do.
        To do this, we rank the problems based on their average human score and their average model score.
        The table below shows the resulting rankings, were a lower rank indicates a higher score and therefore an easier problem.
      </p>

      <div class="table-container">
        <table class="table is-striped is-hoverable is-fullwidth">
          <thead>
            <tr>
              <th>Difficulty</th>
              <th>A1</th>
              <th>A2</th>
              <th>A3</th>
              <th>A4</th>
              <th>A5</th>
              <th>A6</th>
              <th>B1</th>
              <th>B2</th>
              <th>B3</th>
              <th>B4</th>
              <th>B5</th>
              <th>B6</th>
            </tr>
          </thead>
          <tbody>
            <tr><td>Human Rank</td><td>2</td><td>4</td><td>6</td><td>11</td><td>9</td><td>12</td><td>1</td><td>5</td><td>3</td><td>7</td><td>10</td><td>8</td></tr>
            <tr><td>LLM Rank</td><td>1</td><td>5</td><td>1</td><td>8</td><td>12</td><td>6</td><td>10</td><td>1</td><td>2</td><td>9</td><td>7</td><td>11</td></tr>
          </tbody>
        </table>
      </div>

      <p>
        While the rankings reveal a clear overall correlation, several big discrepancies remain.
        For example, B1 appears substantially easier for humans than for LLMs, whereas A6 shows the opposite pattern.
        These discrepancies suggest that LLMs and humans rely on partially different reasoning strategies when tackling mathematical problems.
        A deeper investigation of these differences could shed light on model limitations and help guide future improvements in mathematical reasoning capabilities.
      </p>

      <p>
        <strong>Open versus closed models.</strong>
        One of the most notable findings is the competitive performance of the open DeepSeek-v3.2-Speciale agent: under a similar cost budget, it matched and even slightly outperformed the best closed-model agents.
        That said, the graders did point out that the solutions produced by Gemini Deep Think and GPT-5-Pro were generally of higher quality.
        Here, proof quality refers to clearer structure, more polished mathematical language, and more readable proofs.
        It is also worth noting that since the competition, GPT-5.2 and Gemini-3.1-Pro have been released and represent a substantial improvement over their prior versions.
        Comparable advances have not yet been observed for open models (but might be soon).
      </p>

      <p>
        <strong>Formal proofs versus natural language reasoning.</strong>
        A little over six months ago, we published <a href="https://arxiv.org/abs/2506.21621" target="_blank">a paper</a> pointing out a large performance gap between agents producing formally verified Lean proofs and LLMs generating natural language solutions.
        On Putnam 2025, this gap has largely closed.
        For instance, <a href="https://x.com/axiommathai/status/1997767850279440715" target="_blank">AxiomMath solved 9 of the 12 problems</a> in Lean during the competition weekend, and several groups (including AxiomMath) have since reported even stronger results with their own Lean-based agents.
        These improvements are largely driven by agentic architectures that can scale efficiently through formal verification.
        The same scalability is much more difficult to achieve with pure LLM-based approaches due to the lack of exact verification mechanisms for natural language proofs.
      </p>
      <p>
        However, there are several important caveats to consider when comparing our results to those obtained by Lean-based systems.
        First, statement formalization is extremely challenging for general research-level mathematics, while the Putnam problems are relatively easier to formalize.
        Therefore, the performance gap is likely to be larger on more complex mathematical problems, as recently <a href="https://www.daniellitt.com/blog/2026/2/20/mathematics-in-the-library-of-babel" target="_blank">argued by Daniel Litt</a> in his observations on <a href="https://1stproof.org/" target="_blank">the First Proof project</a>.
        Second, we operate under significantly lower compute budgets. For instance, <a href="https://github.com/project-numina/numina-lean-agent" target="_blank">Numina-Lean-Agent</a> reportedly used a budget between 50 and 1,000 dollars per problem.
        Finally, we only evaluated models that were released before the Putnam competition took place. In contrast, the perfect score by <a href="https://github.com/project-numina/numina-lean-agent" target="_blank">Numina-Lean-Agent</a> made use of GPT-5.2, a stronger model that was not available at the time of our evaluation.
      </p>
      <h2 class="anchorable" id="conclusion">
        <a href="#conclusion">
          Prompt
        </a>
      </h2>

      <details class="example-container prompt-details">
          <summary class="title is-4">Generation Prompt</summary>
          <div class="box problem-box prompt-content">
<p>Your task is to write a proof solution to the following problem. Your proof will be graded by human judges for accuracy, thoroughness, and clarity. When you write your proof, follow these guidelines:</p>

<ul>
  <li>You are creating a proof, not a proof outline. Each step should be carefully explained and documented. If not properly explained, the judge will assume that you cannot explain it, and therefore decrease your grade.</li>
  <li>You can use general theorems and lemmas, but only if they are well-known. As a rule of thumb: if the result has a name and is famous enough to have a Wikipedia page or something similar to describe it, it is allowed. Any result from papers that would not be taught in high-school or low-level bachelor courses in mathematics should not be used. Any use of such results will immediately give you a zero grade.</li>
  <li>Do not skip computation steps in your proof. Clearly explain what transformations were done and why they are allowed in each step of a calculation.</li>
  <li>You should use correct LaTeX notation to write equations and mathematical symbols. You should encompass these equations in appropriate symbols ("\\(&quot; and &quot;\\)" for inline math, "\\[&quot; and &quot;\\]" for block math) to enhance the clarity of your proof. Do not use any unicode characters.</li>
  <li>Your proof should be self-contained.</li>
  <li>If you are not sure about a specific step, or do not know how to prove an intermediate result, clearly state this. It is much preferable to indicate your uncertainty rather than making incorrect statements or claims.</li>
</ul>
</div>
        </details>

        <h2 class="anchorable" id="footnotes">
          <a href="#footnotes">
            Footnotes
          </a>
        </h2>
        <ol class="footnotes">
          <li id="fn1">
            We did not use DeepSeek-Math-V2 directly since it was not available via API, and would therefore require us to decrease the number of agentic queries significantly.
            Since DeepSeek-v3.2-Speciale was trained using a similar technique and was reported by the authors to obtain similar performance on mathematical competitions, we opted to use it instead.
            <a href="#ref1" class="footnote-backref">↩</a>
          </li>
          <li id="fn2">
            The implementation and parameters of the DeepSeek agent are openly accessible <a href="https://github.com/eth-sri/matharena" target="_blank">in our GitHub repository</a>.
            <a href="#ref2" class="footnote-backref">↩</a>
          </li>
          <li id="fn3">
            Originally, it was our intention to present the solutions in handwritten format to the graders, as this is also how human participants submit their solutions.
            This intention was put down when we found that the solutions were extremely long.
            In the end, we submitted 292 LaTeX-written pages of solutions across all models, averaging around 4 pages per problem and model.
            GPT-5.3-Codex tells us that it would have taken us around 200 hours to handwrite all of these solutions, which we preferred to spend on actually interesting research or even just relaxing instead.
            <a href="#ref3" class="footnote-backref">↩</a>
          </li>
        </ol>


      </div>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[Graded by the Putnam organizers, the DeepSeek-v3.2-Speciale agent scores 103 out of 120 on the 2025 exam, enough for a top-three finish among 4,329 human participants. We describe the evaluation and compare open and closed models, alongside results from systems that produce formally verified proofs in Lean.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_putnam.png" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_putnam.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Watermarking Diffusion Language Models</title><link href="https://www.sri.inf.ethz.ch/blog/dlm-watermarking" rel="alternate" type="text/html" title="Watermarking Diffusion Language Models" /><published>2025-10-01T00:00:00+00:00</published><updated>2025-10-01T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/dlm-watermarking</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/dlm-watermarking"><![CDATA[<style>
.dlm-watermarking .green { color: #218739; }
.dlm-watermarking .red { color: #c73939; }
.dlm-watermarking figure { margin: 24px 0; }
.dlm-watermarking img, .dlm-watermarking video { max-width: 100%; height: auto; }
.dlm-watermarking .left-wrapped { float: left; width: 45%; margin: 0 24px 16px 0; }
.dlm-watermarking .right-wrapped { clear: both; float: right; width: 45%; margin: 0 0 16px 24px; }
.dlm-watermarking h3 { clear: both; }
.dlm-watermarking .figure-caption { font-size: 0.9em; margin-top: 12px; }
.dlm-watermarking pre { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .dlm-watermarking .left-wrapped, .dlm-watermarking .right-wrapped { float: none; width: 100% !important; margin: 20px 0; }
  .dlm-watermarking figure img { width: 100% !important; }
}
</style>

<div class="dlm-watermarking">
<h3>Why is watermarking Diffusion LMs challenging?</h3>


<figure class="left-wrapped">
<img alt="Prior works on watermarking LLMs" src="/assets/blog/dlm-watermarking/images/arlm_watermark1.svg"/>
</figure>


<p>
              With traditional autoregressive language models (ARLMs), most watermarking schemes rely on previously generated tokens (i.e., the context) to decide how to watermark the next token. 
              For instance, Red-Green watermarks (illustrated here) hash the context to partition the vocabulary into a <span class="green">green</span> and a <span class="red">red</span> set.
              Then, the model is biased to sample tokens from the green set.
              For detection, the watermark detector counts the number of green tokens in a given text, and if this number is significantly higher than random chance, the text is declared watermarked.
            </p>




  


<figure class="right-wrapped">
<img alt="Why watermarking Diffusion LMs is challenging" src="/assets/blog/dlm-watermarking/images/arlm_watermark2.svg"/>
</figure>


<p>
              Diffusion Language Models (DLMs) generate tokens in arbitrary order by iteratively unmasking a sequence of masked tokens (i.e., tokens yet to be generated).
              Importantly, this means that when generating a given token, other tokens in its context may not yet have been generated.
              Hence, the watermarking scheme cannot compute the hash of the context to determine the <span class="green">green</span> and <span class="red">red</span> sets.
              Thus, when generating such tokens, we cannot bias the distribution toward the green set, which weakens the watermark.
              This means that we need to design a new watermark that can handle masked tokens in the context.
            </p>




<h3>Our watermark for Diffusion LMs</h3>


<figure class="">
<img alt="Our watermark for Diffusion LMs" src="/assets/blog/dlm-watermarking/images/diffusion_watermark.svg"/>
</figure>


<p>
              For every masked token, while we cannot compute its hash, the DLM still provides us with a probability distribution over the vocabulary.  
              Hence, our key insight is to leverage this distribution over the hashes of the context to determine how much we can bias the distribution.
            </p>


<p>
              Specifically, as illustrated above, when computing the watermarked distribution for a masked token, we take into account two factors: (i) we apply the existing Red-Green watermark in expectation over the hashes of the context, and (ii) we bias the distribution towards tokens that lead to hashes making other tokens green.
              While the first term is a natural extension of the Red-Green watermark, the second term is specific to the order-agnostic generation of DLMs and allows making tokens already generated green.
            </p>


<p>
              Because our watermarking scheme is based on the same idea as the Red-Green watermark, we can use the same watermark detector for detection. 
              Given a text, the watermark detector counts the number of green tokens in the text and performs a binomial test to determine whether the number of green tokens is significantly higher than random chance. 
              If this is the case, the text is declared watermarked.
            </p>


<h3>Demo</h3>


<p>
              The demo below shows how the watermarking algorithm transforms the logits distribution of a DLM into a watermarked distribution. 
              We start with a partially masked sequence (I [?] [?] [?] pizza.). 
              For each masked token, the DLM returns a distribution over the vocabulary. 
              Then, we illustrate how our watermarking scheme modifies this distribution using the two terms described above to obtain the watermarked distribution.
            </p>


<figure class="">
<video controls="" loop="" muted="" playsinline="" style="width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.12);">
<source src="/assets/blog/dlm-watermarking/videos/DLM-watermark-highRes.mp4" type="video/mp4"/>
                Your browser does not support the video tag. You can download the video
                <a href="/assets/blog/dlm-watermarking/videos/DLM-watermark-highRes.mp4">here</a>.
              </video>
</figure>




<h3>Deriving our watermark from theoretical principles</h3>


<p>
              To formalize our watermark algorithm and justify the importance of the two terms in the watermarked distribution, we provide a theoretical analysis of our watermarking scheme.  
              In particular, we consider watermarking as a constrained optimization problem: the goal of the watermark is to distort the original model probability distribution <i>p</i> (factorized over a sequence of size <i>L</i>) into a distribution <i>q</i> that maximizes the number of green tokens generated without significantly impacting the quality of the generated text.  
              We denote this expected number of green tokens as <i>J(p)</i>.  
              As a proxy for text quality, we consider the Kullback–Leibler divergence between the original and watermarked distributions.
            </p>


<figure class="">
<img alt="Watermarking as a constrained optimization problem" src="/assets/blog/dlm-watermarking/images/optim_problem.png" style="width: 40%; height: auto; display: block; margin: 0 auto;"/>
</figure>


<figure class="left-wrapped" style="width: 50%;">
<img alt="DLMs watermarking algorithm" src="/assets/blog/dlm-watermarking/images/algo.svg" style="width: 100%; height: auto; display: block;"/>
</figure>


<p>
              This optimization problem admits an (almost) closed-form solution: the optimal watermarked distribution <i>q*</i> is obtained by adding to the logits of the original distribution <i>p</i> a term proportional to the gradient of <i>J(p)</i>.
              The proportionality coefficient <i>δ</i> is a parameter that controls the strength of the watermark.
              We derive from this result the watermark algorithm described on the left.
              The remaining technical challenge is to compute <i>J(p)</i> efficiently.
              We show that, with most hash functions, <i>J(p)</i> can be computed efficiently.
            </p>


<p>
              With this theoretical approach, however, interpreting how the watermark operates is challenging.
              Yet, if we look more closely at the gradient of <i>J(p)</i>, we can recover the two terms of our watermarking scheme introduced above.
              This means that our watermarking scheme is not only intuitively understandable but also theoretically grounded, as it is optimal with respect to our optimization problem!
            </p>


<figure class="">
<img alt="Interpretation of our watermark" src="/assets/blog/dlm-watermarking/images/equation.svg" style="width: 75%; height: auto; display: block; margin: 0 auto;"/>
<figcaption class="figure-caption">
<strong>Remarks:</strong>
<i>G</i> is a matrix where each entry indicates the color (green or red) of a token given a hash.
                The vector <i>h</i> is the distribution over the hashes of the context.
                The function <i>H</i> is the hash function.
                Lastly, <i>Ω</i> is the random text being generated.
                The equation is hard to parse at first sight, but it is actually quite intuitive.
                The first term is indeed the expectation of the color over the hashes of the context.
                In the second term, we look, for every token in the context of the token being generated, which concrete value (of the token being generated) would yield hashes that make them green, and we weight this by a corresponding probability.
                Computing this sum "manually" is tedious to implement, but thanks to our theoretical analysis, we can derive it automatically with backpropagation!
                If we had not performed this theoretical analysis, it would have been difficult to come up with an easy-to-implement algorithm that computes this second term.
              </figcaption>
</figure>


<h3>Evaluation of our watermark</h3>


<p>
              We evaluate our watermarking scheme on two DLMs: Llada-8B and Dream-7B, and compare it to a naive adaptation of the Red-Green watermark for DLMs (i.e., applying the Red-Green watermark only when the context is fully unmasked).
              We find that our watermark is significantly more effective than this naive adaptation, and that, on reasonably small text, it achieves over a 99% true positive rate with minimal impact on text quality!
            </p>


<figure class="">
<img alt="Evaluation of our watermark" src="/assets/blog/dlm-watermarking/images/eval1.png" style="width: 100%; height: auto; display: block; margin: 0 auto;"/>
<figcaption class="figure-caption">
<strong>Detection Performance of Our Approach</strong> <em>(Left)</em> We compare the trade-off between watermark detectability (TPR@1) and text quality (log PPL) of our approach and the baseline for different values of the watermark strength parameter δ and sequences averaging 275 tokens on average.
                <em>(Right)</em> For δ = 4, we compare watermark detectability (TPR@1) between our approach and the baseline as a function of text length.
                Responses are generated by Llada with a temperature of 0.5 and 600 prompts from WaterBench.
                Crosses represent shared parameters between both figures.
              </figcaption>
</figure>


<p>
              We also evaluate the robustness of our watermark against various attacks, including text editing (deletion, insertion, substitution), paraphrasing with LLMs, and back-translation.
              We find that our watermark is comparably robust to established ARLM watermarking schemes.
            </p>


<figure class="">
<img alt="Evaluation of our watermark" src="/assets/blog/dlm-watermarking/images/eval2.png" style="width: 100%; height: auto; display: block; margin: 0 auto;"/>
<figcaption class="figure-caption">
<strong>Robustness Evaluation of Our Watermark</strong> <em>(Left)</em> We measure the detectability of our watermark (TPR@1) against an increasing percentage of local modifications, using responses generated from Llada with an average length of 275 tokens.
                <em>(Right)</em> For stronger adversaries, we measure the detectability of our watermark (TPR@1) with respect to the sequence length.
                For both figures, we use δ = 4 and the previous token as context.
              </figcaption>
</figure>


<h3>Citation</h3>
<pre id="BibTeX">@misc{gloaguen2025watermarkingdiffusionlanguagemodels,
      title={Watermarking Diffusion Language Models}, 
      author={Thibaud Gloaguen and Robin Staab and Nikola Jovanović and Martin Vechev},
      year={2025},
      eprint={2509.24368},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2509.24368}, 
}</pre>
</div>]]></content><author><name></name></author><category term="paper" /><summary type="html"><![CDATA[How to watermark diffusion language models despite their arbitrary generation order: our method, theoretical foundations, demo, and evaluation.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/dlm-watermarking/thumbnail.svg" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/dlm-watermarking/thumbnail.svg" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Debunking the Claims of K2-Think</title><link href="https://www.sri.inf.ethz.ch/blog/k2think" rel="alternate" type="text/html" title="Debunking the Claims of K2-Think" /><published>2025-09-12T00:00:00+00:00</published><updated>2025-09-12T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/k2think</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/k2think"><![CDATA[<style>
    .blogpost-thumbnail {
        width: 30% !important;
    }
    @media (max-width: 768px) {
    /* styles that apply when viewport is 768px or smaller */
    .blogpost-title {
      font-size: 30px;
    }

    .blogpost-thumbnail {
        width: 60% !important;
    }

    .page-subtitle {
      font-size: 18px
    }

    .tldr {
      padding: 5% 5%;
    }

    .blogpost-col {
      text-align: left;
    }

    .blogpost-col p,
    .blogpost-col h3 {
      padding-left: 10px !important;
      padding-right: 10px !important;
    }
  }
    
</style>

<p><a href="https://www.k2think.ai/">K2-Think</a> (different from Kimi-K2!) is a reasoning LLM released a few days ago that claims performance on par with GPT-OSS 120B and DeepSeek v3.1, but with fewer parameters, as described in their <a href="https://arxiv.org/abs/2509.07604">paper</a>. It received a significant amount of attention online, with several news articles being published on the topic (<a href="https://www.wired.com/story/uae-releases-a-tiny-but-powerful-reasoning-model/">Wired</a>, <a href="https://www.forbes.com/sites/patrickmoorhead/2025/09/09/the-uae-showcases-its-abilities-in-ai-reasoning-with-k2-think-model/">Forbes</a>, <a href="https://www.cnbc.com/2025/09/09/abu-dhabi-launches-ai-reasoning-model-to-rival-openai-deepseek.html">CNBC</a>, etc.). However, as we discuss below, the reported gains are overstated, relying on flawed evaluation marked by contamination, unfair comparisons, and misrepresentation of both its own and competing models’ results. Instead, K2-Think performs slightly worse than other models of similar size, such as GPT-OSS 20B, Nemotron-32B or Qwen3 30B 2507.</p>

<h3 id="evaluation-is-invalid-due-to-data-contamination">Evaluation is invalid due to data contamination</h3>

<p>We find clear evidence of data contamination.</p>

<p>For math, both SFT and RL datasets used by K2-Think include the DeepScaleR dataset, which in turn includes Omni-Math problems. As K2-Think uses Omni-Math for its evaluation, this suggests contamination. We confirm this using approximate string matching, finding that at least 87 of the 173 Omni-Math problems that K2-Think uses in evaluation were also included in its training data. Interestingly, there is a large overlap between the creators of the RL dataset, Guru, and the authors of K2-Think, who should have been fully aware of this.</p>

<p>We find a similar issue in the LiveCodeBench evaluation. Around 22% of samples used in K2-Think’s evaluation appear in their SFT dataset. The original authors of the SFT dataset (AM-Team) include a decontamination step, removing problems from Oct 2024 onward. However, K2-Think’s LiveCodeBench evaluation uses all problems from July 2024 onwards, 22% of which were thus also previously seen in training.</p>

<p>The net effect is that the evaluation results on mathematics and code are <strong>invalid</strong>.</p>

<h3 id="unfair-comparisons-with-best-of-n-and-external-model-use">Unfair comparisons with best-of-n and external model use</h3>

<p>The paper’s main results table reports K2-Think’s best-of-3 performance, a <a href="https://aclanthology.org/2024.acl-long.617/">well-known</a> <a href="https://arxiv.org/abs/2501.13007">method</a> to improve model performance. All other models are evaluated using best-of-1, posing them at a significant disadvantage. To make matters worse, the best-of-3 judgment is made by an unspecified “external model”, which could have arbitrary size. This same external model is also used to provide K2-Think with detailed problem-solving plans. The authors define this entire pipeline as “K2-Think,” with the model itself being only one component, undermining the claim that K2-Think relies only on a small 32B parameter model.</p>

<p>Comparing this pipeline to other models without the pipeline, as done in the paper, is invalid. The pipeline itself could be easily applied to other models and would similarly increase their score. Without the external help, K2-Think’s performance is worse than Nemotron 32B, a similarly-sized model trained with a similar methodology on Qwen2.5 32B and released in July.</p>

<div class="table-container">
  <div class="table-wrap" role="region" aria-label="K2-Think performance comparison">
    <table>
      <thead>
        <tr>
          <th scope="col" class="model"><strong>Model</strong></th>
          <th scope="col"><strong>AIME 2024</strong></th>
          <th scope="col"><strong>AIME 2025</strong></th>
          <th scope="col"><strong>HMMT25</strong></th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th scope="row" class="name">K2-Think</th>
          <td>86.26</td>
          <td>77.72</td>
          <td>66.46</td>
        </tr>
        <tr>
          <th scope="row" class="name">Nemotron 32B</th>
          <td>87.09</td>
          <td>82.71</td>
          <td>67.29</td>
        </tr>
        <tr>
          <th scope="row" class="name"> Qwen3 30B (July)*</th>
          <td>-</td>
          <td>85.00</td>
          <td>71.40</td>
        </tr>
      </tbody>
    </table>
  </div>

  <p class="muted" style="margin-top:10px; text-align: center">
    Table 1: Performance comparison of K2-Think without external help, and Nemotron 32B (both finetunes of Qwen2.5 32B), as well as Qwen3 30B. Results for Qwen3 (*) are taken from their <a href="https://huggingface.co/Qwen/Qwen3-30B-A3B-Thinking-2507">model page</a>. All other results are taken from the <a href="https://arxiv.org/pdf/2509.07604">K2-Think paper</a>.
  </p>
</div>

<h3 id="misrepresenting-results-of-other-models">Misrepresenting results of other models</h3>

<p>The report fails to adequately evaluate other models. Most notably, GPT-OSS is only run with medium instead of high reasoning effort, which is the recommended setting for reasoning benchmarks.</p>

<p>Additionally, K2-Think uses outdated versions for many models. For example, even though they evaluate GPT-OSS, which was released in August, the Qwen3 models evaluated in the paper do not appear to be the latest versions of these models, published in July. Specifically, for the three benchmarks that overlap between the releases of Qwen3 and K2-Think (AIME 2025, HMMT 2025, GPQA-Diamond), the results seem to match the older versions, which are significantly (15-20%) below the reported results of the July versions.</p>

<p><span id="footnote-source-1">In the table below, we compare the <a href="https://arxiv.org/abs/2505.09388">self-reported results of Qwen3</a> with the numbers reported in the <a href="https://arxiv.org/pdf/2509.07604">K2-Think paper</a>. The scores attributed to Qwen3-30B are far lower than expected, even when compared against the earlier non-July release.<sup><a href="#footnote-1">1</a></sup></span></p>

<div class="table-container">
  <style>
    .table-container {
      --bg: #ffffff;
      --text: #0f172a;
      --muted: #6b7280;
      --border: #e5e7eb;
      --header-bg: #f8fafc;
      font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
      color: var(--text);
    }
    .table-wrap { max-width: 100%; overflow: auto; border-radius: 11px; } table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11px; line-height: 1.25; }
    thead th {
      background: var(--header-bg);
      border-bottom: 1px solid var(--border);
      padding: 12px 14px;
      text-align: center;
      font-weight: 600;
      white-space: nowrap;
    }
    table th {
        background: var(--header-bg);
    }
    tbody th[scope="row"] {
      text-align: left;
      font-weight: 600;
      white-space: nowrap;
    }
    tbody td {
      text-align: center;
    }
    th, td {
      padding: 12px 14px;
      font-variant-numeric: tabular-nums;
    }
    tbody tr:nth-child(odd) td,
    tbody tr:nth-child(odd) th[scope="row"] {
      background: #fcfcfd;
    }
    /* Rounded corners */
    table thead tr:first-child th:first-child { border-top-left-radius: 12px; }
    table thead tr:first-child th:last-child  { border-top-right-radius: 12px; }
    table tbody tr:last-child th[scope="row"] { border-bottom-left-radius: 12px; }
    table tbody tr:last-child td:last-child   { border-bottom-right-radius: 12px; }
    thead th:nth-child(3),
    tbody td:nth-child(4),
    thead th:nth-child(6),
    tbody td:nth-child(7),
    .model,
    .name  {
      border-right: 2px solid var(--border) !important;
    }
    .muted { color: var(--muted); font-variant-numeric: normal; }
    .na { color: var(--muted); text-align: center; }
    @media (max-width: 768px) {
      .table-wrap > table th,
      .table-wrap > table td {
        white-space: nowrap;
      }
      .table-wrap {
        width: 100%;
        max-width: 100vw;           /* cap at viewport */
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-gutter: stable both-edges;
      }
      .table-wrap > table {
        display: block;  
        width: max-content;         /* grow to fit columns */
        min-width: 100%;            /* at least fill wrapper */
      }
    }
  </style>

  <div class="table-wrap" role="region" aria-label="Benchmark scores">
    <table>
      <thead>
        <tr>
          <th rowspan="2" scope="col" class="model">Model</th>
          <th colspan="3" scope="colgroup" class="model">AIME 2025</th>
          <th colspan="3" scope="colgroup" class="model">HMMT 2025</th>
          <th colspan="2" scope="colgroup" class="model">GPQA-Diamond</th>
        </tr>
        <tr>
          <th scope="col">Self-Report</th>
          <th scope="col">MathArena</th>
          <th scope="col">K2-Think</th>
          <th scope="col">Self-Report</th>
          <th scope="col">MathArena</th>
          <th scope="col">K2-Think</th>
          <th scope="col">Self-Report</th>
          <th scope="col">K2-Think</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th scope="row" class="name">Qwen3-30B (Think)</th>
          <td>70.90</td>
          <td>70.00</td>
          <td>58.14 <span class="muted">(?)</span></td>
          <td>49.80</td>
          <td>50.83</td>
          <td>23.54 <span class="muted">(?)</span></td>
          <td>65.80</td>
          <td>58.91 <span class="muted">(?)</span></td>
        </tr>
        <tr>
          <th scope="row" class="name">Qwen3-30B (Think, July)</th>
          <td>85.00</td>
          <td class="na">&mdash;</td>
          <td class="na">&mdash;</td>
          <td>71.40</td>
          <td class="na">&mdash;</td>
          <td class="na">&mdash;</td>
          <td>73.40</td>
          <td class="na">&mdash;</td>
        </tr>
        <tr>
          <th scope="row" class="name">Qwen3-235B (Think)</th>
          <td>81.50</td>
          <td>80.83</td>
          <td>75.43</td>
          <td>62.50</td>
          <td>62.50</td>
          <td>61.88</td>
          <td>71.10</td>
          <td>65.55</td>
        </tr>
        <tr>
          <th scope="row" class="name">Qwen3-235B (Think, July)</th>
          <td>92.30</td>
          <td class="na">&mdash;</td>
          <td class="na">&mdash;</td>
          <td>83.90</td>
          <td class="na">&mdash;</td>
          <td class="na">&mdash;</td>
          <td>81.10</td>
          <td class="na">&mdash;</td>
        </tr>
      </tbody>
    </table>
  </div>

  <p class="muted" style="margin-top:10px; text-align: center">
    Table 2: Comparing reported scores from <a href="https://arxiv.org/abs/2505.09388">Qwen3 technical report</a> and <a href="https://huggingface.co/Qwen/Qwen3-30B-A3B-Thinking-2507">model pages</a>, <a href="https://matharena.ai/">MathArena benchmark</a>, and <a href="https://arxiv.org/pdf/2509.07604">K2-Think paper</a> on AIME 2025, HMMT 2025, and GPQA-Diamond.
  </p>
</div>

<h3 id="giving-more-weight-to-high-scoring-math-benchmarks">Giving more weight to high-scoring math benchmarks</h3>

<p>Finally, K2-Think reports aggregate math scores using a “micro average”, weighing each of the four benchmarks (AIME24, AIME25, HMMT, OmniMath-Hard) by their respective number of tasks, instead of averaging individual benchmark scores equally. While meant to quantify overall math ability of the model, such an average metric is heavily dominated by OmniMath-Hard (~66% of the total score). Not only is this K2-Think’s strongest benchmark, but it is also directly tied to the contamination issues discussed above.</p>

<h3 id="our-own-evaluation">Our own evaluation</h3>

<p>To validate our analysis, we ran K2-Think on our <a href="https://matharena.ai">MathArena benchmark</a> in a fair comparison against other models. We followed the recommended hyperparameters for K2-Think, using temperature 1, p = 0.95, and 64,000 output tokens. <strong>The results show that while K2-Think is a competent model, it falls well short of the performance claimed in the paper and the popular media articles.</strong> In particular, it is far from matching DeepSeek v3.1 or GPT-OSS 120B, despite the authors’ claim to the contrary. In fact, it shows that K2-Think’s math capabilities are not even on par with the smaller GPT-OSS 20B model.</p>

<p><img src="/assets/blog/k2think/matharena.png" alt="" class="blogpost-img100" /></p>

<h3 id="conclusion">Conclusion</h3>

<p>Overall, we found that the K2-Think model makes wrong claims in several locations: It evaluates on data it was trained on, relies on an external model and additional samples for its claimed performance gains, and artificially reduces the scores of compared models and reweighs its own scores to claim parity or superiority.</p>

<p>Open models are good and we evaluate them all the time. However, flawed evaluations and exaggerated claims are not helpful. We hope the authors fix these issues in the next iteration of K2-Think and correctly present their achievements.</p>

<h4 id="footnotes">Footnotes</h4>

<div class="blogpost-footnotes">
<span id="footnote-1"><a href="#footnote-source-1"><sup>1</sup></a> Since the K2-Think paper does not specify whether the thinking model was used for Qwen3-30B, it is possible that the authors evaluated the instruction-tuned variant instead. However, under that assumption, the reported numbers suddenly become implausibly high, raising further doubts about the validity of these comparisons.</span>
</div>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[K2-Think is a recently released LLM that claims performance on par with GPT-OSS 120B and DeepSeek v3.1, despite having fewer parameters. As we discuss below, the reported gains are overstated, relying on flawed evaluation marked by contamination, unfair comparisons, and misrepresentation of both its own and competing models’ results.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/k2think/falling_k2_social.png" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/k2think/falling_k2_social.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry><entry><title type="html">Not Even Bronze: Evaluating LLMs on 2025 International Math Olympiad</title><link href="https://www.sri.inf.ethz.ch/blog/imo" rel="alternate" type="text/html" title="Not Even Bronze: Evaluating LLMs on 2025 International Math Olympiad" /><published>2025-07-17T00:00:00+00:00</published><updated>2025-07-17T00:00:00+00:00</updated><id>https://www.sri.inf.ethz.ch/blog/imo</id><content type="html" xml:base="https://www.sri.inf.ethz.ch/blog/imo"><![CDATA[<img src="/assets/generated/thumbnails/ca46c6a19f1debab-640.webp"
  srcset="/assets/generated/thumbnails/ca46c6a19f1debab-320.webp 320w, /assets/generated/thumbnails/ca46c6a19f1debab-640.webp 640w, /assets/generated/thumbnails/ca46c6a19f1debab-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="1536" height="1024"
  alt="IMO Banner"
  loading="eager" decoding="async" style="height: auto;"
  class="responsive-image main-image">

      <div class="content blog-content">
        <h2 class="anchorable" id="introduction">
          <a href="#introduction">
            Introduction
          </a>
        </h2>

        <p>
          Recent progress in the mathematical capabilities of LLMs have created a need for increasingly challenging
          benchmarks. With MathArena, we address this need by evaluating models on difficult and recent mathematical
          competitions, offering benchmarks that are both uncontaminated and interpretable. Among these competitions,
          the International Mathematical Olympiad (IMO) stands out as the most well-known and prestigious. As such, an
          evaluation of the IMO 2025, which took place just a few days ago, is a necessary addition to the MathArena
          leaderboard. In this post, we present our methodology and results from evaluating several state-of-the-art
          models on the IMO 2025 problems. Our goal was to evaluate whether these models could reach key milestones
          corresponding to medal-level performance: bronze (top 50%), silver (top 25%), or even gold (top 8%). To
          investigate the true limits of current LLMs, we used a best-of-n selection methods to scale inference-time
          compute as much as possible in an attempt to reach one of these milestones.
        </p>
        <p>
          The best-performing model is Gemini 2.5 Pro, achieving a score of 31% (13 points), which is well below the
          19/42 score necessary for a bronze medal. Other models lagged significantly behind, with Grok-4 and
          DeepSeek-R1 in particular underperforming relative to their earlier results on other MathArena benchmarks. We
          also share some initial qualitative observations in this post, but we invite the community to conduct their
          own analyses. Visit our website to explore the raw model outputs and dive deeper into the results.</p>
        </p>

        <p>
          <strong>Update 19/07:</strong> <a href="https://x.com/alexwei_/status/1946477742855532918">OpenAI has
            announced</a> they achieved a gold medal with a currently unreleased model. These proofs were validated by 3
          former IMO participants, but not by the IMO organisers themselves. We are happy to see the steep progress in
          this field, and look forward to the release of the model to make independent evaluations possible using public
          benchmarks like MathArena.
        </p>

        <p>
          <strong>Update 24/07:</strong> In the meantime, <a
            href="https://deepmind.google/discover/blog/advanced-version-of-gemini-with-deep-think-officially-achieves-gold-medal-standard-at-the-international-mathematical-olympiad/">Deepmind
            has announced</a> they won the gold medal at the IMO 2025 with a new version of Deep Think that they will
          make this new version available to trusted testers. These proofs <a
            href="https://imo2025.au/news/the-66th-international-mathematical-olympiad-draws-to-a-close-today/">were
            validated by the IMO organisers.</a>Additionally, <a
            href="https://seed.bytedance.com/en/blog/bytedance-seed-prover-achieves-silver-medal-score-in-imo-2025?view_from=content_recommend">ByteDance</a>
          has won the silver medal with a specialized formal system that produced proofs in the Lean theorem prover.
          Finally, <a href="https://arxiv.org/abs/2507.15855">a paper was published</a> claiming that Gemini-2.5-Pro
          could achieve a gold medal with a specialized agentic framework. However, <a
            href="https://x.com/j_dekoninck/status/1947587647616004583">we have pointed out</a> several issues with the
          paper methodology.
        </p>
        <p>
          <strong>Update 25/07:</strong> We have added Grok-4 with a new prompt to the leaderboard, where it scores
          21.43%. This new prompt was used by xAI when training their Grok-4 model for proof-generation capabilities.
          We have added a section in this blog post explaining what prompted us to re-evaluate this model and what the
          conclusions of this evaluation are.
        </p>

        <h2 class="anchorable" id="methodology">
          <a href="#methodology">
            Methodology
          </a>
        </h2>
        <p>
          <strong>Setup</strong> We followed a methodology similar to our evaluation of the 2025 USA Math Olympiad [1].
          In particular, four experienced human judges, each with IMO-level mathematical expertise, were recruited to
          evaluate the responses. Evaluation began immediately after the 2025 IMO problems were released to prevent
          contamination. Judges reviewed the problems and developed grading schemes, with each problem scored out of 7
          points. To ensure fairness, each response was anonymized and graded independently by two judges. Grading was
          conducted using the same interface developed for our Open Proof Corpus project [2].

        </p>
        <p>
          <strong>Models</strong> We evaluated five state-of-the-art models: o3, o4-mini, Gemini-2.5-Pro, Grok-4, and
          Deepseek-R1 (05/28). These were selected based on prior performance on the MathArena competitions. Each model
          was run with the recommended hyperparameters and a maximum token limit of 64,000. No models needs more than
          this number of tokens. We used the same prompting strategy as in our Open Proof Corpus evaluation (provided at
          the bottom of this post). For each problem, each model generated four distinct responses.
        </p>
        <p>
          <strong>Best-of-n Selection</strong> A key critique of our USAMO evaluation was that models shouldn't be
          expected to answer extremely difficult problems in a single attempt. This critique is even more relevant for
          the even more difficult IMO problems. To mitigate this limitation, we applied a best-of-32 selection strategy
          using a method based on previous work [3].
          In our prior work [2], we found that this method works very well for proof generation tasks, almost doubling
          performance of the models on the data we had at hand.
          Specifically, for each model solution, we first generated 32 responses. These responses were evaluated in a
          bracket-style tournament using an LLM-as-a-judge system to select winners in head-to-head comparisons. Here,
          the model itself was used to evaluate its own responses. The model judged each pair and selected the stronger
          response. This process was repeated until a single best response remained which was then presented to the
          human judges for evaluation.
          We use the same prompt for judging as in our own prior work and we repeat it at the bottom of the post for
          completeness. This selection process was computationally and financially intensive: on average, each final
          model answer cost at least 3 dollars to generate, with Grok-4 costing over 20 dollars per answer.
          As such, the performance reported here represents the models' best achievable output within a reasonable
          resource budget.
        </p>

        <h2 class="anchorable" id="results">
          <a href="#results">
            Results
          </a>
        </h2>
        <p>
          As mentioned above, Gemini 2.5 Pro achieved the highest score with an average of 31% (13 points). While this
          may seem low, especially considering the $400 spent on generating just 24 answers, it nonetheless represents a
          strong performance given the extreme difficulty of the IMO. However, these 13 points are not enough for a
          bronze medal (19/42). In contrast, other models trail significantly behind and we can already safely say that
          none of them will achieve the bronze medal. Full results are available on our leaderboard, where everyone can
          explore and analyze individual responses and judge feedback in detail.
        </p>

        <img src="/assets/generated/thumbnails/aa484c965c6086cf-640.webp"
  srcset="/assets/generated/thumbnails/aa484c965c6086cf-320.webp 320w, /assets/generated/thumbnails/aa484c965c6086cf-640.webp 640w, /assets/generated/thumbnails/aa484c965c6086cf-1280.webp 1280w"
  sizes="(max-width: 1024px) 100vw, 930px"
  width="2261" height="443"
  alt="IMO Banner"
  loading="lazy" decoding="async" style="height: auto;"
  class="responsive-image second-image">


        <h2 class="anchorable" id="qualitative-analysis">
          <a href="#qualitative-analysis">
            Qualitative Analysis
          </a>
        </h2>
        <p>
          Below, we present a few qualitative observations based on model responses to highlight the kinds of mistakes
          and behaviors we encountered.
        </p>

        <p>
          <strong>Grok-4 Performs Poorly</strong> Grok-4 significantly underperformed compared to expectations. Many of
          its initial responses were extremely short, often consisting only of a final answer without explanation. While
          best-of-n selection helped to filter better responses, we note that the vast majority of its answers (that
          were not selected) simply stated the final answer without additional justification. Similar issues are visible
          on the other benchmarks in MathArena, where Grok-4's replies frequently lack depth or justification.
        </p>

        <p>
          <strong>Gemini and Bogus Citations</strong> Gemini-2.5-Pro continues to exhibit a problematic tendency to cite
          non-existent theorems when it fails to find a valid proof. As in our USAMO evaluation, we emphasize that this
          behavior is particularly concerning, as it misleads users by presenting false authority and undermines trust
          in the model's reasoning. However, we do note that this behavior was less prevalent in the IMO responses
          compared to the USAMO, suggesting some improvement in this area.
        </p>

        <p>
          <strong>More "Solid" Answers</strong> In contrast to earlier evaluations, we noticed fewer cases of odd
          formatting issues or behaviors linked to models over-optimizing for final-answer formats, such as boxing
          entire proofs or assuming numerical answers were always required. This suggests that models have made progress
          in handling open-ended mathematical reasoning tasks more robustly.
        </p>

        <p>
          <strong>Partial Credits</strong> In math competitions like the IMO, it is relatively rare for human
          participants to receive a medium score of 3 or 4 out of 7 on a question. In contrast, LLMs often received
          partial credit from our judges, especially on problem 4 and 5. For Problem 4, this was usually because most
          models adopted a generally human-like approach but suffered from logical lapses that significantly reduced
          their scores. For Problem 5, models often identified the correct strategies but failed to prove them, which
          is, ironically, the easier part for an IMO participant. This contrast highlights key differences between human
          and model performance and suggests that models could improve significantly in the near future if these
          relatively minor logical issues are addressed.
        </p>

        <p>
          <strong>Best-of-n is Important</strong> One of our judges briefly looked at a subset of the 32 raw responses
          generated by the models prior to the best-of-n selection. They observed that many of these responses were
          quite poor and estimated that, without the best-of-n filtering, model scores would likely have fallen below
          10%.
          Interestingly, the judge noted that some unselected answers appeared more coherent than the chosen ones, but
          actually contained more factual errors. This suggests that the models are surprisingly effective at
          identifying the relative quality of their own outputs during the best-of-n selection process and are able to
          look past coherence to check for accuracy.

        </p>

        <h2 class="anchorable" id="grok-4-re-evaluation">
          <a href="#grok-4-re-evaluation">
            Grok-4 Re-evaluation
          </a>
        </h2>
        <p>
          After publishing our initial evaluation, xAI contacted us regarding Grok-4's performance. They reported
          encountering the same issue we did: Grok-4 often produced very short responses when generating proofs.
          However, they also shared a simple prompt that mitigates this issue:
        </p>
        <details class="example-container prompt-details">
          <summary class="title is-4">Grok-4 Generation Prompt</summary>
          <div class="box problem-box prompt-content">
<p>{problem}</p>

<p>After reasoning, please provide a rigorous proof of the given problem. Just provide the proof, no need to
put it in \\boxed{}.</p>
</div>
        </details>
        <p>
          We immediately tested this prompt and observed a significant distribution shift in Grok-4's answers. Even
          without checking correctness, it was clear that the model now produced much longer and more coherent
          responses.
          xAI clarified that this prompt was used during the model's training for proof generation capabilities. This
          training occurred <strong>before</strong> the release of the IMO 2025 problems.
        </p>
        <p>
          This significant improvement led us to consider whether the leaderboard should include Grok-4's performance
          with the improved prompt. We carefully considered the following arguments:
        </p>

        <h4>Arguments Against Re-evaluation</h4>
        <ul>
          <li>Including the same model twice may be seen as unfair to other providers.</li>
          <li>Other developers might request re-evaluations for their own models, which we do not have the capacity for
            due to the high cost of human evaluation.</li>
          <li>xAI has the technical ability to fine-tune Grok-4 on IMO 2025 data. <strong>Disclaimer:</strong> We have
            no evidence or suspicion that this occurred and were mainly thinking of potential optics or accusations of
            bias. We consider this possibility extremely unlikely.</li>
        </ul>

        <h4>Arguments For Re-evaluation</h4>
        <ul>
          <li>If our goal is to measure the model's maximum potential, this improved prompt must be considered.</li>
          <li>The fact that such a minor prompt adjustment can significantly change performance is highly relevant for
            the research community.</li>
          <li>By being transparent, we believe we can mitigate concerns about fairness or favoritism.</li>
        </ul>

        <p>
          After careful consideration, we decided to re-evaluate Grok-4 using the updated prompt. Since Grok-4
          frequently produced reasoning chains exceeding 64,000 tokens, we also increased the token limit to 128,000.
          We informed xAI that we would be fully transparent and would keep the original results on the leaderboard as
          well, as the original prompt remains a valid way to use the model.
        </p>

        <p>
          We began inference with the updated prompt just one day after our initial evaluation. Given this short
          timeframe, contamination is extremely unlikely, both ethically and practically.
          Below, we present the results of the re-evaluation. Grok-4 now scores 21.43% on our leaderboard.
        </p>

        <p>
          <strong>Improved Performance:</strong> With the new prompt, Grok-4 significantly improved, performing on par
          with other frontier models, but at a higher cost.
          The proofs were also more coherent and well-developed, addressing our original concern about short answers and
          lack of depth.
        </p>

        <p>
          <strong>Prompt Sensitivity:</strong> The new prompt is neither more specific nor more detailed than the
          original, yet it leads to a significant improvement. This highlights the importance of prompt design, even for
          frontier reasoning models.
          Even though one might expect models to be robust to prompt changes, or at the very least that these changes
          are intuitive and easy to implement, this is not the case.
          Obviously, we strongly recommend using this updated prompt when generating proofs with Grok-4.
        </p>

        <p>
          <strong>Why This Still Matters:</strong> Despite gold medal results by other advanced models, this evaluation
          remains relevant. None of the top-performing models are currently public. Moreover, those results likely
          involved significantly larger compute budgets, something known to boost performance even in publicly available
          models.
        </p>

        <h2 class="anchorable" id="references">
          <a href="#references">
            References
          </a>
        </h2>
        <ul>
          <li>
            [1] Petrov, Ivo, et al. "Proof or bluff? Evaluating LLMs on 2025 USA Math Olympiad." arXiv preprint
            arXiv:2503.21934 (2025).
          </li>
          <li>
            [2] Dekoninck, Jasper, et al. "The Open Proof Corpus: A Large-Scale Study of LLM-Generated Mathematical
            Proofs." arXiv preprint arXiv:2506.21621 (2025).
          </li>
          <li>
            [3] Liu, Yantao, et al. "Pairjudge rm: Perform best-of-n sampling with knockout tournament." arXiv preprint
            arXiv:2501.13007 (2025).
          </li>
        </ul>

        <h2 class="anchorable" id="prompts">
          <a href="#prompts">
            Prompts
          </a>
        </h2>

        <details class="example-container prompt-details">
          <summary class="title is-4">Solution Generation Prompt</summary>
          <div class="box problem-box prompt-content">
<p>Your task is to write a proof solution to the following problem. Your proof will
be graded by human judges for accuracy, thoroughness, and clarity. When you write your proof, follow these
guidelines:</p>

<ul>
  <li>You are creating a proof, not a proof outline. Each step should be carefully explained and documented. If
not properly explained, the judge will assume that you cannot explain it, and therefore decrease your grade.</li>
  <li>You can use general theorems and lemmas, but only if they are well-known. As a rule of thumb: if the
result has a name and is famous enough to have a Wikipedia page or something similar to describe it, it is
allowed. Any result from papers that would not be taught in high-school or low-level bachelor courses in
mathematics should not be used. Any use of such results will immediately give you a zero grade.</li>
  <li>Do not skip computation steps in your proof. Clearly explain what transformations were done and why they
are allowed in each step of a calculation.</li>
  <li>You should use correct LaTeX notation to write equations and mathematical symbols. You should encompass
these equations in appropriate symbols ("\\(&quot; and &quot;\\)" for inline math, "\\[&quot; and &quot;\\]" for block math) to
enhance the clarity of your proof. Do not use any unicode characters.</li>
  <li>Your proof should be self-contained.</li>
  <li>If you are not sure about a specific step, or do not know how to prove an intermediate result, clearly
state this. It is much preferable to indicate your uncertainty rather than making incorrect statements or
claims.</li>
</ul>

<p>{problem}</p>
</div>
        </details>

        <details class="example-container prompt-details">
          <summary class="title is-4">Solution Judging Prompt</summary>
          <div class="box problem-box prompt-content">
<p>You are judging which of the two LLM-generated proofs for a given math problem is
better.</p>

<h5>Input:</h5>

<p>Your input will consist of the following components:</p>
<ul>
  <li><strong>Problem Statement</strong>: A mathematical problem that the proof is attempting to solve.</li>
  <li><strong>Proof Solution A/B</strong>: The proofs that you need to evaluate. This proof may contain errors, omissions, or
unclear steps. Proofs were generated by another language model, which was given the following instructions:
&lt;model_prompt&gt;</li>
  <li>You are creating a proof, not a proof outline. Each step should be carefully explained and documented. If
not properly explained, the judge will assume that you cannot explain it, and therefore decrease your grade.</li>
  <li>You can use general theorems and lemmas, but only if they are well-known. As a rule of thumb: if the
result has a name and is famous enough to have a Wikipedia page or something similar to describe it, it is
allowed. Any result from papers that would not be taught in high-school or low-level bachelor courses in
mathematics should not be used. Any use of such results will immediately give you a zero grade.</li>
  <li>Do not skip computation steps in your proof. Clearly explain what transformations were done and why they
are allowed in each step of a calculation.</li>
  <li>You should use correct LaTeX notation to write equations and mathematical symbols. You should encompass
these equations in appropriate symbols ("\\(&quot; and &quot;\\)" for inline math, "\\[&quot; and &quot;\\]" for block math) to
enhance the clarity of your proof. Do not use any unicode characters.</li>
  <li>Your proof should be self-contained.</li>
  <li>If you are not sure about a specific step, or do not know how to prove an intermediate result, clearly
state this. It is much preferable to indicate your uncertainty rather than making incorrect statements or
claims.
&lt;/model_prompt&gt;</li>
</ul>

<h5>How the solution should be graded:</h5>
<p>The following examples are small mistakes that should only be slightly penalised:</p>
<ul>
  <li>Makes a small computational mistake that can be easily fixed</li>
  <li>Misses an edge case which can be easily proven/disproven</li>
  <li>Skips over a step that follows without much reasoning or manual work
On the other hand, a solution should should be severely penalised if:</li>
  <li>It marks a step as trivial, if it is not immediately obvious with little reasoning why this would be the
case.</li>
  <li>It omits algebra-heavy computational steps, regardless of whether or not it has outlined the methodology.
Skipping shorter computations should be permitted.</li>
  <li>Generalizes over a pattern without rigorously describing the pattern, or without proving any relevant
properties.</li>
  <li>It cites a non-existing or unpopular source/Theorem, which cannot be immediately found from searching for
it online. Thus, any theorems that can be immediately found and have a Wikipedia article are allowed.</li>
</ul>

<p>The model has been specifically told that it should not skip steps or mark them as trivial. Any violation of
this rule should be considered by assuming the model does not know how to derive the "trivial" step.</p>

<h5>Further Potential Issues:</h5>

<p>Here are some common types of issues to look for:</p>
<ul>
  <li><strong>Overgeneralization</strong>: The generated proof proceeds by proving the problem in one or more specific cases,
and then concludes that the result holds in general. However, it does not provide a proof for the general
case.</li>
  <li><strong>Oversimplification</strong>: The proof marks steps as trivial or obvious without proper justification.</li>
  <li><strong>Skipping Computation Steps</strong>: Proofs that skip computation steps or do not explain transformations
clearly can lead to misunderstandings.</li>
  <li><strong>Citing Non-Standard Works or Theorems</strong>: Some models may cite theorems or results that are not
well-known or are not typically taught in high-school or low-level bachelor courses. Such theorems are only
allowed if they are well known.</li>
  <li><strong>Missing Edge Cases</strong>: The proof may not consider all possible cases or edge cases.</li>
</ul>

<h5>Scoring instructions</h5>

<p>You should compare the two proofs and determine which one is better. If you believe Proof A is better, end
your analysis with \boxed{A}. If you believe Proof B is better, end your analysis with \boxed{B}. If you
believe both proofs are equally good, end your analysis with \boxed{equal}.</p>

<h5>Problem Statement:</h5>
<p>{problem}</p>

<h5>Proof Solution A:</h5>
<p>{solution_a}</p>

<h5>Proof Solution B:</h5>
<p>{solution_b}</p>
</div>
        </details>


      </div>]]></content><author><name></name></author><category term="other" /><summary type="html"><![CDATA[We evaluate five publicly available LLMs on the 2025 International Mathematical Olympiad, with expert human graders reviewing proofs selected from repeated attempts. Gemini 2.5 Pro achieves the highest score at 13 out of 42 points, below the 19 needed for bronze.]]></summary><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_question.png" /><media:content medium="image" url="https://www.sri.inf.ethz.ch/assets/blog/matharena/blog_question.png" xmlns:media="http://search.yahoo.com/mrss/" /></entry></feed>