Artificial Intelligence
Expert Systems; Planning in AI; Robotics & AI
C-CAT
Expert Systems
What is an Expert System?
An Expert System is a computer program that uses AI to simulate the judgment and behavior of a domain expert.
Components
+----------------------------------------------+
| EXPERT SYSTEM |
| |
| User Interface |
| | |
| Inference Engine (Reasoning) |
| | |
| Knowledge Base (Facts + Rules) |
| | |
| Knowledge Acquisition Module |
| (from domain experts) |
+----------------------------------------------+
Reasoning Methods
| Method | Description |
|---|---|
| Forward Chaining | Start from known facts; apply rules; reach conclusions (data-driven) |
| Backward Chaining | Start from goal; work backwards to find supporting facts (goal-driven) |
Famous Expert Systems
| System | Domain | Year |
|---|---|---|
| DENDRAL | Chemical structure analysis | 1965 |
| MYCIN | Medical diagnosis (bacterial infections) | 1972 |
| PROSPECTOR | Mineral exploration | 1978 |
| XCON (R1) | Computer system configuration | 1982 |
Planning in AI
Planning is the process of finding a sequence of actions that leads from an initial state to a goal state.
Planning Representation — STRIPS
- Preconditions — what must be true before an action can execute
- Add list — facts that become true after the action
- Delete list — facts that become false after the action
Example: Robot Moving a Block
Action: PICK-UP(block)
Preconditions: ON-TABLE(block), CLEAR(block), ARM-EMPTY
Add: HOLDING(block)
Delete: ON-TABLE(block), CLEAR(block), ARM-EMPTY
Planning Algorithms
| Algorithm | Description |
|---|---|
| Forward Planning | Search from initial state forward to goal |
| Backward Planning | Search from goal backwards to initial state |
| HTN (Hierarchical Task Network) | Decompose abstract tasks into concrete sub-tasks |
Robotics & AI
AI in Robotics
AI enables robots to:
- Perceive — cameras, LIDAR, ultrasonic sensors
- Plan — path planning, task planning
- Act — motors, grippers, actuators
- Learn — adapt to new environments
Types of Robots
| Type | Description | Example |
|---|---|---|
| Industrial | Automated manufacturing | Welding, assembly (KUKA, ABB) |
| Service | Help humans in daily tasks | Roomba, delivery robots |
| Medical | Surgery, rehabilitation | Da Vinci surgical robot |
| Exploration | Hazardous / remote exploration | Mars Rover Curiosity, deep-sea ROV |
| Social | Interact with humans | Pepper (SoftBank), Sophia (Hanson) |
| Military | Defense applications | Drones, bomb disposal robots |
Key Robotics Technologies
| Technology | Role |
|---|---|
| SLAM | Simultaneous Localization and Mapping |
| Path Planning | A* algorithm, RRT (Rapidly-Exploring Random Trees) |
| Inverse Kinematics | Calculate joint angles to reach target pose |
| Computer Vision | Object recognition, navigation |
| Reinforcement Learning | Learning to walk, grasp, manipulate |
Expert-System Reasoning and Planning
An expert system stores domain knowledge separately from the inference mechanism. Facts describe the current case while rules express conditions and conclusions. Forward chaining begins with facts and repeatedly fires applicable rules. Backward chaining begins with a goal and searches for rules whose conclusions can establish it. Conflict resolution selects among several applicable rules. An explanation facility records which rules and facts supported a conclusion.
Planning represents an initial state, a goal and actions with preconditions and effects. State-space search may progress forward from the initial state or backward from the goal. A plan must order actions so every precondition is true when required. Heuristics estimate remaining cost. Uncertain or changing environments require replanning or policies that choose actions from observed states.
Robotic Perception and Control
A robot combines sensors, actuators, computation and a control loop. Perception estimates relevant properties of the robot and environment from cameras, range sensors, encoders or inertial sensors. Localization estimates pose while mapping represents surroundings. Path planning finds a collision-free route and motion control converts it into actuator commands.
Feedback compares observed state with the desired state and corrects error. Sensor noise, delayed observations, actuator limits and moving obstacles make physical AI different from an ideal search problem. Autonomous robots therefore combine estimation, planning, control and safety constraints rather than relying on a single prediction model.
Continue learning
Related notes
Put this topic into timed practice
Open mock tests when you want full-exam pacing, or keep drilling in practice mode.