User Guide#
BoundLab computes sound [lower, upper] bounds on a network’s outputs over a
set of inputs. Every page in this guide follows the same shape: first the
idea behind a module, then a short tour of its API — enough to know what each
method is for, with the full details left to the API Reference.
The pages build on one another:
The Expression System — the expression system every domain plugs into: typed components, groups, error symbols, conversion, and concretization.
The Abstract Interpreter — the ONNX abstract interpreter: operator handlers, dispatch, and model export.
Intervals: boundlab.ibp — the interval domain (
Bias+Noise): the cheapest bounds.Zonotopes: boundlab.zono — the zonotope domain: affine forms over shared error symbols.
Sparse Polynomials: boundlab.polysp — the sparse polynomial domain: higher-order monomials for products that intervals would destroy, and LAD-lasso compression that keeps the monomial count bounded at layer barriers.
Differential Verification: boundlab.diff — differential verification: bounding the difference between two networks.
Future Plans for polysp — research proposal: planned extensions of the sparse polynomial domain (Legendre concretization, compression — since implemented, see Sparse Polynomials: boundlab.polysp — and polynomial activation transfer).