Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to AI & AI Principles (Semester 1) WEEK 4 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham,

Similar presentations


Presentation on theme: "Introduction to AI & AI Principles (Semester 1) WEEK 4 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham,"— Presentation transcript:

1 Introduction to AI & AI Principles (Semester 1) WEEK 4 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham, UK

2 Review: Further Difficulties with Language, 1 uNL expressions can be syntactically ambiguous. l She hit the man with the telescope. Does the prepositional phrase with the telescope “attach” to hit or to the man? l I saw that gasoline can explode. Is can a noun or a verb here? Is that a complementizer or a demonstrative determiner?

3 Review: Further Difficulties with Language, 2 uLexical ambiguity: Words often have a range of distinct meanings, possibly without varying the part of speech (noun, verb, or whatever). l ball, newspaper, bank, mole, sloth,... The different meanings may or may not be related to each other. When they are: POLYSEMY. When they’re not: HOMONYMY.

4 Further Difficulties with Language, 3 uWords can be vague in their meaning. l several, recently, thousands, tall, air, book [as noun], chair, think, work [as verb or noun],...

5 Further Difficulties with Language, 4 uSome words, such as pronouns and demonstrative determiners, are intrinsically contextual in their reference or other effects. l I, she, everyone, every, that [pronoun or determiner], the, then, today, here, and so forth.

6 Further Difficulties with Language, 5 uPronouns are anaphoric. But there are types of anaphor other than by pronouns, and they can get very implicit: l When John got home, he found he’d lost his key. Probably the key to his front door. He may have many other keys. l John dropped the teapot. The handle broke. What handle? None explicitly mentioned. l John went to clear the windscreen, but the de-icer can was empty. Clearing a windscreen doesn’t have to involve a de-icer can at all – the phrase the de-icer is TELLING you that some de-icer in the clearing as well as then REFERRING to it.

7 Further Difficulties with Language, 6 uWhat look like definite references may actually be indefinite or general, or may fail to refer to anything at all, or may be incorrect. l Susan’s brother is helping her. This is OK even if Susan has several brothers, at least in suitable contexts. l The dog is an intelligent mammal. This would often/normally be a statement about dogs in general. l The square root of minus one doesn’t exist. l The man in the corner actually turned out to be a woman.

8 Further Difficulties with Language, 7 u“Quantification” is usually restricted even when there is no explicit restriction. l When Tom came into the room, everyone laughed. Probably means everyone in the room, with the further restriction of probably excluding Tom. Similar points would have applied if the sentence had said five people laughed. l Did someone drop a pen? Taken literally, the answer must be YES whatever the situation immediately at hand!

9 Further Difficulties with Language, 8 uEllipsis: omitting bits of an utterance out because of parallelism with some other bit. l Veronica donated a cake and Tom a bottle of wine. l Suzie chose chocolate ice-cream and Tim strawberry. l Suzie chose chocolate ice-cream. And Tim? Strawberry.

10 Further Difficulties with Language, 9 uMetonymy: referring to something indirectly, by referring to something related to it. l Other passports this way. l Peter likes Bach. Probably means he likes the music of Bach. l Plato is on the top shelf. l John boiled the kettle. l I’m parked in the corner. Probably means my car is! l That car wanted to overtake the lorry. l The ham sandwich is ready for his coffee. l England won. l That area of San Francisco has decided to rebuild. l John’s on the left of the picture.

11 Further Difficulties with Language, 10 uMetaphor: talking about something as if it were something else, typically of a qualitatively different type. l The department is a dictatorship. l Ralph is a pig. l We’re galloping towards Easter. l Easter’s rushing towards us. l In the depths of her mind she knew he was right. l Joy ran through him. l The variable jumps from 1 to 100. l The program dumps a lot of rubbish on the screen. l Managerialism is creeping into academia. l This list will run over the end of the slide if I don’t hold my horses!

12 Further Difficulties with Language, 11 uSpeech as opposed to text introduces extra problems, notably: l Ambiguity and variability of the acoustic signal as regards what basic sounds are present. l Word boundaries – where? l Extra info such as intonation.

13 Language as Representation Scheme uWe use language to represent the world in our communications … u… an perhaps even within our minds, to some extent … uSo why shouldn’t an AI system use human language as a way of internally representing things? uThe above problems get in the way, so people have developed artificial representation schemes (logic, semantic networks, frames, …) … u… but—CAUTION STUDENTS—those problems are also symptoms of the amazing flexibility and economy of human language. uNo artificial scheme yet developed has comparable power.

14 WHY IS EVERYDAY AI CHALLENGING? (continued)

15 Non-Language Examples uInterpreting highly ambiguous shapes, e.g. in hand drawings. Seeing what’s in this room. uMoving around and performing actions. uPlanning actions. uMaking a cup of tea/coffee/cocoa.

16 Seeing What’s in (e.g.) this Room uDifficulty of seeing where/what even the basic surfaces and edges are: very noisy, corrupted signal. uProblem made more complex by shadows, reflections, transparency, distortion, texture, uneven lighting. uAmbiguity of component shapes—is it a wheel? Is it a head? Is it an orange? No … it’s … uOcclusion of objects. uSeeing objects from different angles. uJointed objects (e.g., people!) being in different configurations. uSoft and/or irregular objects such as clothes, crumpled paper.

17 Vision Needs in AI uSeeing what objects are around, where they are, how they’re moving, etc. … to some degree … uThat degree being dependent on the system’s purposes. uSeeing what the “affordances” (basically, possibilities of manipulation) of objects are, even if the objects can’t be specifically identified. uSome special things: l Recognizing faces. l Recognizing facial expressions, hand gestures, body movements. l Reading text, mathematical formulas, diagrams, etc.

18 Moving Around and Performing Actions uRemembering a “mental map” of some sort and knowing where oneself is in such a map. Keeping track of movements. Recognizing landmarks. uCreating such a map. uMoving arms, etc. to reach objects efficiently and safely. uGrasping (etc.) objects safely.

19 Planning Actions: Examples uPlanning is discussed in Callan ch. 9 (and 10). uplanning the sequence of steps needed to buy presents for people uplanning how to get to a particular place uplanning the steps needed to build something uplanning the steps needed to convince somebody of something uplanning moves in a game (whether chess, a shoot-em-up, football, …)

20 Planning Actions: Some Needs uEnvisaging the effect of a series of actions uRemembering different series and their effects, so as to investigate alternatives properly uTaking account of time constraints, effort constraints, etc. uTaking account of interactions between parts of the problem (preconditions, conflicts) uRecovering from unexpected problems and benefits when executing a plan: (partial) re-planning, incl. because of unexpected changes in the world independent of one’s own actions uAllowing for unknown things (e.g., unknown action effects).

21 Making a Hot Drink uYour suggestions please!


Download ppt "Introduction to AI & AI Principles (Semester 1) WEEK 4 John Barnden Professor of Artificial Intelligence School of Computer Science University of Birmingham,"

Similar presentations


Ads by Google