---
type: Article
title: "Underthinking in Language Models: A Challenge for Deep AI Reasoning"
description: "Reasoning models like o1 sometimes think too little: they abandon a promising line early and keep switching strategies, a behavior Wang et al."
resource: https://felipecferreira.com.br/en/library/underthinking/
generated: { by: process:okf-bridge, at: 2026-11-25T14:43:08Z }
published_at: 2026-11-24T19:37:05Z
modified_at: 2026-11-25T14:43:06Z
author:
  name: "Felipe Carvalho Ferreira"
  url: https://felipecferreira.com.br/sobre/
  "@id": https://felipecferreira.com.br/#/schema/person/44400987115f09994755b76e5fdf9d3a
  sameAs:
    - https://www.youtube.com/@felipecferreiraa
    - https://x.com/FelipeCF_X
    - https://www.instagram.com/felipecferreira.com.br/
    - https://www.linkedin.com/in/felipe-c-ferreira-a76646152/
    - https://www.tiktok.com/@felipecferreiraa
    - https://github.com/felipeferreiragestor
content_sha256: e40ac1290adf9fb66f1173f3ef3bde0ccd48f73e362d0039df4418fc840a5cae
status: stable
sources:
  - id: canonical-html
    resource: https://felipecferreira.com.br/en/library/underthinking/
    title: "Official HTML page"
    last_modified: 2026-11-25T14:43:06Z
---

# Underthinking in Language Models: A Challenge for Deep AI Reasoning

## TL;DR

Reasoning models like o1 sometimes think too little: they abandon a promising line early and keep switching strategies, a behavior Wang et al. (2025) call underthinking. I review how this hurts accuracy in advanced math and how the TIP method penalizes premature thought switches during generation.

Large language models ([LLMs](https://felipecferreira.com.br/en/library/what-are-llms-large-language-models/)) have advanced significantly in their ability to **solve complex problems** by mirroring human reasoning patterns, yet a recent study uncovered an important limitation in these models, called **underthinking**.

This behavior happens when a **model prematurely abandons** a promising line of reasoning, repeatedly switching strategies without sufficiently exploring "each path"..

That tendency **undermines analytical depth** and hurts answer accuracy, especially on challenging math problems.

Here I review the paper by Wang et al. (2025), and you can read the full original paper by [clicking here](https://arxiv.org/abs/2501.18585).

## **What Is Underthinking and How Does It Affect Models?** {#h-what-is-underthinking-and-how-does-it-affect-models}

The study focuses on so-called **o1-like models**, inspired by OpenAI's o1 model, which aim to emulate deep thinking by scaling compute at test time.

The research showed that these models often **jump between different problem-solving strategies** without following one logical path all the way to its conclusion.

On hard benchmarks, such as advanced math problem sets (MATH500, GPQA Diamond, and AIME2024), the researchers found that **incorrect answers involve far more thought switches**, producing long outputs without actually improving accuracy.

**That excessive strategy switching causes inefficient [token](https://felipecferreira.com.br/en/library/what-are-tokens-in-llms/) usage**, driving up compute consumption with no meaningful gains in quality.

Pay close **ATTENTION** to my sentence below:

*By contrast, conventional models such as [Qwen](https://felipecferreira.com.br/en/library/qwen-2-5-alibaba/)-Math-72B and Llama3.3-70B did not show the same gap between correct and incorrect response lengths, suggesting that **the issue is specific to o1-like models**.*

(Whoa.)

## **Analyzing the Underthinking Problem in AI Models** {#h-analyzing-the-underthinking-problem-in-ai-models}

![Charts comparing token counts and thought-switching rates across reasoning LLMs from Wang et al. 2025](https://felipecferreira.com.br/wp-content/uploads/2025/02/underthinking-problem.png)
*Source: Wang et al. (2025)*

The image above shows two charts illustrating how large language models handle **complex problems** and highlighting the phenomenon known as **underthinking**.

In the chart on the left (a), you can see the number of tokens generated for correct versus incorrect answers across different models.

The vertical axis shows token count, while the horizontal axis lists the evaluated models, including Qwen-Math-72B, Llama3-70B, QwQ-32B-Preview, and [DeepSeek](https://felipecferreira.com.br/en/library/deepseek-challenges-openai-transparent-powerful-ai-model/)-R1-671B.

Green bars represent correct answers, and red bars indicate incorrect answers.

**The clear pattern is that wrong answers burn significantly more tokens than right ones, suggesting that o1-like models tend to drag out their reasoning without converging on an effective solution.**

For example, DeepSeek-R1-671B generates 16,108 tokens on wrong answers, far more than the 5,549 tokens on correct answers.

In the chart on the right (b), the plot tracks the number of distinct thoughts generated during reasoning.

Here, the link between wrong answers and excessive thought switching becomes even clearer.

**In QwQ-32B-Preview, for instance, wrong answers average 59.3 strategy switches, whereas correct answers average only 12.6.**

That suggests that instead of following a logical path to the end, models frequently change direction before finishing a chain of reasoning, leading to **fragmented and less efficient thinking**.

This analysis confirms the existence of **underthinking**, a behavior where models fail to dig deep enough into one line of reasoning before jumping to another.

To mitigate the problem, the researchers propose a mechanism called **TIP (Thought Switching Penalty)**, which penalizes premature strategy shifts and encourages models to explore an idea more thoroughly before discarding it.

## **How to Implement the TIP Method to Reduce Underthinking in AI Models** {#h-how-to-implement-the-tip-method-to-reduce-underthinking-in-ai-models}

TIP (Thought Switching Penalty) is a **decoding-time adjustment** for language models that curbs excessive reasoning shifts and encourages **more structured thinking**.

**In practice**, it can be implemented by **modifying the text generation function** in models to penalize tokens that signal a thought switch before the current line of reasoning has been explored thoroughly.

### **Step-by-Step Guide to Applying TIP with LLM Models** {#h-step-by-step-to-apply-tip-when-using-llm-models}

**The TIP method works best on models that expose controls over the token generation process, such as:**

DeepSeek-R1 (available via API) Qwen-2.5-Max (hosted by Alibaba Cloud) OpenAI models ([GPT-4](https://felipecferreira.com.br/en/library/gpt-4o-new-era-of-ai-with-voice-and-vision/), [o1](https://felipecferreira.com.br/en/library/chatgpt-pro/) with [temperature](https://felipecferreira.com.br/en/library/temperature-in-llms/) and sampling adjustments)..

Next, modify the generation process to penalize thought switches..

TIP works by adjusting **token penalties** at generation time.

Here is a **Python** code example using the Hugging Face API to modify text generation:

```
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load the target model
model_name = "deepseek-ai/deepseek-llm-67b"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)

# TIP configuration: penalizes premature thought switching
def apply_tip_penalty(inputs, model, tokenizer, penalty_strength=2.0):
    inputs = tokenizer(inputs, return_tensors="pt")
    output = model.generate(**inputs,
                            max_length=512,
                            repetition_penalty=penalty_strength,  # Avoids excessive repetition
                            temperature=0.7,  # Reduces generation randomness
                            top_p=0.9)  # Keeps diversity without losing coherence
    return tokenizer.decode(output[0], skip_special_tokens=True)

# Usage example
prompt = "Solve this math problem step by step, thoroughly exploring each solution before switching approaches."
response = apply_tip_penalty(prompt, model, tokenizer)
print(response)
```

### **Tune TIP Parameters to Optimize Generation** {#h-tune-tip-parameters-to-optimize-generation}

The main parameters shaping TIP behavior are:

**Thought-switching penalty (alpha)**: Sets how strongly tokens that signal a transition between ideas are penalized. Values between 1.5 and 3.0 are recommended to balance fluency and accuracy.

**Penalty duration (beta)**: Controls how many tokens must be generated before a new thought switch is allowed. Setting beta between 300 and 600 tokens helps the model stick with each strategy longer.

**Temperature and top-p**: Control generation randomness and diversity. For math and logical reasoning tasks, a temperature between 0.5 and 0.7 and top-p between 0.85 and 0.95 are recommended.

## **Only TESTING Will Tell the "Truth"** {#h-only-testing-will-tell-the-truth}

I alwaaays say this, yet after implementing the technique, you MUST compare answer quality before and after TIP.

A simple test is running the model with and without the penalty and checking:

[1] Reasoning **depth** before switching thoughts;

[2] Answer **accuracy** on complex problems;

[3] Token **savings** needed to reach the solution.

## **The Future of Language Models and the Need for Deeper Thinking** {#h-the-future-of-language-models-and-the-need-for-deeper-thinking}

The findings in this study show that despite AI models advancing on complex tasks, **fundamental challenges remain** in how these systems process and refine their answers.

**Underthinking** shows that simply scaling up model size does not guarantee **more effective thinking**.

**Applying strategies like TIP can be an important step toward making models more efficient and aligned with human logic.**

This research underscores why it matters to keep building mechanisms that push LLMs to sharpen their reasoning before switching strategies, ensuring both higher accuracy and **more efficient compute usage.**

As models become increasingly woven into daily workflows, this kind of refinement will be essential for high-reliability areas such as scientific research, education, and automated technical support.

**Did you enjoy this article?**

Want to go deeper into Artificial Intelligence and its applications in marketing and customer acquisition?

Just click anywhere on the screen where the WhatsApp button is, and I will talk with you directly.

## **Reference** {#h-reference}

WANG, Yue et al. Thoughts Are All Over the Place: On the Underthinking of o1-Like LLMs. **arXiv**:2501.18585v1 [cs.CL] 30 Jan 2025.
