paper-with-me

Papers

Probing Pretrained Models of Source Code

2022-02-16 · Sergey Troshin, Nadezhda Chirkova

Deep learning models are widely used for solving challenging code processing tasks, such as code generation or code summarization. Traditionally, a specific model architecture was carefully built to solve a particular code processing task. However, recently general pretrained models such as CodeBERT or CodeT5 have been shown to outperform task-specific models in many applications. While pretrained models are known to learn complex patterns from data, they may fail to understand some properties of source code. To test diverse aspects of code understanding, we introduce a set of diagnosting probing tasks. We show that pretrained models of code indeed contain information about code syntactic structure and correctness, the notions of identifiers, data flow and namespaces, and natural language naming. We also investigate how probing results are affected by using code-specific pretraining objectives, varying the model size, or finetuning.

📄 PDF Abstract BibTeX arXiv:2202.08975

Code (1)

serjtroshin/probings4code 공식 구현 pytorch

Tasks

ClassificationregressionVariable misuse

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
SentencePiece 설명 없음
Adafactor Adafactor is a stochastic optimization method based on Adam that reduces memory usage while retaining the empirical benefits of…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Discourse Probing of Pretrained Language Models

2021-04-13 · NAACL 2021 4 · Fajri Koto, Jey Han Lau, Timothy Baldwin

Existing work on probing of pretrained language models (LMs) has predominantly focused on sentence-level syntactic tasks. In this paper, we introduce document-level discourse probing to evaluate the ability of pretrained…

Sentence

Can Prompt Probe Pretrained Language Models? Understanding the Invisible Risks from a Causal View

2022-03-23 · ACL 2022 5 · Boxi Cao, Hongyu Lin, Xianpei Han, Fangchao Liu 외

Prompt-based probing has been widely used in evaluating the abilities of pretrained language models (PLMs). Unfortunately, recent studies have discovered such an evaluation may be inaccurate, inconsistent and unreliable.…

Head2Toe: Utilizing Intermediate Representations for Better OOD Generalization

2021-09-29 · Utku Evci, Vincent Dumoulin, Hugo Larochelle, Michael Curtis Mozer

Transfer-learning methods aim to improve performance in a data-scarce target domain using a model pretrained on a data-rich source domain. A cost-efficient strategy, linear probing, involves freezing the source model an…

Transfer Learning

An Empirical Study on Few-shot Knowledge Probing for Pretrained Language Models

2021-09-06 · Tianxing He, Kyunghyun Cho, James Glass

Prompt-based knowledge probing for 1-hop relations has been used to measure how much world knowledge is stored in pretrained language models. Existing work uses considerable amounts of data to tune the prompts for better…

Knowledge ProbingPrompt EngineeringWorld Knowledge

LINSPECTOR WEB: A Multilingual Probing Suite for Word Representations

2019-07-26 · IJCNLP 2019 11 · Max Eichler, Gözde Gül Şahin, Iryna Gurevych

We present LINSPECTOR WEB, an open source multilingual inspector to analyze word representations. Our system provides researchers working in low-resource settings with an easily accessible web based probing tool to gain …

Dependency Parsingnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+2