Agents Intelligent Agents Multi Agent Systems Delegation n

  • Slides: 28
Download presentation
Agents. Intelligent Agents. Multi. Agent Systems

Agents. Intelligent Agents. Multi. Agent Systems

Delegation n n Computers are doing more for us – without our intervention We

Delegation n n Computers are doing more for us – without our intervention We are giving control to computers, even in safety critical tasks One example: fly-by-wire aircraft, where the machine’s judgment may be trusted more than an experienced pilot Next on the agenda: fly-by-wire cars, intelligent braking systems, cruise control that maintains distance from car in front…

Programming progression… n Programming has progressed through: q q q q machine code; assembly

Programming progression… n Programming has progressed through: q q q q machine code; assembly language; machine-independent programming languages; sub-routines; procedures & functions; abstract data types; objects; to agents.

Where does it bring us? n n Delegation and Intelligence imply the need to

Where does it bring us? n n Delegation and Intelligence imply the need to build computer systems that can act effectively on our behalf This implies: q q The ability of computer systems to act independently The ability of computer systems to act in a way that represents our best interests while interacting with other humans or systems

What is an Agent? n n The main point about agents is they are

What is an Agent? n n The main point about agents is they are autonomous: capable of acting independently, exhibiting control over their internal state Thus: an agent is a computer system capable of autonomous action in some environment in order to meet its design objectives AGENT output input ENVIRONMENT

What is an Agent? n Trivial (non-interesting) agents: q q n n n thermostat

What is an Agent? n Trivial (non-interesting) agents: q q n n n thermostat UNIX daemon (e. g. , biff) An (intelligent) agent is a computer system capable of flexible autonomous action in some environment By flexible, we mean: reactive, pro-active, social An intelligent agent learns how to adapt to its dynamic environment

Agents and Objects n n Are agents just objects by another name? Object: q

Agents and Objects n n Are agents just objects by another name? Object: q q q encapsulates some state communicates via message passing has methods, corresponding to operations that may be performed on this state

Agents and Objects n Main differences: q q q agents are autonomous: agents embody

Agents and Objects n Main differences: q q q agents are autonomous: agents embody stronger notion of autonomy than objects, and in particular, they decide for themselves whether or not to perform an action on request from another agents are smart: capable of flexible (reactive, pro-active, social) behavior, and the standard object model has nothing to say about such types of behavior agents are active: a multi-agent system is inherently multi-threaded, in that each agent is assumed to have at least one thread of active control

Agents and Expert Systems n n n Aren’t agents just expert systems by another

Agents and Expert Systems n n n Aren’t agents just expert systems by another name? Expert systems typically disembodied ‘expertise’ about some (abstract) domain of discourse (e. g. , blood diseases) Example: MYCIN knows about blood diseases in humans q q It has a wealth of knowledge about blood diseases, in the form of rules A doctor can obtain expert advice about blood diseases by giving MYCIN facts, answering questions, and posing queries

Agents and Expert Systems n Main differences: q q n agents situated in an

Agents and Expert Systems n Main differences: q q n agents situated in an environment: MYCIN is not aware of the world — only information obtained is by asking the user questions agents act: MYCIN does not operate on patients Some real-time (typically process control) expert systems are agents

Multiagent Systems, a Definition n A multiagent system is one that consists of a

Multiagent Systems, a Definition n A multiagent system is one that consists of a number of agents, which interact with one-another In the most general case, agents will be acting on behalf of users with different goals and motivations To successfully interact, they will require the ability to cooperate, coordinate, and negotiate with each other, much as people do

Agent Design, Society Design n Two key problems: q q n How do we

Agent Design, Society Design n Two key problems: q q n How do we build agents capable of independent, autonomous action, so that they can successfully carry out tasks we delegate to them? How do we build agents that are capable of interacting (cooperating, coordinating, negotiating) with other agents in order to successfully carry out those delegated tasks, especially when the other agents cannot be assumed to share the same interests/goals? The first problem is agent design, the second is society design (micro/macro)

Multiagent Systems is n The field of Multiagent Systems is influenced and Interdisciplinary inspired

Multiagent Systems is n The field of Multiagent Systems is influenced and Interdisciplinary inspired by many other fields: q q q n n Economics Philosophy Game Theory Logic Ecology Social Sciences This can be both a strength (infusing well-founded methodologies into the field) and a weakness (there are many different views as to what the field is about) This has analogies with artificial intelligence itself

Some Views of the Field n n Agents as a paradigm for software engineering:

Some Views of the Field n n Agents as a paradigm for software engineering: Software engineers have derived a progressively better understanding of the characteristics of complexity in software. It is now widely recognized that interaction is probably the most important single characteristic of complex software Over the last two decades, a major Computer Science research topic has been the development of tools and techniques to model, understand, and implement systems in which interaction is the norm

Some Views of the Field n n Agents as a tool for understanding human

Some Views of the Field n n Agents as a tool for understanding human societies: Multiagent systems provide a novel new tool for simulating societies, which may help shed some light on various kinds of social processes. This has analogies with the interest in “theories of the mind” explored by some artificial intelligence researchers

Application Areas n n n Agents are usefully applied in domains where flexible autonomous

Application Areas n n n Agents are usefully applied in domains where flexible autonomous action is required. Intelligent agents are usefully applied in domains where learning is required. Main application areas: q q q distributed/concurrent systems networks human-computer interfaces

Domain 1: Distributed Systems n n In this area, the idea of an agent

Domain 1: Distributed Systems n n In this area, the idea of an agent is seen as a natural metaphor, and a development of the idea of concurrent object programming. Example domains: q q q air traffic control (Sydney airport) business process management distributed electricity management factory process control and so on…

Domain 2: Networks n n n There is currently a lot of interest in

Domain 2: Networks n n n There is currently a lot of interest in mobile agents, that can move themselves around a network (e. g. , the Internet) operating on a user’s behalf This kind of functionality is achieved in the TELESCRIPT language developed by General Magic for remote programming Applications include: q q hand-held PDAs with limited bandwidth information gathering

Domain 3: HCI n n One area of much current interest is the use

Domain 3: HCI n n One area of much current interest is the use of agent in interfaces Intelligent Interfaces Agents sit ‘over’ applications, watching, learning, and eventually doing things without being told — taking the initiative Pioneering work at MIT Media Lab (Pattie Maes): q q q news reader web browsers mail readers

Email Reading Assistants n n n Pattie Maes developed MAXIMS – best known email

Email Reading Assistants n n n Pattie Maes developed MAXIMS – best known email assistant: ‘learns to prioritize, delete, forward, sort, and archive mail messages on behalf of a user … ’ MAXIMS works by ‘looking over the shoulder’ of a user, and learning about how they deal with email Each time a new event occurs (e. g. , email arrives), MAXIMS records the situation action pairs generated

Agents on the Internet n n The potential of the internet is exciting The

Agents on the Internet n n The potential of the internet is exciting The reality is often disappointing: q q n the Internet is enormous — it is not always easy to find the right information manually (or even with the help of search engines) systematic searches are difficult Searching the Internet for the answer to a specific query can be a long and tedious process. So, why not allow a computer program — an agent — do searches for us?

Agents on the Internet n n What we want is a kind of ‘secretary’:

Agents on the Internet n n What we want is a kind of ‘secretary’: someone who understood the things we were interested in, (and the things we are not interested in), who can act as ‘proxy’, hiding information that we are not interested in, and bringing to our attention information that is of interest This is where agents come in! We cannot afford human agents to do these kinds of tasks (and in any case, humans get suffer from the drawbacks we mentioned above) So we write a program to do these tasks: this program is what we call an agent

A Scenario n n n Upon logging in to your computer, you are presented

A Scenario n n n Upon logging in to your computer, you are presented with a list of email messages, sorted into order of importance by your personal digital assistant (PDA). You are then presented with a similar list of news articles; the assistant draws your attention to one particular article, which describes hitherto unknown work that is very close to your own. After an electronic discussion with a number of other PDAs, your PDA has already obtained a relevant technical report for you from an FTP site, in the anticipation that it will be of interest.

Agents for E-Commerce n n n Another important rationale for internet agents is the

Agents for E-Commerce n n n Another important rationale for internet agents is the potential for electronic commerce Most commerce is currently done manually. But there is no reason to suppose that certain forms of commerce could not be safely delegated to agents. A simple example: finding the cheapest copy of Office 97 from online stores

Agents for E-Commerce n n More complex example: flight from Manchester to Dusseldorf with

Agents for E-Commerce n n More complex example: flight from Manchester to Dusseldorf with veggie meal, window seat, and does not use a fly -by-wire control Simple examples first-generation ecommerce agents: q q n Bargain. Finder from Andersen Jango from NETBOT (now EXCITE) Second-generation: negotiation, brokering, … market systems

Deep Space 1 n n http: //nmp. jpl. nasa. gov/ds 1/ “Deep Space 1

Deep Space 1 n n http: //nmp. jpl. nasa. gov/ds 1/ “Deep Space 1 launched from Cape Canaveral on October 24, 1998. During a highly successful primary mission, it tested 12 advanced, high-risk technologies in space. In an extremely successful extended mission, it encountered comet Borrelly and returned the best images and other science data ever from a comet. During its fully successful hyperextended mission, it conducted further technology tests. The spacecraft was retired on December 18, 2001. ” – NASA Web site

Spacecraft Control n When a space probe makes its long flight from Earth to

Spacecraft Control n When a space probe makes its long flight from Earth to the outer planets, a ground crew is usually required to continually track its progress, and decide how to deal with unexpected eventualities. This is costly and, if decisions are required quickly, it is simply not practicable. For these reasons, organizations like NASA are seriously investigating the possibility of making probes more autonomous — giving them richer decision making capabilities and responsibilities. n This is not fiction: NASA’s DS 1 has done it!

Air Traffic Control n n n “A key air-traffic control system…suddenly fails, leaving flights

Air Traffic Control n n n “A key air-traffic control system…suddenly fails, leaving flights in the vicinity of the airport with no air-traffic control support. Fortunately, autonomous air-traffic control systems in nearby airports recognize the failure of their peer, and cooperate to track and deal with all affected flights. ” Systems taking the initiative when necessary Agents cooperating to solve problems beyond the capabilities of any individual agent