無限ループを持つ確率型プログラムの実行時間解析
Runtime Analysis of Probabilistic Programs with Unbounded Recursion
Runtime Analysis of Probabilistic Programs with Unbounded Recursion
@misc{brazdil2010runtime,
title = {Runtime Analysis of Probabilistic Programs with Unbounded Recursion},
author = {Tomas Brazdil and Stefan Kiefer and Antonin Kucera and Ivana Hutarova Varekova},
year = {2010},
eprint = {1007.1710},
archivePrefix = {arXiv},
primaryClass = {cs.LO},
url = {https://arxiv.org/abs/1007.1710}
}
Brazdil, T., Kiefer, S., Kucera, A., & Varekova, I. H. (2010). Runtime Analysis of Probabilistic Programs with Unbounded Recursion [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1007.1710
BRAZDIL T, KIEFER S, KUCERA A, et al. Runtime Analysis of Probabilistic Programs with Unbounded Recursion[EB/OL]. (2010-07-10)[2026-11-29]. https://arxiv.org/abs/1007.1710.
要旨
無限再帰を持つプログラムにおける終了時間と再帰時間について研究する。これらのプログラムはランダム化されたものか、統計的に定量化された入力に対して動作するものを含む。このようなプログラムの下地となる形式モデルとして、確率的プッシュダウンオートマトン(pPDA)を採用する。pPDA は確率的再帰状態機械と等価である。pPDA の終了時間の分布に対して尾の bound を導出した。また、終了しないことを想定する確率的再帰プログラム(システムデーモン、ネットワークサーバーなど)の再帰時間についても研究する。通常、このようなプログラムは環境によって生成される特定のリクエストに応答し、有限のリクエストサービスサイクルで動作する。長期間のリクエストサービスサイクルの頻度に対して bound を導出した。
We study termination time and recurrence time in programs with unbounded recursion, which are either randomized or operate on some statistically quantified inputs. As the underlying formal model for such programs we use probabilistic pushdown automata (pPDA) which are equivalent to probabilistic recursive state machines. We obtain tail bounds for the distribution of termination time for pPDA. We also study the recurrence time for probabilistic recursive programs that are not supposed to terminate (such as system daemons, network servers, etc.). Typically, such programs react to certain requests generated by their environment, and hence operate in finite request-service cycles. We obtain bounds for the frequency of long request-service cycles.