AI Notes
A comprehensive introduction to Artificial Intelligence covering its definition, goals, approaches, and significance in modern computing.
Artificial Intelligence (AI) is the branch of computer science that aims to create systems capable of performing tasks that typically require human intelligence. These tasks include learning, reasoning, problem-solving, perception, language understanding, and decision-making.
Defining Artificial Intelligence
There is no single universally accepted definition of AI. Instead, researchers have approached the concept from four different perspectives:
| Thinking Humanly | Thinking Rationally |
|---|---|
| (Cognitive Model) | (Laws of Thought) |
| Acting Humanly | Acting Rationally |
| (Turing Test) | (Rational Agent) |
Thinking Humanly: The Cognitive Modeling Approach
This approach focuses on making computers think like humans. It requires understanding how the human mind works through introspection, psychological experiments, and brain imaging. Cognitive science and AI feed into each other under this perspective.
Thinking Rationally: The Laws of Thought Approach
Based on Aristotle's syllogisms, this approach uses formal logic to represent problems and derive conclusions. If premises are correct, the conclusion must be correct. However, real-world problems are often too complex for pure logical reasoning.
Acting Humanly: The Turing Test Approach
Proposed by Alan Turing in 1950, the Turing Test states that a machine is intelligent if a human interrogator cannot distinguish it from a human based on written responses. To pass, a machine needs:
- Natural Language Processing (to communicate)
- Knowledge Representation (to store information)
- Automated Reasoning (to draw conclusions)
- Machine Learning (to adapt and detect patterns)
Acting Rationally: The Rational Agent Approach
A rational agent acts to achieve the best expected outcome given available information. This is the most common modern approach because rationality is mathematically well-defined and general enough to encompass the other approaches.
Goals of Artificial Intelligence
Foundations of AI
AI draws knowledge from multiple disciplines:
| Discipline | Contribution to AI |
|---|---|
| Philosophy | Logic, reasoning, mind-body relationship |
| Mathematics | Formal representation, algorithms, probability |
| Economics | Decision theory, game theory, utility |
| Neuroscience | Neural architecture, brain function |
| Psychology | Cognitive models, behavior patterns |
| Computer Engineering | Hardware to build AI systems |
| Linguistics | Language structure, grammar, semantics |
| Control Theory | Feedback systems, stability |
A Simple AI Example in Python
Here's a basic rule-based AI system that demonstrates reasoning:
Output:
| Inferred | possible_flu = True |
| Inferred | diagnosis = Influenza - See a doctor |
| Diagnosis | Influenza - See a doctor |
AI vs Human Intelligence
| Aspect | Human Intelligence | Artificial Intelligence |
|---|---|---|
| Speed | Limited by biology | Can process millions of operations/second |
| Accuracy | Prone to errors when tired | Consistent performance |
| Creativity | Highly creative | Limited to trained patterns |
| Emotion | Emotional understanding | No genuine emotions |
| Adaptability | Adapts to new situations easily | Requires retraining |
| Energy | ~20 watts (brain) | Can require megawatts |
Real-World Applications
AI is already transforming numerous industries:
- Healthcare: Disease diagnosis, drug discovery, personalized treatment
- Finance: Fraud detection, algorithmic trading, credit scoring
- Transportation: Self-driving cars, route optimization, traffic management
- Entertainment: Recommendation systems, game AI, content generation
- Manufacturing: Quality control, predictive maintenance, supply chain optimization
The AI Effect
An interesting phenomenon in AI is the "AI effect" — once a task is solved by AI, people often say "that's not really intelligence." Chess programs were once considered the pinnacle of AI, but after Deep Blue defeated Kasparov in 1997, many dismissed it as "just computation."
Interview Questions
- What are the four approaches to defining AI according to Russell and Norvig?
- Thinking humanly, thinking rationally, acting humanly, acting rationally.
- Why is the rational agent approach preferred in modern AI?
- It is mathematically well-defined, doesn't require mimicking humans, and is general enough to subsume other approaches.
- What capabilities does a machine need to pass the Turing Test?
- NLP, knowledge representation, automated reasoning, machine learning, and for the total Turing Test: computer vision and robotics.
- How does AI differ from conventional programming?
- Conventional programs follow explicit instructions; AI systems learn patterns from data and make decisions under uncertainty.
- Name three foundational disciplines of AI and their contributions.
- Philosophy (logic, reasoning), Mathematics (algorithms, probability), Neuroscience (neural architecture inspiration).
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for What is Artificial Intelligence?.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this Artificial Intelligence topic.
Search Terms
artificial-intelligence, artificial intelligence, artificial, intelligence, introduction, what, what is artificial intelligence?
Related Artificial Intelligence Topics