Collaborative Research: SHF: Small: RUI: Context-aware Models of Source Code Summarization
Collaborative Research: SHF: Small: RUI: Context-aware Models of Source Code Summarization
批准号:
2100050
负责人:
Siyuan Jiang
金额:
$5.0万
依托单位国家:
美国
项目类别:
Standard Grant
财政年份:
2021
资助国家:
美国
项目状态:
已结题
起止时间:
2021-10-01 至 2024-09-30
中文摘要
这个研究项目的目标是解决软件源代码自动生成文档的关键障碍。程序员通过在源代码中编写指令来创建软件。源代码通常很难理解,程序员通常必须花费大量时间编写和更新代码的自然语言描述,以作为其他程序员的指南。但是程序员倾向于避免这项任务,从而导致难以理解的遗留代码、bug、新手程序员的挣扎以及其他问题。编写这些自然语言描述的过程被称为“源代码摘要”,这个项目旨在使这个过程自动化。该项目的长期目标是自动生成文档将提高软件工程师的工作效率,并总体上提高软件的质量。这个项目目标的两个关键障碍是:1)代码总结的上下文感知模型,以及2)这些模型的改进的优化和评估过程。对第(1)项的研究集中在基于神经网络的阅读和理解源代码的新算法上。一段源代码的“上下文”包括周围的源代码、依赖项和依赖项、程序员通信、bug报告、体系结构文档和许多其他软件工件。本研究旨在建立新的代码神经模型,如注意图神经网络和动态记忆网络。对第(2)项的研究集中于改进用于评估源代码摘要模型的度量,以及用于训练这些模型的优化函数。这个项目包括这些指标和功能的设计,以及对它们进行评估的实验。该奖项反映了美国国家科学基金会的法定使命,并通过使用基金会的知识价值和更广泛的影响审查标准进行评估,被认为值得支持。
英文摘要
The objective of this research project is to address key barriers towards automatic documentation generation for software source code. Programmers create software by writing instructions in source code. That source code is often very difficult to understand, and programmers often must spend significant time writing and updating natural language descriptions of the code to serve as a guide to other programmers. But programmers tend to avoid this task, leading to difficult-to-understand legacy code, bugs, struggles for novice programmers, and other problems. The process of writing these natural language descriptions is called "source code summarization" and this project aims to automate this process. The long-term goal of the project is that automatic documentation generation will improve productivity for software engineers, and increase the quality of software generally.The two key barriers that this project targets are: 1) context-aware models of code summarization, and 2) improved optimization and evaluation procedures for those models. The research towards item (1) centers on novel neural network-based algorithms for reading and understanding source code. The "context" of a section of source code includes the surrounding source code, dependencies and dependents, programmer communications, bug reports, architecture documentation, and many other software artifacts. This proposal aims to build new neural models of code that include this context such as attentional graph neural networks and dynamic memory networks. The research towards item (2) centers on improving the metrics used to evaluate models of source code summarization, as well as optimization functions used to train these models. This project includes both design of these metrics and functions, and experiments to evaluate them.This award reflects NSF's statutory mission and has been deemed worthy of support through evaluation using the Foundation's intellectual merit and broader impacts review criteria.
期刊论文(0)
专著(0)
科研奖励(0)
会议论文
国内基金
海外基金
登录
查看更多内容
Research on Quantum Field Theory without a Lagrangian Description
-
批准号:24ZR1403900
-
项目类别:省市级项目
-
资助金额:--
-
批准年份:2024
-
负责人:SATOSHI NAWATA
-
依托单位:
Cell Research
-
批准号:31224802
-
项目类别:专项基金项目
-
资助金额:24.0万元
-
批准年份:2012
-
负责人:程磊
-
依托单位:
Cell Research
-
批准号:31024804
-
项目类别:专项基金项目
-
资助金额:24.0万元
-
批准年份:2010
-
负责人:程磊
-
依托单位:
Cell Research (细胞研究)
-
批准号:30824808
-
项目类别:专项基金项目
-
资助金额:24.0万元
-
批准年份:2008
-
负责人:张爱兰
-
依托单位:
Research on the Rapid Growth Mechanism of KDP Crystal
-
批准号:10774081
-
项目类别:面上项目
-
资助金额:45.0万元
-
批准年份:2007
-
负责人:滕冰
-
依托单位: