Skip to content

Details

In this talk we will present our recent results on investigating pre-trained models (PMs) of source code. The first part of the talk will be devoted to code subtokenization, i. e., splitting the textual representation of the program into subtokens which are then passed to the Transformer. While recent works on PMs of code rigorously investigate the effect of major parts of the PM pipeline such as pre-training objectives or model architectures, the first module in the pipeline, namely code subtokenization, is usually discussed only superficially. This motivated us to investigate the effect of different subtokenization options, including subtokenization algorithm, the granularity of subtokens, and the vocabulary size, with the goal of providing recommendations on which option to pay more attention to in practice.

The second part will be devoted to the probing analysis of the pretrained models of code. To test if they capture diverse aspects of code understanding, we design a set of diagnostic tasks targeting syntactic structure, the notions of identifiers, and namespaces, and more complex code properties such as semantic equivalence. We also investigate how probing results are affected by using code-specific pretraining objectives, varying the model size, or finetuning.

Speakers:
Nadia Chirkova, Naver Labs Europe (Grenoble, France)
Sergey Troshin, HSE University (Moscow, Russia)

Related topics

Machine Learning
Data Science
Software Engineering

You may also like