Vibeleaderboard
← All Intel
Intel / post

Antidoom: retraining one token to stop reasoning models looping

Source
x.com
Publisher
Liquid AI
Date
Liquid AI@liquidai

Today we release Antidoom, an open-source method that removes a common failure mode in reasoning models: the doom loop. Doom-loop rates before and after, with eval scores up across the board: > Early LFM2.5-2.6B checkpoint: 10.2% → 1.4% > Qwen3.5-4B: 22.9% → 1% (greedy sampling) 🧵

Context

Liquid AI's Antidoom is a short step aimed at one failure in reasoning models: the doom loop, where the model emits a phrase such as "Wait, let me reconsider" and then repeats it until it runs out of room to answer. Liquid says small reasoning models are especially prone to it on long, hard problems, and counts a response as looping when a section of at least 60 characters repeats at least four times. It reports cutting the loop rate of an early LFM2.5-2.6B checkpoint from 10.2% to 1.4%, and of Qwen3.5-4B from 22.9% to 1% under greedy sampling, where the model always picks its most likely next word. Antidoom write-up

The method works on the exact point where a loop begins. Liquid's explanation is that filler words like "Wait", "So" or "Alternatively" become the model's fallback when it is unsure, each repetition makes the next one more likely, and low-randomness sampling leaves no way out. Antidoom collects looping responses, finds the first word of the first repeat, and builds a example from that point: the looping word is marked as the rejected choice, and up to 20 plausible alternatives drawn from the model's own top candidates are marked as preferred. Training then adjusts only that final word choice, a variant of preference training Liquid calls Final Preference Optimization, with constraints that keep the rest of the model's word preferences close to where they were.

The step is cheap but easy to overdo. Liquid reports about an hour on eight MI325 GPUs to generate 20,000 training pairs and one to two hours on a single GPU to train, using a lightweight adapter for one pass over the data. Training too long degrades the model and can create new loops, so Liquid stops early by tracking how often the preferred words already beat the rejected one. Suppressing common words like "Wait" too hard also hurts reasoning, and a second round can be needed to catch loops that appear in new places after the first.

Liquid says benchmark scores rose for both models but presents them only in charts, and the results cover these two models. It also reports that after the fix its model performed best with near-greedy sampling, which runs against the common practice of sampling reasoning models at higher . Liquid suggests that belief may have been confounded by doom loops, which are worst at low temperature, and limits the finding to the models it tested. Liquid has since listed Antidoom training in the post-training of LFM2.5-VL-3B. The code is on GitHub.

Terms in this piece · Glossary
  • fine-tuning — Taking a trained model and training it a bit more on your own examples so it gets better at one specific job.
  • Training — The process that adjusts a model using examples and a measure of how well it performs.
  • Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
  • Sampling controls — Parameters that shape how deterministic or varied model generation becomes.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from Liquid AI
Recommended reads