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
Impact of Sophisticated and Simple Adversarial Attack on Spiking Neural Networks
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Sofistikerade och enkla fientliga attackers inverkan på spikande neuronnät (Swedish)
Abstract [en]

An adversarial attack aims to prevent a machine learning model from achieving its desired goal. It does so by generating adversarial examples by strategically modifying input data, deceiving the models whilst being imperceptible. This challenges the notion of interpretability and explainability of the models. This paper investigates the impact adversarial attacks of varying sophistication have on Spiking Neural Networks (SNNs), which have been trained using Backpropagation Through Time (BPTT). Three well–known adversarial attacks methods are compared—Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and Carlini & Wagner (CW)—each representing a level of attack sophistication in ascending order. To explore the relation between model complexity and adversarial attack performance, two SNNs are trained to have different complexity, which in this context means that they are trained on a different amount of classes. The results reveal that although the most sophisticated CW attack had the best overall performance, the least sophisticated attacks, FGSM and PGD, had more consistent performance on both models, while the performance of CW diminished when used on the simpler model. This challenges the assumption that greater attack sophistication necessarily gives improved adversarial attack performance and suggests that, under certain conditions, less sophisticated attacks might have an advantage on less complex models.

Abstract [sv]

Syftet med fientliga attacker är att förhindra maskininlärningsmodeller från att uppnå sina mål. Fientliga bilder genereras genom att modifiera originalbilden, utan att skapa alltför märkbara förändringar. Detta utmanar tolkbarheten och förklarbarheten hos modellerna. Vi har utrett fientliga attacker av varierande sofistikation och deras förmåga att påverka spikande neuronnät (SNN) som är tränade med backpropagation över tid (BPTT). Tre välkända attacker används: Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD) och Carlini & Wagner (CW). Varje attack representerar en av tre nivåer av sofistikation. För att utreda relationen mellan modellkomplexitet och fientliga attackers förmågor, tränas två SNN-modeller till att ha olika komplexitet. Resultaten visar att den mest sofistikerade CW-attacken hade i överlag bäst prestanda, men att de mindre sofistikerade FGSM- och PGD-attackerna presterade mer konsekvent medan CW-attacken hade en försämrad prestanda på den enklare modellen. Detta utmanar antagandet att en högre sofistikation nödvändigtsvis ger en bättre prestanda och visar att det i vissa fall kan finnas fördelar med mindre sofistikerade attacker på enklare modeller.

Place, publisher, year, edition, pages
2025. , p. 30
Series
TRITA-EECS-EX ; 2025:300
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-367636OAI: oai:DiVA.org:kth-367636DiVA, id: diva2:1985705
Supervisors
Examiners
Available from: 2025-08-05 Created: 2025-07-27 Last updated: 2025-08-05Bibliographically approved

Open Access in DiVA

fulltext(1358 kB)185 downloads
File information
File name FULLTEXT01.pdfFile size 1358 kBChecksum SHA-512
583f68fe9879eb041bd62912fea4af70cfb264d341145e7d4938a7f9b10425458af394251d6bba5babb72512c4d6c1a92b49db5994de102bec7b10d3f4c8b81a
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 188 downloads
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: 521 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