paper-with-me

홈 › Papers

Reading StackOverflow Encourages Cheating: Adding Question Text Improves Extractive Code Generation

2021-06-08 · ACL (NLP4Prog) 2021 8 · Gabriel Orlanski, Alex Gittens

Answering a programming question using only its title is difficult as salient contextual information is omitted. Based on this observation, we present a corpus of over 40,000 StackOverflow question texts to be used in conjunction with their corresponding intents from the CoNaLa dataset (Yin et al., 2018). Using both the intent and question body, we use BART to establish a baseline BLEU score of 34.35 for this new task. We find further improvements of $2.8\%$ by combining the mined CoNaLa data with the labeled data to achieve a 35.32 BLEU score. We evaluate prior state-of-the-art CoNaLa models with this additional data and find that our proposed method of using the body and mined data beats the BLEU score of the prior state-of-the-art by $71.96\%$. Finally, we perform ablations to demonstrate that BART is an unsupervised multimodal learner and examine its extractive behavior. The code and data can be found https://github.com/gabeorlanski/stackoverflow-encourages-cheating.

📄 PDF Abstract BibTeX arXiv:2106.04447

Code (1)

gabeorlanski/stackoverflow-encourages-cheating 공식 구현

Tasks

Code Generation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
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…
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$…
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
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…

Similar Papers 제목 키워드 기반

StackOverflowVQA: Stack Overflow Visual Question Answering Dataset

2024-05-17 · Motahhare Mirzaei, Mohammad Javad Pirhadi, Sauleh Eetemadi

In recent years, people have increasingly used AI to help them with their problems by asking questions on different topics. One of these topics can be software-related and programming questions. In this work, we focus on…

Question AnsweringSentenceVisual Question AnsweringVisual Question Answering (VQA)

Few-shot Name Entity Recognition on StackOverflow

2024-04-15 · Xinwei Chen, Kun Li, Tianyou Song, Jiangjian Guo

StackOverflow, with its vast question repository and limited labeled examples, raise an annotation challenge for us. We address this gap by proposing RoBERTa+MAML, a few-shot named entity recognition (NER) method leverag…

Meta-Learningnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+1

Labeling questions inside issue trackers

2024-12-05 · Aidin Rasti

One of the issues faced by the maintainers of popular open source software is the triage of newly reported issues. Many of the issues submitted to issue trackers are questions. Many people ask questions on issue trackers…

Predicting the quality of questions on Stackoverflow

2015-09-01 · RANLP 2015 9 · Antoaneta Baltadzhieva, Grzegorz Chrupa{\l}a
Community Question AnsweringQuestion Answering

Code and Named Entity Recognition in StackOverflow

2020-05-04 · ACL 2020 6 · Jeniya Tabassum, Mounica Maddela, Wei Xu, Alan Ritter

There is an increasing interest in studying natural language and computer code together, as large corpora of programming texts become readily available on the Internet. For example, StackOverflow currently has over 15 mi…

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NER