Knowledge Refactoring for Inductive Program Synthesis
Sebastijan Dumancic, Tias Guns, Andrew Cropper
Abstract
Humans constantly restructure knowledge to use it more efficiently. Our goal is to give a machine learning system similar abilities so that it can learn more efficiently. We introduce the knowledge refactoring problem, where the goal is to restructure a learner's knowledge base to reduce its size and to minimise redundancy in it. We focus on inductive logic programming, where the knowledge base is a logic program. We introduce Knorf, a system which solves the refactoring problem using constraint optimisation. A key feature of Knorf is that, rather than simply removing knowledge, it also introduces new knowledge through predicate invention. We evaluate our approach on two domains: building Lego structures and real-world string transformations. Our experiments show that learning from refactored knowledge can improve predictive accuracies fourfold and reduce learning times by half.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FEDT: Supporting experiment design and execution in HCI fabrication research cites babble: Learning Better Abstractions with E-Graphs and Anti-unification
- Bayesian Program Learning by Decompiling Amortized Knowledge cites babble: Learning Better Abstractions with E-Graphs and Anti-unification
- Synthesizing DSLs for Few-Shot Learning cites babble: Learning Better Abstractions with E-Graphs and Anti-unification
- Scalable Knowledge Refactoring Using Constrained Optimisation cites babble: Learning Better Abstractions with E-Graphs and Anti-unification
Cited by top-tier papers5
- babble: Learning Better Abstractions with E-Graphs and Anti-unificationDavid Cao, Rose Kunkel, Chandrakana Nandi, Max Willsey et al.POPL 2023 · 38 citations
- FEDT: Supporting experiment design and execution in HCI fabrication researchValkyrie Savage, Harrison Goldstein, Nóra Püsök, Jia Yi Ren et al.UIST 2025 · 2 citations
- Bayesian Program Learning by Decompiling Amortized KnowledgeAlessandro B. Palmarini, Christopher G. Lucas, N. SiddharthICML 2024 · 2 citations
- Synthesizing DSLs for Few-Shot LearningPaul Krogmeier, P. MadhusudanOOPSLA 2025 · 1 citation
- Scalable Knowledge Refactoring Using Constrained OptimisationMinghao Liu, David M. Cerna, Filipe Gouveia, Andrew CropperAAAI 2025 · 1 citation
Builds on1
Related papers
- Generalisation through Negation and Predicate InventionDavid M. Cerna, Andrew CropperAAAI 2024 · 5 citations
- Learning Logic Programs Though Divide, Constrain, and ConquerAndrew CropperAAAI 2022 · 11 citations
- Learning Logic Programs by Discovering Where Not to SearchAndrew Cropper, Céline HocquetteAAAI 2023 · 3 citations
- Efficient Rule Induction by Ignoring Pointless RulesAndrew Cropper, David M. CernaAAAI 2026 · 1 citation
- Rule Induction in Knowledge Graphs Using Linear ProgrammingSanjeeb Dash, Joao P. GoncalvesAAAI 2023 · 5 citations
