English

CLR-Fact: Evaluating the Complex Logical Reasoning Capability of Large Language Models over Factual Knowledge

Computation and Language 2024-07-31 v1

Abstract

While large language models (LLMs) have demonstrated impressive capabilities across various natural language processing tasks by acquiring rich factual knowledge from their broad training data, their ability to synthesize and logically reason with this knowledge in complex ways remains underexplored. In this work, we present a systematic evaluation of state-of-the-art LLMs' complex logical reasoning abilities through a novel benchmark of automatically generated complex reasoning questions over general domain and biomedical knowledge graphs. Our extensive experiments, employing diverse in-context learning techniques, reveal that LLMs excel at reasoning over general world knowledge but face significant challenges with specialized domain-specific knowledge. We find that prompting with explicit Chain-of-Thought demonstrations can substantially improve LLM performance on complex logical reasoning tasks with diverse logical operations. Interestingly, our controlled evaluations uncover an asymmetry where LLMs display proficiency at set union operations, but struggle considerably with set intersections - a key building block of logical reasoning. To foster further work, we will publicly release our evaluation benchmark and code.

Keywords

Cite

@article{arxiv.2407.20564,
  title  = {CLR-Fact: Evaluating the Complex Logical Reasoning Capability of Large Language Models over Factual Knowledge},
  author = {Tianshi Zheng and Jiaxin Bai and Yicheng Wang and Tianqing Fang and Yue Guo and Yauwai Yim and Yangqiu Song},
  journal= {arXiv preprint arXiv:2407.20564},
  year   = {2024}
}

Comments

9 pages

R2 v1 2026-06-28T17:57:46.225Z