Lune

ICLR2022Top-tier venue

Neural Models for Output-Space Invariance in Combinatorial Problems

Yatin Nandwani, Vidit Jain, Mausam, Parag Singla

Abstract

Recently many neural models have been proposed to solve combinatorial puzzles by implicitly learning underlying constraints using their solved instances, such as sudoku or graph coloring (GCP). One drawback of the proposed architectures, which are often based on Graph Neural Networks (GNN) (Zhou et al., 2020) , is that they cannot generalize across the size of the output space from which variables are assigned a value, for example, set of colors in a GCP, or board-size in sudoku. We call the output space for the variables as 'value-set'. While many works have demonstrated generalization of GNNs across graph size, there has been no study on how to design a GNN for achieving value-set invariance for problems that come from the same domain. For example, learning to solve 16 × 16 sudoku after being trained on only 9 × 9 sudokus, or coloring a 7 colorable graph after training on 4 colorable graphs. In this work, we propose novel methods to extend GNN based architectures to achieve value-set invariance. Specifically, our model builds on recently proposed Recurrent Relational Networks (RRN) (Palm et al., 2018) . Our first approach exploits the graph-size invariance of GNNs by converting a multi-class node classification problem into a binary node classification problem. Our second approach works directly with multiple classes by adding multiple nodes corresponding to the values in the value-set, and then connecting variable nodes to value nodes depending on the problem initialization. Our experimental evaluation on three different combinatorial problems demonstrates that both our models perform well on our novel problem, compared to a generic neural reasoner. Between two of our models, we observe an inherent trade-off: while the binarized model gives better performance when trained on smaller value-sets, multi-valued model is much more memory efficient, resulting in improved performance when trained on larger value-sets, where binarized model fails to train.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Size-Invariant Graph Representations for Graph Classification Extrapolations cites From Local Structures to Size Generalization in Graph Neural Networks
  • Size-Invariant Graph Representations for Graph Classification Extrapolations cites Towards Scale-Invariant Graph-related Problem Solving by Iterative Homogeneous GNNs
  • A Solver-free Framework for Scalable Learning in Neural ILP Architectures cites Neural Learning of One-of-Many Solutions for Combinatorial Problems in Structured Output Spaces
  • A Solver-free Framework for Scalable Learning in Neural ILP Architectures cites Symbolic Network: Generalized Neural Policies for Relational MDPs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. A Solver-free Framework for Scalable Learning in Neural ILP ArchitecturesYatin Nandwani, Rishabh Ranjan, Mausam, Parag SinglaNeurIPS 2022 · 13 citations

Builds on5

  1. From Local Structures to Size Generalization in Graph Neural NetworksGilad Yehudai, Ethan Fetaya, Eli A. Meirom, Gal Chechik et al.ICML 2021 · 167 citations
  2. Size-Invariant Graph Representations for Graph Classification ExtrapolationsBeatrice Bevilacqua, Yangze Zhou, Bruno RibeiroICML 2021 · 124 citations
  3. Towards Scale-Invariant Graph-related Problem Solving by Iterative Homogeneous GNNsHao Tang, Zhiao Huang, Jiayuan Gu, Bao-Liang Lu et al.NeurIPS 2020 · 54 citations
  4. Symbolic Network: Generalized Neural Policies for Relational MDPsSankalp Garg, Aniket Bajpai, MausamICML 2020 · 39 citations
  5. Neural Learning of One-of-Many Solutions for Combinatorial Problems in Structured Output SpacesYatin Nandwani, Deepanshu Jindal, Mausam, Parag SinglaICLR 2021 · 14 citations

Related papers

  1. Learning to Search and Searching to Learn for Generalization in PlanningMichael Aichmüller, Yannik Hesse, Hector GeffnerICML 2026
  2. Symbol-Equivariant Recurrent Reasoning ModelsRichard Freinschlag, Timo Bertram, Erich Kobler, Andreas Mayr et al.ICML 2026
  3. What Planning Problems Can A Relational Neural Network Solve?Jiayuan Mao, Tomás Lozano-Pérez, Joshua B. Tenenbaum, Leslie Pack KaelblingNeurIPS 2023 · 13 citations
  4. Can Q-Learning with Graph Networks Learn a Generalizable Branching Heuristic for a SAT Solver?Vitaly Kurin, Saad Godil, Shimon Whiteson, Bryan CatanzaroNeurIPS 2020 · 77 citations
  5. Graph Neural Network Based Action Ranking for PlanningRajesh Mangannavar, Stefan Lee, Alan Fern, Prasad TadepalliNeurIPS 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines