Papers › Provable defenses against adversarial examples via the convex outer adversarial polytope
Provable defenses against adversarial examples via the convex outer adversarial polytope
Eric Wong, J. Zico Kolter
We propose a method to learn deep ReLU-based classifiers that are provably robust against norm-bounded adversarial perturbations on the training data. For previously unseen examples, the approach is guaranteed to detect all adversarial examples, though it may flag some non-adversarial examples as well. The basic idea is to consider a convex outer approximation of the set of activations reachable through a norm-bounded perturbation, and we develop a robust optimization procedure that minimizes the worst case loss over this outer region (via a linear program). Crucially, we show that the dual problem to this linear program can be represented itself as a deep network similar to the backpropagation network, leading to very efficient optimization approaches that produce guaranteed bounds on the robust loss. The end result is that by executing a few more forward and backward passes through a slightly modified version of the original network (though possibly with much larger batch sizes), we can learn a classifier that is provably robust to any norm-bounded adversarial attack. We illustrate the approach on a number of tasks to train classifiers with robust adversarial guarantees (e.g. for MNIST, we produce a convolutional classifier that provably has less than 5.8% test error for any adversarial attack with bounded ℓ_∞ norm less than ϵ= 0.1), and code for all experiments in the paper is available at https://github.com/locuslab/convex_adversarial.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="1711.00851")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="1711.00851", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="1711.00851")
Code
Syntology 44 code samples harvested from 5 repositories linked to this paper: 21 ran (of which 15 constructed an object rather than computing a result; 19 with no instrument failure: 1 honoured, 1 violated, 17 with no contract checked; 2 where Syntology's instrument failed) · 23 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: official repository: 6 samples from 1 repository, 4 ran (4 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 38 samples from 4 repositories, 17 ran (15 with no instrument failure; 2 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
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
44 samples harvested: 21 ran (of which 15 constructed an object rather than computing a result; 19 with no instrument failure: 1 honoured, 1 violated, 17 with no contract checked; 2 where Syntology's instrument failed) · 23 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 2 of the 44 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 1 sample that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
a31183fb505bf309 · report
fixture: returned InfBall · level recorded 2026-09-22 37ea0914d3143c9f · report
fixture: returned InfBallBounded · level recorded 2026-09-22 49cb906dccd76915 · report
fixture: signature network:NoneType/0/? · returned tuple · level recorded 2026-09-24 5a79e42b5ecc22cd · report
fixture: returned InfBallProjBounded · level recorded 2026-09-22 34e633f7b59f06cd · report
5187a83994dc73d4 · report
a721c225e4045355 · report
fixture: returned DualReLUProj · level recorded 2026-09-22 7b3dd3557f3b683e · report
fixture: returned InfBall · level recorded 2026-09-22 d0f7cdcc96ab6561 · report
fixture: returned tuple · level recorded 2026-09-24 341ef71271a4cbef · report
fixture: returned InfBallProjBounded · level recorded 2026-09-22 006a937f9cba3174 · report
fixture: returned L2Ball · level recorded 2026-09-22 f301dfa41009abd3 · report
9634a2860dbe32ed · report
fixture: returned Conv2dUntiedBias · level recorded 2026-09-22 a465ad16a8510751 · report
fixture: returned DualLinear · level recorded 2026-09-22 4d488a7c833e637b · report
fixture: returned DualReLU · level recorded 2026-09-22 733e1d54c3d21ea9 · report
fixture: returned DualReLUProj · level recorded 2026-09-22 d1e8d479da8d224c · report
fixture: returned DualReshape · level recorded 2026-09-22 census: 10 implementations from 13 papers, 4 distinct outputs across 4 buckets, one shared input per bucket kolter_wong/convex_adversarial/dual_network.py ran · metamorphic tier: deterministic MIT (permissive) ·
15451c00600189d1 · report
fixture: returned Identity · level recorded 2026-09-22 0607bcee1940ecc6 · report
fixture: returned InfBallBounded · level recorded 2026-09-22 9568161abd5fcecf · report
fixture: returned InfBallProjBounded · level recorded 2026-09-22 778274b3fb463e7e · report
fixture: signature A:Tensor/3/float, n:int/0/int · returned Tensor · level recorded 2026-09-22 2a4b1b5d869483b9 · report
fixture: signature l:callable/0/?, n:NoneType/0/? · returned Tensor · level recorded 2026-09-22 9efb427bc4cdf3df · report
fixture: signature A:Tensor/3/float · returned Tensor · level recorded 2026-09-22 bc7271d7a6811f02 · report
18133b07da9a458e · report
c52d8aff384b08a4 · report
b23673a5bc8ae4a6 · report
d11e9d2b6bc1c8a7 · report
46dfb83f015faad4 · report
2f26c3676bd1d6ca · report
7e8fbd57df2c528e · report
0b1a6f38f8307d1f · report
edc9bd1055691c58 · report
26c63c3b5b5c6239 · report
73dd3a4a0039021b · report
4fb58a8213bd4638 · report
822d6e0702879c11 · report
728154bbcd429f2b · report
fixture: signature Ws:list/1/ndarray, bs:list/1/ndarray, UBs:list/1/ndarray, LBs:list/1/ndarray, neuron_state:list/1/ndarray, nlayer:int/0/int, diags:list/1/ndarray, x0:ndarray/1/float, eps:float/0/float, p_n:int/0/int · returned tuple · level recorded 2026-09-22 Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.
5 assemblies on this paper: 5 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).
5 sibling assemblies for Convex Outer Adversarial Polytope (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.
harvested Assembly for Convex Outer Adversarial Polytope (graph method: Convex Outer Adversarial Polytope). 25 bricks; individually on a fixture: 11 ran (of which 8 constructed an object rather than computing a result; 10 with no instrument failure: 1 honoured, 1 violated, 8 with no contract checked; 1 where Syntology's instrument failed) · 14 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- DualNetwork entry · level 0 · unverified ·
2f26c3676bd1d6ca - Dense helper · level 0 · unverified ·
bc7271d7a6811f02 - DenseSequential helper · level 0 · unverified ·
18133b07da9a458e - select_input helper · level 0 · unverified ·
4fb58a8213bd4638 - select_layer helper · level 0 · unverified ·
822d6e0702879c11 - InfBall helper · level 0 · unverified ·
0b1a6f38f8307d1f - InfBallBounded helper · level 1 · ran ·
0607bcee1940ecc6 - InfBallProj helper · level 0 · unverified ·
edc9bd1055691c58 - InfBallProjBounded helper · level 1 · ran ·
9568161abd5fcecf - Conv2dUntiedBias helper · level 1 · ran ·
9634a2860dbe32ed - DualBatchNorm2d model · level 0 · unverified ·
c52d8aff384b08a4 - DualConv2d model · level 0 · unverified ·
b23673a5bc8ae4a6 - DualDense helper · level 0 · unverified ·
d11e9d2b6bc1c8a7 - DualLinear model · level 1 · ran ·
a465ad16a8510751 - DualReLU model · level 1 · ran ·
4d488a7c833e637b - DualReLUProj model · level 1 · ran ·
733e1d54c3d21ea9 - DualReshape helper · level 1 · ran ·
d1e8d479da8d224c - DualObject helper · level 0 · unverified ·
7e8fbd57df2c528e - DualLayer helper · level 0 · unverified ·
46dfb83f015faad4 - batch helper · level 1 · ran · our draft was wrong ·
778274b3fb463e7e - conv2d helper · level 0 · unverified ·
26c63c3b5b5c6239 - conv_transpose2d helper · level 0 · unverified ·
73dd3a4a0039021b - full_bias helper · level 1 · ran · honoured contract ·
2a4b1b5d869483b9 - unbatch helper · level 1 · ran · violated contract ·
9efb427bc4cdf3df - Identity helper · level 1 · ran ·
15451c00600189d1
harvested Assembly for Convex Outer Adversarial Polytope (graph method: Convex Outer Adversarial Polytope). 26 bricks; individually on a fixture: 13 ran (of which 9 constructed an object rather than computing a result; 12 with no instrument failure: 1 honoured, 1 violated, 10 with no contract checked; 1 where Syntology's instrument failed) · 13 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- DualNetwork entry · level 0 · unverified ·
d09a9fa8766395b6 - Dense helper · level 0 · unverified ·
bc7271d7a6811f02 - DenseSequential helper · level 0 · unverified ·
18133b07da9a458e - select_input helper · level 0 · unverified ·
935601b807dbd64e - select_layer helper · level 0 · unverified ·
96d6186dbe64fc7e - InfBall helper · level 1 · ran ·
7b3dd3557f3b683e - InfBallBounded helper · level 1 · ran ·
0607bcee1940ecc6 - InfBallProj helper · level 1 · ran ·
d0f7cdcc96ab6561 - InfBallProjBounded helper · level 1 · ran ·
341ef71271a4cbef - L2Ball helper · level 1 · ran ·
006a937f9cba3174 - L2BallProj helper · level 0 · unverified ·
610e37ee41f7c916 - DualBatchNorm2d helper · level 0 · unverified ·
c52d8aff384b08a4 - DualConv2d helper · level 0 · unverified ·
3d025a7e72e695af - DualDense helper · level 0 · unverified ·
5428007ec654a464 - DualLinear helper · level 1 · ran ·
a465ad16a8510751 - DualReLU helper · level 1 · ran ·
4d488a7c833e637b - DualReLUProj helper · level 1 · ran ·
a721c225e4045355 - DualReshape helper · level 1 · ran ·
d1e8d479da8d224c - DualObject helper · level 0 · unverified ·
7e8fbd57df2c528e - DualLayer helper · level 0 · unverified ·
46dfb83f015faad4 - batch helper · level 1 · ran · our draft was wrong ·
778274b3fb463e7e - conv2d helper · level 0 · unverified ·
26c63c3b5b5c6239 - conv_transpose2d helper · level 0 · unverified ·
73dd3a4a0039021b - full_bias helper · level 1 · ran · honoured contract ·
2a4b1b5d869483b9 - unbatch helper · level 1 · ran · violated contract ·
9efb427bc4cdf3df - Identity helper · level 1 · ran ·
15451c00600189d1
harvested Assembly for Convex Outer Adversarial Polytope (graph method: Convex Outer Adversarial Polytope). 26 bricks; individually on a fixture: 13 ran (of which 9 constructed an object rather than computing a result; 12 with no instrument failure: 1 honoured, 1 violated, 10 with no contract checked; 1 where Syntology's instrument failed) · 13 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- DualNetwork entry · level 0 · unverified ·
34e633f7b59f06cd - Dense helper · level 0 · unverified ·
bc7271d7a6811f02 - DenseSequential helper · level 0 · unverified ·
18133b07da9a458e - select_input helper · level 0 · unverified ·
5187a83994dc73d4 - select_layer helper · level 0 · unverified ·
96d6186dbe64fc7e - InfBall helper · level 1 · ran ·
a31183fb505bf309 - InfBallBounded helper · level 1 · ran ·
37ea0914d3143c9f - InfBallProj helper · level 1 · ran ·
49cb906dccd76915 - InfBallProjBounded helper · level 1 · ran ·
5a79e42b5ecc22cd - L2Ball helper · level 1 · ran ·
006a937f9cba3174 - L2BallProj helper · level 0 · unverified ·
610e37ee41f7c916 - DualBatchNorm2d helper · level 0 · unverified ·
c52d8aff384b08a4 - DualConv2d helper · level 0 · unverified ·
3d025a7e72e695af - DualDense helper · level 0 · unverified ·
5428007ec654a464 - DualLinear helper · level 1 · ran ·
a465ad16a8510751 - DualReLU helper · level 1 · ran ·
4d488a7c833e637b - DualReLUProj helper · level 1 · ran ·
a721c225e4045355 - DualReshape helper · level 1 · ran ·
d1e8d479da8d224c - DualObject helper · level 0 · unverified ·
7e8fbd57df2c528e - DualLayer helper · level 0 · unverified ·
46dfb83f015faad4 - batch helper · level 1 · ran · our draft was wrong ·
778274b3fb463e7e - conv2d helper · level 0 · unverified ·
26c63c3b5b5c6239 - conv_transpose2d helper · level 0 · unverified ·
73dd3a4a0039021b - full_bias helper · level 1 · ran · honoured contract ·
2a4b1b5d869483b9 - unbatch helper · level 1 · ran · violated contract ·
9efb427bc4cdf3df - Identity helper · level 1 · ran ·
15451c00600189d1
harvested Assembly for Convex Outer Adversarial Polytope (graph method: Convex Outer Adversarial Polytope). 1 brick; individually on a fixture: 0 ran · 1 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- AditiMNIST entry · level 0 · unverified ·
f301dfa41009abd3
harvested Assembly for Convex Outer Adversarial Polytope (graph method: Convex Outer Adversarial Polytope). 1 brick; individually on a fixture: 1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- get_layer_bound_relax_adaptive_matrix_huan_optimized entry · level 1 · ran; the contract check could not run (RAISES) ·
728154bbcd429f2b
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="1711.00851") returns these assemblies with each brick's role and wiring (how to connect).
Tasks
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