paper-with-me

홈 › Papers

INSPECT: Intrinsic and Systematic Probing Evaluation for Code Transformers

2023-12-08 · Anjan Karmakar, Romain Robbes

Pre-trained models of source code have recently been successfully applied to a wide variety of Software Engineering tasks; they have also seen some practical adoption in practice, e.g. for code completion. Yet, we still know very little about what these pre-trained models learn about source code. In this article, we use probing--simple diagnostic tasks that do not further train the models--to discover to what extent pre-trained models learn about specific aspects of source code. We use an extensible framework to define 15 probing tasks that exercise surface, syntactic, structural and semantic characteristics of source code. We probe 8 pre-trained source code models, as well as a natural language model (BERT) as our baseline. We find that models that incorporate some structural information (such as GraphCodeBERT) have a better representation of source code characteristics. Surprisingly, we find that for some probing tasks, BERT is competitive with the source code models, indicating that there are ample opportunities to improve source-code specific pre-training on the respective code characteristics. We encourage other researchers to evaluate their models with our probing task suite, so that they may peer into the hidden layers of the models and identify what intrinsic code characteristics are encoded.

📄 PDF Abstract BibTeX arXiv:2312.05092

Code (1)

giganticode/inspect 공식 구현 pytorch

Tasks

Code CompletionDiagnosticLanguage Modelling

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
WordPiece 설명 없음
Weight Decay 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

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

Knowledge Probing for Graph Representation Learning

2024-08-07 · Mingyu Zhao, Xingyu Huang, Ziyu Lyu, Yanlin Wang 외

Graph learning methods have been extensively applied in diverse application areas. However, what kind of inherent graph properties e.g. graph proximity, graph structural information has been encoded into graph representa…

Graph ClassificationGraph LearningGraph Representation LearningKnowledge Probing+3

Inspecting the concept knowledge graph encoded by modern language models

2021-05-27 · Findings (ACL) 2021 8 · Carlos Aspillaga, Marcelo Mendoza, Alvaro Soto

The field of natural language understanding has experienced exponential progress in the last few years, with impressive results in several tasks. This success has motivated researchers to study the underlying knowledge e…

Natural Language UnderstandingWord Embeddings

Intrinsic Probing through Dimension Selection

2020-10-06 · EMNLP 2020 11 · Lucas Torroba Hennigen, Adina Williams, Ryan Cotterell

Most modern NLP systems make use of pre-trained contextual representations that attain astonishingly high performance on a variety of tasks. Such high performance should not be possible unless some form of linguistic str…

Word Embeddings

Probing Pretrained Language Models with Hierarchy Properties

2023-12-15 · Jesús Lovón-Melgarejo, Jose G. Moreno, Romaric Besançon, Olivier Ferret 외

Since Pretrained Language Models (PLMs) are the cornerstone of the most recent Information Retrieval (IR) models, the way they encode semantic knowledge is particularly important. However, little attention has been given…

Hypernym DiscoveryInformation RetrievalReading ComprehensionRetrieval