Chapter 1: Introduction to Artificial Intelligence
1.1 What is Artificial Intelligence (AI)?
- Basic Definition: AI is composed of two words: Artificial (man-made) and Intelligence (thinking power). It essentially means "a man-made thinking power."
- John McCarthy (Father of AI): Defines AI as "the science and engineering of making intelligent machines, especially intelligent computer programs."
- Other Perspectives: AI can be defined by how it simulates human intelligence (Investopedia), how it solves problems optimally (W3Schools), or how it automates intelligent behavior.
- Two Dimensions of AI Definition: Textbooks define AI along two main axes:
- Thought processes and reasoning vs. Behavior
- Human performance (fidelity to human actions) vs. Rationality (doing the "right" or ideal thing).
1.2 Approaches to AI
Based on the two dimensions above, there are four primary approaches to AI:
- Acting Humanly (The Turing Test Approach): Creating machines that perform functions requiring intelligence when performed by people.
- Turing Test: A human interrogator tries to tell if written responses are from a computer or a human.
- To pass the Total Turing Test, a machine needs: Natural Language Processing, Knowledge Representation, Automated Reasoning, Machine Learning, Computer Vision, and Robotics.
- Thinking Humanly (The Cognitive Modeling Approach): Focuses on the internal reasoning process rather than just the output. It brings together computer models from AI and experimental techniques from psychology to map how human minds work (learned via introspection, psychological experiments, and brain imaging).
- Thinking Rationally (The "Laws of Thought" Approach): Based on Aristotle's syllogisms and logic. The goal is to formalize the reasoning process into a system of mathematical and logical rules that guarantee an optimal and correct solution.
- Acting Rationally (The Rational Agent Approach): Emulates intelligent behavior in terms of computational processes. An agent operates autonomously, perceives its environment, adapts, and pursues goals to achieve the best expected outcome, even in uncertain situations.
1.3 Intelligence & Intelligent Behavior
Intelligence is the computational part of the ability to achieve goals, relating to higher mental processes.
- Types of Intelligence:
- Linguistic: Phonology, syntax, semantics (e.g., Orators).
- Musical: Creating and understanding sound, pitch, rhythm.
- Logical-mathematical: Understanding complex, abstract relationships (e.g., Scientists).
- Spatial: Perceiving visual info and constructing 3D images (e.g., Astronauts).
- Bodily-Kinesthetic: Fine and coarse motor skills (e.g., Dancers).
- Intra-personal: Distinguishing one's own feelings and motivations.
- Interpersonal: Recognizing the feelings, beliefs, and intentions of others.
- A system is artificially intelligent when it is equipped with at least one (and at most all) of these intelligences.
1.4 Goals of AI
- Replicate human intelligence and solve knowledge-intensive tasks.
- Create an intelligent connection between perception and action.
- Build machines that can exhibit intelligent behavior, learn, explain, advise, and perform complex tasks like proving theorems, playing chess, planning surgeries, and driving in traffic.
1.5 Types of AI
AI is broadly classified into two categories:
A) Based on Capabilities:
- Weak/Narrow AI: Trained to perform one dedicated task (e.g., Apple Siri, IBM Watson, chess programs, self-driving cars). Cannot operate beyond its specific limits.
- General AI: Could perform any intellectual task with human efficiency. (Currently does not exist).
- Super AI: Hypothetical systems where machines surpass human intelligence and perform cognitive tasks better than humans.
B) Based on Functionality:
- Reactive Machines: The most basic AI. Does not store memories or past experiences; only reacts to current scenarios (e.g., IBM's Deep Blue, AlphaGo).
- Limited Memory: Can store past experiences/data for a short period to make decisions (e.g., Self-driving cars storing nearby vehicle speeds and distances).
- Theory of Mind: Systems that understand human emotions, beliefs, and interact socially. (Still under research/development).
- Self-Awareness: The hypothetical future of AI where machines have their own consciousness, sentiments, and self-awareness.
1.6 Foundations of AI
Multiple disciplines have contributed to the viewpoints and techniques of AI, including:
- Philosophy, Mathematics, Economics, Neuroscience, Psychology, Computer Engineering, Control Theory & Cybernetics, and Linguistics.
1.7 History of AI (Key Milestones)
- 1943-1952 (Maturation): McCulloch & Pits propose artificial neurons (1943); Alan Turing publishes his paper introducing the Turing Test (1950).
- 1956 (Birth of AI): John McCarthy officially coined the term "Artificial Intelligence" at the Dartmouth Conference. Newell & Simon introduced the "Logic Theorist" program.
- 1966-1972: Creation of the first chatbot, ELIZA (1966), and the first intelligent humanoid robot, WABOT-1 in Japan (1972).
- 1974-1980 (First AI Winter): A severe shortage of government funding for AI research due to unmet expectations.
- 1980-1987 (Boom): AI returns with "Expert Systems" that emulate human decision-making.
- 1987-1993 (Second AI Winter): Investors pull out again due to high costs and inefficient results.
- 1997-2018 (Emergence of Intelligent Agents):
- IBM Deep Blue defeats world chess champion Gary Kasparov (1997).
- IBM Watson wins Jeopardy! (2011).
- Chatbot Eugene Goostman wins a Turing test competition (2014).
- Project Debater and Google Duplex demonstrate advanced conversational AI (2018).
1.8 State-of-the-Art and Applications
- State of the Art (Stanford AI100 & AI Index): Rapid growth in journal publications (grew 34.5% in 2020), massive private investments (especially in Drug Discovery/Cancer), and a massive surge in AI education. The focus is shifting to deploying AI to promote democratic values (freedom, equality, transparency).
- Key Applications: AI is actively solving complex problems across multiple industries, including Healthcare, Finance, Data Security, Social Media, Automotive, Robotics, Astronomy, Agriculture, and E-commerce.