Making Decisions and Rule-Based Expert Systems

Course Context and Decision Analysis
  • Context: Murdoch University ICT206 explores intelligent systems designed to assist, augment, and automate human decision-making.

  • Decision Principles: Real-world decisions evaluate joint probabilities to optimize for likely scenarios using base-rate heuristics ("common things happen commonly") while accounting for low-probability edge cases.

Knowledge Engineering and Production Rules
  • Domain Expertise: Experts possess narrow, deep factual and heuristic knowledge, excelling where standard algorithms or novices fail.

  • Knowledge Taxonomy:

    • Declarative Knowledge: Static assertions, statements of fact, and relational definitions (knowing that), organized into database schemas.

    • Procedural Knowledge: Dynamic operational sequences and behavioral rules (knowing how), typically encoded as production rules.

  • Production Rule Model: Formulated by Newell and Simon (1970s1970\text{s}); applies long-term rules to short-term working memory facts.

    • Syntax: IF <antecedent> THEN <consequent>. A rule fires when its antecedent conditions are satisfied.

    • Connectives & Operators: Supports logical conjunction (AND), disjunction (OR), and numerical predicates (<,>,=,≤,≥,≠<, >, =, \le, \ge, \ne).

    • Functional Types: Relations, recommendations, directives, strategies, and heuristics.

Rule-Based Expert System Architecture
  • Five Core Modules:

    • Knowledge Base: Domain repository storing rules, heuristics, and strategies.

    • Database (Working Memory): Dynamic storage containing active facts and intermediate deductions.

    • Inference Engine: Computational reasoning mechanism that matches facts against antecedents and executes firings.

    • Explanation Facility: Introspection subsystem explaining how conclusions were reached and why specific data was requested.

    • User Interface: Facilitates structured bidirectional communication between the user and the system.

  • Extended Roles: Knowledge engineers translate domain expert heuristics into computational rule sets; external interfaces connect databases and external algorithms.

Inference Mechanisms
  • Match-Fire Cycle: Matches database facts against rule antecedents and executes satisfied consequents, asserting new facts to create multi-tiered inference cascades.

  • Forward Chaining (Data-Driven): Starts with known facts and reasons forward to infer all reachable conclusions. Ideal for exploratory monitoring, but inefficient for single goals due to firing extraneous rules.

  • Backward Chaining (Goal-Driven): Starts with a target hypothesis and recursively sets subgoals on an execution stack to locate supporting facts. Ideal for diagnostic verification.

Conflict Resolution and Metaknowledge
  • Conflict Set: Arises when the antecedents of multiple rules evaluate to true simultaneously.

  • Resolution Strategies:

    • Priority: Fixed ranking via structural rule ordering or explicit weighting (effective for ≤100\le 100 rules).

    • Specificity (Longest Matching): Prioritizes rules containing the greatest number of antecedent clauses.

    • Recency: Fires rules relying on the most recently asserted data using fact time tags.

  • Metaknowledge & Metarules: Knowledge about knowledge; metarules govern the priority, selection, and control of lower-level domain rules.

Uncertainty and System Evaluation
  • Confidence Factors (CFCF): Numerical weights (bounded in [0,1][0, 1] or [−1,+1][-1, +1]) representing degrees of belief across uncertain facts and heuristic rules.

  • Advantages: Natural cognitive representation, uniform modular structure, explainability, and decoupling of knowledge from processing (enabling reusable shells).

  • Limitations: Opaque logical interactions in large sets, search latency during exhaustive cycles (>100> 100 rules), absence of autonomous learning, and manual maintenance bottlenecks.