Introduction: The Challenge of Solution Multiplicity
Neural networks have shown remarkable success in various domains, yet they often struggle with combinatorial puzzles like Sudoku or N-Queens when multiple valid solutions exist. While a human or a symbolic solver only needs to find one valid completion, standard neural training objectives—such as cross-entropy—implicitly assume a single ground truth. When faced with multiple valid targets, these models attempt to predict an "average" of all solutions, leading to outputs that satisfy none of the constraints.
This phenomenon, termed solution multiplicity, causes a significant performance drop. For instance, a state-of-the-art Sudoku solver achieving 96% accuracy on unique-solution puzzles drops to below 25% when multiple solutions are possible. This paper formalizes the One-of-Many Learning (1oML) problem: training a model to output exactly one correct solution from a set of many valid options.
Methodology: From Greedy Selection to SELECTR
The authors investigate non-autoregressive models that predict entire structured outputs in a single pass. They evaluate three primary training strategies:
- Naïve Objective: Standard training that treats all valid solutions as equally required targets, which is mathematically proven to be an inconsistent estimator in 1oML scenarios.
- MINLOSS (Greedy Approach): This method selects the valid solution closest to the model's current prediction for backpropagation. While an improvement, it is prone to local minima as the model "locks in" to a target based on its initial, untrained state.
- SELECTR (RL-based Selection): To overcome the limitations of greedy selection, the authors propose SELECTR, a Reinforcement Learning-based framework.
As shown in the architecture diagram, SELECTR utilizes a Selection Module ($S_\phi$) that acts as an RL agent. For a given input $x$, the agent outputs a probability distribution over the set of valid solutions $\mathbf{Y_x}$. It is rewarded based on the "learnability" of the chosen target, typically measured by the Hamming distance between the main model's prediction and the selected solution. This mechanism allows the system to explore different valid solutions early in training before exploiting the ones most compatible with the model's emerging internal representations.
Experimental Setup and Datasets
The framework was tested across three distinct Constraint Satisfaction Problems (CSPs):
- N-Queens: Placing queens on a board without mutual attacks. Models were trained on 10x10 boards and tested on 11x11 to evaluate generalization.
- Futoshiki: A grid puzzle involving inequality constraints.
- Sudoku: The authors developed a custom dataset by removing clues from standard 17-clue puzzles to guarantee multiple solutions, creating a rigorous benchmark for 1oML.
Key Results and Insights
The SELECTR framework demonstrated substantial improvements over baseline methods. In Sudoku, where the Naïve approach achieved only 9.13% accuracy on multi-solution queries, SELECTR reached 81.73%—a 72-percentage-point increase. Similar gains were observed in N-Queens (up to 79.72%) and Futoshiki (up to 76.40%).
A critical insight from this work is that multiplicity should be treated as a structural feature rather than noise. Unlike "Partial Label Learning," where only one label is truly correct, 1oML deals with sets where every target is valid. The success of SELECTR highlights that global exploration via RL is superior to local greedy strategies in navigating these complex solution spaces.
Conclusion
By explicitly modeling solution multiplicity, SELECTR bridges the gap between neural learning and symbolic reasoning. While traditional solvers find puzzles with many solutions easier, neural networks require specialized frameworks like 1oML to avoid the "averaging" trap. Future work may extend these concepts to autoregressive models or hybrid neuro-symbolic systems.
Summary updated