Artificial Intelligence
1. What is AI?
Artificial Intelligence is the simulation of human intelligence by computer systems. It involves the ability of a machine to learn from data, reason (make decisions), and self-correct.
2. Key AI Technologies
Machine Learning
A subset of AI where the system improves its performance over time by analyzing large amounts of data without being explicitly programmed for every scenario.
Example: A streaming service learning your music taste based on what you skip.
Expert Systems
A computer program that mimics the decision-making ability of a human expert in a specific field (like medicine or law).
Example: A system that diagnoses a disease based on a list of symptoms.
2b. The Three Types of AI
The syllabus classifies AI by how broad its capability is, and the three terms are examinable.
- Narrow AI (also called weak AI) — can perform one specific task, or a narrow range of tasks, often extremely well. It cannot apply what it knows to anything outside that task. This is the only kind that currently exists. Every example in this lesson — voice assistants, image recognition, recommendation systems, chess engines, self-driving cars — is narrow AI.
- General AI (also called strong AI in some texts) — would be able to perform any intellectual task a human can, transferring knowledge from one problem to a completely different one. It does not exist; it is a goal, not a product.
- Strong AI — would go further still, possessing genuine understanding, consciousness and self-awareness rather than simulating them. Whether it is even possible is an open question.
3. Components of an Expert System
To act like an "expert," the system needs these four core parts:
- Knowledge Base: A large store of facts about the subject, provided by human experts.
- Rule Base: The set of IF…THEN rules saying how to reason with those facts — for example, IF the temperature is high AND a rash is present THEN consider measles. The knowledge base holds what is known; the rule base holds how to use it.
- Inference Engine: The "brain" that applies logical rules to the knowledge base to find answers.
- User Interface: The screen where the user enters data and receives the system's advice.
4. AI Applications in the Real World
- Autonomous Vehicles: AI processes sensor data instantly to navigate roads safely.
- Healthcare: Analyzing X-rays to spot tumors that might be missed by the human eye.
- Search Engines: Predicting what you want to find before you finish typing.
- Game Playing: AI (like AlphaGo) beating world champions by calculating millions of possible moves.
5. The Ethics of AI
As AI becomes more advanced, it raises important questions:
- Bias: If the data used to train the AI is biased, the AI's decisions will also be biased.
- Accountability: If a self-driving car crashes, who is responsible? The owner or the programmer?
- Job Displacement: AI can perform cognitive tasks (like accounting or coding) faster than humans.