potentialpaper

From Rules to Vision: Symbolic Knowledge Injection and Rule Extraction under Limited Data

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Injecting human-written symboilc rules into a CNN lifts MNIST accuracy from 0.50 to 0.68 with one labelled image per class. Trained rules stay readable. Gains depend on rule quality and, how the rules are integrated.

Abstract. Neurosymbolic learning combines neural representation learning with explicit symbolic knowledge. Among its foundational approaches, rule-based knowledge injection offers a direct way to incorporate structured prior knowledge into a network's topology and initial weights. While this idea has shown value in other domains, its potential for modern image classification remains underexplored, although symbolic rules could provide useful prior structure when labelled data are scarce and support more inspectable models. We therefore adapt the classical knowledge-based artificial neural network (KBANN) framework to image classification and ask whether symbolic knowledge can compensate for very limited labelled data, and whether learned knowledge can later be extracted as readable rules. We implement the full injection-refinement-extraction lifecycle: predicates are grounded as deterministic functions of pixels, rules are translated into neural structure and initial weights, the network is refined through gradient learning, and rules are extracted after training. Controlled experiments separate four factors: rule source, predicate grounding, injection strength, and how the rule pathway is attached to the network. We also compare classical KBANN compilation with a signed projection that maps predicates directly to classes. With one labelled image per class, ten MNIST images in total, supplied digit rules raise balanced accuracy from 0.50220.5022 for a plain CNN to 0.61830.6183 with classical compilation and 0.68470.6847 with the signed projection. Prior benefit tracks standalone rule strength (r=0.97r=0.97), while permuted rules underperform the plain CNN and rules induced from the same ten labels provide no comparable gain. After training, extracted rules preserve the injected structure and reproduce network predictions with fidelity of 0.98140.9814--0.99030.9903, but recover no new antecedents. Knowledge injection can therefore reduce dependence on labelled data and leave inspectable structure behind, while its effectiveness depends strongly on how that knowledge is represented and integrated.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Desk rejectedforumreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 16:51 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…