intoduction to artificial intelligence

Upload: dereje-dhufera

Post on 04-Jun-2018

238 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Intoduction to Artificial Intelligence

    1/66

    CS 510: Intro to

    Articial IntelligenceRachel GreenstadtDepartment of Computer Science

    Drexel Universitywww.cs.drexel.edu/~greenie/cs510/index.html

    http://www.cs.drexel.edu/~greeniehttp://www.cs.drexel.edu/~greeniehttp://www.cs.drexel.edu/~greenie
  • 8/13/2019 Intoduction to Artificial Intelligence

    2/66

    Overview

    What is Articial Intelligence?

    History of AI

    What is CS 510? Syllabus, Schedule, Grading Final Project

    Overview of AI Topics

  • 8/13/2019 Intoduction to Artificial Intelligence

    3/66

    Introductions

    Introduce yourself: Your name Undergrad/Masters/Ph.D/How many years at Drexel? What is your research area? Which faculty member(s) do you work with? What brings you to CS 510? What else should we know about you? :)

  • 8/13/2019 Intoduction to Artificial Intelligence

    4/66

    What is AI?

  • 8/13/2019 Intoduction to Artificial Intelligence

    5/66

    Class Exercise

    Answer the following questions on threeindex cards:

    What is Intelligence? What is Articial Intelligence? What is an agent? What attributes does an agent have?

    When youre done, swap your answers witha neighbor

  • 8/13/2019 Intoduction to Artificial Intelligence

    6/66

    A 42

    Each card has a number or letter on one side

    and a square or circle on the other side

    Which cards must you turn over to determine if the

    following statement is true:

    Every card with a letter on one side has asquare on the other side

  • 8/13/2019 Intoduction to Artificial Intelligence

    7/66

    Thinking like humans

    90% of humans get it wrong Answer is cards 2 and 3

    Most people pick 1 and 3

  • 8/13/2019 Intoduction to Artificial Intelligence

    8/66

    20 yrs Beer24 yrs Cola

    Each card has an age on one side

    and a drink on the other side

    Which cards must you turn over to determine if thefollowing statement is true:

    Everyone in the bar is following the law.

  • 8/13/2019 Intoduction to Artificial Intelligence

    9/66

    What is AI?

    Thinking like

    a human

    Thinking

    rationally

    Acting like ahuman

    Actingrationally

  • 8/13/2019 Intoduction to Artificial Intelligence

    10/66

    Why Study AI?

    Fundamental scientic questions What does it mean to be smart? What makes us smart?

    Can our intelligence be replicated orexceeded? And how?

  • 8/13/2019 Intoduction to Artificial Intelligence

    11/66

    Why Study AI?

    Fundamentally useful engineering question

    AI in computers increases humanityscollective intelligence and abilities

    Areas where computers lack the abilityto act rationally limit us

  • 8/13/2019 Intoduction to Artificial Intelligence

    12/66

    But is it even possible?

    Billions of human computers must be doingsomething....

    Strong vs. Weak AI Human-level intelligent machines,

    conscious?

    thinking-like features to makecomputers more useful

  • 8/13/2019 Intoduction to Artificial Intelligence

    13/66

    agent

    1. One that acts or has the power or authority to acts

    2. One empowered to act for or represent another

    13

  • 8/13/2019 Intoduction to Artificial Intelligence

    14/66

    Agents

  • 8/13/2019 Intoduction to Artificial Intelligence

    15/66

    Simple reex agent

  • 8/13/2019 Intoduction to Artificial Intelligence

    16/66

    Modern AI Agents

    Not just AI, but AI situated in some environment

    Not just inference, but inference used in some context Not just a control loop, but complex autonomous decision-making Not just an algorithm, but an intelligent system

    Holistic approach to AI

    Multiple AI tools can be integrated to build an Agent

  • 8/13/2019 Intoduction to Artificial Intelligence

    17/66

  • 8/13/2019 Intoduction to Artificial Intelligence

    18/66

    PEAS

    Performance Measure Environment Actuators

    Sensors

    Examples?

  • 8/13/2019 Intoduction to Artificial Intelligence

    19/66

    Autonomous Cars

    Consider an automated taxi driver: Performance measure: Safe, fast, comfortable trip, maximize prots Environment: Roads, other trafc, pedestrians, customers Actuators: Steering wheel, accelerator, brake, signal, horn Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors,

    keyboard, lidar

  • 8/13/2019 Intoduction to Artificial Intelligence

    20/66

    Agent or Program?

  • 8/13/2019 Intoduction to Artificial Intelligence

    21/66

    The easy stuff is hard

    Computers still cant speak, see, or reasonlike a 5 year old child

    And the hard stuff is easy.... Playing chess

    Proving theorems Diagnosing medical conditions

  • 8/13/2019 Intoduction to Artificial Intelligence

    22/66

    AI Historical Highlights 5th century

    Aristotle invents syllogistic logic 13th century

    zairja device used by Arab astrologers to calculate ideas mechanically Ramon Llull creates Ars Magna theological argumentation device 17th century

    Material arguments for thinking: Hobbes, Descartes Pascal invents mechanical calculating device

    19th century Babbage and Lovelace work on programmable mechanical machine Boolean algebra representing some laws of thought

  • 8/13/2019 Intoduction to Artificial Intelligence

    23/66

    AI Historical Highlights 1928 von Neumans minimax algorithm, used for game-playing 1950 Turing test devised

    1950 Asimov publishes the 3 laws of robotics 1956 McCarthy coins Articial Intelligence / Dartmouth conference Early years (1956-1970)

    Micro-worlds Reasoning by search Many successes, lots of optimism/hype - Samuels checkers, Gelemters

    Geometry theorem prover, Shakey, Dendral

  • 8/13/2019 Intoduction to Artificial Intelligence

    24/66

    AI Historical Highlights AI Winter (1970s)

    Perceptrons - limits of neural networks

    language difculties - The spirit is willing but the esh is weak ==>The vodka is good but the meat is rotten Development of computational complexity Loss of funding

    AI becomes an industry (1980s) Expert, intelligent systems all the rage Bubble happens and expectations raised again

  • 8/13/2019 Intoduction to Artificial Intelligence

    25/66

    AI Historical Highlights 2nd AI Winter (late 1980s - 1990s)

    More disappointment as AI fails to make people rich Expert systems are brittle

    Funding cut again AI Becomes a Science/Intelligent Agents (1987-present) Victory of the neats (vs scrufes) Statistical machine learning/HMMs has many successes

    AI starts to make people rich

    Moores law makes a lot more possible Emergence of Intelligent Agent approach Availability of very large data sets

  • 8/13/2019 Intoduction to Artificial Intelligence

    26/66

    AI State of the Art

  • 8/13/2019 Intoduction to Artificial Intelligence

    27/66

  • 8/13/2019 Intoduction to Artificial Intelligence

    28/66

    AI in Space

    Autonomous satelliteseparation and docking

    Exploring Mars Monitoring the skywith telescope arrays

  • 8/13/2019 Intoduction to Artificial Intelligence

    29/66

    AI Art

  • 8/13/2019 Intoduction to Artificial Intelligence

    30/66

    What is CS 510?

  • 8/13/2019 Intoduction to Artificial Intelligence

    31/66

    Cou rse Information Textbook

    Stuart Russell and Peter Norvig Articial Intelligence: A Modern Approach

    Prentice-Hall ( Third Edition) Supplementary Readings

    Available on course website http://www.cs.drexel.edu/~greenie/cs510.html

    http://www.cs.drexel.edu/~greenie/cshttp://www.cs.drexel.edu/~greenie/cshttp://www.cs.drexel.edu/~greenie/cs
  • 8/13/2019 Intoduction to Artificial Intelligence

    32/66

    Course Objectives

    Learn about AI techniques Learn how to do AI research (grad class)

  • 8/13/2019 Intoduction to Artificial Intelligence

    33/66

    Schedule

    Intro to AI Search and Problem Solving Planning

    Knowledge Representation

    Learning

  • 8/13/2019 Intoduction to Artificial Intelligence

    34/66

    Evaluation

    30% Exams

    Midterm 15%

    Final 15% 5% Machine Learning exercise 25% Class Participation 40% Final Project

  • 8/13/2019 Intoduction to Artificial Intelligence

    35/66

    Class Participation

    In class exercises Class discussions bbvista Online discussions

    More instructions on website

  • 8/13/2019 Intoduction to Artificial Intelligence

    36/66

    Facilitation Each person will be responsible for leading a short

    discussion around one topic/paper

    Discussion should involve either :

    A 5-10 minute presentation/demo on related material Related paper, background, application

    A summary/highlights reel of the online discussion

    Rest should be class discussion/exercises ledby you

  • 8/13/2019 Intoduction to Artificial Intelligence

    37/66

    Topics the ai enterprise (Turing) 09/29 multiagent systems (Sycara)

    09/29

    search - google (Page, et al) 10/6

    search - dynamic environments(Koenig and Likhachev) 10/13

    constraint reasoning (RN Ch 6)10/13

    games (Billings et al (poker))10/27

    game theory (MechanismDesign) 10/27

    logic/knowledge representation(RN Ch 7-8, BDI) 11/3

    teamwork/joint intention (Cohenand Levesque) 11/3

    planning (RN Ch 11) 11/10 distributed planning 11/10 machine learning (general) 11/17 machine learning (adversarial

    classication) 11/17

    Reinforcement learning 11/24 NLP 11/24

  • 8/13/2019 Intoduction to Artificial Intelligence

    38/66

    Final Project

    Read Handout! Free form researchproject

    Groups of 1-3 people Milestones

    Groups and topic (Sept 29)

    Proposal draft sent toreviewer (Oct 6)

    Reviewer comments due(Oct 8)

    Proposal due (Oct 13)

    Reviewer discussion notesdue (Nov 10)

    Presentation (Dec 1)

    Project write up (Dec 1)

    Review due (Dec 4)

  • 8/13/2019 Intoduction to Artificial Intelligence

    39/66

    The Final Project

    Pro osal 2 pages long

    Problem Statement and Motivation

    Brief Description of Approach Related Work and novelty Evaluation approach Milestones

  • 8/13/2019 Intoduction to Artificial Intelligence

    40/66

    Peer Review Each of you will be assigned another group

    to shepherd through the project process

    Goal is to provide constructive feedback onthe other project At week 3 (project proposal draft) At week 7 (project progress) At week 10 (nal paper)

  • 8/13/2019 Intoduction to Artificial Intelligence

    41/66

    AI Topics

  • 8/13/2019 Intoduction to Artificial Intelligence

    42/66

    Search The Heuristic Search Hypothesis

    - (Newell and Simon)

    Subroutine of intelligent systems problem solving

    planning

    knowledge games

  • 8/13/2019 Intoduction to Artificial Intelligence

    43/66

    Some search issues

    well discuss

    Intractability of exhaustive search Use of heuristics (A*)

    Local search satiscing

  • 8/13/2019 Intoduction to Artificial Intelligence

    44/66

    Open Problems

    Distributed search

    Dynamic search Check out STAIRS workshop Last year: A Travel-Time Optimizing Edge Weighting Scheme for Dynamic Re-planning . Andrew

    Feit, Lenrik Toval, Raf Hovagimian and Rachel Greenstadt. AAAI 2010 Workshop on Bridging TheGap Between Task And Motion Planning (BTAMP)

    http://www.seas.upenn.edu/~maximl/wt/AAAI10_ws/BTAMP10_schedule.html

    http://www.seas.upenn.edu/~maximl/wt/AAAI10_ws/BTAMP10_schedule.htmlhttp://www.seas.upenn.edu/~maximl/wt/AAAI10_ws/BTAMP10_schedule.htmlhttp://www.seas.upenn.edu/~maximl/wt/AAAI10_ws/BTAMP10_schedule.html
  • 8/13/2019 Intoduction to Artificial Intelligence

    45/66

    Constraint Reasoning Way of representing knowledge and structure on a

    problem so that standard heuristics can be applied

    Problems expressed as: Set of variables that need values Set of domains from which the values are drawn

    Set of constraints that represent relationshipsbetween the variables (must be satised oroptimized)

  • 8/13/2019 Intoduction to Artificial Intelligence

    46/66

    Applications

    Supply chain management

    Scheduling Resource and task allocation Multiagent coordination

  • 8/13/2019 Intoduction to Artificial Intelligence

    47/66

    Open problems in

    Constraint Reasonin How to easily express problems as constraint problems

    What if the domain is dynamic or uncertain?

    How do you measure performance in distributed systems? See the Constraint Programming (CP) conference or the Distributed

    Constraint Reasoning (DCR) workshop

    I do research in Distributed Constraint Reasoning (as does Evan Sultanik,the other section designer), we can work with you to come up with a topicin this area if you want

  • 8/13/2019 Intoduction to Artificial Intelligence

    48/66

    Games /

    Adversarial Searc h Inherently multiagent and competitive

    Classic work in turn based games

    Chess Checkers Now poker, general game playing

    http://www.computerpokercompetition.org/ http://games.stanford.edu/

    http://www.computerpokercompetition.org/http://games.stanford.edu/http://games.stanford.edu/http://www.computerpokercompetition.org/http://www.computerpokercompetition.org/
  • 8/13/2019 Intoduction to Artificial Intelligence

    49/66

    Mechanism Design Construct incentives for agents that are:

    self-interested utility-maximizing

    Applications Auctions Reputation systems Trafc systems

  • 8/13/2019 Intoduction to Artificial Intelligence

    50/66

    Knowledge

    Re resentation What is common sense? How a pr oblem is represented grea tly affects its

    efciency

    How can we encode the things we know socomputers understand them?

    Links

    http://openmind.media.mit.edu/ htt ://rtw.ml.cmu.edu/rtw/

    http://openmind.media.mit.edu/http://rtw.ml.cmu.edu/rtw/http://rtw.ml.cmu.edu/rtw/http://rtw.ml.cmu.edu/rtw/http://openmind.media.mit.edu/http://openmind.media.mit.edu/
  • 8/13/2019 Intoduction to Artificial Intelligence

    51/66

    Model-based Reex

    A ent

  • 8/13/2019 Intoduction to Artificial Intelligence

    52/66

    Planning

    Given

    a set of actions

    a goal state a present state

    Choose actions to get to the goal state And what if you have a team of agents...

  • 8/13/2019 Intoduction to Artificial Intelligence

    53/66

    Goal-based Agent

  • 8/13/2019 Intoduction to Artificial Intelligence

    54/66

    Utility-based Agent

  • 8/13/2019 Intoduction to Artificial Intelligence

    55/66

    Planning problems

    Planning in the real world Highly dynamic environments

    Uncertain information

  • 8/13/2019 Intoduction to Artificial Intelligence

    56/66

    Learning

    What does it mean for computers to learn?

    Supervised

    Unsupervised

  • 8/13/2019 Intoduction to Artificial Intelligence

    57/66

    Learning

    What does it mean for computers to learn?

    Supervised

    Unsupervised

    circle square circle square

  • 8/13/2019 Intoduction to Artificial Intelligence

    58/66

  • 8/13/2019 Intoduction to Artificial Intelligence

    59/66

    Learning

    What does it mean for computers to learn?

    Supervised

    Unsupervised

    circle square circle square

    group these into two categories

  • 8/13/2019 Intoduction to Artificial Intelligence

    60/66

    Learning Agent

  • 8/13/2019 Intoduction to Artificial Intelligence

    61/66

    Predicting community ratings on webforums and blogs

    We have applied this to slashdot.org Authorship recognition

    learning who wrote a document bylinguistic style Experiment with applying to text

    messages/twitter/transcribed speech

    Learning Projects

  • 8/13/2019 Intoduction to Artificial Intelligence

    62/66

    Topics the ai enterprise (Turing) 09/29 multiagent systems (Sycara)

    09/29

    search - google (Page, et al) 10/6 search - dynamic environments

    (Stentz) 10/13

    constraint reasoning (RN Ch 5)10/13

    games (Billings et al (poker))10/27

    game theory (MechanismDesign) 10/27

    logic/knowledge representation(RN Ch 7-8, BDI) 11/3

    teamwork/joint intention (Cohenand Levesque) 11/3

    planning (RN Ch 11) 11/10 distributed planning 11/10 machine learning (general) 11/17

    machine learning (adversarialclassication) 11/17 reinforcement learning 11/24 ai and the brain 11/24

  • 8/13/2019 Intoduction to Artificial Intelligence

    63/66

    Proje ct startin g points psal.cs.drexel.edu

    Current research by my research group Robocup soccer

    http://ww w.robocup.org Search and re scue

    http://ww w.robocuprescue.org

    http://ma ple.cs.umbc.edu/~erice aton/searchandrescue/ Animated lifelike agents

    http://hmi.ewi.utwente.nl/gala

    http://hmi.ewi.utwente.nl/galahttp://maple.cs.umbc.edu/~ericeaton/searchandrescue/http://maple.cs.umbc.edu/~ericeaton/searchandrescue/http://www.robocuprescue.org/http://www.robocup.org/http://hmi.ewi.utwente.nl/galahttp://hmi.ewi.utwente.nl/galahttp://maple.cs.umbc.edu/~ericeaton/searchandrescue/http://maple.cs.umbc.edu/~ericeaton/searchandrescue/http://www.robocuprescue.org/http://www.robocuprescue.org/http://www.robocup.org/http://www.robocup.org/
  • 8/13/2019 Intoduction to Artificial Intelligence

    64/66

    Project starting points The JavaFF planner

    http://personal.cis.strath.ac.uk/~ac/JavaFF/

    Sports predict ion markets http://www.facebook.com/apps/application.php?id=8575690818

    Games http://www.cs.ualberta.ca/~games/

    Electronic ma rkets http://www.sics.se/tac/page.php?id=1

    http://www.sics.se/tac/page.php?id=1http://www.facebook.com/apps/application.php?id=8575690818http://www.sics.se/tac/page.php?id=1http://www.sics.se/tac/page.php?id=1http://www.cs.ualberta.ca/~games/http://www.cs.ualberta.ca/~games/http://www.facebook.com/apps/application.php?id=8575690818http://www.facebook.com/apps/application.php?id=8575690818http://personal.cis.strath.ac.uk/~ac/JavaFF/http://personal.cis.strath.ac.uk/~ac/JavaFF/
  • 8/13/2019 Intoduction to Artificial Intelligence

    65/66

    Resources

    http://www.aaai.org/AITopics

    http:// aima.cs.berkeley. edu http:// library.drexel.edu

    http:// aispace.org

    http://library.drexel.edu/http://library.drexel.edu/http://aima.cs.berkeley.edu/http://library.drexel.edu/http://library.drexel.edu/http://library.drexel.edu/http://library.drexel.edu/http://aima.cs.berkeley.edu/http://aima.cs.berkeley.edu/http://www.aaai.org/AITopicshttp://www.aaai.org/AITopics
  • 8/13/2019 Intoduction to Artificial Intelligence

    66/66

    Readings this week:

    Turing, A.M. (1950). Computing machinery and intelligence. Mind, 59, 433-460. Katia Sycara, Multiagent Systems, AI Magazine 19(2): Summer 1998, 79-92.