|
ABSTRACT
While existing learning techniques can be viewed as inducing programs from examples, most research has focused on rather narrow classes of programs, e.g., decision trees or logic rules. In contrast, most of today's programs are written in languages such as C++ or Java. Thus, many tasks we wish to automate (e.g. programming by demonstration and software reverse engineering) might be best formulated as induction of code in a procedural language. In this paper we apply version space algebra [10] to learn such procedural programs given execution traces. We consider two variants of the problem (whether or not program-step information is included in the traces) and evaluate our implementation on a corpus of programs drawn from introductory computer science textbooks. We show that our system can learn correct programs from few traces.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
D. R. Barstow. An experiment in knowledge-based automatic programming. Artificial Intelligence, 12:73--119, 1979.
|
| |
2
|
A. W. Biermann. On the Inference of Turing Machines from Sample Computations. Artificial Intelligence, 3:181--198, 1972.
|
| |
3
|
|
| |
4
|
|
 |
5
|
Michael D. Ernst , Adam Czeisler , William G. Griswold , David Notkin, Quickly detecting relevant program invariants, Proceedings of the 22nd international conference on Software engineering, p.449-458, June 04-11, 2000, Limerick, Ireland
[doi> 10.1145/337180.337240]
|
| |
6
|
C. Green and D. Barstow. On program synthesis knowledge. Artificial Intelligence, 10:241--279, 1978.
|
| |
7
|
|
| |
8
|
Haym Hirsh. Theoretical underpinnings of version spaces. In Proceedings of the Twelfth International Joint Conference on Artificial Intelligence, pages 665--670. San Francisco, CA: Morgan Kaufmann, July 1991.
|
| |
9
|
N. Kushmerick, D. Weld, and R. Doorenbos. Wrapper Induction for Information Extraction. In Proceedings of the Fifteenth International Joint Conference on Artificial Intelligence, pages 729--737. San Francisco, CA: Morgan Kaufmann, 1997.
|
| |
10
|
|
| |
11
|
Henry Lieberman, editor. Your Wish is My Command: Giving Users the Power to Instruct their Software. Morgan Kaufmann, 2001.
|
| |
12
|
Z. Manna and R. Waldinger. Knowledge and reasoning in program synthesis. Artificial Intelligence, 6, 1975.
|
| |
13
|
T. Mitchell. Generalization as search. Artificial Intelligence, 18:203--226, 1982.
|
| |
14
|
Dan Hua Mo. Learning Text Editing Procedures from Examples. Master's thesis, University of Calgary, December 1989.
|
| |
15
|
C. Nédellec, C. Rouveirol, H. Adé, F. Bergadano, and B. Tausend. Declarative bias in ILP. In L. de Raedt, editor, Advances in Inductive Logic Programming, pages 82--103. IOS Press, Amsterdam, the Netherlands, 1996.
|
| |
16
|
S. W. Norton and H. Hirsh. Classifier learning from noisy data as probabilistic evidence combination. In Proceedings of the Tenth National Conference on Artificial Intelligence, pages 141--146, Menlo Park, CA, 1992. AAAI Press.
|
| |
17
|
|
| |
18
|
David E. Shaw, William R. Swartout, and C. Cordell Green. Inferring lisp programs from examples. In Proceedings of the Fourth International Joint Conference on Artificial Intelligence, pages 260--267, Tblisi, Georgia, USSR, 1975. San Francisco, CA: Morgan Kaufmann.
|
CITED BY 7
|
|
Tessa Lau , Lawrence Bergman , Vittorio Castelli , Daniel Oblinger, Sheepdog: learning procedures for technical support, Proceedings of the 9th international conference on Intelligent user interface, January 13-16, 2004, Funchal, Madeira, Portugal
|
|
|
|
|
|
|
|
|
|
|
|
Thomas Huining Feng , Lynn Wang , Wei Zheng , Sri Kanajan , Sanjit A. Seshia, Interactive presentation: Automatic model generation for black box real-time systems, Proceedings of the conference on Design, automation and test in Europe, April 16-20, 2007, Nice, France
|
|
|
|
|
|
|
|