Deductive logic has long been a holy grail of artificial intelligence. Current language models demonstrate remarkable abilities to chain steps and reach conclusions, but how do they actually do it? A recent study on the internal mechanisms of small transformers reveals that there are two fundamental pathways for reasoning: a horizontal one, which generates intermediate steps autoregressively, and a vertical one, where inference unfolds in the depths of the network before the first output token appears. This distinction is not merely theoretical; it has direct implications for how we design AI systems for businesses.
Horizontal reasoning is what we associate with explicit chains of thought: the model writes out each partial conclusion until reaching the final one. In contrast, vertical reasoning operates more opaquely: the network performs multiple internal transformations in its hidden layers and only emits a response at the end. Research shows that supervision with Chain-of-Thought helps models learn logical rules rather than statistical shortcuts, but its role differs in each type of reasoning. In horizontal reasoning, it acts as a step-by-step guide; in vertical reasoning, it functions more like a curriculum that facilitates the acquisition of complex patterns.
This understanding is key for those developing custom applications based on language models. If we want an artificial intelligence system to make logical decisions in business environments, we need to know whether to rely on explicit step generation or implicit inference. At Q2BSTUDIO, as a software development company, we apply this knowledge to create robust solutions. For example, we design AI agents capable of reasoning over complex knowledge bases, integrating both horizontal and vertical strategies depending on the domain.
Furthermore, when these systems are deployed in cloud environments, the choice of reasoning architecture affects performance. AWS and Azure cloud services offer the computational power needed to run models that combine both forms of inference. In our implementations, we also include cybersecurity to protect the sensitive data handled by these reasoners. And to make conclusions actionable, we complement with business intelligence services using Power BI, transforming logical decisions into understandable dashboards.
The study shows that without chains of thought, models tend to memorize or exploit dataset biases. That is why, at Q2BSTUDIO, we prioritize custom software development that incorporates explicit and implicit reasoning mechanisms according to client needs. To learn more about how we apply these techniques, you can visit our section on AI for businesses and discover how we integrate deductive logic into real solutions. We also offer custom applications that leverage these advances to automate complex processes.
In summary, understanding the difference between horizontal and vertical reasoning not only enriches academic research but also enables the construction of more reliable, transparent AI systems aligned with business goals. Whether to improve internal decision-making or to develop innovative products, having a technology partner that masters these fundamentals is the key to success.

.jpg)



