Liquid AI releases Antidoom: FTPO method cuts hangs in reasoning models
Liquid AI has published Antidoom, an open method for tackling doom-loops: endless repetitions that eat up a reasoning model's context window and block it from producing an answer. The FTPO method finds the specific token that triggers the loop and retrains only that position. The results: on LFM2.5-2.6B, the doom-loop rate fell from 10.2% to 1.4%; on Qwen3.5-4B, from 22.9% to 1%. The code is open.
AI-processed from MarkTechPost; edited by Hamidun News
On July 7, 2026, Liquid AI open-sourced Antidoom, a method for fighting doom-loops in reasoning models. On Qwen3.5-4B, the hang rate dropped from 22.9% to 1%.
What a doom-loop is and why it needs fixing
A doom-loop is when a reasoning model starts repeating the same fragments of text in its chain of thought until it exhausts the entire context window. Instead of an answer, the model gets stuck in a loop and returns no result.
The problem is especially painful for reasoning models, which "think aloud" through long chains of steps. The longer the reasoning, the higher the chance of repetition: one pattern lands in the context, the next token copies it, and the loop closes.
For production systems, doom-loops are not just an academic curiosity: they increase response latency and burn extra tokens, directly raising inference costs.
How the FTPO method works
Antidoom uses an approach called Final Token Preference Optimization (FTPO). Instead of expensively retraining the whole model, the method finds the specific token where the loop begins and adjusts the weights for that position only.
Key facts:
- The method was published on July 7, 2026 under an open license
- On LFM2.5-2.6B (Liquid AI's own model), doom-loops fell from 10.2% to 1.4%
- On Qwen3.5-4B, from 22.9% to 1%
- Publicly available: a doom-loop generator, a detector and the FTPO trainer
This targeted approach differs fundamentally from standard fine-tuning: only the "problem" position changes, and the model's other parameters are left untouched, which lowers the risk of regressions in the model's other behavior.
Why open code matters
Liquid AI did not just describe the method in a paper; it released a working toolkit: a doom-loop detector, a generator of synthetic examples to reproduce the problem, and the FTPO trainer itself. Any team working with reasoning models can apply the method to its own model without waiting for an official fix from the vendor.
For open-source LLM developers, the synthetic example generator is especially valuable: it lets them build a dataset to reproduce the problem on a specific architecture, even if doom-loops are rare in real data.
What this means
Antidoom closes a specific technical gap in reasoning models and does so openly, which is unusual for an AI company in itself. If FTPO shows stable results on architectures beyond LFM and Qwen, the approach could become a standard step when fine-tuning reasoning agents before they go into production.
Frequently asked questions
What is Final Token Preference Optimization?
FTPO is a targeted fine-tuning method: instead of optimizing the whole model, it finds the specific token that starts the repetition loop and adjusts only its weights. It is faster than full fine-tuning and lowers the risk of unwanted changes elsewhere in the model.
Which models has Antidoom been tested on?
Liquid AI tested the method on two models: its own LFM2.5-2.6B (doom-loops fell from 10.2% to 1.4%) and the third-party Qwen3.5-4B (from 22.9% to 1%). The open code lets the community verify the results on other architectures.
- Dec 2, 2026Z.ai opens GLM-5.4 API: its own tests show it beating GLM-5.3 on 51.1% of coding tasks
- Dec 2, 2026Running a 35B model on an 8 GB VRAM laptop: prompt processing at 365 tokens/s
- Dec 2, 2026AWS Greenlight Blocks AI Agent Actions That Violate Company Rules
- Dec 1, 2026OpenAI Agents Game the Tests in 0.8% of Scenarios, Gemini 3.8 Flash in 62.8%
Key Questions Answered
What is Final Token Preference Optimization?
FTPO is a targeted fine-tuning method: instead of optimizing the whole model, it finds the specific token that starts the repetition loop and adjusts only its weights. It is faster than full fine-tuning and lowers the risk of unwanted changes elsewhere in the model.
Which models has Antidoom been tested on?
Liquid AI tested the method on two models: its own LFM2.5-2.6B (doom-loops fell from 10.2% to 1.4%) and the third-party Qwen3.5-4B (from 22.9% to 1%). The open code lets the community verify the results on other architectures.
What a doom-loop is and why it needs fixing?
A doom-loop is when a reasoning model starts repeating the same fragments of text in its chain of thought until it exhausts the entire context window. Instead of an answer, the model gets stuck in a loop and returns no result. The problem is especially painful for reasoning models, which "think aloud" through long chains of steps. The longer the reasoning, the higher the chance of repetition: one pattern lands in the context, the next token copies it, and the loop closes.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
