논문 해설
Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound
분기 한정법을 이용한 신경망의 확률적 검증 문제 해결
- 연구 문제 확률적 신경망 검증은 입력 분포 아래에서 출력이 조건을 만족할 확률의 경계를 건전하게 계산하는 문제입니다.
- 연구 방법 PV는 각 확률에 대해 PROBBOUNDS를 병렬로 실행하고, 분기 한정으로 입력 공간을 분할하며 만족 또는 위반이 확실한 분기의 확률을 누적해 경계를 정제합니다.
- 주요 결과 FairSquare 벤치마크에서 PV는 FAIRSQUARE보다 4개 많은 인스턴스를 15분 안에 해결하고, ACAS Xu 강건성 실험에서는 PROBBOUNDS의 평균 실행 시간이 22초입니다.
확률적 검증 문제와 기존 방법의 한계
신경망 검증은 보통 특정 입력 집합 전체에서 출력이 안전 조건을 만족하는지를 확인합니다. 이에 비해 확률적 검증 문제는 입력이 주어진 확률 분포를 따를 때 출력이 특정 조건을 만족하는 확률을 다룹니다. 원문은 인구통계적 동등성 공정성 검사와 안전 위반 확률 계산을 대표적인 예로 듭니다. 이 논문은 이러한 확률을 건전하게 하한과 상한으로 계산하는 알고리즘을 다룹니다.
기존 확률적 검증기들은 적용 범위나 보장 수준에서 제약이 있습니다. FAIRSQUARE는 입력 공간을 분할하고 SMT 솔빙으로 분할을 정제하며, PROVE SLR은 #DNN 검증에 특화되어 있습니다. 원문은 이들과 달리 본 논문의 PV가 일반적인 확률 검증 문제를 대상으로 하고, 경계 전파와 분기 한정 기법을 사용한다고 설명합니다.

Table 1 . Comparison of Related Approaches. Sound approaches provide definite guarantees. Probably sound approaches only provide PAC-type guarantees. Approaches marked ‘unsound∗’ are sound in specific settings but neither sound nor probably sound in general.
원문 · CC BY 4.0 · David Boetius, Stefan Leue, Tobias Sutter · Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.PV의 분기 한정 절차
PV는 식 (3)의 각 확률 p_i에 대해 PROBBOUNDS를 병렬로 실행하고, 수집한 확률 경계로 fSat의 경계를 계산합니다. 경계가 결론을 내리지 못하면 각 확률의 경계를 반복적으로 정제합니다. PROBBOUNDS는 초기 분기로 입력 공간 전체를 하나의 분기로 두고, SELECT PROB 휴리스틱으로 확률 질량이 큰 분기 N개를 고릅니다.
선택된 분기에서는 COMPUTE BOUNDS로 gSat의 하한과 상한을 계산합니다. 하한이 0 이상이면 그 분기는 만족이 확실하고, 상한이 0 미만이면 위반이 확실하므로 가지치기합니다. 만족 분기의 확률 합은 하한 ℓ(t)을, 위반 분기의 확률 합은 상한 u(t)를 갱신하는 데 사용됩니다. 남은 분기는 LONGEST EDGE 또는 BABSB 변형으로 분할합니다.
COMPUTE BOUNDS로는 INTERVAL ARITHMETIC이나 CROWN을 사용할 수 있으며, 원문 실험 설정에서는 PV에 INTERVAL ARITHMETIC을, PROBBOUNDS에 CROWN을 사용했습니다. BABSB 변형은 분할 후 경계 개선량을 추정하여 분할 차원을 고르는 휴리스틱입니다.
건전성과 조건부 완전성
정리 5.1은 COMPUTE BOUNDS가 유효한 경계를 낼 때 PROBBOUNDS가 매 반복에서 하한과 상한을 참 확률 사이에 둔다는 결과입니다. 따라서 PV는 건전합니다. 이 건전성 결과는 경계 계산 절차가 유효하다는 조건부 결과입니다.
완전성은 더 강한 결론이며 조건이 필요합니다. 완전성 결과는 Assumption 5.3, 즉 fSat(p1,...,pv)≠0이고 각 i에 대해 Px(i)[g(i)Sat=0]=0이라는 조건 아래에서 성립합니다. Lemma 5.4는 이 조건 아래에서 PROBBOUNDS의 하한과 상한이 확률값으로 수렴한다는 결과이며, Theorem 5.5는 이를 이용해 INTERVAL ARITHMETIC 또는 CROWN을 쓰는 PV가 완전함을 보입니다. 원문은 BABSB 휴리스틱에는 이 완전성 결과가 적용되지 않는다고 명시하며, BABSB-LONGESTEDGE-k는 이 결과에 포함된다고 설명합니다.
FairSquare 벤치마크 결과
FairSquare 벤치마크에서 PV는 FAIRSQUARE보다 15분 제한 안에서 4개 더 많은 인스턴스를 해결합니다. 해결된 공통 인스턴스의 중앙 실행 시간은 PV가 4초, FAIRSQUARE가 44초입니다. 이 비교는 공정성 검증 인스턴스에 대한 결과이며, 다른 과제나 분포로 일반화된 결과는 아닙니다.

Table 4 . FairSquare benchmark results. The first two columns indicate the neural network net that is verified and the input probability distribution Px, respectively. We verify two fairness notions: demographic parity and parity of qualified persons. For each fairness notion, the first two columns contain the runtime of PV and FAIR SQUARE in seconds. Here, ‘TO’ indices timeout (900s). The last column contains the result of the verification with PV.
원문 · CC BY 4.0 · David Boetius, Stefan Leue, Tobias Sutter · Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound · 원문 그림 인용 · 원본 PDF 31쪽에서 그림 영역을 추출했습니다.ACAS Xu 실험 결과
ACAS Xu 강건성 실험은 Converse 등의 SPACESCANNER 설정을 재현한 것입니다. 네트워크 N1,1에 대해 25개 기준 입력과 125개 검증 문제를 다루며, PROBBOUNDS의 평균 실행 시간은 22초(중앙값 6초, 최대 213초)입니다. 원문은 SPACESCANNER의 평균 33분이 다른 하드웨어에서 측정되었다고 밝히므로, 이 시간 비교는 하드웨어 차이를 함께 고려해야 합니다.
안전성 실험에서는 균등 입력에서 위반 비율의 경계를 계산합니다. PROVE SLR은 정확한 위반 비율을, ε-PROVE는 99.9% 신뢰 상한을 계산하며, PROBBOUNDS는 시간 예산에 따라 건전한 하한과 상한을 보고합니다.

Table 3 . Comparison of PROBBOUNDS , PROVE SLR , and ε-PROVE. We run PROBBOUNDS with different time budgets (10s, 1m, 1h) and report the lower and upper bounds ( ℓ, u) computed within this time budget. In contrast, PROVE SLR computes the exact probabilities (VR), and ε-PROVE computes a 99.9% confidence (confid.) upper bound. The probabilities and probability bounds are given as percentages. The runtimes (Rt) of P ROVE SLR are taken from Marzari et al. (2023b).
원문 · CC BY 4.0 · David Boetius, Stefan Leue, Tobias Sutter · Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Table 6 . Extended PROBBOUNDS results for ACAS Xu safety.
원문 · CC BY 4.0 · David Boetius, Stefan Leue, Tobias Sutter · Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound · 원문 그림 인용 · 원본 PDF 33쪽에서 그림 영역을 추출했습니다.적용 범위와 한계
PV는 입력 공간을 초직사각형으로 요구하고, 각 입력 분포가 초직사각형의 확률을 닫힌 형태로 정확히 계산할 수 있어야 합니다. 원문은 이 제약을 다항식 변환 등으로 완화할 수 있다고 설명하지만, 그 완화가 모든 분포에 적용된다고 주장하지 않습니다.
완전성 결과는 Assumption 5.3 아래에서만 증명됩니다. 원문은 BABSB 휴리스틱에 대한 완전성 결과가 없다고 명시합니다. MiniACSIncome 실험에서는 입력 변수가 8개인 인스턴스가 1시간 제한을 넘었습니다.

Table 8 . MiniACSIncome details and PV verification results.
원문 · CC BY 4.0 · David Boetius, Stefan Leue, Tobias Sutter · Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound · 원문 그림 인용 · 원본 PDF 35쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- David Boetius, Stefan Leue, Tobias Sutter
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2024년 5월 27일
- 등록일
- 2026년 10월 31일
- 수정일
- 2025년 7월 10일
- 버전
- v3
- arXiv
- 2405.17556
- 분류
- cs.LG · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Probabilistic verification problems of neural networks are concerned with formally analysing the output distribution of a neural network under a probability distribution of the inputs. Examples of probabilistic verification problems include verifying the demographic parity fairness notion or quantifying the safety of a neural network. We present a new algorithm for solving probabilistic verification problems of neural networks based on an algorithm for computing and iteratively refining lower and upper bounds on probabilities over the outputs of a neural network. By applying state-of-the-art bound propagation and branch and bound techniques from non-probabilistic neural network verification, our algorithm significantly outpaces existing probabilistic verification algorithms, reducing solving times for various benchmarks from the literature from tens of minutes to tens of seconds. Furthermore, our algorithm compares favourably even to dedicated algorithms for restricted probabilistic verification problems. We complement our empirical evaluation with a theoretical analysis, proving that our algorithm is sound and, under mildly restrictive conditions, also complete when using a suitable set of heuristics.
원문 인용
David Boetius, Stefan Leue, Tobias Sutter (2024). Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound. arXiv:2405.17556v3. https://arxiv.org/abs/2405.17556v3
BibTeX
@misc{boetius2024solving,
title = {{Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound}},
author = {David Boetius and Stefan Leue and Tobias Sutter},
year = {2024},
eprint = {2405.17556},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2405.17556v3}
}