Manuscript Offprint

arXiv:2610.34923

Attack logics, not outputs: Concept-based Property Attacks for Shortcut Elimination in Neural Networks

Raik Dankworth, Felix Mächtle, Thomas Eisenbarth, Gesina Schwalbe

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Attack logics, not outputs: Towards efficient robustification of deep neural networks by falsifying concept-based properties

Raik Dankworth

Institute of Software Engineering and Programming Languages

University of Luebeck

r.dankworth@uni-luebeck.de

Felix Mächtle

Institute of IT Security

University of Luebeck

f.maechtle@uni-luebeck.de

Thomas Eisenbarth

Institute of IT Security

University of Luebeck

thomas.eisenbarth@uni-luebeck.de

Geinsa Schwalbe

Institute of Software Engineering and Programming Languages

University of Luebeck

gesina.schwalbe@uni-luebeck.de

Abstract

Deep neural networks (NNs) for computer vision are vulnerable to adversarial attacks, such that minuscule malicious changes to inputs may induce unintuitive outputs. One key approach to verify and mitigate such robustness issues is to falsify expected output behavior, which enables local robustness guarantees and adversarial training. Due to the black-box nature of NNs, current attacks only falsify a class of the final output, such as flipping from stop_sign to ¬stop_sign. In this work we argue that robustness analysis should focus more generally on logical inconsistencies in concept-level reasoning rather than solely on output misclassification. We formalize this perspective through concept-based properties, i.e., constraints over human-interpretable concepts such as red ∧ octogonal ⇒ stop_sign and study the falsification of such properties as a principled form of adversarial attack. Furthermore, an implementation of concept-based properties on already trained NNs is proposed using techniques from concept-based explainable artificial intelligence (C-XAI). For that we formally prove that attacks on concept-based properties are expected to have a reduced search space compared to simple class falsification, whilst arguably be more aligned with intuitive robustness targets. The practical effectiveness of our approach for logically informed adversarial training is shown in an empirical study across multiple models and datasets, including both vision and a security-relevant code processing task. Our results demonstrate that concept-level falsification generalizes classical adversarial attacks: Retraining on our novel attacks maintains robustness gains as compared to classical adversarial retraining whilst better eliminating semantic biases.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

References (60)

  • An Ensemble of Simple Convolutional Neural Network Models for MNIST Digit Recognition, Oct (opens arXiv in a new tab)
  • Logic Tensor Networks
  • Formal Local Implication Between Two Neural Networks
  • Network Dissection: Quantifying Interpretability of Deep Visual Representations
  • Making Corgis Important for Honeycomb Classification: Adversarial Attacks on Concept-Based Explainability Tools
  • Tree-sitter: An incremental parsing system for programming tools
  • Concept Activation Regions: A Generalized Framework For Concept-Based Explanations
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • VerifAI: A Toolkit for the Formal Design and Analysis of Artificial Intelligence-Based Systems
  • PURE: Turning Polysemantic Neurons Into Pure Features by Identifying Relevant Circuits
  • Robust Physical-World Attacks on Deep Learning Visual Classification
  • Net2Vec: Quantifying and Explaining How Concepts Are Encoded by Filters in Deep Neural Networks
  • Scenic: a language for scenario specification and scene generation
  • Interpretation of Neural Networks Is Fragile
  • ROAD-R: The Autonomous Driving Dataset with Logical Requirements
  • Regression concept vectors for bidirectional explanations in histopathology
  • Deep Residual Learning for Image Recognition
  • Adversarial Laser Spot: Robust and Covert Physical-World Attack to DNNs
  • Lora: Low-rank adaptation of large language models
  • SAFARI: Versatile and Efficient Evaluations for Robustness of Interpretability
  • Adversarial Deep Learning: A Survey on Adversarial Attacks and Defense Mechanisms on Image Classification
  • Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV)
  • Concept Bottleneck Models
  • Gradient-based learning applied to document recognition
  • Improving Neural-based Classification with Logical Background Knowledge
  • Concept-Based Explanations in Computer Vision: Where Are We and Where Could We Go? In A. Del Bue, C. Canton, J. Pont-Tuset, and T. Tommasi, editors, Computer Vision – ECCV 2024 Workshops, pages 266–287, Cham, 2025
  • Physical-World Optical Adversarial Attacks on 3D Face Recognition
  • Perceptual-Sensitive GAN for Generating Adversarial Patches
  • Algorithms for verifying deep neural networks
  • Towards Deep Learning Models Resistant to Adversarial Attacks
  • Concept-Based Analysis of Neural Networks via Vision-Language Models
  • Local Concept Embeddings for Analysis of Concept Distributions in Vision DNN Feature Spaces
  • Unveiling the Anatomy of Adversarial Attacks: Concept-Based XAI Dissection of CNNs
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning
  • Feature visualization
  • Concept-based Explainable Artificial Intelligence: A Survey, Dec
  • Learning Transferable Visual Models From Natural Language Supervision
  • Uncovering the limits of machine learning for automatic vulnerability detection
  • Enabling verification of deep neural networks in perception tasks using fuzzy logic and concept embeddings, Mar
  • Very deep convolutional networks for large-scale image recognition
  • Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methods
  • Man vs. computer: Benchmarking machine learning algorithms for traffic sign recognition
  • One Pixel Attack for Fooling Deep Neural Networks
  • Concolic testing for deep neural networks
  • Le, H. Yang, S.-Y
  • Intriguing properties of neural networks
  • NBDT: Neural-Backed Decision Tree
  • RFLA: A Stealthy Reflected Light Adversarial Attack in the Physical World
  • Boosting Adversarial Transferability by Block Shuffle and Rotation
  • Enhancing the Transferability of Adversarial Attacks Through Variance Tuning
  • Safety concerns and mitigation approaches regarding the use of deep learning in safety-critical perception tasks
  • Xia, J. Bailey, and X. Ma
  • Neuro-symbolic verification of deep neural networks
  • A semantic loss function for deep learning with symbolic knowledge
  • Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classification
  • Post-hoc Concept Bottleneck Models
  • Invertible concept-based explanations for CNN models with non-negative concept activation vectors
  • Physical 3D Adversarial Attacks against Monocular Depth Estimation in Autonomous Driving
  • Devign: Effective vulnerability identification by learning comprehensive program semantics via graph neural networks
  • Learning to Transform Dynamically for Better Adversarial Transferability