DOBF: A Deobfuscation Pre-Training Objective for Programming Languages

By Baptiste Rozière, Marie-Anne Lachaux, Marc Szafraniec, Guillaume Lample. 2021

173 citations recorded by the source corpus.

Recent advances in self-supervised learning have dramatically improved the state of the art on a wide variety of tasks. However, research in language model pre-training has mostly focused on natural languages, and it is unclear whether models like BERT and its variants provide the best pre-training when applied to other modalities, such as source code. In this paper, we introduce a new pre-training objective, DOBF, that leverages the structural aspect of programming languages and pre-trains a model to recover the original version of obfuscated source code. We show that models pre-trained with DOBF significantly outperform existing approaches on multiple downstream tasks, providing relative improvements of up to 13% in unsupervised code translation, and 24% in natural language code search. Incidentally, we found that our pre-trained model is able to de-obfuscate fully obfuscated source files, and to suggest descriptive variable names.

Subfields: Artificial Intelligence, Information Systems, Software, Natural Language 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. Luke S. Zettlemoyer
  2. Jianfeng Gao
  3. Mohit Bansal
  4. Percy Liang
  5. Graham Neubig
  6. Caiming Xiong
  7. Hannaneh Hajishirzi
  8. Yejin Choi

In Information Systems

  1. Yanqiao Zhu
  2. Yichen Xu
  3. Gabriel Synnaeve
  4. Baptiste Rozière
  5. Marc Szafraniec
  6. Guillaume Lample
  7. Patrick Labatut
  8. Hugh Leather Francois Charton

In Software

  1. Gabriel Synnaeve
  2. Yanqiao Zhu
  3. Yichen Xu
  4. Baptiste Rozière
  5. Jie M. Zhang
  6. Carolyn Jane Anderson
  7. Eric Wallace
  8. Mark Harman

In Natural Language Processing

  1. Luke S. Zettlemoyer
  2. Graham Neubig
  3. Jianfeng Gao
  4. Percy Liang
  5. Mohit Bansal
  6. Jason Aaron Edward Weston
  7. Michael Lewis
  8. Wen-tau Yih

Citations in the corpus