NWU Institutional Repository

Margin-based regularization for deep neural networks

dc.contributor.advisorDavel, MH
dc.contributor.advisorMouton, C
dc.contributor.authorBrooks, WD
dc.date.accessioned2026-04-10T12:41:41Z
dc.date.issued2025
dc.descriptionDissertation, Master of Engineering in Computer and Electronic Engineering, North-West University, 2025
dc.description.abstractDeep Neural Networks (DNNs) have achieved significant success in various tasks, yet understanding the factors that enhance their generalization remains a challenge. This study aims to explore whether recent advances in post hoc margin-based generalization prediction measures can be applied to effectively enhance the generalization ability of modern DNNs. Specifically, we explore the use of constrained margins as a regularization technique to improve generalization, focusing on their application within robustness-enhancing methods. Large margins – the minimum distance between data points and decision boundaries – in the input space are known to correlate with increased robustness. In this study, we focus on two margin-maximizing approaches: a simple approach which modifies the loss function to increase an approximation of the margin (Large margin loss), and a more complex state-of-the-art method (Dynamics-Aware Robust Training) which builds upon this approach. We first study standard margin maximization methods aimed at improving the robustness of DNNs. Our experiments, conducted on the CIFAR-10 dataset, identify and assess the effectiveness of the components introduced in the large margin loss and DyART in improving robustness. Model performance is evaluated under well-known adversarial attacks, including AutoAttack and Projected Gradient Descent (PGD). We find that while more precise margin approximations do not improve the generalization ability of DNNs, calculating the gradient of the margin with respect to model parameters leads to substantial robustness improvements. Following this, we adapt constrained margins, a metric which has shown to be more correlated with generalization than standard margins, to both the large margin loss function and DyART. Our aim is to investigate how maximizing these constrained margins impact generalization during training in approaches traditionally designed to enhance robustness using standard margins. We found that maximizing constrained margins during training neither improves generalization performance nor improves adversarial robustness of DNNs.
dc.identifier.urihttps://orcid.org/ 0000-0001-4373-8350
dc.identifier.urihttp://hdl.handle.net/10394/46501
dc.language.isoen
dc.publisherNorth-West University
dc.subjectDeep Neural Network
dc.subjectAdversarial robustness
dc.subjectGeneralization
dc.subjectMargins
dc.subjectDynamicsAware Robust Training
dc.subjectLarge margin loss
dc.subjectAdversarial attacks
dc.subjectConstrained Margins
dc.titleMargin-based regularization for deep neural networks
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Brooks WD_Dissertation.pdf
Size:
2.9 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: