← Latest papers
💬 NLP

\textsc{DiARC}: Distinguishing Positive and Negative Samples Helps Improving ARC-like Reasoning Ability of Large Language Models

This paper proposes \textsc{DiARC}, a method that enhances the ARC-like reasoning abilities of large language models by constructing preference pairs with informative negative samples through visual transformations, rule inversion, and task-specific editing, thereby enabling models to distinguish between correct and incorrect solutions more effectively.

Original authors: Yuxuan Yang, Feiyang Li, Yile Wang

Published 2026-06-26
📖 4 min read☕ Coffee break read

Original authors: Yuxuan Yang, Feiyang Li, Yile Wang

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 Problem: Teaching AI to Solve Puzzles

Imagine you are trying to teach a student how to solve a visual puzzle. You show them a few examples: "Here is a red square turning into a blue circle. Here is a green triangle turning into a yellow star." Then, you give them a new shape and ask, "What does this turn into?"

This is the ARC (Abstraction and Reasoning Corpus) challenge. It's a test of pure logic and pattern recognition. While big AI models (LLMs) are great at writing poems or solving math problems, they struggle with these visual puzzles. They often guess randomly or get stuck because they haven't learned the deep rule behind the change.

The Old Way: Only Showing the Right Answer

Previously, researchers tried to fix this by showing the AI only the correct answers.

  • The Analogy: Imagine a teacher showing a student a math problem and only saying, "The answer is 5." The student memorizes that "5" is the answer to that specific problem, but they don't understand why it's 5. If the problem changes slightly, the student fails.
  • The Paper's Critique: The authors argue that just showing the "right" answer isn't enough. The AI needs to learn what not to do.

The New Idea: Learning from "Near-Miss" Mistakes

The authors propose a new method called DIARC. Their core idea is simple: To learn the right rule, you must also learn to spot the wrong rules.

  • The Analogy: Think of a master chef teaching an apprentice.
    • Old Way: The chef says, "This soup tastes perfect. Remember this taste."
    • DIARC Way: The chef says, "This soup tastes perfect. But look at these three other bowls: one has too much salt, one is missing the herbs, and one is burnt. They all look like soup, but they are wrong. Can you tell the difference?"

By showing the AI the "almost right" but actually wrong answers, the AI learns to distinguish the true pattern from the fake ones.

How They Make the "Wrong" Answers (The Three Tricks)

The paper describes three clever ways to create these "wrong" answers (negative samples) without changing the original puzzle:

  1. The Visual Tweak (Output-Level):

    • What they do: They take the correct answer and mess it up slightly. Maybe they shift the whole picture a tiny bit to the left, or they blur the edges.
    • The Metaphor: It's like taking a perfect photo and slightly tilting the camera or adding a little static noise. The photo still looks like the scene, but it's not exactly right.
  2. The Rule Flip (DSL-Level):

    • What they do: They look at the "code" or logic the AI uses to solve the puzzle. If the rule is "Move everything up," they flip it to "Move everything down."
    • The Metaphor: If the rule for a game is "Jump when you see a red light," they create a fake rule: "Jump when you see a green light." It sounds logical, but it's the opposite of the truth.
  3. The Smart Edit (Task-Specific):

    • What they do: They use a super-smart AI (like GPT-5.4) to rewrite the rule for a specific puzzle to be the "semantic opposite."
    • The Metaphor: If the puzzle is about "filling a bucket," the AI edits the rule to be about "emptying the bucket." It's a very specific, tricky mistake that looks like it could be right but isn't.

The Result: A Smarter Student

The researchers tested this method on six different puzzle benchmarks. They used three different open-source AI models and compared them to models that only learned from correct answers.

  • The Outcome: The models trained with DIARC (the "mistake-spotting" method) got significantly better scores.
  • The Highlight: Using a model called Qwen3, they achieved over 96% accuracy on some of the hardest puzzles. This beat many expensive, closed-source models and even specialized AI designed just for these tasks.

Summary

The paper argues that to make AI better at abstract reasoning, we shouldn't just feed it the right answers. We need to teach it to reject the wrong ones. By creating "near-miss" mistakes and training the AI to choose the right path over the tempting wrong paths, the AI learns the true logic behind the puzzles much faster and more effectively.

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 →