Saturday, October 27, 2007

What is an (Intelligent) Agent?

  • Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through its effectors to maximize progress towards its goals.
  • PAGE (Percepts, Actions, Goals, Environment)
  • Task-specific & specialized: well-defined goals and environment
  • The notion of an agent is meant to be a tool for analyzing systems, not an absolute characterization that divides the world into agents and non-agents. Much like, e.g., object-oriented vs. imperative program design approaches.

Intelligent Agents and AI

  • Human mind as network of thousands or millions of agents all working in parallel. To produce real artificial intelligence, this school holds, we should build computer systems that also contain many agents and systems for arbitrating among the agents' competing results.
  • Distributed decision-making
    and control
  • Challenges:
    • Action selection: What next action
      to choose
    • Conflict resolution

Agent Types

  • We can split agent research into two main strands:
  • Distributed Artificial Intelligence (DAI) –
    Multi-Agent Systems (MAS) (1980 – 1990)
  • Much broader notion of "agent" (1990’s – present)
    • interface, reactive, mobile, information

A Windshield Wiper Agent

How do we design a agent that can wipe the windshields when needed?

  • Goals?
  • Percepts ?
  • Sensors?
  • Effectors ?
  • Actions ?
  • Environment ?

Interacting Agents

Collision Avoidance Agent (CAA)

  • Goals: Avoid running into obstacles
  • Percepts: Obstacle distance, velocity, trajectory
  • Sensors: Vision, proximity sensing
  • Effectors: Steering Wheel, Accelerator, Brakes, Horn, Headlights
  • Actions: Steer, speed up, brake, blow horn, signal (headlights)
  • Environment: Freeway

Lane Keeping Agent (LKA)

Goals: Stay in current lane

Percepts: Lane center, lane boundaries

Sensors: Vision

Effectors: Steering Wheel, Accelerator, Brakes

Actions: Steer, speed up, brake

Environment: Freeway

Conflict Resolution by Action Selection Agents

Override: CAA overrides LKA

Arbitrate: if Obstacle is Close then CAA
else LKA

Compromise: Choose action that satisfies both
agents

Any combination of the above

Challenges: Doing the right thing

The Right Thing = The Rational Action

  • Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date
    • Rational = Best ?
    • Rational = Optimal ?
    • Rational = Omniscience ?
    • Rational = Clairvoyant ?
    • Rational = Successful ?

How is an Agent different from other software?

      • Agents are autonomous, that is they act on behalf of the user
      • Agents contain some level of intelligence, from fixed rules to learning engines that allow them to adapt to changes in the environment
      • Agents don't only act reactively, but sometimes also proactively
      • Agents have social ability, that is they communicate with the user, the system, and other agents as required
      • Agents may also cooperate with other agents to carry out more complex tasks than they themselves can handle
      • Agents may migrate from one system to another to access remote resources or even to meet other agents

Summary

  • Intelligent Agents:
    • Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through its effectors to maximize progress towards its goals.
    • PAGE (Percepts, Actions, Goals, Environment)
    • Described as a Perception (sequence) to Action Mapping: f : P* ® A
    • Using look-up-table, closed form, etc.
  • Agent Types: Reflex, state-based, goal-based, utility-based
  • Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date

What is Artificial Intelligence? (Part 2)

What would a computer need to pass the Turing test?

  • Natural language processing: to communicate with examiner.
  • Knowledge representation: to store and retrieve information provided before or during interrogation.
  • Automated reasoning: to use the stored information to answer questions and to draw new conclusions.
  • Machine learning: to adapt to new circumstances and to detect and extrapolate patterns.
  • Vision (for Total Turing test): to recognize the actions and various objects presented by the examiner.
  • Motor control (total test): to act upon objects as requested.
  • Other senses (total test): such as audition, smell, touch, etc.

How to achieve AI?

How is AI research done?

AI research has both theoretical and experimental sides. The experimental side has both basic and applied aspects.

There are two main lines of research:

  • One is biological, based on the idea that since humans are intelligent, AI should study humans and imitate their psychology or physiology.
  • The other is phenomenal, based on studying and formalizing common sense facts about the world and the problems that the world presents to the achievement of goals.

Branches of AI

  • Logical AI
  • Search
  • Natural language processing
  • pattern recognition
  • Knowledge representation
  • Inference From some facts, others can be inferred.
  • Automated reasoning
  • Learning from experience
  • Planning To generate a strategy for achieving some goal
  • Genetic programming
  • Emotions???

AI State of the art

Have the following been achieved by AI?

  • World-class chess playing
  • Playing table tennis
  • Cross-country driving
  • Solving mathematical problems
  • Discover and prove mathematical theories
  • Engage in a meaningful conversation
  • Understand spoken language
  • Observe and understand human emotions
  • Express emotions

Applications of AI

  • Robotics
  • Computer Vision
  • Voice Recognition
  • Natural Language Processing
  • Expert Systems

Core AI Technologies

  • Knowledge Representation
  • Search Algorithms
  • Inference
  • Heuristics
  • Learning
  • Neural Networks
  • Biomechanics

AI Programming Languages

PROLOG

PROgramming in LOGic

C++

XML

Extensible Markup Language

LISP

List Processing

Sunday, October 21, 2007

What is Artificial Intelligence? (Part 1)


  • Branch of computer science that deals with introducing human intelligence into machines.
  • Branch of science that deals with computer programs or devices that have the ability to learn from their environment and then act rationally to change the environment.
Why Study AI?

AI enables us to build devices and applications that help us in our daily personal professional activities. Like robots, intelligent appliances, autonomous ground vehicles etc.


What tasks require AI?

AI is the science and engineering of making intelligent machines which can perform tasks that require intelligence when performed by humans …”

Tasks that require AI:

  • Solving a differential equation
  • Brain surgery
  • Inventing stuff
  • Playing Jeopardy
  • Playing Wheel of Fortune
  • What about walking?
  • What about grabbing stuff?
  • What about pulling your hand away from fire?
  • What about watching TV?
  • What about day dreaming?

Acting Humanly: The Full Turing Test:

  • Computer needs to posses: Natural language processing, Knowledge representation, Automated reasoning, and Machine learning
  • Problem: 1) Turing test is not reproducible, constructive, and amenable to mathematic analysis. 2) What about physical interaction with interrogator and environment?
  • Total Turing Test: Requires physical interaction and needs perception and actuation.