← Latest papers
🤖 machine learning

COCOLogic-V2: Identifying Logical Inconsistencies via Truly Hard-Negatives

The paper introduces COCOLogic-V2, an object-centric dataset for visual inductive reasoning on real-world images that categorizes samples into positive, near-boundary, and far-from-boundary negatives to reveal that current models struggle with fine-grained logical inconsistencies despite performing well on simple distinctions.

Original authors: David Steinmann, Antonia Wüst, Kristian Kersting, Wolfgang Stammer

Published 2026-06-29
📖 5 min read🧠 Deep dive

Original authors: David Steinmann, Antonia Wüst, Kristian Kersting, Wolfgang Stammer

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

Imagine you are teaching a robot to play a very specific, tricky game of "Spot the Difference" using real-world photos. The goal isn't just to recognize objects (like "that's a dog" or "that's a car"); the goal is to understand complex logical rules about those objects, like "There must be exactly three cups, but no more, and no less."

This paper introduces a new, tougher test called COCOLogic-V2 to see if our current "smart" AI models can actually do this, or if they are just cheating by guessing.

Here is the breakdown of what the researchers did and found, using simple analogies:

1. The Problem: The "Easy Mode" Trap

Previously, researchers tested AI on simple tasks, like identifying a single object in a photo. It was like playing a video game on "Easy Mode." The AI would learn to spot a bowl and guess, "Ah, this must be a 'Breakfast' scene!" without actually understanding the logic of the scene.

The researchers realized that if you only test AI on easy questions, you don't know if it's truly smart or just good at spotting patterns. They needed a way to trick the AI into showing its true reasoning skills.

2. The Solution: A New "Logic Gym" (COCOLogic-V2)

The team built a new dataset (a collection of training and testing images) based on real photos from the famous MSCOCO database. Think of this as a Logic Gym for AI.

Instead of just asking "Is there a dog?", the gym asks complex questions like:

  • "Are there more cars than trucks?"
  • "Is there exactly one type of vehicle (like a bus) and nothing else?"
  • "Are there as many people as surfboards?"

The Secret Sauce: The "Near-Boundary" Traps
This is the most important part of the paper. The researchers categorized the test images into three types:

  • The "Obvious" Positives: Images that clearly follow the rule (e.g., 3 cups, no pizza).
  • The "Obvious" Negatives (Far-from-Boundary): Images that clearly break the rule in a silly way (e.g., a picture of a sky with no objects). Even a dumb AI can guess these are wrong.
  • The "Tricky" Negatives (Near-Boundary): These are the hard traps. These images are almost right but fail by a tiny detail.
    • Example: If the rule is "Exactly 3 cups," a "Near-Boundary" image might have 4 cups.
    • The Test: A smart AI that understands the rule will say "No, that's 4." A "cheating" AI that just guesses patterns might say "Yes" because it sees cups and gets confused.

3. The Experiment: Who Passed the Test?

The researchers put various AI models (including "Concept Bottleneck Models," which are designed to be transparent and explainable) into this Logic Gym.

The Results:

  • The Cheaters: Most models scored very high overall (around 80-90% accuracy). They looked like geniuses!
  • The Reality Check: When the researchers looked only at the "Tricky Negatives" (the Near-Boundary traps), the models' scores crashed to near-random guessing levels (around 30-40%).

The Metaphor:
Imagine a student taking a math test.

  • They get 95% on the easy questions (1 + 1 = ?).
  • They get 95% on the questions where the answer is obviously wrong (1 + 1 = 100?).
  • But on the hard questions (1 + 1 = 2.0001?), they fail completely.
  • Conclusion: The student didn't learn math; they just memorized that "1 + 1 usually equals 2" and guessed when things got weird.

4. The Few-Shot Challenge: Learning from a Few Examples

The researchers also tested a "Few-Shot" version (COCOLogic-V2-FS), where the AI only sees 24 examples per rule before being tested. This is like asking a student to learn a new language after reading just one page of a dictionary.

  • Traditional AI models struggled badly here. They couldn't figure out the rules from so little data.
  • Large Language Models (like GPT-5 or Claude) did better, but they still made mistakes. Sometimes they would guess the right idea but get the logic wrong (e.g., saying "There are many cups" instead of "There are exactly three").
  • The Bottleneck: The main problem wasn't the logic itself; it was perception. The AI often couldn't even count the objects correctly in the first place. If it thinks there are 4 cups when there are 3, it can't apply the logic rule, no matter how smart the logic engine is.

5. The Bottom Line

The paper concludes that visual inductive reasoning (figuring out complex rules from pictures) is still a huge, open challenge.

  • Current "explainable" AI models are good at separating the obvious from the silly, but they fail when the situation is tricky.
  • They rely on statistical shortcuts (guessing patterns) rather than truly understanding the logical rules.
  • The new dataset, COCOLogic-V2, provides a concrete way to stop these models from cheating and forces them to prove they actually understand the logic.

In short: We have built a better test to stop AI from faking its intelligence, and the results show that even our best models are still struggling to think logically about real-world images.

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 →