SlideShare a Scribd company logo
1 of 14
© 2015 IBM Corporation
Rules in Artificial Intelligence
Dec 2015 – Presentation at Ecole 42
Pierre Feillet – IBM Decision automation architect
feillet@fr.ibm.com
© 2015 IBM Corporation
Agenda
2
 Origins
 Expert System -> Inference Engine -> Rules
 Current state
 From raw inference engine to Entreprise decision automation
 Business Rules in Bluemix
© 2015 IBM Corporation
RULES TO MIMIC HUMAN MIND
From Expert Systems to Operation Decision Management
© 2015 IBM Corporation
Expert Systems
4
 An expert system is a computer system that emulates the decision-making ability
of a human expert. Expert systems are designed to solve complex problems by
reasoning about knowledge, represented primarily as if–then rules rather than
through conventional procedural code.
 The first expert systems were created in the 1970s and then proliferated in the
1980s. Expert systems were among the first truly successful forms of AI software.
Expert systems were introduced by the Stanford Heuristic Programming Project.
Applied to domains where expertise was highly valued and complex, such as
diagnosing infectious diseases (Mycin).
 The typical expert system consisted of a knowledge base and an inference engine.
 The knowledge base stored facts about the world.
 The inference engine applied logical rules to the knowledge base and deduced
new knowledge. This process would iterate as each new fact in the knowledge
base could trigger additional rules in the inference engine.
© 2015 IBM Corporation
Rule Logic
5
 2 primarily modes of rule inference: forward chaining and backward chaining.
 Forward chaining starts with the known facts and asserts new facts.
Ex: Socrate is Human so he is mortal
 Backward chaining starts with goals, and works backward to determine what facts
must be asserted so that the goals can be achieved.
Ex: Is Socrate mortal? It would search through the knowledge base and
determine if Socrates was Human and if so would assert he is also Mortal.
 Can include a common technique was to integrate the inference engine with a
user interface to ask questions when facts are not enough and would then use
that information accordingly.
© 2015 IBM Corporation
Rule Logic
6
 An inference engine cycles through three sequential steps: match rules, select
rules, and execute rules. The execution of the rules will often result in new facts or
goals being added to the knowledge base which will trigger the cycle to repeat.
This cycle continues until no new rules can be matched.
 In the first step, match rules, the inference engine finds all of the rules that are
triggered by the current contents of the knowledge base. In forward chaining the
engine looks for rules where the antecedent (left hand side) matches some fact in
the knowledge base. In backward chaining the engine looks for antecedents that
can satisfy one of the current goals.
 In the second step select rules, the inference engine prioritizes the various rules
that were matched to determine the order to execute them.
 In the final step, execute rules, the engine executes each matched rule in the
order determined in step two and then iterates back to step one again. The cycle
continues until no new rules are matched.
 Rule engine algorithms: RETE, IBM Fastpath & Sequential, etc
 Stateless & stateful processing
© 2015 IBM Corporation
From Expert Systems to Operational Decision Management
7
 Goal: Empower Business Users to author,
test, simulate, deploy their decision logic
 Bring a Business Model on the top of Java,
XML, JSON, COBOL, etc
 Add high level rule artifacts: Decision Table
& Trees
 Provide near natural language DSLs with
editors to write your rules in your preferred
locale: Chinese, English
 Integrate the rule engine into a server to
scale, and hot deploy ruleset in a 24/7
manner
 Trace decisions for auditability
 Cloud
 PaaS & SaaS
Rule
engine
Business
Model
Localized
Business
Languages
Decision
warehouse
Decision
Server
Testing &
Simulation
Business
Rules
Tools Cloud
© 2015 IBM Corporation
IBM BUSINESS RULES
Business rules as a service in IBM Bluemix
© 2015 IBM Corporation
Your Application
Externalize Decisions from Applications into Business Rules
Manage decision logic independently from applications
Your Application
Decision logic
 Natural language rules can be easily read
 Externalized rules are easy to change
 Centralized rules enable reuse and
consistency
 Rules written in software code cannot be
read easily
 Hard coded rules are difficult to change
 Rules intertwined within applications
cannot be reused by other systems
Business Rules
© 2015 IBM Corporation
IBM Business Rules, a Smarter Process high value service
Familiar Environment for Authoring
Developers can download an Eclipse
based authoring tool and author rules in a
familiar user-friendly environment.
Separate Business Logic
Business logic is authored separately from
the application which enables easier
change in business policy / logic and
codified capture of business policies,
practices and regulations..
Business logic is easily expressed with
business rules to automate decisions with
the fidelity of a subject matter expert.
Bridge Business Users and Developers
Deploy Versioned Business Logic
Multiple versions of the Business logic can
be tested and deployed in the same
Business Rules Service. Switching,
upgrading, sharing business logic across
applications has never been easier.
Enables developers to spend less time recoding and testing when the
business policy changes. The Business Rules service minimizes your
code changes by keeping business logic separate from application logic.
Business Rules
© 2015 IBM Corporation
The Business Rules service simplifies the experience of creating and
managing mobile app business logic – making apps more adaptable
© 2015 IBM Corporation
Developing and deploying applications using the Business Rules
service
IBM Bluemix
One
app
Another
app
Business Rules
service instance
Author business rules with Rule
Designer plug-ins for Eclipse
Deploy
business
rules
Develop and push app code
Call the
service
Users access
apps from their
devices
Non-Bluemix apps
can call the service
too
Call the service
© 2015 IBM Corporation
Wrap up
13
 Rules
 From 70s IA to today enterprise decision management
 A large number of companies leverage some kinds of business rules (finance, banking)
 Empower developers and business users to automate decision making
 Provides transparency and explanation
 Dynamic deployment
 Rules are based on causality while Big Data & Machine Learning are based on correlation
 Perspectives to bridge rules & ML
 Try Business Rules in Bluemix https://console.ng.bluemix.net on London or Sydney
datacenters
Business Rules
© 2015 IBM Corporation
Q & A
14

More Related Content

What's hot

Heuristics Search Techniques in AI
Heuristics Search Techniques in AI Heuristics Search Techniques in AI
Heuristics Search Techniques in AI
Bharat Bhushan
 

What's hot (20)

AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
Information Extraction
Information ExtractionInformation Extraction
Information Extraction
 
Divide and conquer
Divide and conquerDivide and conquer
Divide and conquer
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
State space search
State space searchState space search
State space search
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
 
Bruteforce algorithm
Bruteforce algorithmBruteforce algorithm
Bruteforce algorithm
 
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
 
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
Artificial Intelligence (AI) | Prepositional logic (PL)and first order predic...
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Daa notes 3
Daa notes 3Daa notes 3
Daa notes 3
 
Lecture 3 general problem solver
Lecture 3 general problem solverLecture 3 general problem solver
Lecture 3 general problem solver
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AI
 
Structured Knowledge Representation
Structured Knowledge RepresentationStructured Knowledge Representation
Structured Knowledge Representation
 
String matching algorithm
String matching algorithmString matching algorithm
String matching algorithm
 
Lecture 1 introduction to parallel and distributed computing
Lecture 1   introduction to parallel and distributed computingLecture 1   introduction to parallel and distributed computing
Lecture 1 introduction to parallel and distributed computing
 
First order predicate logic (fopl)
First order predicate logic (fopl)First order predicate logic (fopl)
First order predicate logic (fopl)
 
Heuristics Search Techniques in AI
Heuristics Search Techniques in AI Heuristics Search Techniques in AI
Heuristics Search Techniques in AI
 

Viewers also liked

Poster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure DiagnosisPoster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure Diagnosis
Viralkumar Jayswal
 
1ii. Mandarine.Tech AI MINT - JOIN US AS A THOUGHT LEADER - edited
1ii. Mandarine.Tech AI  MINT - JOIN US AS A THOUGHT LEADER - edited1ii. Mandarine.Tech AI  MINT - JOIN US AS A THOUGHT LEADER - edited
1ii. Mandarine.Tech AI MINT - JOIN US AS A THOUGHT LEADER - edited
David von Ackerman
 
Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligence
Albert Orriols-Puig
 

Viewers also liked (20)

Extending and integrating a hybrid knowledge representation system into the c...
Extending and integrating a hybrid knowledge representation system into the c...Extending and integrating a hybrid knowledge representation system into the c...
Extending and integrating a hybrid knowledge representation system into the c...
 
Key Expert Systems Concepts
Key Expert Systems ConceptsKey Expert Systems Concepts
Key Expert Systems Concepts
 
Poster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure DiagnosisPoster-An Expert System for Car Failure Diagnosis
Poster-An Expert System for Car Failure Diagnosis
 
Prepping the Analytics organization for Artificial Intelligence evolution
Prepping the Analytics organization for Artificial Intelligence evolutionPrepping the Analytics organization for Artificial Intelligence evolution
Prepping the Analytics organization for Artificial Intelligence evolution
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Expert System - Artificial intelligence
Expert System - Artificial intelligenceExpert System - Artificial intelligence
Expert System - Artificial intelligence
 
Introduction to artificial intelligence
Introduction to artificial intelligenceIntroduction to artificial intelligence
Introduction to artificial intelligence
 
Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial Intelligence
 
Expert Systems
Expert SystemsExpert Systems
Expert Systems
 
Artificial Intelligence in Project Management by Dr. Khaled A. Hamdy
Artificial Intelligence in Project Management by  Dr. Khaled A. HamdyArtificial Intelligence in Project Management by  Dr. Khaled A. Hamdy
Artificial Intelligence in Project Management by Dr. Khaled A. Hamdy
 
"Smart Data Web: Connecting data and extracting knowledge", Prof. Dr. Hans Us...
"Smart Data Web: Connecting data and extracting knowledge", Prof. Dr. Hans Us..."Smart Data Web: Connecting data and extracting knowledge", Prof. Dr. Hans Us...
"Smart Data Web: Connecting data and extracting knowledge", Prof. Dr. Hans Us...
 
1ii. Mandarine.Tech AI MINT - JOIN US AS A THOUGHT LEADER - edited
1ii. Mandarine.Tech AI  MINT - JOIN US AS A THOUGHT LEADER - edited1ii. Mandarine.Tech AI  MINT - JOIN US AS A THOUGHT LEADER - edited
1ii. Mandarine.Tech AI MINT - JOIN US AS A THOUGHT LEADER - edited
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificialintelligenceandexpertsystems 121119234025-phpapp02
Artificialintelligenceandexpertsystems 121119234025-phpapp02Artificialintelligenceandexpertsystems 121119234025-phpapp02
Artificialintelligenceandexpertsystems 121119234025-phpapp02
 
Artificial intelligence
Artificial intelligence Artificial intelligence
Artificial intelligence
 
Artificial Intelligence
Artificial Intelligence Artificial Intelligence
Artificial Intelligence
 
Artificial Intelligence for Automated Decision Support Project
Artificial Intelligence for Automated Decision Support ProjectArtificial Intelligence for Automated Decision Support Project
Artificial Intelligence for Automated Decision Support Project
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligence
 

Similar to Rules in Artificial Intelligence

Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
Jeff Long
 
Drools Presentation for Tallink.ee
Drools Presentation for Tallink.eeDrools Presentation for Tallink.ee
Drools Presentation for Tallink.ee
Anton Arhipov
 
Businesses involved in mergers and acquisitions must exercise due di.docx
Businesses involved in mergers and acquisitions must exercise due di.docxBusinesses involved in mergers and acquisitions must exercise due di.docx
Businesses involved in mergers and acquisitions must exercise due di.docx
dewhirstichabod
 
Autonomic Computing by- Sandeep Jadhav
Autonomic Computing by- Sandeep JadhavAutonomic Computing by- Sandeep Jadhav
Autonomic Computing by- Sandeep Jadhav
Sandep Jadhav
 
Cs633-1 Enterprise Architecture Foundation
Cs633-1 Enterprise Architecture FoundationCs633-1 Enterprise Architecture Foundation
Cs633-1 Enterprise Architecture Foundation
Casey Hudson
 

Similar to Rules in Artificial Intelligence (20)

IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
IBM Paris Bluemix Meetup #12 - Ecole 42 - 9 décembre 2015
 
The Key Differences Between Rule-Based AI And Machine Learning
The Key Differences Between Rule-Based AI And Machine LearningThe Key Differences Between Rule-Based AI And Machine Learning
The Key Differences Between Rule-Based AI And Machine Learning
 
X-Analysis Application Process Mapping
X-Analysis Application Process MappingX-Analysis Application Process Mapping
X-Analysis Application Process Mapping
 
Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
 
Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
 
Business rules-extraction
Business rules-extractionBusiness rules-extraction
Business rules-extraction
 
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
INTERNAL Assign no   207( JAIPUR NATIONAL UNI)INTERNAL Assign no   207( JAIPUR NATIONAL UNI)
INTERNAL Assign no 207( JAIPUR NATIONAL UNI)
 
App store and SAM strategy
App store and SAM strategyApp store and SAM strategy
App store and SAM strategy
 
Applying DevOps for more reliable Public Sector Software Delivery
Applying DevOps for more reliable Public Sector Software DeliveryApplying DevOps for more reliable Public Sector Software Delivery
Applying DevOps for more reliable Public Sector Software Delivery
 
Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)Cmsc411(Pascuappt Report)
Cmsc411(Pascuappt Report)
 
Drools Presentation for Tallink.ee
Drools Presentation for Tallink.eeDrools Presentation for Tallink.ee
Drools Presentation for Tallink.ee
 
Ibm itsm portfolio
Ibm itsm portfolioIbm itsm portfolio
Ibm itsm portfolio
 
Secret Twists to Efficiently Develop Reactive Software Systems
Secret Twists to Efficiently Develop Reactive Software SystemsSecret Twists to Efficiently Develop Reactive Software Systems
Secret Twists to Efficiently Develop Reactive Software Systems
 
Motadata product itsm overview
Motadata product itsm overviewMotadata product itsm overview
Motadata product itsm overview
 
Businesses involved in mergers and acquisitions must exercise due di.docx
Businesses involved in mergers and acquisitions must exercise due di.docxBusinesses involved in mergers and acquisitions must exercise due di.docx
Businesses involved in mergers and acquisitions must exercise due di.docx
 
Aligning the Fast & the Slow: The Reality of Multi-Speed IT
Aligning the Fast & the Slow: The Reality of Multi-Speed ITAligning the Fast & the Slow: The Reality of Multi-Speed IT
Aligning the Fast & the Slow: The Reality of Multi-Speed IT
 
Mendix Essentials Presentatie Gerolf Roovers26/08/2011
Mendix Essentials Presentatie Gerolf Roovers26/08/2011Mendix Essentials Presentatie Gerolf Roovers26/08/2011
Mendix Essentials Presentatie Gerolf Roovers26/08/2011
 
Autonomic Computing by- Sandeep Jadhav
Autonomic Computing by- Sandeep JadhavAutonomic Computing by- Sandeep Jadhav
Autonomic Computing by- Sandeep Jadhav
 
Mike Schleif - Executive Biography
Mike Schleif - Executive BiographyMike Schleif - Executive Biography
Mike Schleif - Executive Biography
 
Cs633-1 Enterprise Architecture Foundation
Cs633-1 Enterprise Architecture FoundationCs633-1 Enterprise Architecture Foundation
Cs633-1 Enterprise Architecture Foundation
 

Recently uploaded

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
panagenda
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Rules in Artificial Intelligence

  • 1. © 2015 IBM Corporation Rules in Artificial Intelligence Dec 2015 – Presentation at Ecole 42 Pierre Feillet – IBM Decision automation architect feillet@fr.ibm.com
  • 2. © 2015 IBM Corporation Agenda 2  Origins  Expert System -> Inference Engine -> Rules  Current state  From raw inference engine to Entreprise decision automation  Business Rules in Bluemix
  • 3. © 2015 IBM Corporation RULES TO MIMIC HUMAN MIND From Expert Systems to Operation Decision Management
  • 4. © 2015 IBM Corporation Expert Systems 4  An expert system is a computer system that emulates the decision-making ability of a human expert. Expert systems are designed to solve complex problems by reasoning about knowledge, represented primarily as if–then rules rather than through conventional procedural code.  The first expert systems were created in the 1970s and then proliferated in the 1980s. Expert systems were among the first truly successful forms of AI software. Expert systems were introduced by the Stanford Heuristic Programming Project. Applied to domains where expertise was highly valued and complex, such as diagnosing infectious diseases (Mycin).  The typical expert system consisted of a knowledge base and an inference engine.  The knowledge base stored facts about the world.  The inference engine applied logical rules to the knowledge base and deduced new knowledge. This process would iterate as each new fact in the knowledge base could trigger additional rules in the inference engine.
  • 5. © 2015 IBM Corporation Rule Logic 5  2 primarily modes of rule inference: forward chaining and backward chaining.  Forward chaining starts with the known facts and asserts new facts. Ex: Socrate is Human so he is mortal  Backward chaining starts with goals, and works backward to determine what facts must be asserted so that the goals can be achieved. Ex: Is Socrate mortal? It would search through the knowledge base and determine if Socrates was Human and if so would assert he is also Mortal.  Can include a common technique was to integrate the inference engine with a user interface to ask questions when facts are not enough and would then use that information accordingly.
  • 6. © 2015 IBM Corporation Rule Logic 6  An inference engine cycles through three sequential steps: match rules, select rules, and execute rules. The execution of the rules will often result in new facts or goals being added to the knowledge base which will trigger the cycle to repeat. This cycle continues until no new rules can be matched.  In the first step, match rules, the inference engine finds all of the rules that are triggered by the current contents of the knowledge base. In forward chaining the engine looks for rules where the antecedent (left hand side) matches some fact in the knowledge base. In backward chaining the engine looks for antecedents that can satisfy one of the current goals.  In the second step select rules, the inference engine prioritizes the various rules that were matched to determine the order to execute them.  In the final step, execute rules, the engine executes each matched rule in the order determined in step two and then iterates back to step one again. The cycle continues until no new rules are matched.  Rule engine algorithms: RETE, IBM Fastpath & Sequential, etc  Stateless & stateful processing
  • 7. © 2015 IBM Corporation From Expert Systems to Operational Decision Management 7  Goal: Empower Business Users to author, test, simulate, deploy their decision logic  Bring a Business Model on the top of Java, XML, JSON, COBOL, etc  Add high level rule artifacts: Decision Table & Trees  Provide near natural language DSLs with editors to write your rules in your preferred locale: Chinese, English  Integrate the rule engine into a server to scale, and hot deploy ruleset in a 24/7 manner  Trace decisions for auditability  Cloud  PaaS & SaaS Rule engine Business Model Localized Business Languages Decision warehouse Decision Server Testing & Simulation Business Rules Tools Cloud
  • 8. © 2015 IBM Corporation IBM BUSINESS RULES Business rules as a service in IBM Bluemix
  • 9. © 2015 IBM Corporation Your Application Externalize Decisions from Applications into Business Rules Manage decision logic independently from applications Your Application Decision logic  Natural language rules can be easily read  Externalized rules are easy to change  Centralized rules enable reuse and consistency  Rules written in software code cannot be read easily  Hard coded rules are difficult to change  Rules intertwined within applications cannot be reused by other systems Business Rules
  • 10. © 2015 IBM Corporation IBM Business Rules, a Smarter Process high value service Familiar Environment for Authoring Developers can download an Eclipse based authoring tool and author rules in a familiar user-friendly environment. Separate Business Logic Business logic is authored separately from the application which enables easier change in business policy / logic and codified capture of business policies, practices and regulations.. Business logic is easily expressed with business rules to automate decisions with the fidelity of a subject matter expert. Bridge Business Users and Developers Deploy Versioned Business Logic Multiple versions of the Business logic can be tested and deployed in the same Business Rules Service. Switching, upgrading, sharing business logic across applications has never been easier. Enables developers to spend less time recoding and testing when the business policy changes. The Business Rules service minimizes your code changes by keeping business logic separate from application logic. Business Rules
  • 11. © 2015 IBM Corporation The Business Rules service simplifies the experience of creating and managing mobile app business logic – making apps more adaptable
  • 12. © 2015 IBM Corporation Developing and deploying applications using the Business Rules service IBM Bluemix One app Another app Business Rules service instance Author business rules with Rule Designer plug-ins for Eclipse Deploy business rules Develop and push app code Call the service Users access apps from their devices Non-Bluemix apps can call the service too Call the service
  • 13. © 2015 IBM Corporation Wrap up 13  Rules  From 70s IA to today enterprise decision management  A large number of companies leverage some kinds of business rules (finance, banking)  Empower developers and business users to automate decision making  Provides transparency and explanation  Dynamic deployment  Rules are based on causality while Big Data & Machine Learning are based on correlation  Perspectives to bridge rules & ML  Try Business Rules in Bluemix https://console.ng.bluemix.net on London or Sydney datacenters Business Rules
  • 14. © 2015 IBM Corporation Q & A 14

Editor's Notes

  1. Deploy multiple rule applications to one single Business Rules service instance