Papers › Efficient Neural Network Robustness Certification with General Activation Functions

Efficient Neural Network Robustness Certification with General Activation Functions

2 Nov 2018NeurIPS 2018 12arXiv:1811.00866archive 2025-07-28

Huan Zhang, Tsui-Wei Weng, Pin-Yu Chen, Cho-Jui Hsieh, Luca Daniel

Finding minimum distortion of adversarial examples and thus certifying robustness in neural network classifiers for given data points is known to be a challenging problem. Nevertheless, recently it has been shown to be possible to give a non-trivial certified lower bound of minimum adversarial distortion, and some recent progress has been made towards this direction by exploiting the piece-wise linear nature of ReLU activations. However, a generic robustness certification for general activation functions still remains largely unexplored. To address this issue, in this paper we introduce CROWN, a general framework to certify robustness of neural networks with general activation functions for given input data points. The novelty in our algorithm consists of bounding a given activation function with linear and quadratic functions, hence allowing it to tackle general activation functions including but not limited to four popular choices: ReLU, tanh, sigmoid and arctan. In addition, we facilitate the search for a tighter certified lower bound by adaptively selecting appropriate surrogates for each neuron activation. Experimental results show that CROWN on ReLU networks can notably improve the certified lower bounds compared to the current state-of-the-art algorithm Fast-Lin, while having comparable computational efficiency. Furthermore, CROWN also demonstrates its effectiveness and flexibility on networks with general activation functions, including tanh, sigmoid and arctan.

PaperPDFConference PDFCodeCode 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="1811.00866")

Code

Syntology Ran 4 of 43 code samples harvested from 5 repositories linked to this paper; 39 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong.

By repository: community (archive-listed): 43 samples from 5 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

16 repositories listed; official and paper-mentioned ones first.

huanzhang12/CROWN-Robustness-Certification officialmentioned in papermentioned on GitHubtf report
AkhilanB/CNN-Cert mentioned on GitHubtf report
CROWN-Robustness/Crown mentioned on GitHubtfNOASSERTION report
IBM/CROWN-Robustness-Certification mentioned on GitHubtfApache-2.0 report
ZhaoyangLyu/FROWN mentioned on GitHubpytorch report
huanzhang12/CROWN-IBP mentioned on GitHubpytorchBSD-2-Clause report
huanzhang12/CertifiedReLURobustness mentioned on GitHubtfBSD-2-Clause report
huanzhang12/RecurJac mentioned on GitHubtfBSD-2-Clause report
huanzhang12/RecurJac-Jacobian-Bounds mentioned on GitHubtfBSD-2-Clause report
huanzhang12/RecurJac-and-CROWN mentioned on GitHubtfBSD-2-Clause report
huanzhang12/alpha-beta-CROWN mentioned on GitHubpytorchNOASSERTION report
huanzhang12/sa_ppo mentioned on GitHubpytorch report
verified-intelligence/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

43 samples harvested; 4 ran; 2 honoured the contract we drafted; 39 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.

2ran · honoured contract
2ran · our draft was wrong
39unverified

Licence: 3 of the 43 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 5 repositories linked to this paper, official or community; each sample names its own and says which. “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.

command AkhilanB/CNN-Cert/pymain.py community (archive-listed) ran · our draft was wrong fingerprinted BSD-2-Clause (permissive) · 961f8ae9024624c4 · report
extract_data huanzhang12/CertifiedReLURobustness/setup_mnist.py community (archive-listed) ran · honoured contract BSD-2-Clause (permissive) · 86c9fa246614e9a9 · report
extract_labels huanzhang12/CertifiedReLURobustness/setup_mnist.py community (archive-listed) ran · honoured contract BSD-2-Clause (permissive) · a0cf6bb81ff7819e · report
main ZhaoyangLyu/FROWN/train_model.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 05f24c1d58d4690a · report
ReLU huanzhang12/CertifiedReLURobustness/get_bounds_ours.py community (archive-listed) unverified BSD-2-Clause (permissive) · 753617a588e4fc41 · report
ReLU huanzhang12/RecurJac-Jacobian-Bounds/bound_base.py community (archive-listed) unverified BSD-2-Clause (permissive) · 67421da32aae154e · report
add_cache huanzhang12/RecurJac-Jacobian-Bounds/cachefy.py community (archive-listed) unverified BSD-2-Clause (permissive) · 35286dc13357efe4 · report
beta_bias aria-systems-group/formal-deep-kernel-synthesis/alpha-beta-CROWN/auto_LiRPA/beta_crown.py community (archive-listed) unverified no licence file found · pointer only · 9270bd3e922adfe2 · report
fastlip_2layer huanzhang12/RecurJac-Jacobian-Bounds/bound_fastlin_fastlip.py community (archive-listed) unverified BSD-2-Clause (permissive) · bbc8cb9f0698c825 · report
format_norm huanzhang12/CertifiedReLURobustness/genlatex.py community (archive-listed) unverified BSD-2-Clause (permissive) · 32794458cec639b5 · report
format_time huanzhang12/CertifiedReLURobustness/genlatex.py community (archive-listed) unverified BSD-2-Clause (permissive) · 0e83f0ab852f5a0b · report
getMaximumEps ZhaoyangLyu/FROWN/terminal_runner_certify_targeted_attack.py community (archive-listed) unverified no licence file found · pointer only · 78bdba96d37bb59e · report
get_area huanzhang12/RecurJac-Jacobian-Bounds/activation_functions_quad.py community (archive-listed) unverified BSD-2-Clause (permissive) · 90f4d0f321d7321a · report
get_general_bounds huanzhang12/RecurJac-Jacobian-Bounds/bound_crown.py community (archive-listed) unverified BSD-2-Clause (permissive) · 91b496effee73d52 · report
get_layer_bound huanzhang12/CertifiedReLURobustness/get_bounds_ours.py community (archive-listed) unverified BSD-2-Clause (permissive) · 37fee45ec17c90a3 · report
get_leaky_relu_bounds huanzhang12/RecurJac-Jacobian-Bounds/bound_crown.py community (archive-listed) unverified BSD-2-Clause (permissive) · 9047985cc861bb05 · report
get_lower_quad_parameterized_lgtu huanzhang12/RecurJac-Jacobian-Bounds/activation_functions_quad.py community (archive-listed) unverified BSD-2-Clause (permissive) · 859c42b9a1c7fb44 · report
get_model_meta huanzhang12/RecurJac-Jacobian-Bounds/mnist_cifar_models.py community (archive-listed) unverified BSD-2-Clause (permissive) · aff1aec26ddd75e4 · report
get_model_meta_real huanzhang12/RecurJac-Jacobian-Bounds/mnist_cifar_models.py community (archive-listed) unverified BSD-2-Clause (permissive) · 63f0738b7f84b19d · report
get_relu_bounds huanzhang12/RecurJac-Jacobian-Bounds/bound_crown.py community (archive-listed) unverified BSD-2-Clause (permissive) · d338c893ca81dac0 · report
get_upper_quad_parameterized huanzhang12/RecurJac-Jacobian-Bounds/activation_functions_quad.py community (archive-listed) unverified BSD-2-Clause (permissive) · 171e3d9dae850e45 · report
get_weights_list huanzhang12/CertifiedReLURobustness/get_bounds_ours.py community (archive-listed) unverified BSD-2-Clause (permissive) · fcf70a46a28d44a2 · report
get_weights_list huanzhang12/RecurJac-Jacobian-Bounds/bound_base.py community (archive-listed) unverified BSD-2-Clause (permissive) · 19a9b690599869b4 · report
init_fastlin_bounds huanzhang12/RecurJac-Jacobian-Bounds/bound_fastlin_fastlip.py community (archive-listed) unverified BSD-2-Clause (permissive) · 98c1b7034a8af60a · report
interval_bound huanzhang12/RecurJac-Jacobian-Bounds/bound_interval.py community (archive-listed) unverified BSD-2-Clause (permissive) · 1e47ec700db6f2be · report
l1_dist huanzhang12/CertifiedReLURobustness/utils.py community (archive-listed) unverified BSD-2-Clause (permissive) · 754f9759bf35afba · report
l2_dist huanzhang12/CertifiedReLURobustness/utils.py community (archive-listed) unverified BSD-2-Clause (permissive) · c616cfbcc11326f3 · report
leaky_relu_ub_pn huanzhang12/RecurJac-Jacobian-Bounds/activation_functions.py community (archive-listed) unverified BSD-2-Clause (permissive) · bcfb10a6fdde6ee1 · report
linf_dist huanzhang12/CertifiedReLURobustness/utils.py community (archive-listed) unverified BSD-2-Clause (permissive) · 4fc767413887cc02 · report
load_batch huanzhang12/CertifiedReLURobustness/setup_cifar.py community (archive-listed) unverified BSD-2-Clause (permissive) · ab7faf0047f2c872 · report
load_batch huanzhang12/CertifiedReLURobustness/setup_cifar.py community (archive-listed) unverified BSD-2-Clause (permissive) · 3b4fb87c66244ebf · report
proj_l1 huanzhang12/RecurJac-Jacobian-Bounds/bound_crown_quad.py community (archive-listed) unverified BSD-2-Clause (permissive) · 2dfae576a64727fc · report
proj_l2 huanzhang12/RecurJac-Jacobian-Bounds/bound_crown_quad.py community (archive-listed) unverified BSD-2-Clause (permissive) · dd8e7c5361d6a51b · report
proj_li huanzhang12/RecurJac-Jacobian-Bounds/bound_crown_quad.py community (archive-listed) unverified BSD-2-Clause (permissive) · cba73c35959ddc1d · report
recurjac_bound_2layer huanzhang12/RecurJac-Jacobian-Bounds/bound_recurjac.py community (archive-listed) unverified BSD-2-Clause (permissive) · de5a9dcd60ab18e8 · report
relu_grad_bounds huanzhang12/RecurJac-Jacobian-Bounds/bound_recurjac.py community (archive-listed) unverified BSD-2-Clause (permissive) · fa98765e8a5ffef2 · report
relu_lb_pn huanzhang12/RecurJac-Jacobian-Bounds/activation_functions.py community (archive-listed) unverified BSD-2-Clause (permissive) · 52125b4504b9b441 · report
relu_ub_pn huanzhang12/RecurJac-Jacobian-Bounds/activation_functions.py community (archive-listed) unverified BSD-2-Clause (permissive) · 88ac5c47845ee90e · report
remove_cache huanzhang12/RecurJac-Jacobian-Bounds/cachefy.py community (archive-listed) unverified BSD-2-Clause (permissive) · 0b2c8166cb0eec6b · report
run AkhilanB/CNN-Cert/pymain.py community (archive-listed) unverified BSD-2-Clause (permissive) · fd87678657cdbe5f · report
sigmoid_grad_bounds huanzhang12/RecurJac-Jacobian-Bounds/bound_recurjac.py community (archive-listed) unverified BSD-2-Clause (permissive) · fe4cf0885a1400ce · report
spectral_bound huanzhang12/CertifiedReLURobustness/get_bounds_others.py community (archive-listed) unverified BSD-2-Clause (permissive) · 82879d94252d9441 · report
spectral_bound huanzhang12/RecurJac-Jacobian-Bounds/bound_spectral.py community (archive-listed) unverified BSD-2-Clause (permissive) · 22f9598f566ecc55 · report

Tasks

Computational EfficiencyEfficient Neural Network

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ReLU

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