Recovering from errors during programming by demonstration

Jiun-Hung Chen and Daniel S. Weld

Abstract

Many end-users wish to customize their applications, automating common tasks and routines. Unfortunately, this automation is difficult today --- users must choose between brittle macros and complex scripting languages. Programming by demonstration (PBD) offers a middle ground, allowing users to demonstrate a procedure multiple times and generalizing the requisite behavior with machine learning. Unfortunately, many PBD systems are almost as brittle as macro recorders, offering few ways for a user to control the learning process or correct the demonstrations used as training examples. This paper presents CHINLE, a system which automatically constructs PBD systems for applications based on their interface specification. The resulting PBD systems have novel interaction and visualization methods, which allow the user to easily monitor and guide the learning process, facilitating error recovery during training. CHINLE-constructed PBD systems learn procedures with conditionals and perform partial learning if the procedure is too complex to learn completely.

Venue
IUI 2008
Volume
Proceedings of the 13th international conference on Intelligent user interfaces
DOI
10.1145/1378773.1378794
PDF
https://dl.acm.org/doi/pdf/10.1145/1378773.1378794
Anthology ID
2008.iui.17

Cite

@inproceedings{chen-weld-2008-recovering,
    title = {{Recovering from errors during programming by demonstration}},
    author = {Jiun-Hung Chen and Daniel S. Weld},
    booktitle = {Proceedings of the 13th international conference on Intelligent user interfaces},
    isbn = {9781595939876},
    year = {2008},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/1378773.1378794},
    url = {https://doi.org/10.1145/1378773.1378794},
    abstract = {Many end-users wish to customize their applications, automating common tasks and routines. Unfortunately, this automation is difficult today --- users must choose between brittle macros and complex scripting languages. Programming by demonstration (PBD) offers a middle ground, allowing users to demonstrate a procedure multiple times and generalizing the requisite behavior with machine learning. Unfortunately, many PBD systems are almost as brittle as macro recorders, offering few ways for a user to control the learning process or correct the demonstrations used as training examples. This paper presents CHINLE, a system which automatically constructs PBD systems for applications based on their interface specification. The resulting PBD systems have novel interaction and visualization methods, which allow the user to easily monitor and guide the learning process, facilitating error recovery during training. CHINLE-constructed PBD systems learn procedures with conditionals and perform partial learning if the procedure is too complex to learn completely.}
}