中文
相关论文

相关论文: Code Attention: Translating Code to Comments by Ex…

200 篇论文

We propose a framework to automatically generate descriptive comments for source code blocks. While this problem has been studied by many researchers previously, their methods are mostly based on fixed template and achieves poor results.…

人工智能 · 计算机科学 2018-08-22 Yuding Liang , Kenny Q. Zhu

In software development and maintenance, code comments can help developers understand source code, and improve communication among developers. However, developers sometimes neglect to update the corresponding comment when changing the code,…

软件工程 · 计算机科学 2024-03-04 Yuan Huang , Yinan Chen , Xiangping Chen , Xiaocong Zhou

Code review is one of the best practices as a powerful safeguard for software quality. In practice, senior or highly skilled reviewers inspect source code and provide constructive comments, considering what authors may ignore, for example,…

软件工程 · 计算机科学 2022-09-01 Lingwei Li , Li Yang , Huaxi Jiang , Jun Yan , Tiejian Luo , Zihan Hua , Geng Liang , Chun Zuo

Dot-product attention has wide applications in computer vision and natural language processing. However, its memory and computational costs grow quadratically with the input size. Such growth prohibits its application on high-resolution…

计算机视觉与模式识别 · 计算机科学 2024-01-22 Zhuoran Shen , Mingyuan Zhang , Haiyu Zhao , Shuai Yi , Hongsheng Li

Recent neural models of code, such as OpenAI Codex and AlphaCode, have demonstrated remarkable proficiency at code generation due to the underlying attention mechanism. However, it often remains unclear how the models actually process code,…

软件工程 · 计算机科学 2024-08-30 Matteo Paltenghi , Rahul Pandita , Austin Z. Henley , Albert Ziegler

Social coding platforms, such as GitHub, serve as laboratories for studying collaborative problem solving in open source software development; a key feature is their ability to support issue reporting which is used by teams to discuss tasks…

计算与语言 · 计算机科学 2020-11-11 Ayesha Enayet , Gita Sukthankar

Effective peer code review in collaborative software development necessitates useful reviewer comments and supportive automated tools. Code review comments are a central component of the Modern Code Review process in the industry and…

软件工程 · 计算机科学 2023-07-07 Sharif Ahmed , Nasir U. Eisty

The previous smart contract code comment (SCC) generation approaches can be divided into two categories: fine-tuning paradigm-based approaches and information retrieval-based approaches. However, for the fine-tuning paradigm-based…

软件工程 · 计算机科学 2024-01-17 Junjie Zhao , Xiang Chen , Guang Yang , Yiheng Shen

Interactive segmentation algorithms based on click points have garnered significant attention from researchers in recent years. However, existing studies typically use sparse click maps as model inputs to segment specific target objects,…

计算机视觉与模式识别 · 计算机科学 2024-08-14 Long Xu , Shanghong Li , Yongquan Chen , Junkang Chen , Rui Huang , Feng Wu

Documenting the functionality of software units with code comments, e.g., Javadoc comments, is a common programmer best-practice in software engineering. This paper introduces a novel test generation technique that exploits the code-comment…

软件工程 · 计算机科学 2025-05-01 Giovanni Denaro , Luca Guglielmo

Multi-head attention has each of the attention heads collect salient information from different parts of an input sequence, making it a powerful mechanism for sequence modeling. Multilingual and multi-domain learning are common scenarios…

计算与语言 · 计算机科学 2021-06-22 Hongyu Gong , Yun Tang , Juan Pino , Xian Li

The design and optimization of hardware have traditionally been resource-intensive, demanding considerable expertise and dependence on established design automation tools. This paper discusses the possibility of exploiting large language…

硬件体系结构 · 计算机科学 2024-01-18 Selim Sandal , Ismail Akturk

Code review is critical for ensuring software quality and maintainability. With the rapid growth in software scale and complexity, code review has become a bottleneck in the development process because of its time-consuming and…

软件工程 · 计算机科学 2026-02-24 Yuxin Zhang , Yuxia Zhang , Zeyu Sun , Yanjie Jiang , Hui Liu

During software maintenance, programmers spend a lot of time on code comprehension. Reading comments is an effective way for programmers to reduce the reading and navigating time when comprehending source code. Therefore, as a critical task…

软件工程 · 计算机科学 2018-02-01 Xing Hu , Yuhan Wei , Ge Li , Zhi Jin

We present the Code Documentation and Analysis Tool (CoDAT). CoDAT is a tool designed to maintain consistency between the various levels of code documentation, e.g. if a line in a code sketch is changed, the comment that documents the…

软件工程 · 计算机科学 2024-07-17 Paul Attie , Anas Obeidat , Nathaniel Oh , Ian Yelle

Automatically generating concise, informative comments for source code can lighten documentation effort and accelerate program comprehension. Retrieval-augmented approaches first fetch code snippets with existing comments and then…

软件工程 · 计算机科学 2025-07-25 Tien P. T. Le , Anh M. T. Bui , Huy N. D. Pham , Alessio Bucaioni , Phuong T. Nguyen

In recent years, there have been significant advancements in applying attention mechanisms to point cloud analysis. However, attention module variants featured in various research papers often operate under diverse settings and tasks,…

计算机视觉与模式识别 · 计算机科学 2024-07-30 Chengzhi Wu , Kaige Wang , Zeyun Zhong , Hao Fu , Junwei Zheng , Jiaming Zhang , Julius Pfrommer , Jürgen Beyerer

Code comment generation aims to generate high-quality comments from source code automatically and has been studied for years. Recent studies proposed to integrate information retrieval techniques with neural generation models to tackle this…

软件工程 · 计算机科学 2024-08-08 Hanzhen Lu , Zhongxin Liu

Review comments play an important role in the evolution of documents. For a large document, the number of review comments may become large, making it difficult for the authors to quickly grasp what the comments are about. It is important to…

计算与语言 · 计算机科学 2022-10-04 Gautam Choudhary , Natwar Modani , Nitish Maurya

Quantum computing is gaining attention from academia and industry. With the quantum Software Development Kits (SDKs), programmers can develop quantum software to explore the power of quantum computing. However, programmers may face…

软件工程 · 计算机科学 2025-12-02 Zenghui Zhou , Yuechen Li , Yi Cai , Jinlong Wen , Xiaohan Yu , Zheng Zheng , Beibei Yin