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

  1. Congzheng Song
  2. Vitaly Shmatikov
  3. Eran Tromer
  4. Roei Schuster
  5. Reza Shokri
  6. Prateek Mittal
  7. Dan Boneh
  8. Yang Zhang

In Information Systems

  1. Congzheng Song
  2. Eran Tromer
  3. Roei Schuster
  4. Vitaly Shmatikov
  5. Joseph Bonneau
  6. Ananth Raghunathan
  7. Ying Zhao
  8. Jinjun Chen

In Safety, Robustness & Interpretability

  1. Congzheng Song
  2. Vitaly Shmatikov
  3. Roei Schuster
  4. Eran Tromer
  5. Reza Shokri
  6. Prateek Mittal
  7. Liwei Song
  8. Yang Zhang

In Signal Processing

  1. Vitaly Shmatikov
  2. Congzheng Song
  3. Joseph Bonneau

Citations in the corpus