中文
相关论文

相关论文: Source Code Summarization with Structural Relative…

200 篇论文

Neural abstractive summarization has been studied in many pieces of literature and achieves great success with the aid of large corpora. However, when encountering novel tasks, one may not always benefit from transfer learning due to the…

计算与语言 · 计算机科学 2021-06-01 Yi-Syuan Chen , Hong-Han Shuai

Program classification can be regarded as a high-level abstraction of code, laying a foundation for various tasks related to source code comprehension, and has a very wide range of applications in the field of software engineering, such as…

软件工程 · 计算机科学 2022-05-03 Kesu Wang , Meng Yan , He Zhang , Haibo Hu

The parallelism of Transformer-based models comes at the cost of their input max-length. Some studies proposed methods to overcome this limitation, but none of them reported the effectiveness of summarization as an alternative. In this…

计算与语言 · 计算机科学 2024-03-20 Mirza Alim Mutasodirin , Radityo Eko Prasojo

Background: During software maintenance and development, the comprehension of program code is key to success. High-quality comments can help us better understand programs, but they're often missing or outmoded in today's programs. Automatic…

软件工程 · 计算机科学 2019-10-15 Yuxiang Zhu , Minxue Pan

Language exhibits inherent structures, a property that explains both language acquisition and language change. Given this characteristic, we expect language models to manifest their own internal structures as well. While interpretability…

计算与语言 · 计算机科学 2026-05-19 Haruki Sakajo , Frederikus Hudi , Yusuke Sakai , Hidetaka Kamigaito , Taro Watanabe

Sequential abstractive neural summarizers often do not use the underlying structure in the input article or dependencies between the input sentences. This structure is essential to integrate and consolidate information from different parts…

计算与语言 · 计算机科学 2022-11-18 Yifu Qiu , Shay B. Cohen

We propose a model to automatically describe changes introduced in the source code of a program using natural language. Our method receives as input a set of code commits, which contains both the modifications and message introduced by an…

计算与语言 · 计算机科学 2017-04-18 Pablo Loyola , Edison Marrese-Taylor , Yutaka Matsuo

Neural encoder-decoder models have been successful in natural language generation tasks. However, real applications of abstractive summarization must consider additional constraint that a generated summary should not exceed a desired…

计算与语言 · 计算机科学 2019-04-17 Sho Takase , Naoaki Okazaki

Recent progress on parse tree encoder for sentence representation learning is notable. However, these works mainly encode tree structures recursively, which is not conducive to parallelization. On the other hand, these works rarely take…

计算与语言 · 计算机科学 2022-05-10 Junhua Ma , Jiajun Li , Yuxuan Liu , Shangbo Zhou , Xue Li

The Transformer architecture and transfer learning have marked a quantum leap in natural language processing, improving the state of the art across a range of text-based tasks. This paper examines how these advancements can be applied to…

软件工程 · 计算机科学 2022-08-29 Pasquale Salza , Christoph Schwizer , Jian Gu , Harald C. Gall

Code retrieval is a common practice for programmers to reuse existing code snippets in open-source repositories. Given a user query (i.e., a natural language description), code retrieval aims at searching for the most relevant ones from a…

软件工程 · 计算机科学 2022-03-30 Wenchao Gu , Zongjie Li , Cuiyun Gao , Chaozheng Wang , Hongyu Zhang , Zenglin Xu , Michael R. Lyu

Transformer-based language models usually treat texts as linear sequences. However, most texts also have an inherent hierarchical structure, i.e., parts of a text can be identified using their position in this hierarchy. In addition,…

计算与语言 · 计算机科学 2026-01-30 Qian Ruan , Malte Ostendorff , Georg Rehm

Composed image retrieval is a type of image retrieval task where the user provides a reference image as a starting point and specifies a text on how to shift from the starting point to the desired target image. However, most existing…

计算机视觉与模式识别 · 计算机科学 2023-09-19 Xingyu Yang , Daqing Liu , Heng Zhang , Yong Luo , Chaoyue Wang , Jing Zhang

The task of automatic text summarization produces a concise and fluent text summary while preserving key information and overall meaning. Recent approaches to document-level summarization have seen significant improvements in recent years…

计算与语言 · 计算机科学 2022-12-07 Gonçalo Raposo , Afonso Raposo , Ana Sofia Carmo

In Transformer-based neural machine translation (NMT), the positional encoding mechanism helps the self-attention networks to learn the source representation with order dependency, which makes the Transformer-based NMT achieve…

计算与语言 · 计算机科学 2020-04-09 Kehai Chen , Rui Wang , Masao Utiyama , Eiichiro Sumita

Machine learning models that take computer program source code as input typically use Natural Language Processing (NLP) techniques. However, a major challenge is that code is written using an open, rapidly changing vocabulary due to, e.g.,…

机器学习 · 计算机科学 2019-05-21 Milan Cvitkovic , Badal Singh , Anima Anandkumar

This paper investigates the ability of transformer-based models to learn structural recursion from examples. Recursion is a universal concept in both natural and formal languages. Structural recursion is central to the programming language…

计算与语言 · 计算机科学 2024-01-24 Dylan Zhang , Curt Tigges , Zory Zhang , Stella Biderman , Maxim Raginsky , Talia Ringer

Text summarization aims to condense long documents and retain key information. Critical to the success of a summarization model is the faithful inference of latent representations of words or tokens in the source documents. Most recent…

计算与语言 · 计算机科学 2022-03-16 Bo Pang , Erik Nijkamp , Wojciech Kryściński , Silvio Savarese , Yingbo Zhou , Caiming Xiong

Selective attention helps us focus on task-relevant aspects in the constant flood of our sensory input. This constraint in our perception allows us to robustly generalize under distractions and to new compositions of perceivable concepts.…

计算机视觉与模式识别 · 计算机科学 2024-09-17 Ankit Vani , Bac Nguyen , Samuel Lavoie , Ranjay Krishna , Aaron Courville

Abstract syntax trees (ASTs) play a crucial role in source code representation. However, due to the large number of nodes in an AST and the typically deep AST hierarchy, it is challenging to learn the hierarchical structure of an AST…

软件工程 · 计算机科学 2022-03-29 Xiao Wang , Qiong Wu , Hongyu Zhang , Chen Lyu , Xue Jiang , Zhuoran Zheng , Lei Lyu , Songlin Hu