Papers › Neural Network Verification with Branch-and-Bound for General Nonlinearities

Neural Network Verification with Branch-and-Bound for General Nonlinearities

31 May 2024arXiv:2405.21063archive 2025-07-28

Zhouxing Shi, Qirui Jin, Zico Kolter, Suman Jana, Cho-Jui Hsieh, huan zhang

Branch-and-bound (BaB) is among the most effective techniques for neural network (NN) verification. However, existing works on BaB for NN verification have mostly focused on NNs with piecewise linear activations, especially ReLU networks. In this paper, we develop a general framework, named GenBaB, to conduct BaB on general nonlinearities to verify NNs with general architectures, based on linear bound propagation for NN verification. To decide which neuron to branch, we design a new branching heuristic which leverages linear bounds as shortcuts to efficiently estimate the potential improvement after branching. To decide nontrivial branching points for general nonlinear functions, we propose to pre-optimize branching points, which can be efficiently leveraged during verification with a lookup table. We demonstrate the effectiveness of our GenBaB on verifying a wide range of NNs, including NNs with activation functions such as Sigmoid, Tanh, Sine and GeLU, as well as NNs involving multi-dimensional nonlinear operations such as multiplications in LSTMs and Vision Transformers. Our framework also allows the verification of general nonlinear computation graphs and enables verification applications beyond simple NNs, particularly for AC Optimal Power Flow (ACOPF). GenBaB is part of the latest α,β-CROWN, the winner of the 4th and the 5th International Verification of Neural Networks Competition (VNN-COMP 2023 and 2024).

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.21063")

Code

Syntology Ran 11 of 14 code samples harvested from 3 repositories linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 3 ran; community (archive-listed): 7 samples from 2 repositories, 6 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shizhouxing/genbab officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report
verified-intelligence/alpha-beta-crown officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
verified-intelligence/auto_lirpa officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
huanzhang12/alpha-beta-CROWN mentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 11 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
4ran · our draft was wrong
6ran
3unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_beta verified-intelligence/auto_lirpa/auto_LiRPA/beta_crown.py official repository ran · our draft was wrong licence not identified · pointer only · 9537dbcc162a7f8c · report
get_split_nodes verified-intelligence/auto_lirpa/auto_LiRPA/beta_crown.py official repository ran · our draft was wrong licence not identified · pointer only · 68a6ab5e9a20bbfa · report
set_beta verified-intelligence/auto_lirpa/auto_LiRPA/beta_crown.py official repository ran · our draft was wrong licence not identified · pointer only · 8aad4c1ed274989b · report
batched_backward verified-intelligence/auto_lirpa/auto_LiRPA/backward_bound.py official repository unverified licence not identified · pointer only · ca36eb77350ff0f7 · report
beta_crown_backward_bound verified-intelligence/auto_lirpa/auto_LiRPA/beta_crown.py official repository unverified licence not identified · pointer only · 5192518593b660cb · report
ResNet18 huanzhang12/alpha-beta-CROWN/complete_verifier/model_defs.py community (archive-listed) ran licence not identified · pointer only · a95d3680efa231cc · report
crown_ibp_model_a_b huanzhang12/alpha-beta-CROWN/complete_verifier/model_defs.py community (archive-listed) ran licence not identified · pointer only · 3a7d902c8dd6235a · report
deep_update huanzhang12/alpha-beta-CROWN/complete_verifier/load_model.py community (archive-listed) ran licence not identified · pointer only · 1c11a3ea527b1755 · report
deprecated huanzhang12/alpha-beta-CROWN/complete_verifier/bab.py community (archive-listed) ran licence not identified · pointer only · 02af614e12c22731 · report
get_split_depth huanzhang12/alpha-beta-CROWN/complete_verifier/bab.py community (archive-listed) ran fingerprinted licence not identified · pointer only · e1af324f19462f68 · report
model_resnet huanzhang12/alpha-beta-CROWN/complete_verifier/model_defs.py community (archive-listed) ran licence not identified · pointer only · 4a4fb84ab3edf916 · report
beta_crown_backward_bound Verified-Intelligence/alpha-beta-CROWN_vnncomp2024/auto_LiRPA/beta_crown.py community (archive-listed) unverified licence not identified · pointer only · bfecf96d0739bbf1 · report
concretize_bound identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · f2689b948e0d82a5 · report
get_unstable_size identical code first harvested elsewhere ran · honoured contract licence of this copy not recorded · d5f02d6ed407b5ca · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections