CoChat

Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Tasks

Open access
Mastropaolo, Antonio, Scalabrino, Simone, Cooper, Nathan, Nader Palacio, David, Poshyvanyk, Denys, Oliveto, Rocco, Bavota, Gabriele · 2021 · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)
Cited by 247

The DOI matches its Crossref record; 70 of the 70 references it cites were found in a registry or an index.

Abstract

Deep learning (DL) techniques are gaining more and more attention in the software engineering community. They have been used to support several code-related tasks, such as automatic bug fixing and code comments generation. Recent studies in the Natural Language Processing (NLP) field have shown that the Text-To-Text Transfer Transformer (T5) architecture can achieve state-of-the-art performance for a variety of NLP tasks. The basic idea behind T5 is to first pre-train a model on a large and generic dataset using a self-supervised task (e.g., filling masked words in sentences). Once the model is pre-trained, it is fine-tuned on smaller and specialized datasets, each one related to a specific task (e.g., language translation, sentence classification). In this paper, we empirically investigate how the T5 model performs when pre-trained and fine-tuned to support code-related tasks. We pre-train a T5 model on a dataset composed of natural language English text and source code. Then, we fine-tune such a model by reusing datasets used in four previous works that used DL techniques to: (i) fix bugs, (ii) inject code mutants, (iii) generate assert statements, and (iv) generate code comments. We compared the performance of this single model with the results reported in the four original papers proposing DL-based solutions for those four tasks. We show that our T5 model, exploiting additional data for the self-supervised pre-training phase, can achieve performance improvements over the four baselines.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/icse43902.2021.00041

Cites

70 of 70 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 70 references

Research works printed but not linked: 7

  1. 0, Google colaboraty
  2. caswell, 2020, Recent advances in google translate
  3. brody, 2020, Neural edit completion, arXiv preprint arXiv 2005 13209
  4. 0, Replication Package
  5. alon, 2019, Structural language models of code, ArXiv
  6. tufano, 2019, On learning via neural machine translation, Proceedings of the 41st International Conference on Software Engineering ICSE 2019, 2019, 25
  7. 0, Utilizing Fast Testing to Transform Java Development into an Agile Quick Release Low Risk Process

Cited by

Metadata

Authors
Mastropaolo, A., Scalabrino, S., Cooper, N., Nader Palacio, D., Poshyvanyk, D., Oliveto, R., & Bavota, G.
Venue
2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)
Publisher
IEEE
Published
2021-05
Pages
336-347
OpenAlex
W3127853158
Cited by
247
References
70
FWCI
38.49
Type
conference paper
Language
en
Open access
green
Funders
European Research Council

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.