ACM Home Page
Please provide us with feedback. Feedback
Learning programs from traces using version space algebra
Full text PdfPdf (338 KB)
Source International Conference On Knowledge Capture archive
Proceedings of the 2nd international conference on Knowledge capture table of contents
Sanibel Island, FL, USA
SESSION: Technical papers table of contents
Pages: 36 - 43  
Year of Publication: 2003
ISBN:1-58113-583-1
Authors
Tessa Lau  IBM TJ Watson Research, Yorktown Heights, NY
Pedro Domingos  University of Washington, Seattle, WA
Daniel S. Weld  University of Washington, Seattle, WA
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 9,   Downloads (12 Months): 25,   Citation Count: 7
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/945645.945654
What is a DOI?

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
 
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

Collaborative Colleagues:
Tessa Lau: colleagues
Pedro Domingos: colleagues
Daniel S. Weld: colleagues