paper-with-me

홈 › Papers

Your Compiler is Backdooring Your Model: Understanding and Exploiting Compilation Inconsistency Vulnerabilities in Deep Learning Compilers

2025-09-14 · Simin Chen, Jinjun Peng, Yixin He, Junfeng Yang, Baishakhi Ray arxiv

Deep learning (DL) compilers are core infrastructure in modern DL systems, offering flexibility and scalability beyond vendor-specific libraries. This work uncovers a fundamental vulnerability in their design: can an official, unmodified compiler alter a model's semantics during compilation and introduce hidden backdoors? We study both adversarial and natural settings. In the adversarial case, we craft benign models where triggers have no effect pre-compilation but become effective backdoors after compilation. Tested on six models, three commercial compilers, and two hardware platforms, our attack yields 100% success on triggered inputs while preserving normal accuracy and remaining undetected by state-of-the-art detectors. The attack generalizes across compilers, hardware, and floating-point settings. In the natural setting, we analyze the top 100 HuggingFace models (including one with 220M+ downloads) and find natural triggers in 31 models. This shows that compilers can introduce risks even without adversarial manipulation. Our results reveal an overlooked threat: unmodified DL compilers can silently alter model semantics. To our knowledge, this is the first work to expose inherent security risks in DL compiler design, opening a new direction for secure and trustworthy ML.

📄 PDF Abstract BibTeX arXiv:2509.11173

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooring

2018-02-13 · Yossi Adi, Carsten Baum, Moustapha Cisse, Benny Pinkas 외

Deep Neural Networks have recently gained lots of success after enabling several breakthroughs in notoriously challenging problems. Training these networks is computationally expensive and requires vast amounts of traini…

General Classification

Bring Your Own Codegen to Deep Learning Compiler

2021-05-03 · Zhi Chen, Cody Hao Yu, Trevor Morris, Jorn Tuyls 외

Deep neural networks (DNNs) have been ubiquitously applied in many applications, and accelerators are emerged as an enabler to support the fast and efficient inference tasks of these applications. However, to achieve hig…

Code GenerationDeep Learning

Bootstrap Your Own Variance

2023-12-06 · Polina Turishcheva, Jason Ramapuram, Sinead Williamson, Dan Busbridge 외

Understanding model uncertainty is important for many applications. We propose Bootstrap Your Own Variance (BYOV), combining Bootstrap Your Own Latent (BYOL), a negative-free Self-Supervised Learning (SSL) algorithm, wit…

Self-Supervised Learning

KnowYourNyms? A Game of Semantic Relationships

2017-09-01 · EMNLP 2017 9 · Ross Mechanic, Dean Fulgoni, Hannah Cutler, Sneha Rajana 외

Semantic relation knowledge is crucial for natural language understanding. We introduce {``}KnowYourNyms?{''}, a web-based game for learning semantic relations. While providing users with an engaging experience, the appl…

Natural Language UnderstandingRelationText Classification

Run Away From your Teacher: Understanding BYOL by a Novel Self-Supervised Approach

2020-11-22 · Haizhou Shi, Dongliang Luo, Siliang Tang, Jian Wang 외

Recently, a newly proposed self-supervised framework Bootstrap Your Own Latent (BYOL) seriously challenges the necessity of negative samples in contrastive learning frameworks. BYOL works like a charm despite the fact th…

Contrastive LearningSelf-Supervised Learning