[Paper Review] Learn to Explain Efficiently via Neural Logic Inductive Learning
This paper proposes Neural Logic Inductive Learning (NLIL), a differentiable inductive logic programming framework that efficiently learns long, interpretable first-order logic rules for model explanation. By decomposing the rule search space hierarchically and using attention mechanisms, NLIL achieves 10x longer rule search and 3x faster training than state-of-the-art methods, while scaling to large-scale datasets like Visual Genome with 1 million entities and maintaining strong predictive performance with minimal data.
The capability of making interpretable and self-explanatory decisions is essential for developing responsible machine learning systems. In this work, we study the learning to explain problem in the scope of inductive logic programming (ILP). We propose Neural Logic Inductive Learning (NLIL), an efficient differentiable ILP framework that learns first-order logic rules that can explain the patterns in the data. In experiments, compared with the state-of-the-art methods, we find NLIL can search for rules that are x10 times longer while remaining x3 times faster. We also show that NLIL can scale to large image datasets, i.e. Visual Genome, with 1M entities.
Motivation & Objective
- To address the lack of interpretability and scalability in traditional inductive logic programming (ILP) methods.
- To develop a differentiable, scalable ILP framework that learns globally consistent, human-interpretable first-order logic rules from relational data.
- To enable efficient rule learning for model explanation in supervised machine learning, particularly in vision and knowledge base tasks.
- To scale ILP to large datasets with millions of entities while maintaining rule expressiveness and predictive performance.
Proposed method
- NLIL introduces a hierarchical, divide-and-conquer strategy that decomposes the rule search space into three subspaces: rule structure, variable binding, and rule instantiation.
- It employs attention mechanisms to efficiently search over the hierarchical search space, enabling scalable exploration of long rules.
- The framework separates rule generation from rule evaluation, conditioning rule generation only on predicate types to ensure global consistency across the knowledge base.
- It uses a Transformer-based architecture with lightweight models per target predicate to improve efficiency and scalability.
- NLIL leverages scene graphs from image datasets as relational knowledge bases, converting them into KBs for rule induction.
- The method is trained end-to-end via differentiable relaxation of logical operations, allowing gradient-based optimization.
Experimental results
Research questions
- RQ1Can a differentiable ILP framework scale to large relational datasets with millions of entities while maintaining rule expressiveness?
- RQ2Can NLIL learn longer, more complex first-order logic rules than existing methods while remaining computationally efficient?
- RQ3Can the learned symbolic rules provide comparable predictive performance to dense neural models, especially with limited training data?
- RQ4Can the rules generated by NLIL offer more than superficial correlations, capturing meaningful, generalizable patterns in relational data?
Key findings
- NLIL achieves 10x longer rule search capability and 3x faster training speed compared to state-of-the-art methods like NeuralLP.
- On the Visual Genome dataset with 1 million entities, NLIL learns rules that achieve R@1 of 0.51 and R@5 of 0.52, outperforming a frequency baseline (R@1: 0.40) and approaching a supervised MLP-RCNN baseline (R@1: 0.53).
- With less than 1% of the training data, NLIL maintains a stable R@1 score, demonstrating strong data efficiency and generalization.
- The learned rules capture non-trivial, commonsense-like patterns (e.g., 'X is a person if it is inside a car and wearing clothing'), indicating they go beyond superficial correlations.
- NLIL scales efficiently with rule length: training time for rule length 32 in NLIL is comparable to rule length 3 in NeuralLP, due to its logarithmic search space growth.
- While NLIL underperforms RotatE on FB15K, its performance is comparable to TransE, and its symbolic rules remain interpretable and globally consistent.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.