SyncAI.news, a Varaisys broadcasting
Learning Programs as Neural Networks for Generalization and Reuse
SH

Shoichiro Hara, Yuji Watanabe

· 1 min read

ResearcharXiv cs.AI

Learning Programs as Neural Networks for Generalization and Reuse

arXiv:2611.39825v1 Announce Type: new Abstract: We investigate knowledge acquisition through human-like logical reasoning by learning executable computations from examples and retaining them for later use. Generalization is sought through acquiring a program that expresses the rule behind the examples. Neural NP4G represents programs as networks of computational nodes and directed connections, jointly learns their structure and numerical parameters, and accumulates acquired programs as reusable automatically defined functions (ADFs). We assume access to a detector that checks candidate behavior and guides acceptance or correction. We evaluate this approach on relational reasoning tasks with known specifications, where faithful logical extraction and equivalence checking prove that each accepted circuit implements its target on every input in the declared domain under real arithmetic. In a 160-run detector comparison, feeding the exact detectors' counterexamples back into training increased verified acquisition on both edge reversal and edge symmetrization. In the main experiment, selecting the first program verified by the equivalence oracle among ten seeds per task yielded one library covering all fourteen tasks. With the selected dependencies held fixed for downstream tasks, acquisition succeeded in 74/100 primary and 22/40 auxiliary attempts. The learned circuit for reachability within six edges composed two previously acquired relations, for paths of at most two and at most four edges, in the opposite order from the target formula. We proved that this circuit computes the target reachability relation on every finite graph in the declared domain.

Original source

This story was published by arXiv cs.AI and written by Shoichiro Hara, Yuji Watanabe. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News