Backdoors in Neural Models of Source Code
By Goutham Ramakrishnan, Aws Albarghouthi. 2020
75 citations recorded by the source corpus.
Deep neural networks are vulnerable to a range of adversaries. A particularly pernicious class of vulnerabilities are backdoors, where model predictions diverge in the presence of subtle triggers in inputs. An attacker can implant a backdoor by poisoning the training data to yield a desired target prediction on triggered inputs. We study backdoors in the context of deep-learning for source code. (1) We define a range of backdoor classes for source-code tasks and install backdoors using dataset poisoning. (2) We adapt and improve recent algorithms from robust statistics for our setting, showing that backdoors leave a spectral signature in the learned representation of source code, thus enabling detection of poisoned data. (3) We conduct a thorough evaluation on different architectures and languages, showing the ease of injecting backdoors and our ability to eliminate them.
Subfields: Artificial Intelligence, Information Systems, Safety, Robustness & Interpretability, Signal Processing
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Congzheng Song
- Vitaly Shmatikov
- Eran Tromer
- Roei Schuster
- Reza Shokri
- Prateek Mittal
- Dan Boneh
- Yang Zhang
In Information Systems
- Congzheng Song
- Eran Tromer
- Roei Schuster
- Vitaly Shmatikov
- Joseph Bonneau
- Ananth Raghunathan
- Ying Zhao
- Jinjun Chen
In Safety, Robustness & Interpretability
- Congzheng Song
- Vitaly Shmatikov
- Roei Schuster
- Eran Tromer
- Reza Shokri
- Prateek Mittal
- Liwei Song
- Yang Zhang
In Signal Processing
Citations in the corpus
- You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completion (2020, background): “This precludes the use of adversarial examples [69] or adversarial triggers [48,53].”