Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Lecture 37 of 42 Monday, 01 December.

Slides:



Advertisements
Similar presentations
Computing & Information Sciences Kansas State University Lecture 16 of 42 CIS 530 / 730 Artificial Intelligence Lecture 16 of 42 Knowledge Engineering.
Advertisements

Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
Computing & Information Sciences Kansas State University Lecture 11 of 42 CIS 530 / 730 Artificial Intelligence Lecture 11 of 42 William H. Hsu Department.
CS 101 Course Summary December 5, Big Ideas Abstraction Problem solving Fundamentals of programming.
Computing & Information Sciences Kansas State University Lecture 37 of 42 CIS 530 / 730 Artificial Intelligence Lecture 37 of 42 Genetic Programming Discussion:
Design Patterns OOD. Course topics Design Principles UML –Class Diagrams –Sequence Diagrams Design Patterns C#,.NET (all the course examples) Design Principles.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 6 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 7 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University Lecture 7 of 42 CIS 530 / 730 Artificial Intelligence Lecture 7 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 26 of 41 Friday, 22 October.
Computing & Information Sciences Kansas State University Friday, 21 Nov 2008CIS 530 / 730: Artificial Intelligence Lecture 35 of 42 Friday, 21 November.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Wednesday, February 7, 2001.
Computing & Information Sciences Kansas State University Wednesday, 23 Aug 2006CIS 490 / 730: Artificial Intelligence Lecture 1 of 42 Wednesday, 23 August.
Computing & Information Sciences Kansas State University Lecture 10 of 42 CIS 530 / 730 Artificial Intelligence Lecture 10 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
Computing & Information Sciences Kansas State University Lecture 9 of 42 CIS 530 / 730 Artificial Intelligence Lecture 9 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
Computing & Information Sciences Kansas State University Monday, 27 Nov 2006CIS 490 / 730: Artificial Intelligence Lecture 38 of 42 Monday, 27 November.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 2 Tuesday, August 29,
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 21 of 41 Wednesday, 08.
Computing & Information Sciences Kansas State University Paper Review Guidelines KDD Lab Course Supplement William H. Hsu Kansas State University Department.
Computing & Information Sciences Kansas State University Wednesday, 22 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 22 of 42 Wednesday, 22 October.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 28 of 41 Friday, 22 October.
Computing & Information Sciences Kansas State University Lecture 22 of 42 CIS 530 / 730 Artificial Intelligence Lecture 22 of 42 Planning: Sensorless and.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 5 of 41 William H. Hsu Department of Computing.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Computing & Information Sciences Kansas State University Lecture 21 of 42 CIS 530 / 730 Artificial Intelligence Lecture 21 of 42 Planning: Graph Planning.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 11 of 41 Wednesday, 15.
Computing & Information Sciences Kansas State University Lecture 8 of 42 CIS 530 / 730 Artificial Intelligence Lecture 8 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 9 of 41 William H. Hsu Department of Computing.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 13 of 41 Monday, 20 September.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Lecture 40 of 42 CIS 530 / 730 Artificial Intelligence Lecture 40 of 42 A Brief Survey of Computer.
Dale Roberts Object Oriented Programming using Java - Introduction Dale Roberts, Lecturer Computer Science, IUPUI Department.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 12 Friday, 17 September.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Wednesday, February 2, 2000.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 8 of 41 William H. Hsu Department of Computing.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 42 Wednesday, 14.
Computing & Information Sciences Kansas State University Monday, 25 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 14 of 42 Monday, 25 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 41 Wednesday, 22.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 15 of 41 Friday 24 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 18 of 41 Friday, 01 October.
Computing & Information Sciences Kansas State University Monday, 11 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 8 of 42 Monday, 11 September.
Computing & Information Sciences Kansas State University Paper Review Guidelines KDD Lab Course Supplement William H. Hsu Kansas State University Department.
Computing & Information Sciences Kansas State University Monday, 27 Nov 2006CIS 490 / 730: Artificial Intelligence Lecture 38 of 42 Monday, 27 November.
Computing & Information Sciences Kansas State University Monday, 24 Nov 2008CIS 530 / 730: Artificial Intelligence Lecture 36 of 42 Monday, 24 November.
Kansas State University Department of Computing and Information Sciences CIS 830: Advanced Topics in Artificial Intelligence Monday, January 24, 2000 William.
Computing & Information Sciences Kansas State University Wednesday, 19 Sep 2007CIS 530 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 19 September.
Computing & Information Sciences Kansas State University Monday, 23 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 25 of 42 Monday, 23 October.
Computing & Information Sciences Kansas State University Friday, 20 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 24 of 42 Friday, 20 October.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Computing & Information Sciences Kansas State University Wednesday, 13 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 10 of 42 Wednesday, 13 September.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 24 of 41 Monday, 18 October.
Computing & Information Sciences Kansas State University CIS 530 / 730: Artificial Intelligence Lecture 09 of 42 Wednesday, 17 September 2008 William H.
Computing & Information Sciences Kansas State University Lecture 30 of 42CIS 636/736: (Introduction to) Computer Graphics Lecture 30 of 42 Wednesday, 09.
Computing & Information Sciences Kansas State University Monday, 09 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 19 of 42 Monday, 09 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 14 of 42 Wednesday, 22.
Introduction: What is AI? CMSC Introduction to Artificial Intelligence January 7, 2003.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Monday, 01 December 2003 William.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Monday, 28 November 2005 William.
Computing & Information Sciences Kansas State University Wednesday, 25 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 26 of 42 Wednesday. 25 October.
Computing & Information Sciences Kansas State University Monday, 18 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 11 of 42 Monday, 18 September.
Computing & Information Sciences Kansas State University Lecture 42 of 42 CIS 732 Machine Learning & Pattern Recognition Lecture 42 of 42 Genetic Programming.
Presentation transcript:

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Lecture 37 of 42 Monday, 01 December 2008 William H. Hsu Department of Computing and Information Sciences, KSU KSOL course page: Course web site: Instructor home page: Reading for Next Class: Sections 22.1, , Russell & Norvig 2 nd edition Vision, Part 1 of 2 Discussion: GEC Concluded

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Lecture Outline This Week: Chapter 26, Russell and Norvig 2e Today: Chapter 23, R&N 2e Wednesday (Last Lecture!): Chapter 24, R&N 2e References  Robot Vision, B. K. P. Horn  Courses:  UCB CS 280: The Vision Problem  Early vs. late vision  Marr’s 2 ½ - D sketch  Waltz diagrams Shape from Shading  Ikeuchi-Horn method  Subproblems: edge detection, segmentation Optical Flow

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence GP Flow Graph Adapted from The Genetic Programming Notebook © 2002 Jaime J. Fernandez

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Structural Crossover Adapted from The Genetic Programming Notebook © 2002 Jaime J. Fernandez

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Structural Mutation Adapted from The Genetic Programming Notebook © 2002 Jaime J. Fernandez

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Genetic Programming: The Next Generation (Synopsis and Discussion) Automatically-Defined Functions (ADFs)  aka macros, anonymous inline functions, subroutines  Basic method of software reuse Questions for Discussion  What are advantages, disadvantages of learning anonymous functions?  How are GP ADFs similar to and different from human-produced functions? Exploiting Advantages  Reuse  Innovation Mitigating Disadvantages  Potential lack of meaning – semantic clarity issue (and topic of debate)  Redundancy  Accelerated bloat – scalability issue

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Code Bloat [1]: Problem Definition Definition  Increase in program size not commensurate with increase in functionality (possibly as function of problem size)  Compare: structural criteria for overfitting, overtraining Scalability Issue  Large GPs will have this problem  Discussion: When do we expect large GPs?  Machine learning: large, complex data sets  Optimization, control, decision making / DSS: complex problem What Does It Look Like? What Can We Do About It?  ADFs  Advanced reuse techniques from software engineering: e.g., design patterns  Functional, object-oriented design; theory of types  Controlling size: parsimony (MDL-like), optimization (cf. compiler)

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Code Bloat [2]: Mitigants Automatically Defined Functions Types  Ensure  Compatibility of functions created  Soundness of functions themselves  Define: abstract data types (ADTs) – object-oriented programming  Behavioral subtyping – still “future work” in GP  Generics (cf. C++ templates)  Polymorphism Advanced Reuse Techniques  Design patterns  Workflow models  Inheritance, reusable classes

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Code Bloat [3]: More Mitigants Parsimony (cf. Minimum Description Length)  Penalize code bloat  Inverse fitness = loss + cost of code (evaluation)  May include terminals Target Language Optimization  Rewriting of constants  Memoization  Loop unrolling  Loop-invariant code motion

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Genetic Programming 3 (Synopsis and Discussion [1]) Automatic Program Synthesis by Computational Intelligence: Criteria  1. Specification: starts with what needs to be done  2. Procedural representation: tells us how to do it  3. Algorithm implementation: produces a computer program  4. Automatic determination of program size  5. Code reuse  6. Parametric reuse  7. Internal storage  8. Iteration (while / for), recursion  9. Self-organization of hierarchies  10. Automatic determination of architecture  11. Wide range of programming constructs  12. Well-defined  13. Problem independent

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Genetic Programming 3 (Synopsis and Discussion [2]) 16 Criteria for Automatic Program Synthesis …  14. Generalization: wide applicability  15. Scalability  16. Human-competitiveness Current Bugbears: Generalization, Scalability Discussion: Human Competitiveness?

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Summary of Videos GP1: Basics of SGP GP2: ADFs and Problem of Code Bloat GP3: Advanced Topics  A. M. Turing’s 16 criteria  How GP does and does not (yet) meet them

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence More Food for Thought and Research Resources Discussion: Future of GP Current Applications Conferences  GECCO: ICGA + ICEC + GP  GEC  EuroGP Journals  Evolutionary Computation Journal (ECJ)  Genetic Programming and Evolvable Machines (GPEM)

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence More Food for Thought and Research Resources Discussion: Future of GP Current Applications Conferences  GECCO: ICGA + ICEC + GP  GEC  EuroGP Journals  Evolutionary Computation Journal (ECJ)  Genetic Programming and Evolvable Machines (GPEM)

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Line Drawing Interpretation

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Line Labeling [1]: Solid Polyhedra and Other Shapes Waltz, others

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Line Labeling [2]: Junctions Junctions occur at tangent discontinuities False T-junctions

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 T. Leung, UC Berkeley (CS 280 Computer Vision) Orientation and Texture Discrimination (Textons) [1]

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Orientation and Texture Discrimination (Textons) [2]

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Segmentation (Grouping) [1]: Definition

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Segmentation (Grouping) [2]: Physical Factors

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Edge Detection [1]: Convolutional Filters and Gaussian Smoothing

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Edge Detection [2]: Difference of Gaussian

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Binocular Stereo [1]: Stereo Correspondence – Properties

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Binocular Stereo [2]: Stereo Correspondence – Open Problems

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Adapted from slides © 1999 J. Malik, UC Berkeley (CS 280 Computer Vision) Optical Flow

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Terminology Vision Problem  Early vs. late vision  Marr’s 2 ½ - D sketch  Waltz diagrams Shape from Shading  Ikeuchi-Horn method  Subproblems: edge detection, segmentation Optical Flow

Computing & Information Sciences Kansas State University Monday, 01 Dec 2008CIS 530 / 730: Artificial Intelligence Summary Points References  Robot Vision, B. K. P. Horn  The Vision Problem  Early vs. late vision  Marr’s 2 ½ - D sketch  Waltz diagrams Shape from Shading  Ikeuchi-Horn method  Subproblems: edge detection, segmentation Optical Flow Next Week  Natural Language Processing (NLP) survey  Final review