{"id":177008,"topic":"ai","source":"arxiv","title":"Learning Programs as Neural Networks for Generalization and Reuse","url":"https://arxiv.org/abs/2611.39825","url_hash":"5f85a4572341f88360b6c3658671efeb87236fc4","author":"Shoichiro Hara, Yuji Watanabe","summary":"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.","content":null,"image_url":null,"lang":"","published_at":"2026-11-29T16:19:11+00:00","fetched_at":"2026-12-01T04:05:04+00:00","status":"read","starred":0,"extract_state":"ok","summary_auto":null,"cluster_id":null,"extract_retries":0,"extract_error":null,"item_type":"paper","ref_id":"10.48550/arxiv.2611.39825","refs_json":"{\"authors\": [\"Shoichiro Hara\", \"Yuji Watanabe\"]}","doi":"10.48550/arxiv.2611.39825","arxiv_id":"2611.39825","paper_version":"v1","sources_json":"[{\"name\": \"arxiv\"}]","relevance_score":0.1,"relevance_method":"keyword","cited_by":null,"contract_version":"news_item.v1","format_contract_version":"news_item_formats.v1","dedup_url":"https://arxiv.org/abs/2611.39825","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1629,"usable_text_length":1629,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1629}},"news_item":{"id":177008,"canonical_url":"https://arxiv.org/abs/2611.39825","source_url":"https://arxiv.org/abs/2611.39825","title":"Learning Programs as Neural Networks for Generalization and Reuse","source_name":"arxiv","author":"Shoichiro Hara, Yuji Watanabe","published_at":"2026-11-29T16:19:11+00:00","locale":null,"topic":"ai","tags":[],"rss_summary":"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.","full_text":null,"excerpt":"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.","extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1629,"usable_text_length":1629,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1629}}},"display_formats":["compact","card","full","digest_section","json"]},"daily_stack_record":{"title":"Learning Programs as Neural Networks for Generalization and Reuse","url":"https://arxiv.org/abs/2611.39825","summary":"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.","source":"arxiv","date":"2026-11-29T16:19:11+00:00","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1629,"usable_text_length":1629,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1629}},"tags":[]},"fallback_formats":["markdown","json","html"],"actions":{"read":"/item/177008","export_markdown":"/api/items/177008/export?format=markdown","export_json":"/api/items/177008/export?format=json","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825"},"formats":{"full":{"id":177008,"title":"Learning Programs as Neural Networks for Generalization and Reuse","url":"https://arxiv.org/abs/2611.39825","source":"arxiv","author":"Shoichiro Hara, Yuji Watanabe","published_at":"2026-11-29T16:19:11+00:00","locale":null,"topic":"ai","tags":[],"excerpt":"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.","full_text":null,"reading_time_min":1,"extraction":{"state":"ok","confidence":0.5,"error":null,"explanation":"Medium confidence: summary fallback used without full text.","diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1629,"usable_text_length":1629,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1629}}},"quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1629,"usable_text_length":1629,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1629}},"actions":{"read":"/item/177008","export_markdown":"/api/items/177008/export?format=markdown","export_json":"/api/items/177008/export?format=json","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825"}},"digest":{"id":177008,"title":"Learning Programs as Neural Networks for Generalization and Reuse","url":"https://arxiv.org/abs/2611.39825","source":"arxiv","topic":"ai","published_at":"2026-11-29T16:19:11+00:00","excerpt":"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…","quality_bucket":"medium","quality_reason":"Medium confidence: summary fallback used without full text.","reading_time_min":1,"cluster_id":null},"card":{"display_title":"Learning Programs as Neural Networks for Generalization and Reuse","subtitle":"arxiv · 2026-11-29","summary":"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…","badges":["quality:medium"],"links":{"read":"/item/177008","original":"https://arxiv.org/abs/2611.39825","diagnose":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825"},"quality_warning":null},"export":{"title":"Learning Programs as Neural Networks for Generalization and Reuse","url":"https://arxiv.org/abs/2611.39825","summary":"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.","source":"arxiv","date":"2026-11-29T16:19:11+00:00","content":"","confidence":0.5,"diagnostics_url":"/api/diagnose?url=https%3A//arxiv.org/abs/2611.39825","quality_bucket":"medium","failure_kind":"none","retryable":false,"quality_reason":"Medium confidence: summary fallback used without full text.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"medium","confidence":0.5,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"Medium confidence: summary fallback used without full text.","operator_guidance":{"severity":"warning","recommended_action":"use_summary_with_caveat","next_step":"Use the available summary only with a visible quality caveat.","operator_label":"Use summary with caveat","can_retry":false,"can_use_summary":true,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"summary_only","label":"Summary only","has_full_text":false,"has_summary":true,"content_length":0,"summary_length":1629,"usable_text_length":1629,"source_field":"summary"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":0,"summary_length":1629}},"tags":[],"format_contract_version":"news_item_formats.v1"}}}