T220 : Probabilistic program analysis
|
Supervision:
|
||||||
|
Research group:
Declarative Languages and Artificial Intelligence
|
||||||
|
Context:
Quantifying the likelihood of different execution properties of a program under a certain distribution of inputs (called "usage profile") can be an important part of understanding the behavior of the program or the impact of implementation choices. For instance, if the program is unlikely to call a certain subroutine given the usage profile, that might be a reason not to optimize the implementation of that subroutine. Or, if a program classifies situations based on a number of sensor readings, we might be interested in the probability that random noise in the readings changes the classification result. As a more concrete example, consider a coffee machine with a number of recipes combining different amounts of coffee, milk, sugar and cocoa, and containers of given sizes for those ingredients. A monitoring program for such a machine tracks the supply levels, that is, given a sequence of recipes demanded, it computes how much of each ingredient is still left in the machine, and disables a choice of recipe if supplies are below certain thresholds. Given a distribution over daily demands (for instance, from usage data collected in the past), we can ask questions such as:
Probabilistic logic programming (PLP) languages such as ProbLog (http:// dtai.cs.kuleuven.be/problog/ ) are promising tools to study such tasks, as they (1) allow the user to naturally represent probability distributions, programs, and properties of programs, and (2) come with general purpose inference algorithms to compute the probability of a query (or property) being true. However, naive encodings of such tasks likely pose a challenge to these inference algorithms, as the space of possibilities they need to explore grows rapidly with the number of inputs. One way to tackle this challenge is the use of symbolic execution techniques, which detect and exploit different inputs that result in the same behavior of the program. |
||||||
|
Aim:
The goal of this thesis is to model a range of probabilistic program analysis tasks in PLP, and to investigate new or modified inference approaches for PLP based on symbolic execution. |
||||||
|
Possible research questions:
|
||||||
|
Approach:
This thesis combines modeling and experimentation on the one hand with the development or improvement of probabilistic inference techniques on the other hand. |
||||||
|
Relevant literature:
ProbLog: http://dtai.cs.kuleuven.be/problog/ A. Filieri, C. Pasareanu, W. Visser. Reliability analysis in symbolic pathfinder. Proceedings of the 2013 International Conference on Software Engineering. http://dl.acm.org/ citation.cfm?id=2486870 examples on http://systems.cs.colorado.edu/research/cyberphysical/probabilistic-program- analysis/ |
||||||
|
Student profile:
Interest in program analysis and probabilistic logic modeling; knowledge of Prolog and/or Python is an advantage. This topic is for 1 student(s). This topic can be selected by
|
||||||
|
Clusters, in which this topic appears:
|

