AI – Week 23 – TERM 2 Machine Learning and Natural Language Processing Lee McCluskey, room 3/10

Slides:



Advertisements
Similar presentations
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Advertisements

AI – Week 17 Machine Learning Applied to AI Planning: LOCM Lee McCluskey, room 2/09
Opmaker2: Efficient Action Schema Acquisition T.L.McCluskey, S.N.Cresswell, N. E. Richardson and M.M.West The University of Huddersfield,UK
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Artificial Intelligence
AI Week 22 Machine Learning Data Mining Lee McCluskey, room 2/07
AI - Week 24 Uncertain Reasoning (quick mention) then REVISION Lee McCluskey, room 2/07
The Semantic Web Week 18: Part 4 Introduction to Web Services and Intelligent Web Agents Module Website: Practical.
Data Mining with Decision Trees Lutz Hamel Dept. of Computer Science and Statistics University of Rhode Island.
School of Computing and Mathematics, University of Huddersfield Knowledge Engineering: Issues for the Planning Community Lee McCluskey Department of Computing.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Machine Learning: Symbol-Based
School of Computing and Mathematics, University of Huddersfield PDDL and other languages.. Lee McCluskey Department of Computing and Mathematical Sciences,
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
School of Computing and Mathematics, University of Huddersfield Week 21: Knowledge Acquisition / GIPO Lee McCluskey, room 2/09
Wilma Bainbridge Tencia Lee Kendra Leigh
Artificial Intelligence (AI) Addition to the lecture 11.
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Presentation by : Kesang Tshering
 Knowledge Acquisition  Machine Learning. The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
Author: William Tunstall-Pedoe Presenter: Bahareh Sarrafzadeh CS 886 Spring 2015.
Artificial Intelligence
CHA2555 Week2: Knowledge Representation, Logic and Planning Lee McCluskey First term:
AI Week 14 Machine Learning: Introduction to Data Mining Lee McCluskey, room 3/10
C11- Managing Knowledge.
1 CSC 8520 Spring Paula Matuszek Kinds of Machine Learning Machine learning techniques can be grouped into several categories, in several ways: –What.
Assoc. Prof. Abdulwahab AlSammak. Course Information Course Title: Artificial Intelligence Instructor : Assoc. Prof. Abdulwahab AlSammak
KU NLP Machine Learning1 Ch 9. Machine Learning: Symbol- based  9.0 Introduction  9.1 A Framework for Symbol-Based Learning  9.2 Version Space Search.
Generic Tasks by Ihab M. Amer Graduate Student Computer Science Dept. AUC, Cairo, Egypt.
Outline Intro to Representation and Heuristic Search Machine Learning (Clustering) and My Research.
Chapter 4 Decision Support System & Artificial Intelligence.
WEEK INTRODUCTION IT440 ARTIFICIAL INTELLIGENCE.
KNOWLEDGE BASED SYSTEMS
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Artificial Intelligence Machine Learning. Learning Learning can be described as normally a relatively permanent change that occurs in behaviour as a result.
17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17.
RULES Patty Nordstrom Hien Nguyen. "Cognitive Skills are Realized by Production Rules"
Reinforcement Learning AI – Week 22 Sub-symbolic AI Two: An Introduction to Reinforcement Learning Lee McCluskey, room 3/10
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Natural Language Processing AI Revision Lee McCluskey, room 2/07
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
AI – Week 16 Machine Learning Applied to AI Planning Lee McCluskey, room 2/09
Onlinedeeneislam.blogspot.com1 Design and Analysis of Algorithms Slide # 1 Download From
Organic Evolution and Problem Solving Je-Gun Joung.
Artificial Intelligence, simulation and modelling.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, CA
Presented by Ms. Vayas At Bancroft MS March 25, 2008.
Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.
Week 1 Reference (chapter 1 in text book (1)) Dr. Fadi Fayez Jaber Updated By: Ola A.Younis Decision Support System.
Artificial Intelligence Knowledge Representation.
COMPUTER SYSTEM FUNDAMENTAL Genetic Computer School INTRODUCTION TO ARTIFICIAL INTELLIGENCE LESSON 11.
 Knowledge Acquisition  Machine Learning. The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Artificial Intelligence
Introduction to Machine Learning, its potential usage in network area,
Brief Intro to Machine Learning CS539
Using Cognitive Science To Inform Instructional Design
Machine Learning overview Chapter 18, 21
Done Done Course Overview What is AI? What are the Major Challenges?
Artificial Intelligence and Lisp Lecture 13 Additional Topics in Artificial Intelligence LiU Course TDDC65 Autumn Semester,
Knowledge Representation
Artificial Intelligence
Planning CSE 573 A handful of GENERAL SEARCH TECHNIQUES lie at the heart of practically all work in AI We will encounter the SAME PRINCIPLES again and.
KNOWLEDGE REPRESENTATION
LEARNING.
Machine Learning overview Chapter 18, 21
Presentation transcript:

AI – Week 23 – TERM 2 Machine Learning and Natural Language Processing Lee McCluskey, room 3/10

School of Computing and Engineering Term 2: Draft Schedule for Semester Introduction to Machine Learning 14 – Machine Learning - Knowledge Discovery / Data Mining Machine Learning - Knowledge Discovery / Data Mining Machine Learning of Planning Knowledge Machine Learning of Planning Knowledge - 2 Reading Week 19 - Machine Learning - Reinforcement Learning 20 – Machine Learning – Neural Networks 21 – Natural Language Processing Natural Language Processing 2 Easter Break 23 - Natural Language Processing REVISION

School of Computing and Engineering Learning - DEFINITIONs Learning is fundamental to Intelligent behaviour Learning is loosely defined as a “change in behaviour”. Wikipedia has it as “acquiring new, or modifying existing, knowledge, behaviours, skills, values, or preferences and may involve synthesizing different types of information.” There are taxonomies of learning, and various ways that learning has been utilised by machines. Question: How could “Machine Learning” be applied to Computer Games?

School of Computing and Engineering Types of Learning Learning by ROTE - most simple type of learning? This is purely storing and remembering “facts” eg memorising a telephone directory, or arithmetic tables (“times tables”) Store and retrieve – No processing needed on the inputs No recognition of the “meaning” of inputs No integration of learned knowledge with other knowledge. AI Example: A program that stores a game board, and the next best move. When an identical game board was seen in the future, then the best move could be retrieved. A program that increases a database of facts could be considered to be learning by rote. Learning by BEING TOLD (programmed) this is storing and remembering, but implies some kind of understanding / integration of what is being told, with previous knowledge. - Not just facts, but procedures or plans

School of Computing and Engineering Types of Learning Learning by EXAMPLE (trained/taught) this involves a benevolent teacher who gives classified examples to the leaner. The learner performs some generalisation the examples to infer new knowledge. Previous knowledge maybe used to steer the generalisations. In analogy the learner performs the generalisation based on some previously learnt situation. Learning by ANALOGY this invovles a benevolent teacher who gives classified examples to the leaner. The learner performs some generalisation the examples to infer new knowledge. Previous knowledge maybe used to steer the generalisations. In analogy the learner performs the generalisation based on some previously learnt situation.

School of Computing and Engineering Types of Learning Learning by OBSERVATION (self-taught) this is similar to the category to Learning from Examples but without classification by teacher - the learner uses pre-learned information to help classify observation (eg “conceptual clustering”) Learning by DISCOVERY this is the highest level of learning covering invention etc and is composed of some of the other types below

School of Computing and Engineering Types of Learning Our CLASSIFICATION is based loosely on the “amount of autonomy” or processing required to effect a change of behaviour in an agent. by discovery by observation by analogy by example increase in autonomy or processing required by the learner by being told by rote

Another Way to Categorise Learning TWO ASPECTS OF LEARNING: A: KNOWLEDGE/SKILL ACQUISITION Inputting NEW knowledge or procedures For example, learning the rules of a new game B: KNOWLEDGE/SKILL REFINEMENT Changing/integrating old knowledge to create better (operational) knowledge (Inputs no or little new knowledge) - Learning heuristics (improve search) - For example, getting skillful at a new game Acquisition and Refinement combine in obvious ways EG using examples (new knowledge) to bias refining skills (old knowledge) in the areas covering the examples School of Computing and Engineering

“ Concrete” Example of Machine Learning: Learning Macros Imagine you have just solved a problem, how or what can you *learn* form the process ? One way: learn the (minimal) characteristics of the Situation when you can apply the solution again. For example, the solution may be a plan. Under what conditions can we use this plan again? PROCESS: A planner solves a problem and induces one or more macros from the solution sequence by “compiling” (part of) the operator sequence into one macro. 1. Find a solution T = (o(1),..,o(N)) to a goal G from initial state I 2. Form a Macro- Operator (macro) based on: Pre-condition: WP = Weakest Precondition(T, G) Post-condition: G 3. In the future, if G is to be achieved and WP is true in the current state, apply T.

School of Computing and Engineering Learning Macros – Rocket Example Operator Schema: move(R,A,B) pre: at(R,A), A \= B eff+: at(R,B) eff-: at(R,A), load(R,C,L) pre: at(R,L), at(C,L) eff+: in(C,R) eff-: at(C,L) unload(R,C,L) pre: at(R,L), in(C,R) eff+: at(C,L), eff-: in(C,R) NB the fact that the operators are represented DECLARATIVELY makes it easier for processes to reason with them (not just Planning but Learning also).

School of Computing and Engineering Learning Macros WP ( action, goal) = pre(action) U {goal \ eff+(action) } e.g. WP(unload(r,c1,paris), {at(c1,paris), at(c2,paris)} ) = {at(r,paris), in(c1,r), at(c2,paris) } EXAMPLE: Now try WP(T,G) when… at(r, london), at(c1,london), at(c2,london) Initial State at(c1,paris) Goal Solution: load(r,c1,london), move(r, london.paris), unload(r, c1,paris) Macro is OP with precondition WP(T,G) and eff+ containing G

School of Computing and Engineering Applying Macros Learned Macro is (WP(T,P), G, T) We can further GENERALISE Macro (WP(T,P), G, T) by changing constants to variables, because operators are NOT dependent on instances of variables. APPLICATION: In state space search: if a state is encountered which contains WP(T,G), where we want to achieve a G’ which contains G, then APPLY T. NB: Macros can speed up solutions, but can also cause MORE SEARCH if not used wisely. So we have to be careful what we learn!

School of Computing and Engineering Conclusion There are various types of Learning manifest in nature and in AI Two important roles for Learning are in Knowledge Acquisition and Knowledge Refinement Macro acquisition is a form of KR for Problem Solving /Planning where procedures are learned to make plan generation more efficient. This can be done by working out the weakest precondition of a “solution” and storing it with the goal achieved.