LinSATNet: The Positive Linear Satisfiability Neural Networks

Runzhong Wang, Yunhao Zhang, Ziao Guo, Tianyi Chen, Xiaokang Yang +1 more
2/12/2026

No official code found. Best implementation: Thinklab-SJTU/LinSATNet (93 stars, MIT, last commit 2024-04-12).

Abstract

Encoding constraints into neural networks is attractive. This paper studies how to introduce the popular positive linear satisfiability to neural networks. We propose the first differentiable satisfiability layer based on an extension of the classic Sinkhorn algorithm for jointly encoding multiple sets of marginal distributions. We further theoretically characterize the convergence property of the Sinkhorn algorithm for multiple marginals. In contrast to the sequential decision e.g.\ reinforcement learning-based solvers, we showcase our technique in solving constrained (specifically satisfiability) problems by one-shot neural networks, including i) a neural routing solver learned without supervision of optimal solutions; ii) a partial graph matching network handling graphs with unmatchable outliers on both sides; iii) a predictive network for financial portfolios with continuous constraints. To our knowledge, there exists no one-shot neural solver for these scenarios when they are formulated as satisfiability problems. Source code is available at https://github.com/Thinklab-SJTU/LinSATNet

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of our ICML 2023 paper "LinSATNet: The Positive Linear Satisfiability Neural Networks".

934PythonMay 25, 20232 years agoMIT

Similar Papers

Cite this paper

@article{wang2026linsatnet,
  title  = {LinSATNet: The Positive Linear Satisfiability Neural Networks},
  author = {Runzhong Wang and Yunhao Zhang and Ziao Guo and Tianyi Chen and Xiaokang Yang and Junchi Yan},
  year   = {2026},
  eprint = {2407.13917},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.13917},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.13917.svg)](https://codeofpaper.com/paper/2407.13917)

Discussion