Hierarchical Deconstruction of LLM Reasoning: A Graph-Based Framework for Analyzing Knowledge Utilization

Miyoung Ko, Sue Hyun Park, Joonsuk Park, Minjoon Seo
6/27/2024
cs.CLcs.AI

No official code found. Best implementation: kaistAI/knowledge-reasoning (23 stars, Apache-2.0, last commit 2024-12-04).

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[EMNLP 2024] Official implementation of "Hierarchical Deconstruction of LLM Reasoning: A Graph-Based Framework for Analyzing Knowledge Utilization"

233Shell, PythonJun 24, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{ko2024hierarchical,
  title  = {Hierarchical Deconstruction of LLM Reasoning: A Graph-Based Framework for Analyzing Knowledge Utilization},
  author = {Miyoung Ko and Sue Hyun Park and Joonsuk Park and Minjoon Seo},
  year   = {2024},
  eprint = {2406.19502},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19502v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.19502.svg)](https://codeofpaper.com/paper/2406.19502)

Discussion