References & Citations
Computer Science > Computation and Language
Title: Evaluating Step-by-Step Reasoning through Symbolic Verification
(Submitted on 16 Dec 2022 (v1), last revised 28 Mar 2024 (this version, v2))
Abstract: Pre-trained language models (LMs) have shown remarkable reasoning performance using explanations or chain-of-thoughts (CoT)) for in-context learning. On the other hand, these reasoning tasks are usually presumed to be more approachable for symbolic programming. To understand the mechanism of reasoning of LMs, we curate synthetic datasets containing equivalent (natural, symbolic) data pairs, where symbolic examples contain first-order logic rules and predicates from non-parametric knowledge bases (KBs), supporting automated verification of intermediate reasoning results. Then we revisit neuro-symbolic approaches and propose to learn from demonstrations containing logic rules and corresponding examples to iteratively reason over KBs, recovering Prolog's backward chaining algorithm and supporting automated verification of LMs' outputs. Comprehensive experiments are included to systematically compare LMLP with CoT in deductive reasoning settings, showing that LMLP enjoys more than $25\%$ higher accuracy than CoT on length generalization benchmarks even with smaller model sizes.
Submission history
From: Hanlin Zhang [view email][v1] Fri, 16 Dec 2022 19:30:01 GMT (239kb,D)
[v2] Thu, 28 Mar 2024 08:20:12 GMT (255kb,D)
Link back to: arXiv, form interface, contact.