paper-with-me

홈 › Papers

Assemble Foundation Models for Automatic Code Summarization

2022-01-13 · Jian Gu, Pasquale Salza, Harald C. Gall

Automatic code summarization is beneficial to daily software development since it could help reduce the requirement of manual writing. Currently, artificial intelligence is undergoing a paradigm shift. The foundation models pretrained on massive data and finetuned to downstream tasks surpass specially customized models. This trend inspired us to consider reusing foundation models instead of learning from scratch. Thereby, we propose a flexible and robust approach for automatic code summarization, based on neural models. We assemble available foundation models, such as CodeBERT and GPT-2, into a single neural model named AdaMo. Moreover, we utilize Gaussian noise as the simulation of contextual information to optimize the latent representation. Furthermore, we introduce two adaptive schemes from the perspective of knowledge transfer, namely continuous pretraining and intermediate finetuning, and design intermediate stage tasks for general sequence-to-sequence learning. Finally, we evaluate AdaMo against a benchmark dataset for code summarization, by comparing it with state-of-the-art models.

📄 PDF Abstract BibTeX arXiv:2201.05222

Code (1)

jianguda/afm4acs 공식 구현 pytorch

Tasks

Code Documentation GenerationCode SummarizationSequence-to-sequence Language ModelingSource Code SummarizationTransfer Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
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…
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
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…
CodeBERT 설명 없음
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$…

Similar Papers 제목 키워드 기반

SummEval: Re-evaluating Summarization Evaluation

2020-07-24 · Alexander R. Fabbri, Wojciech Kryściński, Bryan McCann, Caiming Xiong 외

The scarcity of comprehensive up-to-date studies on evaluation metrics for text summarization and the lack of consensus regarding evaluation protocols continue to inhibit progress. We address the existing shortcomings of…

Text Summarization

UniSumm and SummZoo: Unified Model and Diverse Benchmark for Few-Shot Summarization

2022-11-17 · Yulong Chen, Yang Liu, Ruochen Xu, ZiYi Yang 외

The high annotation costs and diverse demands of various summarization tasks motivate the development of few-shot summarization. However, despite the emergence of many summarization tasks and datasets, the current traini…

Diversity

Attention-based Multi-hypothesis Fusion for Speech Summarization

2021-11-16 · Takatomo Kano, Atsunori Ogawa, Marc Delcroix, Shinji Watanabe

Speech summarization, which generates a text summary from speech, can be achieved by combining automatic speech recognition (ASR) and text summarization (TS). With this cascade approach, we can exploit state-of-the-art m…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition+1

SQuALITY: Building a Long-Document Summarization Dataset the Hard Way

2022-05-23 · Alex Wang, Richard Yuanzhe Pang, Angelica Chen, Jason Phang 외

Summarization datasets are often assembled either by scraping naturally occurring public-domain summaries -- which are nearly always in difficult-to-work-with technical domains -- or by using approximate heuristics to ex…

Document SummarizationMultiple-choice

Entity-Based Evaluation of Political Bias in Automatic Summarization

2023-05-03 · Karen Zhou, Chenhao Tan

Growing literature has shown that NLP systems may encode social biases; however, the political bias of summarization models remains relatively unknown. In this work, we use an entity replacement method to investigate the…

Abstractive Text SummarizationArticles