← Latest papers
💬 NLP

Don't Judge a Book by its Cover: Testing LLMs' Robustness Under Logical Obfuscation

This paper introduces Logifus and the LogiQAte benchmark to demonstrate that state-of-the-art large language models suffer significant performance drops when logical reasoning tasks are presented in obfuscated yet equivalent formats, revealing their reliance on surface patterns rather than deep semantic understanding.

Original authors: Abhilekh Borah, Shubhra Ghosh, Kedar Joshi, Aditya Kumar Guru, Kripabandhu Ghosh

Published 2026-02-03
📖 5 min read🧠 Deep dive

Original authors: Abhilekh Borah, Shubhra Ghosh, Kedar Joshi, Aditya Kumar Guru, Kripabandhu Ghosh

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Idea: The "Trick Question" Test

Imagine you have a very smart student who can ace a math test if the questions are written clearly. But the moment you rewrite the same math problem using fancy, confusing words or a different font, the student gets stuck and fails.

This paper argues that today's most advanced AI models (Large Language Models, or LLMs) are like that student. They are excellent at recognizing patterns they've seen before, but they struggle when a problem is logically the same but looks different.

The researchers wanted to see if these AIs truly "understand" logic or if they are just memorizing the way questions usually look. To test this, they created a new game called LogiQAte.

The Tool: "Logifus" (The Magic Shapeshifter)

To run their test, the authors built a tool called Logifus. Think of Logifus as a magical translator that takes a simple question and rewrites it in a way that is:

  1. Logically identical: The answer hasn't changed at all.
  2. Visually confusing: The words, structure, or symbols are completely different.

The Analogy:
Imagine a recipe that says, "Mix 2 cups of flour with 1 cup of sugar."

  • The Original: "Mix 2 cups of flour with 1 cup of sugar."
  • The Obfuscated Version: "Combine the white powder from the first bag (which holds two standard measures) with the sweet crystals from the second bag (which holds one standard measure)."

Both instructions result in the exact same mixture. A human chef understands they are the same. The researchers wanted to see if the AI would realize they are the same, or if it would get confused by the new wording.

The Four Challenges (The "Obfuscated" Tasks)

The researchers tested the AI on four types of puzzles, turning each into a "trick" version:

  1. Logic Puzzles (Obfus FOL):

    • Normal: "If it rains, the ground gets wet."
    • Trick: "It is false that the ground stays dry whenever it rains."
    • The Test: Can the AI see that these two sentences mean the exact same thing?
  2. Family Trees (Obfus Blood Relation):

    • Normal: "D is the wife of C, and C is the father of F. How is D related to F?" (Answer: Mother).
    • Trick: "D is the wife of C, and C is the only son of F's grandfather. How is D related to F?"
    • The Test: The AI has to untangle a long, winding family chain instead of a direct link.
  3. Number Patterns (Obfus Number Series):

    • Normal: "2, 4, 6, 8, ?" (Answer: 10).
    • Trick: They replaced the numbers with planet names (Venus, Mars, Jupiter, Saturn) or even random-looking codes (like "a87ff...").
    • The Test: Can the AI spot the pattern (adding 2) even when the numbers are hidden behind symbols or code?
  4. Direction Sense (Obfus Direction Sense):

    • Normal: "Walk 5 miles North, then 3 miles East."
    • Trick: "Walk 6 miles North, 4 miles East, 6 miles South, 3 miles East, 4 miles West, and finally 5 miles North."
    • The Test: The extra steps cancel each other out (North then South = 0), leaving the same final destination. The AI has to ignore the "noise" to find the true path.

What Happened? (The Results)

The results were a wake-up call. When the questions were "obfuscated" (tricked up), the AI's performance crashed.

  • The Drop: Even the smartest models, like GPT-4o and GPT-5, saw their accuracy drop significantly. On average, their scores fell by 27% to 47%.
  • The "Reasoning Failure Zone": The researchers looked inside the AI's "brain" (its neural layers) while it was answering. They found that when the question was tricky, the AI's confidence in its own answers dropped sharply in the deeper layers of its network. It was like a student who starts to panic halfway through a test because the wording doesn't match what they memorized.
  • Memorization vs. Understanding: The study showed that when faced with these trick questions, the AI relied much more heavily on memorized patterns from its training data rather than actually thinking through the logic. It was trying to guess the answer based on how the question looked, not what it meant.

The Conclusion

The paper concludes that current AI models are great at pattern matching but not yet great at deep reasoning.

The Final Metaphor:
Think of these AI models as actors who have memorized a script perfectly. If you give them the script exactly as written, they perform brilliantly. But if you give them the same script with the words rearranged or the stage directions changed (even if the story is the same), they forget their lines. They haven't learned the story; they've only learned the script.

The researchers say we need to build models that understand the meaning behind the words, not just the words themselves, so they can handle these "trick questions" without failing.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →