AI as the Design of Agents.ppt
《AI as the Design of Agents.ppt》由会员分享,可在线阅读,更多相关《AI as the Design of Agents.ppt(27页珍藏版)》请在麦多课文档分享上搜索。
1、AI as the Design of Agents,Tuomas Sandholm Carnegie Mellon University Computer Science Department,= a unifying view for the bag of techniques that AI encompasses,An agent and its environment,How to design an intelligent agent?,Definition: An agent perceives its environment via sensors and acts in th
2、at environment with its effectors.Hence, an agent gets percepts one at a time, and maps this percept sequence to actions (one action at a time)Properties: Autonomous Interacts with other agents plus the environment Reactive to the environment Pro-active (goal-directed),Examples of agents in differen
3、t types of applications,Examples of agents,Definition of ideal rational agent,Ideal Rational Agent: For each possible percept sequence, such an agent does whatever action is expected to maximize its performance measure, on the basis of the evidence provided by the percept sequence and whatever built
4、-in knowledge the agent has.,What do you think? Is this an acceptable definition?,Not looking left when crossing the street: If I dont see a car coming from the left, it is rational to cross the street?,No. Should also consider taking information gathering actions.,Agents strategy,Agents strategy is
5、 a mapping from percept sequence to action How to encode an agents strategy? Long list of what should be done for each possible percept sequence vs. shorter specification (e.g. algorithm),WARNING: Might not get what you ask for in the performance measure,Cleaning robot Pick up as much trash as possi
6、ble Vehicle route optimization Maximize utilizations = Driving fully loaded Capitalizing on oddities in tariff list = Renegotiation Dont include solution method in the criterion,agent = architecture + program,Physical agents vs. software agents (software agents = softbots),This course concentrates o
7、n the program,function SKELETON-AGENT (percept) returns actionstatic: memory, the agents memory of the worldmemory UPDATE-MEMORY(memory,percept)action CHOOSE-BEST-ACTION(memory)memory UPDATE-MEMORY(memory, action)return action,On each invocation, the agents memory is updated to reflect the new perce
8、pt, the best action is chosen, and the fact that the action was taken is also stored in the memory. The memory persists from one invocation to the next.,Skeleton agent,Input = Percept, not historyNOTE: Performance measure is not part of the agent,Examples of how the agent function can be implemented
9、,Table-driven agent Simple reflex agent Reflex agent with internal state Agent with explicit goals Utility-based agent,More sophisticated,function TABLE-DRIVEN-AGENT (percept) returns actionstatic: percepts, a sequence, initially emptytable, a table, indexed by percept sequences, initially fully spe
10、cifiedappend percept to the end of perceptsaction LOOKUP(percepts, table)return action,An agent based on a prespecified lookup table. It keeps track of percept sequence and just looks up the best action,1. Table-driven agent,ProblemsHuge number of possible percepts (consider an automated taxi with a
11、 camera as the sensor) = lookup table would be hugeTakes long time to build the tableNot adaptive to changes in the environment; requires entire table to be updated if changes occur,2. Simple reflex agent,Differs from the lookup table based agent is that the condition (that determines the action) is
12、 already higher-level interpretation of the percepts Percepts could be e.g. the pixels on the camera of the automated taxi,function SIMPLE-REFLEX-AGENT(percept) returns actionstatic: rules, a set of condition-action rulesstate INTERPRET-INPUT (percept)rule RULE-MATCH (state,rules)action RULE-ACTION
13、rulereturn action,A simple reflex agent works by finding a rule whose condition matches the current situation (as defined by the percept) and then doing the action associated with that rule.,First match. No further matches sought. Only one level of deduction.,Simple reflex agent,Table lookup of cond
14、ition-action pairs defining all possible condition-action rules necessary to interact in an environment e.g. if car-in-front-is-breaking then initiate breaking Problems Table is still too big to generate and to store (e.g. taxi) Takes long time to build the table No knowledge of non-perceptual parts
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- AIASTHEDESIGNOFAGENTSPPT
