inductive programming
play

Inductive Programming A Unifying Framework for Analysis and - PowerPoint PPT Presentation

Inductive Programming A Unifying Framework for Analysis and Evaluation of Inductive Programming Systems Hofmann, Kitzelmann, Schmid Cognitive Systems Group University of Bamberg AGI 2009 CogSys Group (Univ. Bamberg) Inductive Programming


  1. Inductive Programming A Unifying Framework for Analysis and Evaluation of Inductive Programming Systems Hofmann, Kitzelmann, Schmid Cognitive Systems Group University of Bamberg AGI 2009 CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 1 / 22

  2. Inductive Program Synthesis (IP) Inductive Program Synthesis (IP) researches the automatic construction of (recursive) programs from incomplete specifications, i.e. input/ouput examples (I/O examples) Example (reverse) I/O-examples: reverse [] = [] reverse [a] = [a] reverse [a,b] = [b,a] reverse [a,b,c] = [c,b,a] Induced functional program: reverse [] = [] reverse (x:xs) = (reverse xs) ++ [x] CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 2 / 22

  3. Key Concepts Preference Bias criteria to choose among ( semantically different!) candidate solutions, i.e syntactic size, number of case distinctions, runtime (search strategy). Restriction Bias Restricts the inducable class of problems, through syntactic constraints, i.e. linear recursion as sole kind of recursion (hypothese language) Background Knowledge already implemented functions , which can by used for synthesis, i.e. append and partition for quicksort Sub Functions Functions neither defined as target functions nor in the background knowledge , but automaticallly introduced as auxiliary functions by the IP algorithm CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 3 / 22

  4. Key Concepts Preference Bias criteria to choose among ( semantically different!) candidate solutions, i.e syntactic size, number of case distinctions, runtime (search strategy). Restriction Bias Restricts the inducable class of problems, through syntactic constraints, i.e. linear recursion as sole kind of recursion (hypothese language) Background Knowledge already implemented functions , which can by used for synthesis, i.e. append and partition for quicksort Sub Functions Functions neither defined as target functions nor in the background knowledge , but automaticallly introduced as auxiliary functions by the IP algorithm CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 3 / 22

  5. Key Concepts Preference Bias criteria to choose among ( semantically different!) candidate solutions, i.e syntactic size, number of case distinctions, runtime (search strategy). Restriction Bias Restricts the inducable class of problems, through syntactic constraints, i.e. linear recursion as sole kind of recursion (hypothese language) Background Knowledge already implemented functions , which can by used for synthesis, i.e. append and partition for quicksort Sub Functions Functions neither defined as target functions nor in the background knowledge , but automaticallly introduced as auxiliary functions by the IP algorithm CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 3 / 22

  6. Key Concepts Preference Bias criteria to choose among ( semantically different!) candidate solutions, i.e syntactic size, number of case distinctions, runtime (search strategy). Restriction Bias Restricts the inducable class of problems, through syntactic constraints, i.e. linear recursion as sole kind of recursion (hypothese language) Background Knowledge already implemented functions , which can by used for synthesis, i.e. append and partition for quicksort Sub Functions Functions neither defined as target functions nor in the background knowledge , but automaticallly introduced as auxiliary functions by the IP algorithm CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 3 / 22

  7. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Inductive Logic Programming (ILP) Inductive Functional Programming (IFP) CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 4 / 22

  8. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Inductive Logic Programming (ILP) ILP is machine learning with representation and inference based on Computational Logic (P ROLOG ). IP as special case of ILP . Inductive Functional Programming (IFP) CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 4 / 22

  9. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Inductive Logic Programming (ILP) Inductive Functional Programming (IFP) Based Term Rewriting or Combinatory Logic / λ -calculus primary objective is program learning CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 4 / 22

  10. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Analytic Generate & Test CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 5 / 22

  11. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Analytic different inputs are “sub problems” of each other so their output is included in other outputs as subterms analyze I/Os and fold regularities into a recursive definition Generate & Test CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 5 / 22

  12. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Analytic Generate & Test (1): systematic enumerate all correct programs systematically constraints limit search space (type information, library, modes) I/Os are only used as filter CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 5 / 22

  13. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II Analytic Generate & Test (2): evolutionary heuristic use genetic coperators to traverse search space fitness function maps programs to numeric space evaluated program attributes are e.g. runtime, program size, etc. CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 5 / 22

  14. Different Approaches analytic generate & test systematic evolutionary logic D IALOGS -II F OIL /F FOIL , G OLEM functional T HESYS , M AGIC - A DATE I GOR I, H ASKELLER I GOR II large diversity of underlying theoretical concepts and requirements ⇒ hard to compare and evaluate CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 6 / 22

  15. Need for Unifying Framework Provide system independent syntax and operational semantics Benefits + consistent representation of different target languages + gives a unifying (“normalised”) perspecitve on IP systems + helps identifying system specific strength and weaknesses + provide a transparent evaluation and comparison of IP systems + basis for a general IP algorithm + means for an abstract problem definition language ( IP P roblem D efinition L anguage) Conditional Constructor (Rewrite) Systems (CCS) CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 7 / 22

  16. Need for Unifying Framework Provide system independent syntax and operational semantics Benefits + consistent representation of different target languages + gives a unifying (“normalised”) perspecitve on IP systems + helps identifying system specific strength and weaknesses + provide a transparent evaluation and comparison of IP systems + basis for a general IP algorithm + means for an abstract problem definition language ( IP P roblem D efinition L anguage) Conditional Constructor (Rewrite) Systems (CCS) CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 7 / 22

  17. Need for Unifying Framework Provide system independent syntax and operational semantics Benefits + consistent representation of different target languages + gives a unifying (“normalised”) perspecitve on IP systems + helps identifying system specific strength and weaknesses + provide a transparent evaluation and comparison of IP systems + basis for a general IP algorithm + means for an abstract problem definition language ( IP P roblem D efinition L anguage) Conditional Constructor (Rewrite) Systems (CCS) CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 7 / 22

  18. Need for Unifying Framework Provide system independent syntax and operational semantics Benefits + consistent representation of different target languages + gives a unifying (“normalised”) perspecitve on IP systems + helps identifying system specific strength and weaknesses + provide a transparent evaluation and comparison of IP systems + basis for a general IP algorithm + means for an abstract problem definition language ( IP P roblem D efinition L anguage) Conditional Constructor (Rewrite) Systems (CCS) CogSys Group (Univ. Bamberg) Inductive Programming AGI 2009, Arlington 7 / 22

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend