Out-of-Distribution Generalization by Neural-Symbolic Joint Training
Anji Liu, Hongming Xu, Guy Van den Broeck, Yitao Liang
Abstract
This paper develops a novel methodology to simultaneously learn a neural network and extract generalized logic rules. Different from prior neural-symbolic methods that require background knowledge and candidate logical rules to be provided, we aim to induce task semantics with minimal priors. This is achieved by a two-step learning framework that iterates between optimizing neural predictions of task labels and searching for a more accurate representation of the hidden task semantics. Notably, supervision works in both directions: (partially) induced task semantics guide the learning of the neural network and induced neural predictions admit an improved semantic representation. We demonstrate that our proposed framework is capable of achieving superior out-of-distribution generalization performance on two tasks: (i) learning multi-digit addition, where it is trained on short sequences of digits and tested on long sequences of digits; (ii) predicting the optimal action in the Tower of Hanoi, where the model is challenged to discover a policy independent of the number of disks in the puzzle.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2cbca1d4-b45c-4853-a324-19faeacd12fbCited by top-tier papers2
- Shortcuts and Identifiability in Concept-based Models from a Neuro-Symbolic LensSamuele Bortolotti, Emanuele Marconato, Paolo Morettin, Andrea Passerini et al.NeurIPS 2025 · 17 citations
- Deciphering Raw Data in Neuro-Symbolic Learning with Provable GuaranteesLue Tao, Yu-Xuan Huang, Wang-Zhou Dai, Yuan JiangAAAI 2024 · 5 citations
Builds on2
Related papers
- In a Nutshell, the Human Asked for This: Latent Goals for Following Temporal SpecificationsBorja G. León, Murray Shanahan, Francesco BelardinelliICLR 2022 · 23 citations
- Drawing out of Distribution with Neuro-Symbolic Generative ModelsYichao Liang, Josh Tenenbaum, Tuan Anh Le, N. SiddharthNeurIPS 2022 · 12 citations
- Weakly Supervised Neural Symbolic Learning for Cognitive TasksJidong Tian, Yitian Li, Wenqing Chen, Liqiang Xiao et al.AAAI 2022 · 14 citations
- Constraints-Guided Diffusion Reasoner for Neuro-Symbolic LearningXuan Zhang, Zhijian Zhou, Weidi Xu, Yanting Miao et al.AAAI 2026
- What Do Hebbian Learners Learn? Reduction Axioms for Iterated Hebbian LearningCaleb Schultz Kisby, Saúl A. Blanco, Lawrence S. MossAAAI 2024 · 2 citations
