paper-with-me

Papers

A Self-Attentional Neural Architecture for Code Completion with Multi-Task Learning

2019-09-16 · Fang Liu, Ge Li, Bolin Wei, Xin Xia, Zhiyi Fu, Zhi Jin

Code completion, one of the most useful features in the Integrated Development Environments (IDEs), can accelerate software development by suggesting the libraries, APIs, and method names in real-time. Recent studies have shown that statistical language models can improve the performance of code completion tools through learning from large-scale software repositories. However, these models suffer from three major drawbacks: a) The hierarchical structural information of the programs is not fully utilized in the program's representation; b) In programs, the semantic relationships can be very long. Existing recurrent neural networks based language models are not sufficient to model the long-term dependency. c) Existing approaches perform a specific task in one model, which leads to the underuse of the information from related tasks. To address these challenges, in this paper, we propose a self-attentional neural architecture for code completion with multi-task learning. To utilize the hierarchical structural information of the programs, we present a novel method that considers the path from the predicting node to the root node. To capture the long-term dependency in the input programs, we adopt a self-attentional architecture based network as the base language model. To enable the knowledge sharing between related tasks, we creatively propose a Multi-Task Learning (MTL) framework to learn two related tasks in code completion jointly. Experiments on three real-world datasets demonstrate the effectiveness of our model when compared with state-of-the-art methods.

📄 PDF Abstract BibTeX arXiv:1909.06983

Code (0)

등록된 구현이 없습니다.

Tasks

Code CompletionLanguage ModellingMulti-Task Learning

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
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$…
Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Variational Dropout Variational Dropout is a regularization technique based on dropout, but uses a variational inference grounded approach. In…
Adam 설명 없음

Similar Papers 제목 키워드 기반

How Much Attention Do You Need? A Granular Analysis of Neural Machine Translation Architectures

2018-07-01 · ACL 2018 7 · Tobias Domhan

With recent advances in network architectures for Neural Machine Translation (NMT) recurrent models have effectively been replaced by either convolutional or self-attentional approaches, such as in the Transformer. While…

DecoderMachine TranslationNMTTranslation

Why Self-Attention? A Targeted Evaluation of Neural Machine Translation Architectures

2018-08-27 · EMNLP 2018 10 · Gongbo Tang, Mathias Müller, Annette Rios, Rico Sennrich

Recently, non-recurrent architectures (convolutional, self-attentional) have outperformed RNNs in neural machine translation. CNNs and self-attentional networks can connect distant words via shorter network paths than RN…

Machine TranslationTranslationWord Sense Disambiguation

Self-Attentional Models Application in Task-Oriented Dialogue Generation Systems

2019-09-11 · RANLP 2019 9 · Mansour Saffar Mehrjardi, Amine Trabelsi, Osmar R. Zaiane

Self-attentional models are a new paradigm for sequence modelling tasks which differ from common sequence modelling methods, such as recurrence-based and convolution-based sequence learning, in the way that their archite…

Dialogue GenerationMachine TranslationTranslation

End-to-End Information Extraction by Character-Level Embedding and Multi-Stage Attentional U-Net

2021-06-02 · Tuan-Anh Nguyen Dang, Dat-Thanh Nguyen

Information extraction from document images has received a lot of attention recently, due to the need for digitizing a large volume of unstructured documents such as invoices, receipts, bank transfers, etc. In this paper…

Optical Character Recognition (OCR)

Self-Attention Networks for Connectionist Temporal Classification in Speech Recognition

2019-01-22 · Julian Salazar, Katrin Kirchhoff, Zhiheng Huang

The success of self-attention in NLP has led to recent applications in end-to-end encoder-decoder architectures for speech recognition. Separately, connectionist temporal classification (CTC) has matured as an alignment-…

ClassificationDecoderGeneral ClassificationGPU+3