🤖 AI Hot

Liquid AI Antidoom Fixes Reasoning Model Death Loops

A
Alex Chen

Reasoning models have a problem that nobody talks about enough: they get stuck. You give them a hard math problem, they start a chain of thought, and somewhere around step 40 they start repeating themselves. Or they branch into a logically circular sub-analysis. Or they decide to “double-check” something, then “triple-check,” then “quadruple-check” until they run out of context window. It’s not a rare edge case — if you use reasoning models regularly, you’ve seen this.

Liquid AI just open-sourced Antidoom, a method that directly addresses this. The core idea: train the model to prefer the final token in a reasoning chain — the conclusion, the answer, the point where thinking ends — over tokens that extend the chain without adding value. They call it Final Token Preference Optimization, and the results are better than I expected.

The paper is worth reading. But here’s the short version: Antidoom reduces reasoning loop frequency by roughly 70% across tested models, with minimal impact on answer quality. For anyone who’s watched a reasoning model burn 5,000 tokens on a circular argument, that’s a meaningful improvement.

What “death loops” actually look like

Before diving into the fix, it’s worth describing the problem precisely. Reasoning models — models trained with chain-of-thought prompting or reinforcement learning to produce intermediate reasoning steps — have a structural vulnerability: they’re rewarded for thoroughness, and thoroughness can become pathology.

The most common failure modes:

Recursive verification. The model reaches a conclusion, then decides to verify it, then verifies the verification, then verifies that verification. Each verification loop generates slightly different reasoning but converges to the same answer. The model can’t tell when “good enough” has been reached.

Branch explosion. The model encounters a decision point and explores every branch exhaustively. “Option A leads to B leads to C. But also A leads to D leads to E. But also…” This is technically correct reasoning, but the model doesn’t know when to prune branches that won’t change the outcome.

Format repetition. The model gets stuck in a structural pattern: “Let me think about this step by step. Step 1: [analysis]. Step 1 conclusion: [summary]. Now let me reconsider Step 1…” This isn’t about the content — it’s about the model learning that chains of “let me…” tokens look like good reasoning to the reward model.

I’ve seen reasoning models burn 10,000+ tokens on a problem that should take 500. The waste isn’t just inefficiency — it’s that long chains accumulate errors. A model that’s been looping for 4,000 tokens is more likely to produce a wrong answer than one that stopped at 800 tokens. The loops actively degrade quality.

How Final Token Preference Optimization works

Preference optimization is standard practice in LLM training. DPO (Direct Preference Optimization) and its variants train models to prefer “good” responses over “bad” ones based on human or AI feedback. The training signal comes from pairs of responses — one preferred, one not — and the model learns to shift probability toward the preferred direction.

Antidoom extends this idea to the token level within reasoning chains. Instead of comparing full responses, it compares individual tokens within the chain. Specifically, it trains the model to recognize that the final token in a reasoning chain — the one that actually answers the question — should have higher probability than tokens that are structurally similar but lead to continued reasoning.

The training process:

  1. Collect reasoning chains from the target model on a diverse set of problems (math, logic, code, analysis).
  2. Identify loop tokens — tokens that appear in positions where the reasoning is circular, repetitive, or adds no new information.
  3. Identify final tokens — the tokens that represent conclusions, answers, or transitions to the output phase.
  4. Train with a contrastive objective that pushes probability toward final tokens and away from loop tokens.

The key insight: you don’t need to label entire chains as good or bad. You just need to identify which tokens are part of productive reasoning and which are part of loops. The model learns the pattern — not “this specific problem is solved” but “tokens that extend reasoning without adding value should have lower probability.”

Liquid AI tested Antidoom on Llama 3.1 8B, Mistral 7B, and Qwen 2.5 7B, all fine-tuned with chain-of-thought training. The method reduced loop frequency — defined as reasoning chains where >40% of tokens were semantically redundant — by 67-74% across the three models. Answer accuracy on GSM8K and MATH benchmarks remained within 1% of the baseline.

That last point matters. A method that fixes loops by making the model dumber isn’t a fix — it’s a tradeoff. Antidoom doesn’t appear to be making that tradeoff.

Why this is different from other loop-fix approaches

People have been trying to fix reasoning model loops since reasoning models became a thing. The existing approaches fall into a few categories:

Hard cutoff. Just stop the model after N tokens and take whatever answer it’s produced so far. Simple, effective, and crude — it interrupts good reasoning as often as bad, and long chains that are genuinely productive get cut short.

Prompt-based mitigation. Add instructions like “be concise” or “avoid unnecessary repetition” to the system prompt. This helps marginally but doesn’t address the underlying training bias toward extended reasoning. The model knows it’s supposed to be concise but doesn’t know how.

Sampling-based approaches. Use temperature, top-p, or other decoding tricks to reduce repetition. Higher temperature reduces token-level repetition, but it also reduces coherence. There’s a narrow sweet spot at temperature ~0.3-0.5 where loops decrease without significant quality loss, but it’s not a robust solution.

Reinforcement learning with length penalties. Penalize long chains during RL training. This works structurally but has an ugly side effect: models learn to be shorter without necessarily being better. They find the shortest plausible answer, not the most correct one.

Antidoom’s approach is cleaner. It doesn’t penalize length — it penalizes valueless tokens. A 5,000-token chain where every token contributes to the reasoning is fine. A 5,000-token chain where 3,000 tokens are loops gets pushed down. The distinction is about information content, not raw length.

What this means for chain-of-thought prompting

Antidoom has implications beyond the specific models it was tested on. The method works because it exploits a structural property of reasoning models: the final token in a chain is fundamentally different from intermediate tokens, and that difference is learnable.

This matters for anyone who designs chain-of-thought prompts or builds systems that use reasoning models. If you can train a model to recognize when reasoning is productive vs. circular, you can build that signal into the generation process. You could use a classifier trained on the same “final token vs. loop token” distinction to detect looping in real time and intervene — redirecting the model, truncating the chain, or switching strategies.

It also suggests that the common advice around chain-of-thought prompting — “tell the model to think step by step” — is incomplete. What you actually want is “think step by step, and know when to stop.” Antidoom shows that the “know when to stop” part can be trained explicitly. The next generation of reasoning prompts should probably include explicit termination conditions alongside reasoning instructions.

For example, instead of:

Think step by step.

Something like:

Think step by step. After each step, ask yourself: does this step add information that changes my answer? If not, stop and provide your answer.

The prompt engineering community hasn’t caught up to this insight yet, but I expect it will. The difference between “be thorough” and “be thorough and self-terminating” is measurable and significant.

Who should care about this

If you’re running reasoning models in production, Antidoom is directly relevant. Loop-induced context waste isn’t just a latency problem — it’s a cost problem. If 40% of your reasoning tokens are redundant, you’re paying for 40% more compute than you need. For high-volume deployments, that adds up fast.

If you’re doing AI research on reasoning or alignment, the final token preference optimization framework is a building block. The same approach could be applied to other unwanted reasoning patterns: overconfidence cascades, premature convergence, anchoring bias. Any reasoning failure that manifests as a token-level pattern is potentially addressable with this method.

If you’re a developer who uses Claude, GPT, or Gemini for complex analysis tasks, this is worth knowing about because it will eventually trickle into the commercial models. The big labs all have internal research on reasoning efficiency. Antidoom is a public, well-documented example of what the state of the art looks like. When OpenAI or Anthropic ship “improved reasoning efficiency” in a future model, this is roughly what’s happening under the hood.

The limitations that matter

Antidoom isn’t a silver bullet. The paper is honest about the limitations:

It doesn’t prevent all loop types. Format-level loops (where the model repeats structural patterns without semantic redundancy) are harder to detect because the tokens are technically different each time. “Let me reconsider Step 1 through the lens of…” followed by “Let me reconsider Step 1 through the framework of…” reads as non-redundant to a token-level classifier but is functionally identical.

It’s tested on models up to 8B parameters. Whether the technique scales to 70B+ models — where reasoning chains are longer and more complex — is an open question. Larger models may have more subtle looping patterns that FTPO doesn’t catch.

The training requires annotated reasoning chains. You need human-labeled or AI-labeled pairs of (loop token, final token) for training. Liquid AI automated this annotation to some degree, but the quality of annotation matters a lot for the quality of the resulting model. Bad labels produce models that terminate too early or too late.

It doesn’t address the root cause. Antidoom is a treatment, not a cure. The root cause of reasoning loops is that current training methods reward tokens that look like reasoning without distinguishing between productive and circular reasoning. Fixing that at the training paradigm level — rather than applying a post-hoc preference optimization — would be better. But that’s a harder problem, and Antidoom works today.

The open-source strategy

Liquid AI open-sourcing Antidoom is worth noting. The company builds a lot of proprietary technology — they’re best known for their liquid neural network architecture — but they’re releasing this particular method under an open license with weights and training code.

This follows a pattern we’ve seen from several AI companies: keep the core model architecture proprietary, open-source the training techniques and tools. Meta does it with Llama. Mistral releases some models and tools openly while keeping others closed. Liquid AI appears to be doing something similar — Antidoom is a training method that works on top of existing architectures, so open-sourcing it doesn’t cannibalize their proprietary model business. It builds goodwill, attracts research talent, and positions them in the community.

For the broader ecosystem, it’s a net positive. Anyone running a reasoning model can try Antidoom on their own fine-tunes. The code is available, the paper is clear, and the technique doesn’t require exotic hardware. The barrier to adoption is low, which is exactly how good research should work.

The bigger picture

I keep coming back to the same thought reading this paper: we’ve spent three years optimizing reasoning models to be more thorough, more exhaustive, more step-by-step. We’ve gotten really good at making models that think a lot. What we haven’t gotten good at is making models that know when to stop thinking.

Antidoom is a step toward fixing that asymmetry. It’s not the final answer — I doubt there is a final answer for a problem this fundamental — but it’s a clean, practical, open-source step. That’s more than most papers deliver.

The next frontier in reasoning isn’t making chains longer. It’s making them smarter. And “smarter” includes knowing when the work is done.


Sources:

  • Liquid AI Antidoom paper and GitHub repository (2026)
  • DPO: Direct Preference Optimization (Rafailov et al., 2023)
  • GSM8K and MATH benchmark documentation
  • Chain-of-Thought Prompting (Wei et al., 2022)
Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen