Finding latent code errors via machine learning over program executions

Download: PDF, slides (PDF).

“Finding latent code errors via machine learning over program executions” by Yuriy Brun and Michael D. Ernst. In ICSE 2004, Proceedings of the 26th International Conference on Software Engineering, (Edinburgh, Scotland), May 2004, pp. 480-490.
A previous version appeared as “Software Fault Identification via Dynamic Analysis and Machine Learning” by Yuriy Brun. Masters thesis, MIT Department of Electrical Engineering and Computer Science, (Cambridge, MA), August 16, 2003.

Abstract

This paper proposes a technique for identifying program properties that indicate errors. The technique generates machine learning models of program properties known to result from errors, and applies these models to program properties of user-written code to classify and rank properties that may lead the user to errors. Given a set of properties produced by the program analysis, the technique selects a subset of properties that are most likely to reveal an error.

An implementation, the Fault Invariant Classifier, demonstrates the efficacy of the technique. The implementation uses dynamic invariant detection to generate program properties. It uses support vector machine and decision tree learning tools to classify those properties. In our experimental evaluation, the technique increases the relevance (the concentration of fault-revealing properties) by a factor of 50 on average for the C programs, and 4.8 for the Java programs. Preliminary experience suggests that most of the fault-revealing properties do lead a programmer to an error.

Download: PDF, slides (PDF).

BibTeX entry:

@inproceedings{BrunE2004,
   author = {Yuriy Brun and Michael D. Ernst},
   title = {Finding latent code errors via machine learning over program
	executions},
   booktitle = {ICSE 2004, Proceedings of the 26th International
	Conference on Software Engineering},
   pages = {480--490},
   address = {Edinburgh, Scotland},
   month = may,
   year = {2004}
}

Back to Publications whose methodology uses invariant detection.