AnswerThisView only
Shared answer · view only
MJShared by Manas Jain · Aug 13
LoginSign up
Technology/I want to understand how Reasoning works in LLM models, like thinking models, how are they trained
I want to understand how Reasoning works in LLM models, like thinking models, how are they trained
Used tools Searching academic papers for reasoning in LLMs neural network mechanisms, found 168 papers

Large Language Models (LLMs) exhibit a variety of sophisticated reasoning behaviors that have been the subject of substantial recent research. Here’s an overview, broken down into two main aspects: how reasoning works ("thinking models") and how models are trained to develop reasoning abilities.


How Reasoning Works in LLMs ("Thinking Models")

LLMs perform reasoning by generating "chains of thought"—stepwise, interpretable sequences of internal thought or intermediate steps—which can be prompted directly or emerge naturally during problem-solving. Techniques such as Chain-of-Thought (CoT) prompting guide the model to break down complex tasks into logical substeps, simulating a human-like "think-aloud" process and enhancing both problem-solving performance and explainability(Jin, 2025) .

Recent advancements in "thinking models" have shown that LLMs can be engineered to internally generate and iterate multiple reasoning paths, reflect on their work, and even self-correct errors during the process(Ji, 2025) . Research has introduced frameworks that analyze and manipulate these thinking steps—such as steering vectors, which control specific reasoning behaviors (e.g., uncertainty, hypothesis generation) within the model’s hidden activations, making the reasoning more interpretable and steerable(Venhoff, 2025) . Some models now use meta-cognitive strategies, like "inner monologue" or "self-refinement," wherein the model critiques and refines its own answers, closely mimicking elements of human thought(Madaan, 2023) .

Various architectures and approaches—including dual-process models, graph-based reasoning, and visual reasoning frameworks—have been implemented to further improve diverse types of reasoning, from logical planning and social inference to analogical and multi-modal reasoning(Cai, 2025) , (Gao, 2025) , (Bui, 2025) , (Yin, 2024) .


How Are LLMs Trained for Reasoning?

LLM reasoning capabilities are rooted both in their architectural features and in specific training strategies:

  1. Pretraining on Large Text Corpora
    LLMs initially learn by predicting the next word in vast and diverse text datasets—acquiring associative, linguistic, and sometimes factual knowledge from the data(Scott, 2024) . However, this alone isn’t sufficient for robust and transparent reasoning(Ott, 2023) .

  2. Supervised Fine-Tuning with Reasoning Data
    Additional supervised fine-tuning involves providing explicit "reasoning traces" or CoT examples as demonstrations. This helps the model to practice and internalize structured, multi-step thought patterns(Luo, 2023) , (Jin, 2025) . Specialized datasets, particularly in mathematics, science, and logic, are increasingly used for this purpose(Chen, 2025) , (Xu, 2025) .

  3. Reinforcement Learning (RL) Approaches
    Reinforcement Learning with Human Feedback (RLHF) and related approaches are employed to teach models to produce better, more logical, and user-aligned outputs by receiving rewards for correct or interpretable reasoning chains(Xiong, 2025) , (Bilal, 2025) . More recent RL extensions, like group relative policy optimization and multi-agent setups, foster more robust and introspective reasoning by emulating meta-cognitive debate among multiple model "agents"(Bilal, 2025) .

  4. Retrieval-Augmented Reasoning
    LLMs' built-in knowledge is static. Retrieval-augmented generation (RAG) approaches allow models to query external sources during reasoning, pulling in current or domain-specific facts that enhance multi-step logical inference, particularly in open-domain or knowledge-intensive settings(Tan, 2025) , (Shi, 2025) , (Zhao, 2025) .

  5. Specialized Training Techniques
    Advanced methods include adaptive curriculum learning (gradually increasing problem complexity), dynamic resource allocation for "hard" reasoning, guided exploration for stepwise solving, preference optimization to balance accuracy with reasoning length, and novel architectures designed to explicitly separate and refine "thinking" phases(Jin, 2025) , (Chen, 2025) .

  6. Multi-Modal and Graph-based Reasoning
    For tasks that require grounding in images, graphs, or sensor data, multimodal models combine language with other representations and employ logical planning or graph neural modules for structured reasoning(Thawakar, 2025) , (Abdullahi, 2025) , (Gao, 2025) .

  7. Self-Improvement and Latent Reasoning
    Models are increasingly trained to improve their own reasoning by generating, critiquing, and revising internal thought steps—not just at inference but during training, unlocking latent reasoning abilities and reducing errors from memorization or overfitting(Chen, 2024) , (Li, 2025) .


Key Findings and Open Problems

  • Fine-tuned and RL-trained LLMs with specialized reasoning traces or chain-of-thought data generally outperform models trained purely for language(Jin, 2025) , (Ferrag, 2025) .
  • Longer, explicit reasoning chains often help, but excessive "overthinking" can reduce accuracy or clarity, leading to innovations like ReCUT for optimizing reasoning length(Jin, 2025) .
  • Meta-reasoning (thinking about one's own reasoning) and the integration of external reasoning tools (graphs, solvers) are frontiers for achieving more general, reliable reasoning(Bilal, 2025) , (Bui, 2025) .
  • Robustness to "hallucinations" and domain adaptation remain challenges, with retrieval-augmentation and human-in-the-loop tuning as promising solutions(Tan, 2025) , (Naliyatthaliyazchayil, 2025) .

Example Table: Reasoning Training Techniques

Training TechniqueDescriptionExample Use
Chain-of-thought (CoT)Explicit step-by-step reasoning tracesMath problems, logic puzzles
RL with human feedback (RLHF)Reward-based refinement of outputsSafer, aligned dialogue
Retrieval-Augmented GenerationLooks up external facts while reasoningOpen-domain QA, current events
Self-refinement/ReflectionModel critiques and revises own stepsComplex multi-hop tasks
Graph-based learningInternal graph or GNN module assists stepsKnowledge graphs, structured planning
Curriculum/adaptive learningGradual increase in reasoning difficultyMathematical benchmarks

Would you like deeper details on any of these techniques (e.g., reinforcement learning, graph-based reasoning, multi-modal approaches), or a visual diagram of common LLM reasoning architectures? If you have a particular reasoning domain (like medical or mathematical problem solving) you’re interested in, I can provide further tailored insights and recent research exemplars. Let me know how you’d like to explore next!

Save

Citation Lists

Parvati Naliyatthaliyazchayil, Raajitha Muthyala, J. Gichoya, Saptarshi Purkayastha · 2025-03-21 · Journal of Medical Internet Research

Zhiwen Tan, Jiaming Huang, Qintong Wu, Hongxuan Zhang, Chenyi Zhuang, Jinjie Gu · 2025-06-30 · arXiv.org

Zhensheng Jin, Xinze Li, Yifan Ji, Chunyi Peng, Zhenghao Liu, Qi Shi, Yukun Yan, Shuo Wang, Furong Peng, Ge Yu · 2025-06-12 · arXiv.org

Suggested next steps

Run a sensitivity analysisTurn this into a reportAnalyze an uploaded PDFEdit the draftExport the extraction table
TRY:
History

Loading sources…

Q1

I want to understand how Reasoning works in LLM models, like thinking models, how are they trained

Abstract
Source 1: Evaluating the Reasoning Capabilities of Large Language Models for Medical Coding and Hospital Readmission Risk Stratification: Zero-Shot Prompting Approach

Parvati Naliyatthaliyazchayil, Raajitha Muthyala, +2 · 2025 · Journal of Medical Internet Research

10.2196/74142

Abstract Background Large language models (LLMs) such as ChatGPT-4, LLaMA-3.1, Gemini-1.5, DeepSeek-R1, and OpenAI-O3 have shown promising potential in health care, particularly for clinical reasoning and decision support. However, their reliability across critical tasks like diagnosis, medical coding, and risk prediction has received mixed reviews, especially in real-world settings without task-s…

Source 2: RAG-R1 : Incentivize the Search and Reasoning Capabilities of LLMs through Multi-query Parallelism

Zhiwen Tan, Jiaming Huang, +4 · 2025 · arXiv.org · 2 citations

10.48550/arXiv.2507.02962

Large Language Models (LLMs) have demonstrated remarkable capabilities across various tasks, while LLMs remain prone to generating hallucinated or outdated responses due to their static internal knowledge. Recent advancements in Retrieval-Augmented Generation (RAG) methods have aimed to enhance models''search and reasoning capabilities through reinforcement learning (RL). Although these methods de…

Source 3: ReCUT: Balancing Reasoning Length and Accuracy in LLMs via Stepwise Trails and Preference Optimization

Zhensheng Jin, Xinze Li, +8 · 2025 · arXiv.org · 2 citations

10.48550/arXiv.2506.10822

Recent advances in Chain-of-Thought (CoT) prompting have substantially improved the reasoning capabilities of Large Language Models (LLMs). However, these methods often suffer from overthinking, leading to unnecessarily lengthy or redundant reasoning traces. Existing approaches attempt to mitigate this issue through curating multiple reasoning chains for training LLMs, but their effectiveness is o…

Source 4: Towards LogiGLUE: A Brief Survey and A Benchmark for Analyzing Logical Reasoning Capabilities of Language Models

Man Luo, Shrinidhi Kumbhar, +6 · 2023 · arXiv.org · 31 citations

10.48550/arXiv.2310.00836

Logical reasoning is fundamental for humans yet presents a substantial challenge in the domain of Artificial Intelligence. Initially, researchers used Knowledge Representation and Reasoning (KR) systems that did not scale and required non trivial manual effort. Recently, the emergence of large language models (LLMs) has demonstrated the ability to overcome various limitations of formal Knowledge R…

Source 5: Understanding Reasoning in Thinking Language Models via Steering Vectors

Constantin Venhoff, Iv''an Arcuschin, +3 · 2025 · arXiv.org · 9 citations

10.48550/arXiv.2506.18167

Recent advances in large language models (LLMs) have led to the development of thinking language models that generate extensive internal reasoning chains before producing responses. While these models achieve improved performance, controlling their reasoning processes remains challenging. This work presents a steering approach for thinking LLMs by analyzing and manipulating specific reasoning beha…

Source 6: Learn to Think: Bootstrapping LLM Reasoning Capability Through Graph Representation Learning

Hang Gao, Chenhao Zhang, +5 · 2025 · arXiv.org

10.48550/arXiv.2505.06321

Large Language Models (LLMs) have achieved remarkable success across various domains. However, they still face significant challenges, including high computational costs for training and limitations in solving complex reasoning problems. Although existing methods have extended the reasoning capabilities of LLMs through structured paradigms, these approaches often rely on task-specific prompts and…

Source 7: A Survey on Multimodal Large Language Models

Shukang Yin, Chaoyou Fu, +5 · 2024 · Oxford University Press · 136 citations

10.1093/nsr/nwae403

ABSTRACT Recently, the multimodal large language model (MLLM) represented by GPT-4V has been a new rising research hotspot, which uses powerful models (LLMs) as brain to perform tasks. The surprising emergent capabilities of MLLM, such writing stories based on images and optical character recognitionfree math reasoning, are rare in traditional methods, suggesting potential path artificial general…

Source 8: AAPO: Enhance the Reasoning Capabilities of LLMs with Advantage Momentum

Jian Xiong, Jingbo Zhou, +2 · 2025 · arXiv.org · 1 citations

10.48550/arXiv.2505.14264

Reinforcement learning (RL) has emerged as an effective approach for enhancing the reasoning capabilities of large language models (LLMs), especially in scenarios where supervised fine-tuning (SFT) falls short due to limited chain-of-thought (CoT) data. Among RL-based post-training methods, group relative advantage estimation, as exemplified by Group Relative Policy Optimization (GRPO), has attrac…

Source 9: Speaking in Words, Thinking in Logic: A Dual-Process Framework in QA Systems

Tuan Bui, Trong Le, +6 · 2025

Recent advances in large language models (LLMs) have significantly enhanced question-answering (QA) capabilities, particularly in open-domain contexts. However, in closed-domain scenarios such as education, healthcare, and law, users demand not only accurate answers but also transparent reasoning and explainable decision-making processes. While neural-symbolic (NeSy) frameworks have emerged as a p…

Source 10: TRAIL: Joint Inference and Refinement of Knowledge Graphs with Large Language Models

Xinkui Zhao, Haode Li, +3 · 2025

Recent advances in large language models (LLMs) have unlocked powerful reasoning and decision-making capabilities. However, their inherent dependence on static parametric memory fundamentally limits their adaptability, factual accuracy, and interpretability in knowledge-intensive scenarios. Knowledge graphs (KGs), as structured repositories of explicit relational knowledge, offer a promising appro…

25 sources · 0 selected
1 / 3