NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Boosting zero-shot learning through neuro-symbolic integration

Francesco Manigrasso, Fabrizio Lamberti, Lia MorraarXiv 2026 · DOI

It’s late, the coffee is cold, and you’re staring at a screen full of neural network architectures that seem to have forgotten how to reason. We’ve all been there. Deep learning is a powerhouse at pattern recognition, but it often lacks the "common sense" that symbolic logic provides.

This paper introduces the Fuzzy Logic Prototypical Network (FLPN), a framework that tries to give AI the best of both worlds: the raw learning power of a neural network and the structured reasoning of human logic.

TL;DR

FLPN uses Logic Tensor Networks (LTNs) to turn human-like rules (axioms) into mathematical constraints that guide how an AI learns. By teaching the model not just what an object looks like, but how it fits into a logical hierarchy (e.g., "a tiger is a feline"), it can recognize objects it has never seen before with surprising accuracy.

What Problem Does This Paper Address?

The authors tackle Zero-Shot Learning (ZSL). Imagine showing a child pictures of horses and then telling them, "A zebra is like a horse, but with black and white stripes." The child can likely identify a zebra the first time they see one. Standard AI, however, usually needs to see thousands of zebras to "get it."

The challenge in ZSL is bridging the gap between visual data and semantic descriptions. Most current models struggle with two things:

  1. Overfitting: They get so good at recognizing the "seen" classes during training that they fail to generalize to "unseen" ones.
  2. Exceptions: If a model expects a bird to have a visible tail, but the tail is hidden in a specific photo, the model might fail.

Methods

The core innovation is the integration of Logic Tensor Networks (LTNs). Think of LTNs as a translator that turns first-order logic (IF-THEN statements) into differentiable loss functions.

The FLPN architecture consists of three main parts:

  1. The Backbone: A standard feature extractor like ResNet-101 or a Vision Transformer (ViT).
  2. The Prototypical Network: Instead of just learning labels, the model learns "prototypes"—idealized points in a multi-dimensional space—for classes, macro-classes (like "feline" or "ungulate"), and even individual attributes (like "stripes").
  3. The Logic Layer: This is where the magic happens. The authors define a set of axioms (rules) that the model must satisfy during training.
The FLPN architecture combines visual feature extraction with a logic-based prototype network.

These axioms include:

  • Hierarchy: If an image is a "Tiger," it must also be a "Feline."
  • Attributes: If an image is a "Zebra," it should trigger the "Stripes" attribute.
  • Masking: To handle exceptions, the model is trained with a "masked" version of attributes, teaching it to stay robust even if a key feature (like a bird's tail) isn't visible.

The paper also explores two different ways to calculate these logical truths: standard LTN (operating in probability space) and logLTN (operating in log-probability space), as shown in their grounding table.

Grounding of logical connectives and aggregators used to turn logic into math.

Datasets

The authors tested FLPN on three heavy-hitters in the ZSL world:

  • AWA2 (Animals with Attributes 2): 50 animal classes with 85 attributes.
  • CUB (Caltech-UCSD Birds): A fine-grained dataset of 200 bird species.
  • SUN (Scene UNderstanding): 717 different types of scenes (offices, beaches, etc.).

Key Insights and Ideas

  • Logic as a Regularizer: Symbolic knowledge isn't just a post-processing step; it’s a "soft constraint" during training. It prevents the model from wandering into illogical parts of the feature space.
  • Attribute-Level Attention: The model doesn't just look at the whole image; it uses an attention mechanism to find where specific attributes (like "flippers" or "long neck") are located. This makes the model's decisions much more interpretable.
  • The Power of "Macro-classes": By grouping similar classes into larger categories (like "canines"), the model learns a more coherent semantic structure, which helps it "place" an unseen class correctly when it shares traits with seen ones.

Key Results

FLPN achieved state-of-the-art (SOTA) or near-SOTA results on the AWA2 and SUN benchmarks.

  • On AWA2, it reached a Harmonic Mean (a balance of seen and unseen accuracy) of 76.61%, outperforming previous neuro-symbolic methods.
  • In the Generalized ZSL setting (where the model has to distinguish between seen and unseen classes at the same time), FLPN showed a much better balance, avoiding the common trap of ignoring new classes in favor of familiar ones.
  • Efficiency: Unlike generative models that have to "hallucinate" synthetic data to train, FLPN is an embedding-based method, meaning it has significantly less computational overhead.

Limitations and Future Work

The model didn't quite hit SOTA on the CUB (Birds) dataset. The authors suspect this is because bird species are visually very similar, and their current "hasAttribute" logic might be too coarse for such fine-grained distinctions.

For future work, they suggest:

  • Hyperbolic Embeddings: Using a different type of geometry that is naturally better at representing hierarchies.
  • Language Models: Pulling in even richer descriptions from Large Language Models (LLMs) to build the knowledge base, rather than relying on fixed attribute lists.
  • Transductive Learning: Exploring how the model performs when it has access to unlabeled images from the "unseen" classes during training.

Summary updated

BibTeX
@misc{manigrasso2026boosting,
  author = {Francesco Manigrasso and Fabrizio Lamberti and Lia Morra},
  title = {{Boosting zero-shot learning through neuro-symbolic integration}},
  year = {2026},
  eprint = {2611.30358},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30358},
}
Figure