SlideShare a Scribd company logo
1 of 16
Download to read offline
Logical Abduction and an
Application in Business Rules
Management
Tobias Trapp – AOK Systems GmbH
SAP Mentor
No Aliens and no Fitness Tips
in this Talk about Abduction!
• deduction means inference in which
the conclusion is of no greater
generality than the premises
• correlation describes statistical
dependencies but does not imply
causation
• abduction: we want to explain a
phenomenon in terms of
consequence in a formal model
Applications
Diagnosis of complex systems:
• medical diagnosis
• root cause of system failure in
computing centers
• analysis of rule systems
outcome
The Era of Cognitive Computing
just started
short history of artificial intelligence:
• great hopes in the 80s - but limited success
• in some areas huge success – now imple-
mented everywhere: machine learning,
speech and pattern recognition…
• with Watson IBM wants to establish a new
generation of expert systems with
disruptive properties
• one grand challenge of AI is solved: the
world‘s strongest Go player Lee Seedol is in
top condition and plays offensive modern
Go - Alpha Go plays „like a goddess“ and
won three times in a row
The Next Challenge for Human Mind:
Understanding Advanced Algorithms
• We don‘t understand why Neural Networks are
successful – we need new mathematical toolset
• In other branches logicians started to create new
foundations for mathematics that are accessible
for computers:
– proofs are programs
– With this and related theories new functional
programming languages like Coq & Agda have been
created which helped understanding complex proofs
• IMHO we need a similar bold approach to
understand Deep Learning
My Belief
• cognitive computing will come – apps will get smarter and
will become personal assistants
• users will expect that ERP applications will become smarter
• IT systems using this technology have disruptive potential
since they exploit the data and knowledge within ERP
implementations and usage simpler
• developers should start to learn how to use the different
techniques in AI
History of Abductive Reasoning
• Charles Sanders Peirce is said to be one of
the founders of statistics, but also worked
on semiotic and logics
• every paper in the area of abduction
mentions him as first philosopher who did
research on this topic
• today different approaches, f.e.:
– probabilistic logic
– non-monotonic logic
Formal Definition from Wikipedia
• we would like to restrict to „simple“ explanations – i.e. minimal or minimum models
(inspired by Occam‘s razor)
• this principle means that we should not make unneccessary assumptions – but it does
not means that the simplest explanation is always true
• non-monotic logic if we introduce a preference relation between explanantions
• abduction can be defined for other logics like decidable fragments of First Order Logic
A Tidbit for Theorists:
Abduction is Harder than Deduction
• we restrict to propositional logic
• verifiying a deduction is a satisfiability problem
• checking whether an explanation is correct is at a
higher level of the Polynomial Hierarchy:
– The complexity of logic-based abduction, Thomas
Eiter & Georg Gottlob, Journal of the ACM, Volume
42 Issue 1, Jan. 1995, Pages 3-42
– What makes propositional abduction
tractable, Gustav Nordh & Bruno Zanuttini,
Artificial Intelligence, Volume 172, Issue 10,
June 2008, Pages 1245–1284
• Experience says that most real world use cases are
solvable!
abduction
satisfiability
A Use Case for Abduction
• we are using rule systems implemented in BRFplus to
automate business problems
• when checking SAP business objects often dozens of
conspicious features are detected
• we want to support the official in charge to understand the
root cause
Decision Table
#procure-
ments A
#procure-
ments B
#procure-
ments C
#procure-
ments D
#procure-
ments D
Age : 3 Error
> 10 < 6 <12
> 4 < 1
> 5 > 0
> 5 > 0
< 8 < 6
Instance
#procure-
ments A : 20
#procure-
ments B : 2
#procure-
ments C : 0
#procure-
ments D : 0
#procure-
ments D : 2
Age : 3 Error
> 10 < 6 <12 detected
> 4 < 1 detected
> 5 > 0 detected
> 5 > 0
< 8 < 6 detected
Explanation Using Classical Abduction
#procure-
ments A : 20
#procure-
ments B : 2
#procure-
ments C : 0
#procure-
ments D : 0
#procure-
ments D : 2
Age : 3 Error
> 10 < 6 <12 detected
> 4 < 1 detected
> 5 > 0 detected
> 5 > 0
< 8 < 6 detected
Rectification as Minimum
Hitting Set Problem
• which attributes of a business object have to
be altered so that the object passes all checks
• we are looking to a minimum set which with
these properties which is equivalent to a
Hitting Set Problem
• Hitting Set is well understood and one of
„easier“ NP-hard problems and there are
many approaches like kernelization…
Rectification
#procure-
ments A : 20
#procure-
ments B : 2
#procure-
ments C : 0
#procure-
ments D : 0
#procure-
ments D : 2
Age : 3 Error
> 10 < 6 <12 detected
> 4 < 1 detected
> 5 > 0 detected
> 5 > 0
< 8 < 6 detected
Summary
• Rectification as special case of abduction
• getting metadata and computation results from an BRFplus
decision table is simple due to API
• implementation in Python because implementation of data
structures for advanced algorithms is difficult in ABAP
• tests with random data promising
• ask me for a working draft of my work if you are interested in
details

More Related Content

Viewers also liked

Экспертные системы
Экспертные системыЭкспертные системы
Экспертные системыОтшельник
 
The Science of UX Design
The Science of UX DesignThe Science of UX Design
The Science of UX DesignZack Naylor
 
Inference rulesproofmethods
Inference rulesproofmethodsInference rulesproofmethods
Inference rulesproofmethodsRajendran
 
Logical Inference in RTE
Logical Inference in RTELogical Inference in RTE
Logical Inference in RTEKilian Evang
 
Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Lakshya Gupta
 
CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1David Wood
 
Bca ii dfs u-3 tree and graph
Bca  ii dfs u-3 tree and graphBca  ii dfs u-3 tree and graph
Bca ii dfs u-3 tree and graphRai University
 
Mayo aug1, jsm slides (3)
Mayo aug1, jsm slides (3)Mayo aug1, jsm slides (3)
Mayo aug1, jsm slides (3)jemille6
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contrapositionAbdur Rehman
 
NUMA-optimized Parallel Breadth-first Search on Multicore Single-node System
NUMA-optimized Parallel Breadth-first Search on Multicore Single-node SystemNUMA-optimized Parallel Breadth-first Search on Multicore Single-node System
NUMA-optimized Parallel Breadth-first Search on Multicore Single-node SystemYuichiro Yasui
 
10a chaptertenpowerpoint new
10a chaptertenpowerpoint new10a chaptertenpowerpoint new
10a chaptertenpowerpoint newsagebennet
 
Legal Reasoning & Problem Solving
Legal Reasoning & Problem SolvingLegal Reasoning & Problem Solving
Legal Reasoning & Problem SolvingAlex Olteanu
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid argumentsAbdur Rehman
 
Expert systems in artificial intelegence
Expert systems in artificial intelegenceExpert systems in artificial intelegence
Expert systems in artificial intelegenceAnna Aquarian
 

Viewers also liked (20)

Экспертные системы
Экспертные системыЭкспертные системы
Экспертные системы
 
The Science of UX Design
The Science of UX DesignThe Science of UX Design
The Science of UX Design
 
Inference rulesproofmethods
Inference rulesproofmethodsInference rulesproofmethods
Inference rulesproofmethods
 
Logical Inference in RTE
Logical Inference in RTELogical Inference in RTE
Logical Inference in RTE
 
Lecture5
Lecture5Lecture5
Lecture5
 
Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)
 
CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1CPSC 125 Ch 2 Sec 1
CPSC 125 Ch 2 Sec 1
 
Bca ii dfs u-3 tree and graph
Bca  ii dfs u-3 tree and graphBca  ii dfs u-3 tree and graph
Bca ii dfs u-3 tree and graph
 
Mayo aug1, jsm slides (3)
Mayo aug1, jsm slides (3)Mayo aug1, jsm slides (3)
Mayo aug1, jsm slides (3)
 
Backtracking
BacktrackingBacktracking
Backtracking
 
Proofs by contraposition
Proofs by contrapositionProofs by contraposition
Proofs by contraposition
 
NUMA-optimized Parallel Breadth-first Search on Multicore Single-node System
NUMA-optimized Parallel Breadth-first Search on Multicore Single-node SystemNUMA-optimized Parallel Breadth-first Search on Multicore Single-node System
NUMA-optimized Parallel Breadth-first Search on Multicore Single-node System
 
Ai 2
Ai 2Ai 2
Ai 2
 
Expert System
Expert SystemExpert System
Expert System
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
10a chaptertenpowerpoint new
10a chaptertenpowerpoint new10a chaptertenpowerpoint new
10a chaptertenpowerpoint new
 
Legal Reasoning & Problem Solving
Legal Reasoning & Problem SolvingLegal Reasoning & Problem Solving
Legal Reasoning & Problem Solving
 
Valid &amp; invalid arguments
Valid &amp; invalid argumentsValid &amp; invalid arguments
Valid &amp; invalid arguments
 
Kinds of Eductive Inference
Kinds of Eductive InferenceKinds of Eductive Inference
Kinds of Eductive Inference
 
Expert systems in artificial intelegence
Expert systems in artificial intelegenceExpert systems in artificial intelegence
Expert systems in artificial intelegence
 

Similar to Logical Abduction and an Application on Business Rules Management

Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...Analytics India Magazine
 
HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...
HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...
HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...Sri Ambati
 
Dev buchan 30 proven tips
Dev buchan 30 proven tipsDev buchan 30 proven tips
Dev buchan 30 proven tipsBill Buchan
 
software requirement engineering
software requirement engineeringsoftware requirement engineering
software requirement engineeringdeviyasharwin
 
software requirement engineering
software requirement engineeringsoftware requirement engineering
software requirement engineeringdeviyasharwin
 
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...Flink Forward
 
SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)
SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)
SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)Laura Chiticariu
 
Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019
Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019
Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019Dhiana Deva
 
Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018mark madsen
 
Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...
Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...
Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...Massimo Cenci
 
Lecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptxLecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptxGracePeter10
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithmsiqbalphy1
 
MLSEV Virtual. Supervised vs Unsupervised
MLSEV Virtual. Supervised vs UnsupervisedMLSEV Virtual. Supervised vs Unsupervised
MLSEV Virtual. Supervised vs UnsupervisedBigML, Inc
 
Technology in financial services
Technology in financial servicesTechnology in financial services
Technology in financial servicesLuis Caldeira
 
Technology in financial services
Technology in financial servicesTechnology in financial services
Technology in financial servicesLuis Caldeira
 
Lecture 05 problem solving through ai
Lecture 05 problem solving through aiLecture 05 problem solving through ai
Lecture 05 problem solving through aiHema Kashyap
 
In the age of Big Data, what role for Software Engineers?
In the age of Big Data, what role for Software Engineers?In the age of Big Data, what role for Software Engineers?
In the age of Big Data, what role for Software Engineers?CS, NcState
 
Machine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data DemystifiedMachine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data DemystifiedOmid Vahdaty
 

Similar to Logical Abduction and an Application on Business Rules Management (20)

Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
Deciphering AI - Unlocking the Black Box of AIML with State-of-the-Art Techno...
 
HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...
HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...
HR Analytics: Using Machine Learning to Predict Employee Turnover - Matt Danc...
 
Dev buchan 30 proven tips
Dev buchan 30 proven tipsDev buchan 30 proven tips
Dev buchan 30 proven tips
 
software requirement engineering
software requirement engineeringsoftware requirement engineering
software requirement engineering
 
software requirement engineering
software requirement engineeringsoftware requirement engineering
software requirement engineering
 
Algorithms 1
Algorithms 1Algorithms 1
Algorithms 1
 
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
Virtual Flink Forward 2020: Cogynt: Flink without code - Samantha Chan, Aslam...
 
SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)
SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)
SystemT: Declarative Information Extraction (invited talk at MIT CSAIL)
 
Presentacion diapositiva 40
Presentacion diapositiva 40Presentacion diapositiva 40
Presentacion diapositiva 40
 
Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019
Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019
Machine Learning: Opening the Pandora's Box - Dhiana Deva @ QCon São Paulo 2019
 
Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018Architecting a Platform for Enterprise Use - Strata London 2018
Architecting a Platform for Enterprise Use - Strata London 2018
 
Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...
Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...
Recipes 6 of Data Warehouse and Business Intelligence - Naming convention tec...
 
Lecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptxLecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptx
 
Data Structure and Algorithms
Data Structure and AlgorithmsData Structure and Algorithms
Data Structure and Algorithms
 
MLSEV Virtual. Supervised vs Unsupervised
MLSEV Virtual. Supervised vs UnsupervisedMLSEV Virtual. Supervised vs Unsupervised
MLSEV Virtual. Supervised vs Unsupervised
 
Technology in financial services
Technology in financial servicesTechnology in financial services
Technology in financial services
 
Technology in financial services
Technology in financial servicesTechnology in financial services
Technology in financial services
 
Lecture 05 problem solving through ai
Lecture 05 problem solving through aiLecture 05 problem solving through ai
Lecture 05 problem solving through ai
 
In the age of Big Data, what role for Software Engineers?
In the age of Big Data, what role for Software Engineers?In the age of Big Data, what role for Software Engineers?
In the age of Big Data, what role for Software Engineers?
 
Machine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data DemystifiedMachine Learning Essentials Demystified part1 | Big Data Demystified
Machine Learning Essentials Demystified part1 | Big Data Demystified
 

More from Tobias Trapp

Is your ABAP Code Ready for the Cloud?
Is your ABAP Code Ready for the Cloud?Is your ABAP Code Ready for the Cloud?
Is your ABAP Code Ready for the Cloud?Tobias Trapp
 
ABAP State of the Art
ABAP State of the ArtABAP State of the Art
ABAP State of the ArtTobias Trapp
 
Bitter sweet lessons - out way to Fiori
Bitter sweet lessons - out way to FioriBitter sweet lessons - out way to Fiori
Bitter sweet lessons - out way to FioriTobias Trapp
 
Analytics & Fiori with the Analysis Path Framework
Analytics & Fiori with the Analysis Path FrameworkAnalytics & Fiori with the Analysis Path Framework
Analytics & Fiori with the Analysis Path FrameworkTobias Trapp
 
Coolcats don't Use Customzing
Coolcats don't Use CustomzingCoolcats don't Use Customzing
Coolcats don't Use CustomzingTobias Trapp
 
Building Next Generation Apps using DSAM - session at sitHH 2014
Building Next Generation Apps using DSAM - session at sitHH 2014Building Next Generation Apps using DSAM - session at sitHH 2014
Building Next Generation Apps using DSAM - session at sitHH 2014Tobias Trapp
 
BRFplus in der Prozessautomatisierung
BRFplus in der ProzessautomatisierungBRFplus in der Prozessautomatisierung
BRFplus in der ProzessautomatisierungTobias Trapp
 
Lecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of HalleLecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of HalleTobias Trapp
 
Abap package concept
Abap package conceptAbap package concept
Abap package conceptTobias Trapp
 
Custom Development of Enterprise Services
Custom Development of Enterprise ServicesCustom Development of Enterprise Services
Custom Development of Enterprise ServicesTobias Trapp
 
SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...Tobias Trapp
 

More from Tobias Trapp (12)

Is your ABAP Code Ready for the Cloud?
Is your ABAP Code Ready for the Cloud?Is your ABAP Code Ready for the Cloud?
Is your ABAP Code Ready for the Cloud?
 
ABAP State of the Art
ABAP State of the ArtABAP State of the Art
ABAP State of the Art
 
Bitter sweet lessons - out way to Fiori
Bitter sweet lessons - out way to FioriBitter sweet lessons - out way to Fiori
Bitter sweet lessons - out way to Fiori
 
Analytics & Fiori with the Analysis Path Framework
Analytics & Fiori with the Analysis Path FrameworkAnalytics & Fiori with the Analysis Path Framework
Analytics & Fiori with the Analysis Path Framework
 
Coolcats don't Use Customzing
Coolcats don't Use CustomzingCoolcats don't Use Customzing
Coolcats don't Use Customzing
 
Building Next Generation Apps using DSAM - session at sitHH 2014
Building Next Generation Apps using DSAM - session at sitHH 2014Building Next Generation Apps using DSAM - session at sitHH 2014
Building Next Generation Apps using DSAM - session at sitHH 2014
 
BRFplus in der Prozessautomatisierung
BRFplus in der ProzessautomatisierungBRFplus in der Prozessautomatisierung
BRFplus in der Prozessautomatisierung
 
Lecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of HalleLecture about SAP HANA and Enterprise Comupting at University of Halle
Lecture about SAP HANA and Enterprise Comupting at University of Halle
 
SAP Reuse Tools
SAP Reuse Tools SAP Reuse Tools
SAP Reuse Tools
 
Abap package concept
Abap package conceptAbap package concept
Abap package concept
 
Custom Development of Enterprise Services
Custom Development of Enterprise ServicesCustom Development of Enterprise Services
Custom Development of Enterprise Services
 
SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...
 

Recently uploaded

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 

Recently uploaded (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 

Logical Abduction and an Application on Business Rules Management

  • 1. Logical Abduction and an Application in Business Rules Management Tobias Trapp – AOK Systems GmbH SAP Mentor
  • 2. No Aliens and no Fitness Tips in this Talk about Abduction! • deduction means inference in which the conclusion is of no greater generality than the premises • correlation describes statistical dependencies but does not imply causation • abduction: we want to explain a phenomenon in terms of consequence in a formal model
  • 3. Applications Diagnosis of complex systems: • medical diagnosis • root cause of system failure in computing centers • analysis of rule systems outcome
  • 4. The Era of Cognitive Computing just started short history of artificial intelligence: • great hopes in the 80s - but limited success • in some areas huge success – now imple- mented everywhere: machine learning, speech and pattern recognition… • with Watson IBM wants to establish a new generation of expert systems with disruptive properties • one grand challenge of AI is solved: the world‘s strongest Go player Lee Seedol is in top condition and plays offensive modern Go - Alpha Go plays „like a goddess“ and won three times in a row
  • 5. The Next Challenge for Human Mind: Understanding Advanced Algorithms • We don‘t understand why Neural Networks are successful – we need new mathematical toolset • In other branches logicians started to create new foundations for mathematics that are accessible for computers: – proofs are programs – With this and related theories new functional programming languages like Coq & Agda have been created which helped understanding complex proofs • IMHO we need a similar bold approach to understand Deep Learning
  • 6. My Belief • cognitive computing will come – apps will get smarter and will become personal assistants • users will expect that ERP applications will become smarter • IT systems using this technology have disruptive potential since they exploit the data and knowledge within ERP implementations and usage simpler • developers should start to learn how to use the different techniques in AI
  • 7. History of Abductive Reasoning • Charles Sanders Peirce is said to be one of the founders of statistics, but also worked on semiotic and logics • every paper in the area of abduction mentions him as first philosopher who did research on this topic • today different approaches, f.e.: – probabilistic logic – non-monotonic logic
  • 8. Formal Definition from Wikipedia • we would like to restrict to „simple“ explanations – i.e. minimal or minimum models (inspired by Occam‘s razor) • this principle means that we should not make unneccessary assumptions – but it does not means that the simplest explanation is always true • non-monotic logic if we introduce a preference relation between explanantions • abduction can be defined for other logics like decidable fragments of First Order Logic
  • 9. A Tidbit for Theorists: Abduction is Harder than Deduction • we restrict to propositional logic • verifiying a deduction is a satisfiability problem • checking whether an explanation is correct is at a higher level of the Polynomial Hierarchy: – The complexity of logic-based abduction, Thomas Eiter & Georg Gottlob, Journal of the ACM, Volume 42 Issue 1, Jan. 1995, Pages 3-42 – What makes propositional abduction tractable, Gustav Nordh & Bruno Zanuttini, Artificial Intelligence, Volume 172, Issue 10, June 2008, Pages 1245–1284 • Experience says that most real world use cases are solvable! abduction satisfiability
  • 10. A Use Case for Abduction • we are using rule systems implemented in BRFplus to automate business problems • when checking SAP business objects often dozens of conspicious features are detected • we want to support the official in charge to understand the root cause
  • 11. Decision Table #procure- ments A #procure- ments B #procure- ments C #procure- ments D #procure- ments D Age : 3 Error > 10 < 6 <12 > 4 < 1 > 5 > 0 > 5 > 0 < 8 < 6
  • 12. Instance #procure- ments A : 20 #procure- ments B : 2 #procure- ments C : 0 #procure- ments D : 0 #procure- ments D : 2 Age : 3 Error > 10 < 6 <12 detected > 4 < 1 detected > 5 > 0 detected > 5 > 0 < 8 < 6 detected
  • 13. Explanation Using Classical Abduction #procure- ments A : 20 #procure- ments B : 2 #procure- ments C : 0 #procure- ments D : 0 #procure- ments D : 2 Age : 3 Error > 10 < 6 <12 detected > 4 < 1 detected > 5 > 0 detected > 5 > 0 < 8 < 6 detected
  • 14. Rectification as Minimum Hitting Set Problem • which attributes of a business object have to be altered so that the object passes all checks • we are looking to a minimum set which with these properties which is equivalent to a Hitting Set Problem • Hitting Set is well understood and one of „easier“ NP-hard problems and there are many approaches like kernelization…
  • 15. Rectification #procure- ments A : 20 #procure- ments B : 2 #procure- ments C : 0 #procure- ments D : 0 #procure- ments D : 2 Age : 3 Error > 10 < 6 <12 detected > 4 < 1 detected > 5 > 0 detected > 5 > 0 < 8 < 6 detected
  • 16. Summary • Rectification as special case of abduction • getting metadata and computation results from an BRFplus decision table is simple due to API • implementation in Python because implementation of data structures for advanced algorithms is difficult in ABAP • tests with random data promising • ask me for a working draft of my work if you are interested in details