HONet: Data-Efficient Learning for Exact Cover Tasks via Hypergraph Optimization
Abstract
Lay Summary
Many problems require a computer to choose answers that satisfy strict rules, such as filling a Sudoku board without breaking row, column, or box constraints. In this type of problem, the rule structure is not only known in advance, but also fixed across examples; what changes from one puzzle to another are the clues or observations. Standard deep learning methods may still spend many examples learning patterns that reflect these fixed rules, which can make learning data-hungry. We introduce HONet, a learning system that separates the fixed rules of the problem from the information that must be learned from each example. Instead of asking the neural network to rediscover the rules, HONet uses a fixed rule-based optimization layer and trains the network to guide this layer toward the correct solution. This makes learning more data-efficient because the model can focus on choosing among rule-satisfying candidates. On Sudoku benchmarks, HONet reaches perfect accuracy with a small training set and remains robust when clues are very sparse. We also test it on image-based Sudoku and a related puzzle with extra inequality rules, showing both the usefulness of this division of labor and its current limits.