← Latest papers
🤖 AI

Honey, I shrunk the hypothesis space (through logical preprocessing)

This paper introduces a logical preprocessing approach using answer set programming to eliminate impossible rules from the hypothesis space of Inductive Logic Programming systems, thereby drastically reducing learning times while maintaining predictive accuracy across various domains.

Original authors: Andrew Cropper, Filipe Gouveia, David M. Cerna

Published 2026-05-18
📖 5 min read🧠 Deep dive

Original authors: Andrew Cropper, Filipe Gouveia, David M. Cerna

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 trying to teach a robot how to play a new game. You give the robot a rulebook (background knowledge) and some examples of good and bad moves (training data). The robot's job is to write its own set of rules to win the game.

The problem is that the robot is too eager. It tries to write every single possible rule it can think of, even the ones that are obviously nonsense. It might try to write a rule that says, "If a number is both even and odd, then you win." Since no number is both even and odd, this rule is useless. But the robot doesn't know that yet, so it wastes hours checking it.

This paper introduces a clever "pre-check" system called Shrinker. Think of Shrinker as a very strict editor who looks at the robot's rulebook before the robot even starts writing. The editor says, "Stop! We know for a fact that certain combinations of words can never make sense based on the rules of the universe we live in. Let's cross those out immediately so the robot doesn't waste time."

Here is how the paper explains this process using four types of "useless rules" it cuts out:

1. The Impossible Rules (Unsatisfiable)

Imagine a rule that says, "If a square is round, then you win."
In our world, a square can never be round. This is a logical impossibility.
The Analogy: It's like trying to build a house out of water. No matter how hard you try, it will never stand up.
What Shrinker does: It looks at the background knowledge (the facts we know are true) and realizes, "Hey, 'square' and 'round' are mutually exclusive." It deletes any rule that tries to combine them before the robot even considers them.

2. The Redundant Rules (Implication Reducible)

Imagine a rule that says, "If a number is a prime number greater than 2, and it is odd, then you win."
Well, if a number is a prime greater than 2, it must be odd. You don't need to say "and it is odd" because it's already implied. It's like saying, "If you are a bachelor, and you are unmarried, then you win." Being a bachelor means you are unmarried.
The Analogy: It's like packing a suitcase and putting a "Winter Coat" in it, and then also packing a "Heavy Jacket" and saying, "And also, I need a Heavy Jacket." You only need one of them; the second one is just extra weight.
What Shrinker does: It spots these "extra weight" words and removes them, making the rules shorter and faster to check.

3. The "One-Off" Rules (Recall Reducible)

Imagine a rule that says, "If a person has a mother named Alice, and that same person has a mother named Bob, then you win."
In the real world, a person usually has only one biological mother. If the background knowledge says a person has a mother, that mother is unique. You can't have two different mothers for the same slot.
The Analogy: It's like a lock that only has one key. If you try to use two different keys at the same time to open it, you know immediately that something is wrong.
What Shrinker does: It counts how many times things can happen. If it knows a person can only have one mother, it deletes any rule that tries to list two different mothers for the same person.

4. The "Always True" Rules (Singleton Reducible)

Imagine a rule that says, "If a list has a length, then you win."
Well, every list has a length. It's a fact of life. Checking if a list has a length is like checking if a fish has water. It's always true, so it doesn't help you distinguish between a winning move and a losing move.
The Analogy: It's like a security guard checking if a building has a roof. Every building has a roof, so this check tells the guard nothing about whether the building is safe or not. It's a waste of time.
What Shrinker does: It identifies these "always true" checks and removes them because they add no value to the decision-making process.

The Result: A Massive Speed Boost

The paper tested this "Shrinker" editor on many different tasks, from visual reasoning puzzles to learning the rules of board games.

  • Without Shrinker: The robot (an ILP system called Popper) would sometimes take 10 hours to find the right answer because it was sifting through millions of useless, impossible, or redundant rules.
  • With Shrinker: The editor spent just 10 seconds to cross out the nonsense. Then, the robot only had to search through the remaining, sensible rules. In many cases, the robot found the answer in 2 seconds.

The Bottom Line

The paper claims that by using logical reasoning to clean up the "junk" in the rulebook before the learning starts, they can make the learning process up to 1,800 times faster without losing any accuracy. They proved that they never throw away a "good" rule; they only throw away the "bad" ones that could never possibly be the best solution.

Important Limitations Mentioned:
The paper notes that this works best when the background knowledge is finite (like a list of facts) and assumes that what isn't written down is false (a "closed world"). If the world is infinite or noisy, this specific editor might get confused. But for the tasks they tested, it was a massive success.

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 →