Papers › Differentiable Inductive Logic Programming for Structured Examples

Differentiable Inductive Logic Programming for Structured Examples

2 Mar 2021arXiv:2103.01719archive 2025-07-28

Hikaru Shindo, Masaaki Nishino, Akihiro Yamamoto

The differentiable implementation of logic yields a seamless combination of symbolic reasoning and deep neural networks. Recent research, which has developed a differentiable framework to learn logic programs from examples, can even acquire reasonable solutions from noisy datasets. However, this framework severely limits expressions for solutions, e.g., no function symbols are allowed, and the shapes of clauses are fixed. As a result, the framework cannot deal with structured examples. Therefore we propose a new framework to learn logic programs from noisy and structured examples, including the following contributions. First, we propose an adaptive clause search method by looking through structured space, which is defined by the generality of the clauses, to yield an efficient search space for differentiable solvers. Second, we propose for ground atoms an enumeration algorithm, which determines a necessary and sufficient set of ground atoms to perform differentiable inference functions. Finally, we propose a new method to compose logic programs softly, enabling the system to deal with complex programs consisting of several clauses. Our experiments show that our new framework can learn logic programs from noisy and structured examples, such as sequences or trees. Our framework can be scaled to deal with complex programs that consist of several clauses with function symbols.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.01719")

Code

Syntology Ran 9 of 23 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 5 ran with no contract checked.

By repository: official repository: 23 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hkrsnd/dilp-st officialmentioned in paper report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 9 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
5ran
14unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hkrsnd/dilp-st. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Atom hkrsnd/dilp-st/src/clause_generator.py official repository ran · metamorphic tier: deterministic MIT (permissive) · acd256902db3d7da · report
Const hkrsnd/dilp-st/src/clause_generator.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 79758a0df2fbb970 · report
Predicate hkrsnd/dilp-st/src/clause_generator.py official repository ran MIT (permissive) · 8e94a3fefda05ceb · report
Term hkrsnd/dilp-st/src/clause_generator.py official repository ran MIT (permissive) · 00a5b4ee11ed489c · report
Var hkrsnd/dilp-st/src/clause_generator.py official repository ran fingerprinted MIT (permissive) · db81a46d2b6706f8 · report
flatten hkrsnd/dilp-st/src/clause_generator.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 1a922e4a8a94dba9 · report
get_disagree_index hkrsnd/dilp-st/src/clause_generator.py official repository ran · honoured contract MIT (permissive) · 88d01be925b6598e · report
get_disagreements hkrsnd/dilp-st/src/clause_generator.py official repository ran · our draft was wrong MIT (permissive) · 1307503a0ca46e08 · report
is_singleton hkrsnd/dilp-st/src/clause_generator.py official repository ran · violated contract fingerprinted MIT (permissive) · 74560ac0380fb5b5 · report
Clause hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 3613026564e05b5e · report
ClauseGenerator hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 190a226af393125b · report
FuncTerm hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · d817dcd7835646fc · report
InferModule hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · ab2f061a519c64f0 · report
RefinementGenerator hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · fda81194aa3906d6 · report
convert hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · ece9dfa2bd12d452 · report
find_subs_term hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · e28c5695ccf75788 · report
is_entailed hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · dc2069a3e3e2350f · report
occur_check hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 8434df103dd0829e · report
subs hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 13939b1b9513f421 · report
subs_list hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 8d19b6fe8156a952 · report
t_p hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · a48cee9bec30434c · report
t_p_n hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 552c5aa6d7f3973d · report
unify hkrsnd/dilp-st/src/clause_generator.py official repository unverified MIT (permissive) · 221082e2e2fad2e6 · report

Tasks

Inductive logic programming

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections