01-intro
01-intro
COL333/COL671
Mausam
(Based on Slides by Stuart Russell, Henry Kautz,
Subbarao Kambhampati, and UW-AI faculty)
Personnel
• Instructor: Mausam, SIT 402, [email protected]
• TAs:
– Yatin Nandwani (csz178057 at iitd.ac.in)
Keshav Sai Kolluru (csz178058 at iitd.ac.in)
Sachin Kumar Chauhan (csz188012 at iitd.ac.in)
Saransh Goyal (cs5150292 at iitd.ac.in)
Makkunda Sharma (cs5150459 at iitd.ac.in)
Phaneesh Barwaria (mcs182014 at iitd.ac.in)
Mehak (mcs182143 at iitd.ac.in)
© Mausam 2
Logistics
• Timings: Tue/Thu/Fri 11-12
• Office hours
– By appointment
• Course Website:
www.cse.iitd.ac.in/~mausam/courses/col333/autumn2019
• Join class discussion group on Piazza (access code col333)
https://piazza.com/iit_delhi/fall2019/col333/home
• Textbook:
Artificial Intelligence: A Modern Approach (3rd edition), Russell and Norvig
© Mausam 4
Grading
• Grading:
– 50% assignments
– 10% Minor 1
– 10% Minor 2
– 30% Major
– Extra credit: constructive class participation, and discussion group
participation
• Audit
– 50% absolute in exams
– C in course
• I believe in making course demanding rather than
grading harsh
– Make your life this semester miserable, rather than GPA
beyond it low
Academic Integrity
• Cheating negative penalty (and possibly more)
– Exception: if one person/team is identified as cheater
– Non-cheater gets a zero
• Collaboration is good!!! Cheating is bad!!! Who is a cheater?
– No sharing of part-code
– No written/soft copy notes
– Right to information rule
– Kyunki saas bhi kabhi bahu thi Rule
Class Requirements & Prereqs
• Class requirements
– Uses a variety of skills / knowledge:
• Probability and statistics
• Boolean Logic
• Algorithms
• Above average coding skills
– You will often have to work to fill the gaps
• Official Prerequisites
– Data structures
• Unofficial Prerequisites
– A willingness to learn whatever background you are missing
Languages
• English
• C++/Java/Python
– Coding efficiency : python
– Program efficiency : C++
Mausam
(Based on Slides by Stuart Russell, Henry Kautz, B
Ravindran, Subbarao Kambhampati, and UW-AI
faculty)
Goals of this course
• A brief intro to the philosophy of AI
• A brief intro to the breadth of ideas in AI
• Serious AI enthusiast
– A primer from which to launch advanced study
Theory vs. Modeling vs. Applications
• Lecture balance tilted towards modeling
• Lasting effects
– [Economist07] “Artificial Intelligence is associated with systems that
have all too often failed to live up to their promises.”
– [Pittsburgh BT06] “Some believe the word 'robotics' actually carries a
stigma that hurts a company's chances at funding.”
1996: EQP proves that
Robbin’s Algebras are all boolean
----- EQP 0.9, June 1996 -----
The job began on eyas09.mcs.anl.gov, Wed Oct 2 12:25:37 1996
UNIT CONFLICT from 17666 and 2 at 678232.20 seconds.
---------------- PROOF ----------------
2 (wt=7) [] -(n(x + y) = n(x)).
3 (wt=13) [] n(n(n(x) + y) + n(x + y)) = y.
5 (wt=18) [para(3,3)] n(n(n(x + y) + n(x) + y) + y) = n(x + y).
6 (wt=19) [para(3,3)] n(n(n(n(x) + y) + x + y) + y) = n(n(x) + y).
…….
17666 (wt=33) [para(24,16426),demod([17547])] n(n(n(x) + x) ….
vs.
23
1999: Remote Agent takes
Deep Space 1 on a galactic ride
Mission-level
actions &
Goals Scripts resources
Generative
Planner &
Scheduler
Executive
Scripted
Generative
Mode Identification
ESL & Recovery
component models
Monitors
Real-time Execution
Adaptive Control
Hardware
28
2005: Cars Drive Themselves
https://www.youtube.com/watch?v=WFR3lOm_xhE
PRESENT
2016: AlphaGo
© https://www.buzzfeednews.com/article/alexkantrowitz/were-in-an-artificial-intelligence-hype-cycle
What Changed?
Data
Deep Learning
Neural networks
Object Recognition
40
Artistic
Applications
!
• Doodle to
Painting!
• Style
Transfer
• Image
Colorization
https://arxiv.org/pdf/1603.08511.pdf
https://arxiv.org/pdf/1603.01768.pdf
41
https://github.com/jcjohnson/fast-neural-style
Image Caption
Automatic Speech Recognition
(c) https://medium.com/@gaurav.sharma/voice-is-the-new-o-s-and-the-future-of-search-
commerce-and-payments-64fc8cc848f6
“if it works it is not AI” “its all AI”
• By 2050, develop a team of fully autonomous humanoid
robots that can win against the human world champion
team in soccer.
49
The Definition of AI
Science of AI
Physics: Where did the physical universe come from?
And what laws guide its dynamics?
© Daniel S. Weld 53
What is intelligence?
• Dictionary.com: capacity for learning, reasoning,
understanding, and similar forms of mental activity
© Daniel S. Weld 56
What is artificial intelligence?
human-like vs. rational
© Daniel S. Weld 57
Thinking Humanly
• Cognitive Science
– Very hard to understand how humans think
• Post-facto rationalizations, irrationality of human thinking
• Problems
– Not all intelligent behavior is mediated by logical
deliberation (reflexes)
– What is the purpose of thinking?
Acting Humanly: Turing’s Test
• If the human cannot tell whether the responses
from the other side of a wall are coming from a
human or computer, then the computer is
intelligent.
60
Acting Humanly
• Loebner Prize
– Every year in Boston
– Expertise-dependent tests: limited conversation
• Problems
– Not reproducible, constructive or mathematically analyzable
Acting rationally
• Rational behavior: doing the right thing
• Need not always be deliberative
– Reflexive
• Aristotle (Nicomachean ethics)
– Every art and every inquiry, and similarly every action
and every pursuit is thought to aim at some good.
Acting Thinking?
• Weak AI Hypothesis vs. Strong AI hypothesis
– Weak Hyp: machines could act as if they are
intelligent
– Strong Hyp: machines that act intelligent have to
think intelligently too
Rational Agents
• An agent should strive to do the right thing, based on what
it can perceive and the actions it can perform. The right
action is the one that will cause the agent to be most
successful
64
Ideal Rational Agent
“For each possible percept sequence, does
whatever action is expected to maximize its
performance measure on the basis of evidence
perceived so far and built-in knowledge.''
• Rationality vs omniscience?
• Acting in order to obtain valuable information
What is artificial intelligence (agent view)
• An agent is anything that can be viewed as perceiving its
environment through sensors and acting upon that
environment through actuators
• Human agent:
– eyes, ears, and other organs for sensors
– hands, legs, mouth, and other body parts for actuators
• Robotic agent:
– cameras and laser range finders for sensors
– various motors for actuators
67
Examples: Expert Tasks
• Engineering
– Design
– Fault Finding
– Manufacturing planning
• Medical
– Diagnosis
– Medical Image Analysis
• Financial
– Stock market predictions
68
Examples: Perceptual Tasks
• Perception
– Vision
– Speech
• Natural Language
– Understanding
– Generation
– Translation
• Robot Control
69
What is artificial intelligence
(algorithmic view)
• A large number of problems are NP hard
• Search
• Game Playing
• Planning
• …
Recurrent Themes
• Weak vs. Knowledge-based Methods
• Weak – general search methods (e.g., A* search)
• primarily for problem solving
• not motivated by achieving human-level performance
© Daniel S. Weld 74
Recurrent Themes
• Logic vs. Probabilistic vs. Neural
–In 1950s, logic dominates
• attempts to extend logic
–1988 – Bayesian networks
• efficient computational framework
–2013 – deep neural networks
• powerful representation across modalities
© Daniel S. Weld 75
Topics of this Course
• Phase 1: Search, Constraint Satisfaction, Logic,
Games