Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Analysis of Neural Network Robustness using Mixed Integer Linear Programming
KTH, School of Engineering Sciences (SCI).
KTH, School of Engineering Sciences (SCI).
2026 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Deep neural networks are increasingly deployed in applications involving critical decision-making, yet their vulnerability to adversarial perturbations raises important concerns regarding their reliability. This has motivated the need for methods that can rigorously assess and certify the robustness of such models.

In this thesis, we study the robustness of feedforward neural networks with ReLU activation functions. For ReLU networks, the robustness problem can be reformulated as a Mixed-Integer Linear Programming problem (MILP) , enabling the computation of maximum perturbations using state-of-the-art solvers. However, due to the computational complexity of MILP, approximate methods based on algorithmic bound propagation are often employed to obtain certified lower bounds on robustness.

We analyze neural network models trained on a smaller and bigger dataset respectively. The models for the respective datasets have architectures ranging from zero to five hidden layers. For each model, we compute the maximum admissible perturbation using an exact MILP solver, and compare it with three approximation methods: forward pass, forward-backward pass and FastLin. Additionally, we investigate the influence of different norm constraints on the robustness estimate.

The results show a consistent relationship between model complexity and the tightness of robustness bounds: more advanced models yield larger (less conservative) estimates of the maximum perturbation. Furthermore, the gap between approximate and exact methods increases with network depth, indicating that simpler methods become less accurate for deeper architectures. The choice of norm also significantly affects the bounds, with the L-infinity norm giving the smallest robustness bounds.

These findings all align with theoretical expectations, as approximate methods introduce layer-wise relaxations that accumulate with increasing network depth. Consequently, using such methods on deeper networks lead to looser bounds.

A limitation of this study is the relatively small scale of the models and datasets used. Future work could extend the analysis to larger and more complex models, as well as additional datasets, to further investigate the scalability and accuracy of robustness estimation methods.

Place, publisher, year, edition, pages
2026.
Series
TRITA-SCI-GRU ; 2026:099
Keywords [en]
Deep Neural Networks (DNNs), Robustness, Mixed-Integer Linear Programming (MILP), ReLU Networks, Optimization, Algorithmic Bound Propagation, FastLin, Relaxation, Big M method
National Category
Mathematical sciences
Identifiers
URN: urn:nbn:se:kth:diva-384183OAI: oai:DiVA.org:kth-384183DiVA, id: diva2:2080107
Educational program
Master of Science in Engineering - Engineering Mathematics
Supervisors
Examiners
Available from: 2026-06-26 Created: 2026-06-26 Last updated: 2026-06-26Bibliographically approved

Open Access in DiVA

fulltext(1668 kB)34 downloads
File information
File name FULLTEXT01.pdfFile size 1668 kBChecksum SHA-512
4619bbfa8ea9013dcb3eea745637d62a4bbcb8bd8abbd5e87be71ce9a81b68bf59340b9d4dfc2d7cabdc6faf2505f3053594f3d5c67dc524386a7698a6a6a11c
Type fulltextMimetype application/pdf

By organisation
School of Engineering Sciences (SCI)
Mathematical sciences

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 944 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf