Dependency Matters: Enhancing LLM Reasoning with Explicit Knowledge Grounding

Mingxuan Yuan (Huawei Noah's Ark Lab) · Xiangyu Wen (The Chinese University of Hong Kong) · Min Li (Central South University) · Junhua Huang (Huawei Technologies Ltd.) · Jianyuan Zhong (Department of Computer Science and Engineering, The Chinese University of Hong Kong) · Zhijian Xu (The Chinese University of Hong Kong) · Zeju Li (The Chinese University of Hong Kong) · Yongxiang Huang (Huawei Technologies Ltd.) · Qiang Xu (The Chinese University of Hong Kong)
commonsenseqadependency-aware reasoninggeneralizabilitygpqagrounded reasoningknowledge extractionlogical consistencyreasoning accuracyreasoning benchmarksreasoning nodesstep-wise verifierstrategyqastructured reasoning methodstruthfulqaverification module

Large language models (LLMs) often produce reasoning steps that are superficially coherent yet internally inconsistent, leading to unreliable outputs. Since such failures typically arise from implicit or poorly-grounded knowledge, we introduce \emph{Grounded Reasoning in Dependency (GRiD)}, a novel dependency-aware reasoning framework that explicitly grounds reasoning steps in structured knowledge. GRiD represents reasoning as a graph consisting of interconnected knowledge extraction nodes and reasoning nodes, enforcing logical consistency through explicit dependencies. Each reasoning step is validated via a lightweight, step-wise verifier that ensures logical correctness relative to its premises. Extensive experiments across diverse reasoning benchmarks—including StrategyQA, CommonsenseQA, GPQA, and TruthfulQA—demonstrate that GRiD substantially improves reasoning accuracy, consistency, and faithfulness compared to recent state-of-the-art structured reasoning methods. Notably, GRiD enhances performance even when applied purely as a lightweight verification module at inference time, underscoring its generalizability and practical utility. Code is available at: https://github.com/cure-lab/GRiD.