Lune

EMNLP Findings2020

LGPSolver - Solving Logic Grid Puzzles Automatically

Elgun Jabrayilzade, Selma Tekir

Abstract

Logic grid puzzle (LGP) is a type of word problem where the task is to solve a problem in logic. Constraints for the problem are given in the form of textual clues. Once these clues are transformed into formal logic, a deductive reasoning process provides the solution.

Solving logic grid puzzles in a fully automatic manner has been a challenge since a precise understanding of clues is necessary to develop the corresponding formal logic representation. To meet this challenge, we propose a solution that uses a DistilBERT-based classifier to classify a clue into one of the predefined predicate types for logic grid puzzles. Another novelty of the proposed solution is the recognition of comparison structures in clues. By collecting comparative adjectives from existing dictionaries and utilizing a semantic framework to catch comparative quantifiers, the semantics of clues concerning comparison structures are better understood, ensuring conversion to correct logic representation. Our approach solves logic grid puzzles in a fully automated manner with 100% accuracy on the given puzzle datasets and outperforms state-of-the-art solutions by a large margin.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Lexical Recall or Logical Reasoning: Probing the Limits of Reasoning Abilities in Large Language Models cites Step-by-Step Reasoning to Solve Grid Puzzles: Where do LLMs Falter?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Step-by-Step Reasoning to Solve Grid Puzzles: Where do LLMs Falter?Nemika Tyagi, Mihir Parmar, Mohith Kulkarni, Aswin RRV et al.EMNLP 2024 · 3 citations
  2. Lexical Recall or Logical Reasoning: Probing the Limits of Reasoning Abilities in Large Language ModelsHenrike Beyer, Chris ReedACL 2025

Related papers

  1. Logic.py: Bridging the Gap between LLMs and Constraint SolversPascal Kesseli, Peter W. O'Hearn, Ricardo Silveira CabralNeurIPS 2025 · 10 citations
  2. Automated Crossword SolvingEric Wallace, Nicholas Tomlin, Albert Xu, Kevin Yang et al.ACL 2022 · 17 citations
  3. A Reasoning-Based Approach to Cryptic Crossword Clue SolvingMartin Andrews, Sam WitteveenICML 2025
  4. Logical Transformers: Infusing Logical Structures into Pre-Trained Language ModelsBorui Wang, Qiuyuan Huang, Budhaditya Deb, Aaron Halfaker et al.ACL Findings 2023 · 4 citations
  5. Down and Across: Introducing Crossword-Solving as a New NLP BenchmarkSaurabh Kulshreshtha, Olga Kovaleva, Namrata Shivagunde, Anna RumshiskyACL 2022 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines