Abstract
Despite the advances in large language models (LLMs), how they use their knowledge for reasoning is not yet well understood. In this study, we propose a method that deconstructs complex real-world questions into a graph, representing each question as a node with predecessors of background knowledge needed to solve the question. We develop the DepthQA dataset, deconstructing questions into three depths: (i) recalling conceptual knowledge, (ii) applying procedural knowledge, and (iii) analyzing strategic knowledge. Based on a hierarchical graph, we quantify forward discrepancy, a discrepancy in LLM performance on simpler sub-problems versus complex questions. We also measure backward discrepancy where LLMs answer complex questions but struggle with simpler ones. Our analysis shows that smaller models exhibit more discrepancies than larger models. Distinct patterns of discrepancies are observed across model capacity and possibility of training data memorization. Additionally, guiding models from simpler to complex questions through multi-turn interactions improves performance across model sizes, highlighting the importance of structured intermediate steps in knowledge reasoning. This work enhances our understanding of LLM reasoning and suggests ways to improve their problem-solving abilities.
Introduction
Large Language Models (LLMs) have demonstrated remarkable capabilities in solving complex reasoning tasks. However, the internal mechanisms by which they integrate various types of knowledge to reach a conclusion remain largely opaque. Traditional benchmarks often evaluate reasoning as a linear sequence or focus on isolated fact retrieval. In reality, complex reasoning is hierarchical, requiring a foundation of conceptual facts and procedural steps before strategic analysis can occur. This study addresses this gap by introducing a structured framework to analyze how LLMs utilize internal knowledge across different depths of complexity.
The DEPTHQA Framework
To systematically evaluate reasoning, the researchers developed DEPTHQA, a dataset built upon Webb’s Depth of Knowledge (DOK) levels. Knowledge is categorized into three distinct depths:
- $D_1$ (Conceptual): Basic recall of facts, definitions, and properties (the "What").
- $D_2$ (Procedural): The application of concepts to perform specific steps or calculations (the "How").
- $D_3$ (Strategic): High-level analysis, decision-making, and justification (the "Why").
As shown in Figure 1, a complex $D_3$ question (e.g., comparing ReLU vs. sigmoid training time) is deconstructed into supporting $D_2$ questions (e.g., gradient effects), which are further supported by $D_1$ questions (e.g., definitions of gradients and activation functions). The DEPTHQA dataset contains 91 such $D_3$ questions across STEM domains, deconstructed into over 1,400 sub-questions.
Measuring Reasoning Discrepancies
By representing these questions as a hierarchical graph, the study identifies two critical types of reasoning "discrepancies":
- Forward Discrepancy: Occurs when a model correctly answers all simpler sub-problems ($D_1, D_2$) but fails to synthesize them into the correct complex $D_3$ answer. This indicates a failure in higher-order reasoning.
- Backward Discrepancy: Occurs when a model correctly answers a complex $D_3$ question but fails on the foundational $D_1$ or $D_2$ components. This is a strong signal of memorization, where the model parrots a high-level pattern without understanding the underlying components.
Key Findings
The analysis revealed several significant insights into LLM behavior:
- Scale and Consistency: Larger models, such as LLaMA 3 70B, exhibit significantly fewer discrepancies and higher overall accuracy compared to smaller models. Smaller models (e.g., 7B parameters) are often "brittle," showing fragmented knowledge where they might solve a complex problem while failing on basic definitions.
- Memorization vs. Reasoning: Using Min-K% Probability analysis, the researchers found that $D_1$ knowledge is frequently memorized. Interestingly, backward discrepancies in large models often stem from memorizing "textbook" strategic answers while struggling with the specific mathematical procedures required at the $D_2$ level.
- The Power of Interaction: Guiding models through the hierarchy via multi-turn dialogue—asking $D_1$ questions first, then $D_2$, and finally $D_3$—consistently improved performance. This suggests that structured intermediate steps can help models "activate" the necessary internal knowledge for complex reasoning.
Conclusion
The DEPTHQA framework provides a novel lens through which to view LLM reasoning. By moving beyond linear evaluations to a hierarchical, graph-based approach, we can better distinguish between genuine reasoning and sophisticated memorization. These findings highlight the importance of model scale for consistency and suggest that interactive, structured prompting is a viable path toward more robust problem-solving in AI.
Summary updated