OREGON STATE UNIVERSITY

You are here

Faster program adaptation through reward attribution inference

TitleFaster program adaptation through reward attribution inference
Publication TypeConference Paper
Year of Publication2012
AuthorsBauer, T., M. Erwig, A. Fern, and J. Pinto
Conference NameProceedings of the 11th International Conference on Generative Programming and Component Engineering - GPCE '12
Pagination103-111
Date Published09/2012
PublisherACM Press
Conference LocationDresden, Germany
ISBN Number9781450311298
Abstract

In the adaptation-based programming (ABP) paradigm, programs may contain variable parts (function calls, parameter values, etc.) that can be take a number of different values. Programs also contain reward statements with which a programmer can provide feedback about how well a program is performing with respect to achieving its goals (for example, achieving a high score on some scale). By repeatedly running the program, a machine learning component will, guided by the rewards, gradually adjust the automatic choices made in the variable program parts so that they converge toward an optimal strategy.

ABP is a method for semi-automatic program generation in which the choices and rewards offered by programmers allow standard machine-learning techniques to explore a design space defined by the programmer to find an optimal instance of a program template. ABP effectively provides a DSL that allows non-machine-learning experts to exploit machine learning to generate self-optimizing programs.

Unfortunately, in many cases the placement and structuring of choices and rewards can have a detrimental effect on how an optimal solution to a program-generation problem can be found. To address this problem, we have developed a dataflow analysis that computes influence tracks of choices and rewards. This information can be exploited by an augmented machine-learning technique to ignore misleading rewards and to generally attribute rewards better to the choices that have actually influenced them. Moreover, this technique allows us to detect errors in the adaptive program that might arise out of program maintenance. Our evaluation shows that the dataflow analysis can lead to improvements in performance.

DOI10.1145/2371401.2371417