I7 Logo
Chair for Foundations of Software Reliability and Theoretical Computer Science
Informatik Logo TUM Logo
Publications - On the Memory Consumption of Probabilistic Pushdown Automata

Reference:

Tomáš Brázdil, Javier Esparza, and Stefan Kiefer. On the memory consumption of probabilistic pushdown automata. Technical Report FIMU-RS-2009-07, Faculty of Informatics, Masaryk University, October 2009. Available at http://www.fi.muni.cz/reports/files/2009/FIMU-RS-2009-07.pdf.

Abstract:

We investigate the problem of evaluating memory consumption for systems modelled by probabilistic pushdown automata (pPDA). The space needed by a run of a pPDA is the maximal height reached by the stack during the run. The problem is motivated by the investigation of depth-first computations that play an important role for space-efficient schedulings of multithreaded programs. We study the computation of both the distribution of the memory consumption and its expectation. For the distribution, we show that a naive method incurs an exponential blow-up, and that it can be avoided using linear equation systems. We also suggest a possibly even faster approximation method. Given , these methods allow to compute bounds on the memory consumption that are exceeded with a probability of at most . For the expected memory consumption, we show that whether it is infinite can be decided in polynomial time for stateless pPDA (pBPA) and in polynomial space for pPDA. We also provide an iterative method for approximating the expectation. We show how to compute error bounds of our approximation method and analyze its convergence speed. We prove that our method converges linearly, i.e., the number of accurate bits of the approximation is a linear function of the number of iterations.

Suggested BibTeX entry:

@techreport{BEK09:fsttcsTechRep,
    author = {Tom\'{a}\v{s} Br\'{a}zdil and Javier Esparza and Stefan Kiefer},
    institution = {Faculty of Informatics, Masaryk University},
    month = {October},
    note = {Available at http://www.fi.muni.cz/reports/files/2009/FIMU-RS-2009-07.pdf},
    number = {FIMU-RS-2009-07},
    title = {On the Memory Consumption of Probabilistic Pushdown Automata},
    year = {2009}
}

PDF (447 kB)
Conference version