SlideShare a Scribd company logo
Development and Verification of Rule Based Systems - a Survey of Developers Valentin Zacharias FZI Karlsruhe, Germany
Results from an Online Survey about Rule Base Development Agenda Participants Development Methodology Tools Development Debugging V&V Comparison to OO Development & Issues Hindering Dev. Comparison to last surveys (from 18 years ago)  Hamilton, D., Kelley, K.: State-of-the-practice in knowledge-based system veri cation and validation. O'Leary, D. In: Design, Development and Validation of Expert Systems: A Survey  of Developers.
76 Participants
Languages and Systems?
Size   Mean Median Standard Deviation PM for entire software 59 15 148 PM for rule base 9 5,5 15     Number of rules 1969 120 8693 Size of average rule 9,3 5 17 Size of largest rule 24 11 39     Rule developers 3 2 4 Other software developers 3 1 8 Domain experts that created rules 1,5 1 2 Domain experts as consultants 1,9 1 2,5 Domain experts for V&V 1,7 1 2,4 Others 0,6 0 1,6
Size 65000 learned rules for ‘disease event  analysis’ 100 PM to build a system that determines the input parameters for a medical imaging  system   Mean Median Standard Deviation PM for entire software 59 15 148 PM for rule base 9 5,5 15     Number of rules 1969 120 8693 Size of average rule 9,3 5 17 Size of largest rule 24 11 39     Rule developers 3 2 4 Other software developers 3 1 8 Domain experts that created rules 1,5 1 2 Domain experts as consultants 1,9 1 2,5 Domain experts for V&V 1,7 1 2,4 Others 0,6 0 1,6
Use?
Methodologies “ CommonKADS is *the* methodology to build rule based systems”
Methodology
Methodology – only 10PM+
Methodology – only 10PM+ Medical Best Practices Integration of Car Information Scheduling (Logistics) Credit Allocation
Methodology – only 10PM+ 18 Years Ago: “ The most frequent (40%) life cycle model used was the cyclic model [...]. However 22% of the respondents  stated that no model was followed”
Tools used for Development “ I doubt that manually created rule bases will serve as the basis for the semantic web or other application areas”
Development Tools
Development Tools IDE without debugging Hard coded rules Schema aware XML Editor ‘ this [Text Editor] is only for viewing the results SWRL Tab
Verification & Debugging “ The correctness of rule bases is ensured with formal verification”
Debugging Paradigms for Rule Based Systems Procedural Debugging Stepwise execution of inference engine Algorithmic Debugging System identifies fault by asking user (oracle) about correctness of results of subcomputations Explanations Concise NL or graphical representation of justification for a result Why-Not Explanations Explanation also for missing conclusions Automatic Theory Revision Automatic correction of rule base Valentin Zacharias:  The Debugging of Rule Bases, to appear in  Handbook of Research on Emerging Rule-Based Languages and  Technologies, IGI Global, Hershey (USA) 2009.
Debugging Tools
Debugging Tools Fair Isaac Blaze Advisor Gnu Prolog SWI Prolog Jboss Rules / Drools Jboss Rules / Drools F-Logic (SmartWeb) SWI Prolog? Visual Prolog BizTalk Jboss Rules / Drools Jess
 
 
Comparison To ‘Conventional Programming’ and Issues Hindering Development “ Runtime Performance and Expressivity are the problems hindering the development of rule based systems”
Comparison – Question How does the rule base and its development process compare to a ‘conventional’ program (created with procedural/object oriented languages) of similar size?  Ease of change and maintenance Rule base superior; Comparable; Conventional program superior; Don’t know [...] Computer average with: * Rule base superior = 1 * Comparable = 0 * Conventional program sup= -1 * Ignore ‘Don’t know’
Comparison
Issues Hindering Development – Question What were the most important issues in the development of the rule base? Rule expressivity – could not (easily) represent what was needed  Not an issue; Annoyance; Hindered development [...] Computer average with: * Not an issue = 0 * Annoyance = 1 * Hindered development = 2
Issues Hindering Development
Issues Hindering Development 18 Years Ago: Completeness of Knowledge Base Correctness of Knowledge Base System does not present possible opportunities to the user System is hard to use Results difficult to interpret Systems presents incorrect opportunities to the user Difficult to sequence rules correctly
Conclusions
„ This paper is not a (normal) scientific paper, it summarizes a survey [...]“ Little empirical data about the challenges facing actual rule base developers Little interest in the academic rule community at identifying and tackling practical problems? Meta Conclusion
Little academic interest in relevant (in particular agile) rule base development methodologies Debugging and finding faults as *the challenge* Tool support found wanting, possible motivation for rule interchange  still most rules created manually, text editors widespread Conclusion
Attribution Pool Rules by Joe Shlabotnik on Flickr Waterfall by Sachman75 on Flickr Tools by docman on Flickr Bug by Chewy Chua on Flickr Obstacle by Guillaume Lemoine on Flickr Sun Conclusion by ecstaticist on Flickr End by bondywhat on Flickr Thanks for your Attention  Valentin Zacharias [email_address] http://vzach.de

More Related Content

ODP
FLOSS2009 Øyvind Hauge
PPTX
Володимир Довганик “5 typical features that make BA mad”
PPTX
Why is TDD so hard for Data Engineering and Analytics Projects?
PPTX
Why is Test Driven Development for Analytics or Data Projects so Hard?
PDF
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
PDF
Lionel Briand ICSM 2011 Keynote
PDF
Past and Future of Software Testing and Analysis
PPTX
Software Development as an Experiment System: A Qualitative Survey on the St...
FLOSS2009 Øyvind Hauge
Володимир Довганик “5 typical features that make BA mad”
Why is TDD so hard for Data Engineering and Analytics Projects?
Why is Test Driven Development for Analytics or Data Projects so Hard?
Evolvea Frameworkfor SelectingPrime Software DevelopmentProcess
Lionel Briand ICSM 2011 Keynote
Past and Future of Software Testing and Analysis
Software Development as an Experiment System: A Qualitative Survey on the St...

What's hot (9)

PPTX
ACEDS January 2015 Members Only Webcast
PPTX
Building Blocks for Continuous Experimentation
PDF
MSR End of Internship Talk
PDF
On Engineering Economic Systems
PDF
Token engineering presentation 5 13-18
PDF
Analytics for Software Development
PPT
Make the Most of Your Time: How Should the Analyst Work with Automated Tracea...
PPTX
ACM Chicago March 2019 meeting: Software Engineering and AI - Prof. Tao Xie, ...
PDF
Agile Methods Cost of Quality: Benefits of Testing Early & Often
ACEDS January 2015 Members Only Webcast
Building Blocks for Continuous Experimentation
MSR End of Internship Talk
On Engineering Economic Systems
Token engineering presentation 5 13-18
Analytics for Software Development
Make the Most of Your Time: How Should the Analyst Work with Automated Tracea...
ACM Chicago March 2019 meeting: Software Engineering and AI - Prof. Tao Xie, ...
Agile Methods Cost of Quality: Benefits of Testing Early & Often
Ad

Similar to Final Survey On Rule Base Development Slideshare (20)

PPTX
Finalpresentation 120711124135-phpapp02
PPTX
expert systems
PDF
Developing applications that stand the test of time
PPTX
Effective Faraid system using rule based
PDF
Applying a new software development paradigm to biology
PPT
Lecture_8.ppt
PPT
PPTX
MIS 07 Expert Systems
PPT
Expert systems from rk
PDF
November 2024 - Top 10 Read Articles in Software Engineering & Applications
PPTX
Expert system (unit 1 & 2)
PDF
Towards a new paradigm to resolve the software crisis
PPT
Chapter 6 expert system
PDF
Four ways to represent computer executable rules
PPTX
Knowledge based systems
PPT
01bkb02p.ppt
PPT
01bkb02p(1).ppt
PPT
Caddie presentation
PPTX
Cmsc411(Pascuappt Report)
PDF
Ai lecture 02(unit-02)
Finalpresentation 120711124135-phpapp02
expert systems
Developing applications that stand the test of time
Effective Faraid system using rule based
Applying a new software development paradigm to biology
Lecture_8.ppt
MIS 07 Expert Systems
Expert systems from rk
November 2024 - Top 10 Read Articles in Software Engineering & Applications
Expert system (unit 1 & 2)
Towards a new paradigm to resolve the software crisis
Chapter 6 expert system
Four ways to represent computer executable rules
Knowledge based systems
01bkb02p.ppt
01bkb02p(1).ppt
Caddie presentation
Cmsc411(Pascuappt Report)
Ai lecture 02(unit-02)
Ad

Recently uploaded (20)

PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PPTX
MYSQL Presentation for SQL database connectivity
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Machine Learning_overview_presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Electronic commerce courselecture one. Pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
A comparative analysis of optical character recognition models for extracting...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Programs and apps: productivity, graphics, security and other tools
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
MYSQL Presentation for SQL database connectivity
The AUB Centre for AI in Media Proposal.docx
Assigned Numbers - 2025 - Bluetooth® Document
Machine Learning_overview_presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Electronic commerce courselecture one. Pdf
NewMind AI Weekly Chronicles - August'25-Week II
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...

Final Survey On Rule Base Development Slideshare

  • 1. Development and Verification of Rule Based Systems - a Survey of Developers Valentin Zacharias FZI Karlsruhe, Germany
  • 2. Results from an Online Survey about Rule Base Development Agenda Participants Development Methodology Tools Development Debugging V&V Comparison to OO Development & Issues Hindering Dev. Comparison to last surveys (from 18 years ago) Hamilton, D., Kelley, K.: State-of-the-practice in knowledge-based system veri cation and validation. O'Leary, D. In: Design, Development and Validation of Expert Systems: A Survey of Developers.
  • 5. Size   Mean Median Standard Deviation PM for entire software 59 15 148 PM for rule base 9 5,5 15     Number of rules 1969 120 8693 Size of average rule 9,3 5 17 Size of largest rule 24 11 39     Rule developers 3 2 4 Other software developers 3 1 8 Domain experts that created rules 1,5 1 2 Domain experts as consultants 1,9 1 2,5 Domain experts for V&V 1,7 1 2,4 Others 0,6 0 1,6
  • 6. Size 65000 learned rules for ‘disease event analysis’ 100 PM to build a system that determines the input parameters for a medical imaging system   Mean Median Standard Deviation PM for entire software 59 15 148 PM for rule base 9 5,5 15     Number of rules 1969 120 8693 Size of average rule 9,3 5 17 Size of largest rule 24 11 39     Rule developers 3 2 4 Other software developers 3 1 8 Domain experts that created rules 1,5 1 2 Domain experts as consultants 1,9 1 2,5 Domain experts for V&V 1,7 1 2,4 Others 0,6 0 1,6
  • 8. Methodologies “ CommonKADS is *the* methodology to build rule based systems”
  • 11. Methodology – only 10PM+ Medical Best Practices Integration of Car Information Scheduling (Logistics) Credit Allocation
  • 12. Methodology – only 10PM+ 18 Years Ago: “ The most frequent (40%) life cycle model used was the cyclic model [...]. However 22% of the respondents stated that no model was followed”
  • 13. Tools used for Development “ I doubt that manually created rule bases will serve as the basis for the semantic web or other application areas”
  • 15. Development Tools IDE without debugging Hard coded rules Schema aware XML Editor ‘ this [Text Editor] is only for viewing the results SWRL Tab
  • 16. Verification & Debugging “ The correctness of rule bases is ensured with formal verification”
  • 17. Debugging Paradigms for Rule Based Systems Procedural Debugging Stepwise execution of inference engine Algorithmic Debugging System identifies fault by asking user (oracle) about correctness of results of subcomputations Explanations Concise NL or graphical representation of justification for a result Why-Not Explanations Explanation also for missing conclusions Automatic Theory Revision Automatic correction of rule base Valentin Zacharias: The Debugging of Rule Bases, to appear in Handbook of Research on Emerging Rule-Based Languages and Technologies, IGI Global, Hershey (USA) 2009.
  • 19. Debugging Tools Fair Isaac Blaze Advisor Gnu Prolog SWI Prolog Jboss Rules / Drools Jboss Rules / Drools F-Logic (SmartWeb) SWI Prolog? Visual Prolog BizTalk Jboss Rules / Drools Jess
  • 20.  
  • 21.  
  • 22. Comparison To ‘Conventional Programming’ and Issues Hindering Development “ Runtime Performance and Expressivity are the problems hindering the development of rule based systems”
  • 23. Comparison – Question How does the rule base and its development process compare to a ‘conventional’ program (created with procedural/object oriented languages) of similar size? Ease of change and maintenance Rule base superior; Comparable; Conventional program superior; Don’t know [...] Computer average with: * Rule base superior = 1 * Comparable = 0 * Conventional program sup= -1 * Ignore ‘Don’t know’
  • 25. Issues Hindering Development – Question What were the most important issues in the development of the rule base? Rule expressivity – could not (easily) represent what was needed Not an issue; Annoyance; Hindered development [...] Computer average with: * Not an issue = 0 * Annoyance = 1 * Hindered development = 2
  • 27. Issues Hindering Development 18 Years Ago: Completeness of Knowledge Base Correctness of Knowledge Base System does not present possible opportunities to the user System is hard to use Results difficult to interpret Systems presents incorrect opportunities to the user Difficult to sequence rules correctly
  • 29. „ This paper is not a (normal) scientific paper, it summarizes a survey [...]“ Little empirical data about the challenges facing actual rule base developers Little interest in the academic rule community at identifying and tackling practical problems? Meta Conclusion
  • 30. Little academic interest in relevant (in particular agile) rule base development methodologies Debugging and finding faults as *the challenge* Tool support found wanting, possible motivation for rule interchange still most rules created manually, text editors widespread Conclusion
  • 31. Attribution Pool Rules by Joe Shlabotnik on Flickr Waterfall by Sachman75 on Flickr Tools by docman on Flickr Bug by Chewy Chua on Flickr Obstacle by Guillaume Lemoine on Flickr Sun Conclusion by ecstaticist on Flickr End by bondywhat on Flickr Thanks for your Attention Valentin Zacharias [email_address] http://vzach.de