Smart Enterprises: AI Frontiers

← Smart Enterprises: AI Frontiers29 jul 2025 · 34 min

Mastering Reasoning LLMs: Decoding AI's Complex Problem-Solving Strategies

Mastering Reasoning LLMs: Decoding AI's Complex Problem-Solving Strategies29 jul 202534 min

<p>Join us for an insightful exploration into the world of <a href="https://magazine.sebastianraschka.com/p/understanding-reasoning-llms" target="_blank" rel="noopener noreferer"><strong>Reasoning LLMs</strong></a>, drawing on the expertise of Sebastian Raschka, PhD. This episode demystifies how Large Language Models (LLMs) are being refined to <strong>excel at complex tasks that require intermediate steps</strong>, such as solving puzzles, advanced mathematics, and challenging coding problems, moving beyond simple factual question-answering.</p><p>We&#39;ll uncover the <strong>four main approaches currently used to build and improve these specialised reasoning capabilities</strong>:</p><ul><li><strong>Inference-time scaling</strong>: Discover how techniques like <strong>Chain-of-Thought (CoT) prompting</strong> encourage LLMs to generate intermediate reasoning steps, mimicking a &#39;thought process&#39; and often leading to more accurate results on more complex problems. This approach increases computational resources during inference, making it more expensive.</li><li><strong>Pure Reinforcement Learning (RL)</strong>: Learn about the surprising <strong>emergence of reasoning behaviour</strong> from pure reinforcement learning, as demonstrated by DeepSeek-R1-Zero. This model was trained exclusively with RL, without an initial supervised fine-tuning (SFT) stage, using accuracy and format rewards to develop basic reasoning skills.</li><li><strong>Supervised Fine-tuning (SFT) + Reinforcement Learning (RL)</strong>: Understand this <strong>key approach for building high-performance reasoning models</strong>, exemplified by DeepSeek&#39;s flagship R1 model. This method refines models with additional SFT stages and further RL training, building upon &quot;cold-started&quot; pure RL models.</li><li><strong>Pure SFT and Distillation</strong>: Explore how <strong>smaller, more efficient reasoning models</strong> can be created by instruction fine-tuning them on high-quality SFT data generated by larger, stronger LLMs. This approach is particularly attractive for creating models that are cheaper to run and can operate on lower-end hardware.</li></ul><p>We&#39;ll also discuss <strong>when to use reasoning models</strong> – they are ideal for complex challenges but can be inefficient, more verbose, and expensive for simpler tasks, sometimes even being &quot;prone to errors due to &#39;overthinking&#39;&quot;. The episode provides valuable insights from the <strong>DeepSeek R1 pipeline as a detailed case study</strong> and touches upon comparisons with models like OpenAI&#39;s o1. Plus, get <strong>tips for developing reasoning models on a limited budget</strong>, including the promise of distillation and innovative methods like &#39;journey learning&#39;, which includes incorrect solution paths to teach models from mistakes. Tune in to navigate the rapidly evolving landscape of reasoning LLMs!</p>