SlideServe
Menu
Préférences
© SlideServe · v2026

Enhancing Program Planning through Memory and Learning Strategies

pelham avatar
16 diapositives · 311 Views · Aug 24, 2014

This chapter explores the critical aspects of effective program planning as discussed by Kris Hammond. It emphasizes the importance of memory in retrieving and modifying plans, learning from both successes and failures, and the use of a case-based approach to avoid potential problems. Key topics include the significance of debugging, the necessity of adapting plans based on past experiences, and the need for continuous learning and knowledge repair. Practical examples, such as recipe adjustments, illustrate how to anticipate failures, utilize plan indexes, and improve overall planning effectiveness.

Enhancing Program Planning through Memory and Learning Strategies - slide 1
01 / 16Enhancing Program Planning through Memory and Learning Strategies
1 / 17

Télécharger la présentation

Enhancing Program Planning through Memory and Learning Strategies
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Chef Notes from Kris Hammond’s chapter in ICBR

  2. Planning as Remembering • What did you do the last time you wrote a program? • What does an architect do?

  3. What to remember • Successes • Failures • Goals • The plan

  4. “New theory of planning” • Search memory for plans that satisfy many goals • Learn when recovering from errors • Keep old plans around for reuse

  5. Plan indexes • Successes and Failures • “The case based approach to finding an initial plan is to anticipate problems so the planner can find plans that avoid them” • Anticipate and avoid vs. create and debug

  6. Debugging still required • Mistakes as expectation failures rather than planning failures. • Debugging as explanation; • Repair as plan repair and knowledge repair.

  7. Learning/Adaptation • Learn new plans that avoid problems • New Features that predict problems • Learn the repairs

  8. Plan retriever • “Best match” • Plan memory • Goal similarity metric • Goal value hierarchy

  9. Plan modification • Modification rules • Knowledge critics • General plan knowledge

  10. Plan Storer • Index under same goals as retriever will find them (natch)

  11. Plan Repair • Knowledge of plan+fault to new plan • Knowledge of planning language • Side-effects, benefits, etc. • Causal knowledge • Explanation used to “learn from failure” (blame assignment)

  12. Example: Recipe • Goals: Beef, broccoli stir-fry • Retrieve: beef+green-beans • Alter: • replace green-beans with broccoli • Chop broccoli first • Predicted goals: tender beef, savory dish, crisp broccoli, salty dish, sweet dish, garlicky dish • Cook • Failure! Broccoli is soggy

  13. Failure explanation • What’s wrong? • Broccoli soggy, not crisp • What led to this? • Liquid in pan from beef • Why did you do this? • To cook beef

  14. Plan repair strategies • Concurrent plans sometimes disable one another’s preconditions • Possible plans • Split-and-reform (multiple steps) • Alter-plan:side-effect (replace step with new plan) • Adjunct-plan (add new step)

  15. New plan! • From ‘stir fry broccoli beef, broccoli, garlic, soysauce, sugar’to: • Stir fry broccoli • Stir fry rest • Add ingredients together

  16. Anticipating failure • Broccoli-like veggies will cause this failure in the future • Eg. Looking for a recipe for stir-fried chicken and snow-peas.