Knowledge Crosswords: Geometric Knowledge Reasoning with Large Language Models

Wenxuan Ding, Shangbin Feng, Yuhan Liu, Zhaoxuan Tan, Vidhisha Balachandran, Tianxing He, Yulia Tsvetkov

Abstract

While Large Language Models (LLMs) excel at retrieving individual facts or following linear chains of logic, real-world information is typically structured as a complex web of interconnected entities. This paper introduces Knowledge Crosswords, a novel benchmark designed to evaluate "geometric knowledge reasoning"—the capacity to resolve missing information within a non-linear network of constraints. We present VERIFY-ALL, a prompting strategy focused on holistic constraint verification that significantly outperforms traditional reasoning methods on complex knowledge graphs.

Introduction: Beyond Linear Reasoning

Current evaluations of LLM knowledge often focus on "atomic" (one-hop) or "linear" (multi-hop) question answering. However, these paradigms fail to capture the complexity of real-world knowledge networks where multiple intersecting relations define an entity.

Comparison of reasoning paradigms: Atomic (one-hop), Linear (multi-hop), and Geometric (multi-constraint).

The authors argue that LLMs lack a robust "geometric" reasoning ability: the capacity to aggregate information from multiple intersecting chains while satisfying various structural constraints simultaneously. Solving a "knowledge crossword" requires the model to ensure that a candidate for one blank does not contradict the requirements for another elsewhere in the network, necessitating cognitive behaviors like backtracking and reasoning with uncertainty.

The Knowledge Crosswords Benchmark

To study this phenomenon, the researchers introduced the KNOWLEDGE CROSSWORDS benchmark, consisting of 2,101 problems derived from the YAGO encyclopedic knowledge graph. Each problem presents an incomplete "question graph" where specific nodes are masked.

An example of a Knowledge Crossword problem where multiple constraints must be satisfied simultaneously.

The benchmark categorizes problems into Easy, Medium, and Hard tiers. The "Hard" tier is particularly challenging because distractors are chosen as "Definite Constraints"—entities that satisfy some, but not all, of a blank's requirements. This forces the model to reason across the entire network rather than relying on local heuristics.

Methodology: Staged Prompting and VERIFY-ALL

The study evaluates standard prompting methods alongside two novel instruction-based techniques:

  1. STAGED PROMPTING: This iterative approach breaks the problem into solve, update, and verify stages. If a violation is detected during verification, the model backtracks to a previous state to attempt a different path.
  2. VERIFY-ALL: This strategy moves away from step-by-step iteration. Instead, the model proposes candidates for all blanks simultaneously and then performs a rigorous verification of every constraint against the full set. If errors are found, the model generates a new alternative set.

Key Insights and Results

The researchers identified a significant "Reasoning Bottleneck." While providing external knowledge improved performance by an average of 34.3%, LLMs still struggled with Hard problems even when the necessary facts were present in the prompt. This suggests that the primary challenge for complex tasks is the geometric reasoning process itself, not just knowledge retrieval.

Performance Highlights: * VERIFY-ALL emerged as the superior method, outperforming the next best baseline by 7.2% in Full-Credit accuracy on the Hard subset using GPT-3.5. * Structural Sensitivity: Models performed better on "cycle" patterns (closed loops) than "chain" patterns, likely because cycles provide more mutual constraints that narrow the search space. * Model Scaling: GPT-4 showed a massive performance gap over GPT-3.5, particularly in following the complex instructions required for Staged Prompting.

Conclusion

The success of the VERIFY-ALL method indicates that LLMs are more effective at holistic verification than iterative backtracking. Improving geometric reasoning is a critical step toward the vision of LLMs acting as flexible relational databases. Future work will look to expand these benchmarks into specialized domains like medicine and law, where multi-constraint reasoning is vital.

Summary updated

BibTeX
@inproceedings{ding2024knowledge,
  author = {Wenxuan Ding and Shangbin Feng and Yuhan Liu and Zhaoxuan Tan and Vidhisha Balachandran and Tianxing He and Yulia Tsvetkov},
  title = {{Knowledge Crosswords: Geometric Knowledge Reasoning with Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.154},
}
Figure