SlideShare a Scribd company logo
1 of 7
Download to read offline
EMPOWERED NEGATIVE SPECIALIZATION IN
INDUCTIVE LOGIC PROGRAMMING
Stefano Ferilli, Andrea Pazienza, and Floriana Esposito
Friday 25th September 2015
Introduction
Inductive Logic Programming aims at learning concepts from
examples.
Two refinement operators:
generalization: refines hypothesis that does not account for a
positive example,
specialization: refines hypothesis that erroneously
accounts for a negative example.
The addition of negative information may allow to learn a
broader range of concepts.
2
Specialization Operator
Specializing: adding proper literals to a clause that is
inconsistent w. r. t. a negative example, in order to avoid its
covering that example.
Residual ∆j(E, C) of an Example E w. r. t. a Clause C: all the
literals in the example that are not involved in the
θOI-subsumption test, after the antisubstitution phase.
The space of single consistent negative downward refinements does
not ensure completeness w. r. t. the previous positive examples.
3
Example: Edible Mushrooms
A mushroom m is described by the following features:
a stem s, a cap c, spores p, gills g, dots d.
Positive examples: P1 m :- s, c, p, g. P2 m :- s, c, d.
Least General Generalization: C1 m :- s, c.
Negative example: N1 m :- s, c, p, g, d.
Residuals:
∆1(P1, C1) {p, g} ∆2(P2, C1) {d} ∆3(N1, C1) {p, g, d}.
Correct refinements of C1 could be:
C2 m :- s, c, ¬(p, d). or C2 m :- s, c, ¬(g, d).
So, we might invent a new predicate n, defined as
n :- p, d. or n :- g, d.
and specialize C1 in C1
m :- s, c, ¬n.
I.e., an edible mushroom must not have both spores and dots.
4
Extended Negative Downward Refinement
Challenge: determine a minimal subset of the negative
residual.
The search space is represented as a binary tree. To restrict the
search space:
Each vertex is a candidate definition.
The number of literals decreases as the depth of the vertex
increases.
Derive two subsets from the whole negative residual,
based on a pair of literals in it.
The tree levels are explored until the 2-literal level is
reached.
If any of the vertexes is able to restore consistency, the level
immediately above is scanned, and so on until a suitable
set of literals is found, or the specialization fails.
5
Consider a hypothesis: C h :- a, b., four positive examples:
P1 h :- a, b, c, d, e. P2 h :- a, b, e, f, g.
P3 h :- a, b, c, e, f. P4 h :- a, b, c, d, f, g.
and a negative one: N h :- a, b, c, d, e, f, g.
No two-literal solutions exist
c,d,e,f,g
c,e,f,g
c,f,g e,f,g
d,e,f,g
e,f,g d,f,g
c,d
c,e d,e
Figure: Minimal residual search space Example
Invented predicate: n :- c, f , g.
Specialize C in C h :- a, b, ¬n.
6
Evaluation
Figure: Runtime (y-axis) by number of literals in the residuals and
number of examples for each setting (x-axis).
7

More Related Content

More from Andrea Pazienza

Mining Arguments from Online Debating Systems
Mining Arguments from Online Debating SystemsMining Arguments from Online Debating Systems
Mining Arguments from Online Debating SystemsAndrea Pazienza
 
Synthesis of Argumentation Graphs by Matrix Factorization
Synthesis of Argumentation Graphs by Matrix FactorizationSynthesis of Argumentation Graphs by Matrix Factorization
Synthesis of Argumentation Graphs by Matrix FactorizationAndrea Pazienza
 
Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...
Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...
Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...Andrea Pazienza
 
Clustering Underlying Stock Trends via NMF
Clustering Underlying Stock Trends via NMFClustering Underlying Stock Trends via NMF
Clustering Underlying Stock Trends via NMFAndrea Pazienza
 
An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...
An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...
An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...Andrea Pazienza
 
An Abstract Argumentation-based Strategy for Reading Order Detection
An Abstract Argumentation-based Strategy for Reading Order DetectionAn Abstract Argumentation-based Strategy for Reading Order Detection
An Abstract Argumentation-based Strategy for Reading Order DetectionAndrea Pazienza
 

More from Andrea Pazienza (6)

Mining Arguments from Online Debating Systems
Mining Arguments from Online Debating SystemsMining Arguments from Online Debating Systems
Mining Arguments from Online Debating Systems
 
Synthesis of Argumentation Graphs by Matrix Factorization
Synthesis of Argumentation Graphs by Matrix FactorizationSynthesis of Argumentation Graphs by Matrix Factorization
Synthesis of Argumentation Graphs by Matrix Factorization
 
Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...
Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...
Constructing and Evaluating Bipolar Weighted Argumentation Frameworks for Onl...
 
Clustering Underlying Stock Trends via NMF
Clustering Underlying Stock Trends via NMFClustering Underlying Stock Trends via NMF
Clustering Underlying Stock Trends via NMF
 
An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...
An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...
An Authority Degree-based Evaluation Strategy for Abstract Argumentation Fram...
 
An Abstract Argumentation-based Strategy for Reading Order Detection
An Abstract Argumentation-based Strategy for Reading Order DetectionAn Abstract Argumentation-based Strategy for Reading Order Detection
An Abstract Argumentation-based Strategy for Reading Order Detection
 

Recently uploaded

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Recently uploaded (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Empowered Negative Specialization in Inductive Logic Programming

  • 1. EMPOWERED NEGATIVE SPECIALIZATION IN INDUCTIVE LOGIC PROGRAMMING Stefano Ferilli, Andrea Pazienza, and Floriana Esposito Friday 25th September 2015
  • 2. Introduction Inductive Logic Programming aims at learning concepts from examples. Two refinement operators: generalization: refines hypothesis that does not account for a positive example, specialization: refines hypothesis that erroneously accounts for a negative example. The addition of negative information may allow to learn a broader range of concepts. 2
  • 3. Specialization Operator Specializing: adding proper literals to a clause that is inconsistent w. r. t. a negative example, in order to avoid its covering that example. Residual ∆j(E, C) of an Example E w. r. t. a Clause C: all the literals in the example that are not involved in the θOI-subsumption test, after the antisubstitution phase. The space of single consistent negative downward refinements does not ensure completeness w. r. t. the previous positive examples. 3
  • 4. Example: Edible Mushrooms A mushroom m is described by the following features: a stem s, a cap c, spores p, gills g, dots d. Positive examples: P1 m :- s, c, p, g. P2 m :- s, c, d. Least General Generalization: C1 m :- s, c. Negative example: N1 m :- s, c, p, g, d. Residuals: ∆1(P1, C1) {p, g} ∆2(P2, C1) {d} ∆3(N1, C1) {p, g, d}. Correct refinements of C1 could be: C2 m :- s, c, ¬(p, d). or C2 m :- s, c, ¬(g, d). So, we might invent a new predicate n, defined as n :- p, d. or n :- g, d. and specialize C1 in C1 m :- s, c, ¬n. I.e., an edible mushroom must not have both spores and dots. 4
  • 5. Extended Negative Downward Refinement Challenge: determine a minimal subset of the negative residual. The search space is represented as a binary tree. To restrict the search space: Each vertex is a candidate definition. The number of literals decreases as the depth of the vertex increases. Derive two subsets from the whole negative residual, based on a pair of literals in it. The tree levels are explored until the 2-literal level is reached. If any of the vertexes is able to restore consistency, the level immediately above is scanned, and so on until a suitable set of literals is found, or the specialization fails. 5
  • 6. Consider a hypothesis: C h :- a, b., four positive examples: P1 h :- a, b, c, d, e. P2 h :- a, b, e, f, g. P3 h :- a, b, c, e, f. P4 h :- a, b, c, d, f, g. and a negative one: N h :- a, b, c, d, e, f, g. No two-literal solutions exist c,d,e,f,g c,e,f,g c,f,g e,f,g d,e,f,g e,f,g d,f,g c,d c,e d,e Figure: Minimal residual search space Example Invented predicate: n :- c, f , g. Specialize C in C h :- a, b, ¬n. 6
  • 7. Evaluation Figure: Runtime (y-axis) by number of literals in the residuals and number of examples for each setting (x-axis). 7