Closed Loop Neural-Symbolic Learning via Integrating Neural Perception, Grammar Parsing, and Symbolic Reasoning

Qing Li, Siyuan Huang, Yining Hong, Yixin Chen, Ying Nian Wu +1 more
6/11/2020
stat.MLcs.AIcs.CV
rl

Official code: liqing-ustc/NGS (55 stars, Jupyter Notebook, last commit 2024-07-25).

Abstract

The goal of neural-symbolic computation is to integrate the connectionist and symbolist paradigms. Prior methods learn the neural-symbolic models using reinforcement learning (RL) approaches, which ignore the error propagation in the symbolic reasoning module and thus converge slowly with sparse rewards.

Show full abstract

In this paper, we address these issues and close the loop of neural-symbolic learning by (1) introducing the \textbf{grammar} model as a \textit{symbolic prior} to bridge neural perception and symbolic reasoning, and (2) proposing a novel \textbf{back-search} algorithm which mimics the top-down human-like learning procedure to propagate the error through the symbolic reasoning module efficiently. We further interpret the proposed learning framework as maximum likelihood estimation using Markov chain Monte Carlo sampling and the back-search algorithm as a Metropolis-Hastings sampler. The experiments are conducted on two weakly-supervised neural-symbolic tasks: (1) handwritten formula recognition on the newly introduced HWF dataset; (2) visual question answering on the CLEVR dataset. The results show that our approach significantly outperforms the RL methods in terms of performance, converging speed, and data efficiency. Our code and data are released at \url{https://liqing-ustc.github.io/NGS}.

View on arXivView PDF

Code Implementations(1)

liqing-ustc/NGSOfficial100%

Neural-Grammar-Symbolic Learning with Back-Search

555Jupyter Notebook, PythonJun 9, 20202 years ago
neural-symbolic

Similar Papers

Cite this paper

@article{li2020closed,
  title  = {Closed Loop Neural-Symbolic Learning via Integrating Neural Perception, Grammar Parsing, and Symbolic Reasoning},
  author = {Qing Li and Siyuan Huang and Yining Hong and Yixin Chen and Ying Nian Wu and Song-Chun Zhu},
  year   = {2020},
  eprint = {2006.06649},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.06649}
}

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/2006.06649.svg)](https://codeofpaper.com/paper/2006.06649)

Discussion