Skip to main content
QUICK REVIEW

[論文レビュー] Faster Algorithms for Quantitative Verification in Constant Treewidth Graphs

Krishnendu Chatterjee, Rasmus Ibsen-Jensen|arXiv (Cornell University)|Jan 1, 2015
Formal Methods in Verification参考文献 30被引用数 3
ひとこと要約

本稿では、定数幅木幅グラフにおける定量的検証のためのより高速なアルゴリズムを提示している。主な対象は平均報酬、レート、および最小初期クレジットの性質である。定数幅木幅の構造的性質を活用することで、時間計算量と空間計算量の両方を改善した。例えば、平均報酬の近似には O(n · log(n/ϵ))、最小初期クレジットには O(n · log n) の時間計算量を達成し、古典的手法および先行の最先端手法を理論的および実践的両面で上回った。

ABSTRACT

We consider the core algorithmic problems related to verification of systems with respect to three classical quantitative properties, namely, the mean-payoff property, the ratio property, and the minimum initial credit for energy property. The algorithmic problem given a graph and a quantitative property asks to compute the optimal value (the infimum value over all traces) from every node of the graph. We consider graphs with constant treewidth, and it is well-known that the control-flow graphs of most programs have constant treewidth. Let $n$ denote the number of nodes of a graph, $m$ the number of edges (for constant treewidth graphs $m=O(n)$) and $W$ the largest absolute value of the weights. Our main theoretical results are as follows. First, for constant treewidth graphs we present an algorithm that approximates the mean-payoff value within a multiplicative factor of $\epsilon$ in time $O(n \cdot \log (n/\epsilon))$ and linear space, as compared to the classical algorithms that require quadratic time. Second, for the ratio property we present an algorithm that for constant treewidth graphs works in time $O(n \cdot \log (|a\cdot b|))=O(n\cdot\log (n\cdot W))$, when the output is $\frac{a}{b}$, as compared to the previously best known algorithm with running time $O(n^2 \cdot \log (n\cdot W))$. Third, for the minimum initial credit problem we show that (i)~for general graphs the problem can be solved in $O(n^2\cdot m)$ time and the associated decision problem can be solved in $O(n\cdot m)$ time, improving the previous known $O(n^3\cdot m\cdot \log (n\cdot W))$ and $O(n^2 \cdot m)$ bounds, respectively; and (ii)~for constant treewidth graphs we present an algorithm that requires $O(n\cdot \log n)$ time, improving the previous known $O(n^4 \cdot \log (n \cdot W))$ bound. We have implemented some of our algorithms and show that they present a significant speedup on standard benchmarks.

研究の動機と目的

  • 反復的システムの定量的検証における性能ボトルネックを解消すること、特に大多数のプログラムの制御フローをモデル化する定数幅木幅グラフを対象とする。
  • 平均報酬、レート、エネルギーのための最小初期クレジットという3つの主要な定量的性質のコアアルゴリズムの時間計算量と空間計算量を改善すること。
  • 実世界の制御フローチャート(標準ベンチマークから得たもの)において、既存手法を上回る実用的かつ効率的なアルゴリズムを開発すること。
  • treewidth構造をアルゴリズム設計に活用した理論的および実験的利点を示すこと。

提案手法

  • 定数幅木幅グラフの木分解を活用し、木構造上の動的計画法および分割統治戦略を可能にする。
  • 候補値の二分探索と変換されたグラフにおける最短経路計算を組み合わせた、新たな ϵ-近似アルゴリズムを設計し、平均報酬を計算する。
  • パラメトリックサーチと有理数比の二分探索を用いて、最適なレート性質を O(n · log(|a·b|)) 時間で計算する。
  • 最小初期クレジット問題をパラメトリック最短経路問題に再定式化し、木分解を活用して問題サイズを削減し、効率的な計算を可能にする。
  • 最適化されたデータ構造とキャッシュ技術を用いて、実装における定数係数を低減する。
  • DaCapoおよびDIMACSベンチマークから得た実際の制御フローチャートに対してアルゴリズムを実装・評価し、理論的改善を検証する。

実験結果

リサーチクエスチョン

  • RQ1定数幅木幅グラフにおいて、平均報酬値の計算を二次未塔時間で達成できるか?
  • RQ2定数幅木幅グラフにおいて、レート性質を O(n² · log(n·W)) よりも速く計算できるか?
  • RQ3一般グラフでは最小初期クレジット問題を三次未塔時間で、定数幅木幅グラフでは線形対数時間で解けるか?
  • RQ4理論的な改善が、実世界のプログラム制御フローチャートにおいて実際の性能向上にどのように反映されるか?

主な発見

  • 平均報酬性質に関して、提案されたアルゴリズムは O(n · log(n/ϵ)) 時間および O(n) 空間で ϵ-近似を計算でき、古典的手法の O(n²) 時間計算量を上回った。
  • レート性質に関して、アルゴリズムは O(n · log(|a·b|)) = O(n · log(n·W)) 時間で実行され、前例の O(n² · log(n·W)) の境界を著しく改善した。
  • 一般グラフにおける最小初期クレジット問題に関して、アルゴリズムは O(n²·m) 時間で実行され、前例の O(n³·m·log(n·W)) の境界を改善した。
  • 定数幅木幅グラフでは、最小初期クレジット問題が O(n · log n) 時間で解け、前例の O(n⁴·log(n·W)) の境界を大幅に改善した。
  • DaCapoベンチマークにおける実験的評価では、提案されたアルゴリズムは既存手法と比較して桁違いに高速であり、メモリ使用量も顕著に少なかった。
  • 実装は強力な実用的スケーラビリティを示しており、グラフサイズが大きくなるほど性能向上が顕著に現れ、特に中規模グラフ(500〜1300ノード)で顕著であった。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。