TypedThinker: Diversify Large Language Model Reasoning with Typed Thinking

Danqing Wang, Jianxin Ma, Fei Fang, Lei Li

TL;DR

Most Large Language Models (LLMs) are "stuck" in a deductive reasoning loop, trying to solve every problem by moving step-by-step from premises to conclusions. TypedThinker is a new framework that teaches models to identify and apply the most effective reasoning strategy—whether inductive, abductive, or analogical—resulting in performance gains of up to 7% on complex logic and math benchmarks.

The Problem: Stuck in a Deductive Loop

While LLMs have become remarkably good at "thinking out loud" via Chain-of-Thought (CoT) prompting, they suffer from a lack of strategic diversity. Humans don't just deduce; we use induction to find patterns, abduction to form the most plausible hypothesis (common in multiple-choice tests), and analogy to solve new problems based on similar past experiences.

Current LLMs default almost exclusively to deductive reasoning. Simply increasing the "temperature" (randomness) of a model might change the wording of a response, but it rarely changes the underlying logical strategy. The authors argue that this "narrow thinking" prevents models from solving problems that are fundamentally better suited for non-deductive approaches.

Methods: Introducing TypedThinker

The authors introduce TypedThinker, a framework designed to select and execute the right "type" of thinking for the job.

TypedThinker Architecture

The system consists of three main components:

  1. The Meta-Thinker: A fine-tuned module that acts as a "router." Given a problem, it predicts an effectiveness score for four reasoning types: Deductive, Inductive, Abductive, and Analogical.
  2. Explicit Collection of Demonstrations: A memory bank of successful reasoning examples. When the Meta-Thinker picks a strategy (e.g., Abductive), the system retrieves the most relevant past examples of that strategy to guide the model.
  3. The LLM Reasoner: The core model that generates the final answer, now equipped with a specific strategy and few-shot examples of how to use it.

To train this system without relying on expensive "teacher" models (like GPT-4), the authors used a self-training pipeline. They generated multiple solutions for training problems, filtered for correctness, and used a "reverse check"—asking the model to identify the reasoning type of its own successful solution—to ensure the training data was high-quality and correctly labeled.

Datasets and Evaluation

The researchers evaluated TypedThinker across several demanding benchmarks:

  • Logical Reasoning: LogiQA and Big Bench Hard (BBH).
  • Mathematics: GSM8K (grade school math) and MATH (harder competition-level math).
  • Generalization: To test if the system works on unseen data, they used Contexthub (a new propositional logic dataset) and LiveBench.

Key Insights and Ideas

The "Solvability Gap"

The authors' analysis proved that some problems are exclusively solvable by specific reasoning types.

Solvability Gap by Reasoning Type

As shown above, a significant chunk of the MATH benchmark was only solved when the model was forced to use inductive reasoning, highlighting the necessity of moving beyond pure deduction.

Precision Beats Mixture

A common approach in the field is a "Mixture of Reasoning" (MoR), where a system tries all strategies and votes on the answer. TypedThinker outperformed MoR, suggesting that identifying the single best strategy is more effective than averaging across several potentially misleading ones.

Cross-Model Synergy

Interestingly, a Meta-Thinker trained on a smaller model (like Mistral 7B) can be used to "boost" much larger models like GPT-4o. This suggests that the "meta-skill" of picking a strategy is transferable across different model architectures.

The Retrieval Pitfall

In mathematics, the authors found that retrieving similar past problems can sometimes be a double-edged sword. If the retrieved example has a similar context but different numbers, it can occasionally "distract" the model, leading to calculation errors.

Key Results

TypedThinker delivered consistent improvements over standard few-shot and CoT baselines:

  • Mistral 7B: +3.4% average accuracy.
  • LLaMA3 8B: +6.5% average accuracy.
  • Qwen 2 7B: +7% average accuracy.
  • State-of-the-Art Comparison: It outperformed specialized methods like "Self-Discover," particularly on logical tasks where reasoning structures vary wildly between instances.
  • Zero-Shot Generalization: On the unseen Contexthub benchmark, TypedThinker (using Mistral 7B) achieved 45.2% accuracy, significantly outperforming the base model's 41.9%.

Limitations and Future Work

The authors identify two primary areas for growth:

  1. Multi-Step Strategy Switching: Currently, TypedThinker picks one strategy for the entire problem. However, complex real-world problems might require deduction in step one and induction in step two.
  2. Domain Expansion: The study focused heavily on logic and math. Future work could explore how "typed thinking" applies to more creative or open-ended domains like code generation, legal analysis, or creative writing.

By moving beyond "just more thoughts" and toward "different kinds of thoughts," TypedThinker provides a promising roadmap for making LLMs more flexible and human-like in their problem-solving.

Summary updated

BibTeX
@inproceedings{wang2025typedthinker,
  author = {Danqing Wang and Jianxin Ma and Fei Fang and Lei Li},
  title = {{TypedThinker: Diversify Large Language Model Reasoning with Typed Thinking}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=VIUisLx8lQ},
}
Figure