arXiv論文メモ
新着一覧
cs.PL · 査読状況未確認

プログラムの故障頻度を誤差保証付きで推定する

How Often Does Your Program Fail?

Arnab Ray, Aalok Thakkar

この論文をやさしく読む

ひとことで言うと

実際に使われる入力の分布を踏まえ、プログラムが失敗などの条件を満たす頻度を、保証付き区間で推定する枠組みです。

何に役立つ?

テストの回数と記号的な解析を組み合わせて、運用時の信頼性を定量的に評価するために役立ちます。まれな失敗の推定も視野に入れています。

この研究の面白いところ

誤差をサンプリングで減らす部分と、入力領域の記号的な確定で減らす部分に分けます。3つの不変条件を満たせば、どの時点で止めても真の頻度を確率1−δで含む区間が得られると証明します。

どこまで分かった?

保証は与えられた入力分布と条件、枠組みの不変条件に依存します。複雑な算術やループは記号法の難所で、まれな失敗は標本数の難所だと整理しており、要旨には実測の高速化数値はありません。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

本番運用のソフトウェアには、実際の使われ方に応じた入力が与えられる。本研究では、入力分布を考慮した信頼性推定を扱う。プログラム、運用時の入力分布、注目する条件が与えられたとき、その条件が成立する頻度を求め、保証された誤差上限とともに結果を認証する。 この問いには記号的方法と統計的方法という2つの答え方がある。記号的方法は入力空間の領域全体について推論し、頻度を厳密に認証できるが、複雑な算術やループの扱いが難しいことが多い。統計的方法は入力をサンプリングして集中不等式を適用する。広く適用できる一方、故障がまれなときには多数の標本が必要になることがある。 本研究は、両者を特別な場合として含む枠組みに統合する。各推定器は、確率質量の推定器、葉ごとの信頼限界、記号的な閉包規則の3要素からなる。3つの不変条件を満たす実装であれば、停止時点によらず、真の頻度を確信度1−δで含む区間を返すことを証明する。認証される誤差は、サンプリングで減る統計的な項と、記号的閉包で減る構造的な項の2つからなる。純粋なサンプリングと純粋な記号実行は、それぞれ一方の項しか減らさない。構成要素の選択を変えることで、この枠組みは希少事象の分散低減法にも対応できる。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-17(UTC)
最新改訂
2026-09-17 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Software in production encounters inputs shaped by how it is used in practice. We study distribution-aware reliability estimation: given a program, its operational input distribution, and a condition of interest, determine how often that condition holds and certify the result with a guaranteed error bound. Symbolic and statistical methods offer two ways to answer this question. Symbolic methods reason about entire regions of the input space and can certify rates exactly, but often struggle with complex arithmetic or loops. Statistical methods instead sample inputs and apply concentration bounds. They are broadly applicable, but can require many samples when failures are rare. We bring these approaches together in a framework that includes both as special cases. Each estimator has three components: a mass estimator, a per-leaf confidence bound, and a symbolic closure rule. We prove that any instantiation satisfying three invariants returns an interval containing the true rate with confidence 1-delta, regardless of when it stops. The certified error has two parts: a statistical term, reduced by sampling, and a structural term, reduced by symbolic closure. Pure sampling and pure symbolic execution each reduce only one of these terms. Alternative choices of the components also allow the framework to support rare-event variance-reduction methods.

arXiv ID: 2609.20037 / 要約の誤りについて