Programming by demonstration
From Wikipedia, the free encyclopedia
In computer science, programming by demonstration (PbD) is an End-user development technique for teaching a computer or a robot new behaviors by demonstrating the task totransfer directly instead of programming it through machine commands.
The terms programming by example (PbE) and programming by demonstration (PbD) appeared in software development research as early as the mid 1980s[1] to define a way to define a sequence of operations without having to learn a programming language. The usual distinction in literature between these terms is that in PbE the user gives a prototypical product of the computer execution, such as a row in the desired results of a query; while in PbD the user performs a sequence of actions that the computer must repeat, generalizing it to be used in different data sets.
These two terms were first undifferentiated, but PbE then tended to be mostly adopted by software development researchers while PbD tended to be adopted by robotics researchers. Today, PbE refers to an entirely different concept, supported by new programming languages that are similar to simulators.
Contents |
Robot programming by demonstration
The PbD paradigm is first attractive to the robotics industry due to the costs involved in the development and maintenance of robot programs. In this field, the operator often has implicit knowledge on the task to achieve (he/she knows how to do it), but does not have usually the programming skills (or the time) required to reconfigure the robot. Demonstrating how to achieve the task through examples thus allows to learn the skill without explicitly programming each detail.
The first PbD strategies proposed in robotics were based on teach-in, guiding or play-back methods that consistedbasically in moving the robot (through a dedicated interface or manually) through a set of relevant configurations that the robotshould adopt sequentially (position, orientation, state of the gripper). The method was then progressively ameliorated byfocusing principally on the teleoperation control and by using different interfaces such as vision.
However, these PbD methods still used direct repetition, which was useful in industry only when conceiving an assembly line using exactly the same product components. To apply this concept to products with different variants or to apply the programs to new robots, the generalization issue became a crucial point. To address this issue, the first attempts at generalizing the skillwere mainly based on the help of the user through queries about the user's intentions. Then, different levels of abstractions wereproposed to resolve the generalization issue, basically dichotomized in learning methods at a symbolic level or at a trajectory level.
The development of humanoid robots naturally brought a growing interest in robot programming by demonstration. As a humanoid robot is supposed by its nature to adapt to new environments, not only the human appearance is important but the algorithms used for its control require flexibility and versatility. Due to the continuously changing environments and to the huge varieties of tasks that a robot is expected to perform, the robot requires the ability to continuously learn new skills and adapt the existing skills to new contexts.
Research in PbD also progressively departed from its original purely engineering perspective to adopt an interdisciplinary approach, taking insights from neuroscience and social sciences to emulate the process of imitation in humans and animals. With the increasing consideration of this body of work in robotics, the notion of Robot programming by demonstration (also known as RPD or RbD) was also progressively replaced by the more biological label of Learning by imitation.
References
- ^ Halbert, Dan (November 1984). Programming by Example. U.C. Berkeley (PhD diss.). http://www.halwitz.org/halbert/pbe.pdf. Retrieved 2008-05-26.
- Cypher, Allen. Watch What I Do: Programming by Demonstration. Contributor Daniel C. Halbert. Publisher: MIT Press. ISBN 0262032139. http://www.acypher.com/wwid/.
- Lieberman, Henry. Your Wish is My Command: Programming By Example. Contributor Ben Shneiderman. Publisher: Morgan Kaufmann. ISBN 1558606882. http://web.media.mit.edu/~lieber/PBE/Your-Wish/.
External links
- Reviews Papers
- Billard, Aude. "Robot Programming by Demonstration". Handbook of Robotics (Publisher: MIT Press). http://infoscience.epfl.ch/getfile.py?docid=14806&name=chapter5_9&format=pdf&version=1.
- Schaal, S. "Computational approaches to motor learning by imitation". in: Frith, C. D.;Wolpert, D. (eds.), The Neuroscience of Social Interaction, 1431, pp.199-218 (Publisher: Oxford University Press). http://www-clmc.usc.edu/publications/S/schaal-PTRSB2003.pdf.
- Robots that imitate humans, Cynthia Breazeal and Brian Scassellati, Trends in Cognitive Sciences, 6:1, 2002, pp. 481-487
- Imitation. A. Billard. In M. A. Arbib (ed.), Handbook of Brain Theory and Neural Networks, MIT Press, 566-569.
- Is imitation learning the route to humanoid robots? S Schaal, Trends in Cognitive Sciences, 1999.
- Special Issues in Journals
- [1] IEEE Transaction on Systems, Man, and Cybernetics, Special Issue on Robot Learning by Observation, Demonstration, and Imitation, Part B, 37:2, April 2007
- RSJ Advanced Robotics, Special Issue on Imitative Robots. Vol. 21, No. 13.
- Neural Networks, Special issue on The Neural Mechanisms of Imitation Learning, Elsevier Ltd.
- Robotics & Autonomous Systems, special issue on The Social Mechanisms of Robot Programming by Demonstration, Elsevier Ltd, 2006.
- Key Laboratories and People
- [2] LASA laboratory at EPFL: Machine Learning techniques for Robot Programming by Demonstration
- [3] CLMC Lab at USC: Reinforcement Learning and Learning of Motor Primitives
- http://www.calinon.ch/research.php Sylvain Calinon's webpage on interactive teacher-student (or better trainer/coach-trainee/client) kinesthetic demonstration.
- [4] Darrin Bentivegna's work on teaching air hockey to a humanoid robot
- Community activities on closely related topics
Videos
A robot that learns to cook an omelet([7] Short Version;
- [8] Long Version)
Boggle