paper-with-me

홈 › Papers

Mechanistic Understandings of Representation Vulnerabilities and Engineering Robust Vision Transformers

2025-02-07 · Chashi Mahiul Islam, Samuel Jacob Chacko, Mao Nishino, Xiuwen Liu

While transformer-based models dominate NLP and vision applications, their underlying mechanisms to map the input space to the label space semantically are not well understood. In this paper, we study the sources of known representation vulnerabilities of vision transformers (ViT), where perceptually identical images can have very different representations and semantically unrelated images can have the same representation. Our analysis indicates that imperceptible changes to the input can result in significant representation changes, particularly in later layers, suggesting potential instabilities in the performance of ViTs. Our comprehensive study reveals that adversarial effects, while subtle in early layers, propagate and amplify through the network, becoming most pronounced in middle to late layers. This insight motivates the development of NeuroShield-ViT, a novel defense mechanism that strategically neutralizes vulnerable neurons in earlier layers to prevent the cascade of adversarial effects. We demonstrate NeuroShield-ViT's effectiveness across various attacks, particularly excelling against strong iterative attacks, and showcase its remarkable zero-shot generalization capabilities. Without fine-tuning, our method achieves a competitive accuracy of 77.8% on adversarial examples, surpassing conventional robustness methods. Our results shed new light on how adversarial effects propagate through ViT layers, while providing a promising approach to enhance the robustness of vision transformers against adversarial attacks. Additionally, they provide a promising approach to enhance the robustness of vision transformers against adversarial attacks.

📄 PDF Abstract BibTeX arXiv:2502.04679

Code (0)

등록된 구현이 없습니다.

Tasks

Zero-shot Generalization

Similar Papers 제목 키워드 기반

Mechanistic Interpretability for AI Safety -- A Review

2024-04-22 · Leonard Bereska, Efstratios Gavves

Understanding AI systems' inner workings is critical for ensuring value alignment and safety. This review explores mechanistic interpretability: reverse engineering the computational mechanisms and representations learne…

Explaining Software Vulnerabilities with Large Language Models

2025-11-06 · Oshando Johnson, Alexandra Fomina, Ranjith Krishnamurthy, Vaibhav Chaudhari 외 arxiv

The prevalence of security vulnerabilities has prompted companies to adopt static application security testing (SAST) tools for vulnerability detection. Nevertheless, these tools frequently exhibit usability limitations,…

Vulnerability DetectionText Generation

Representation Engineering for Large-Language Models: Survey and Research Challenges

2025-02-24 · Lukasz Bartoszcze, Sarthak Munshi, Bryan Sukidi, Jennifer Yen 외

Large-language models are capable of completing a variety of tasks, but remain unpredictable and intractable. Representation engineering seeks to resolve this problem through a new approach utilizing samples of contrasti…

Prompt EngineeringSurvey

Backdoor Directions in Vision Transformers

2026-03-11 · Sengim Karayalcin, Marina Krcek, Pin-Yu Chen, Stjepan Picek arxiv

This paper investigates how Backdoor Attacks are represented within Vision Transformers (ViTs). By assuming knowledge of the trigger, we identify a specific ``trigger direction'' in the model's activations that correspon…

Detecting and Understanding Vulnerabilities in Language Models via Mechanistic Interpretability

2024-07-29 · Jorge García-Carrasco, Alejandro Maté, Juan Trujillo

Large Language Models (LLMs), characterized by being trained on broad amounts of data in a self-supervised manner, have shown impressive performance across a wide range of tasks. Indeed, their generative abilities have a…