Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for automatically generating submission demand abstract based on strategy gradient algorithm

A gradient algorithm and automatic generation technology, applied in neural learning methods, biological neural network models, unstructured text data retrieval, etc., can solve the problem of not considering the word reward situation, the gap with the target sequence, and not meeting human evaluation standards and other problems, to achieve the effect of accurate description of submitted requirements and increased logical structure

Active Publication Date: 2020-06-16
DALIAN MARITIME UNIVERSITY
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current method of generating a summary of submission requirements has some shortcomings. Only text information is used as input, and the generated submission requirements description lacks logic and does not meet human evaluation standards; only using the policy gradient algorithm in ordinary reinforcement learning can only be considered to generate The reward of the whole sentence, without considering the reward of the words generated at the intermediate moment, which makes the generated sequence far from the target sequence and affects the accuracy of the generated sentence

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for automatically generating submission demand abstract based on strategy gradient algorithm
  • Method for automatically generating submission demand abstract based on strategy gradient algorithm
  • Method for automatically generating submission demand abstract based on strategy gradient algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to make the technical solutions and advantages of the present invention more clear, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the drawings in the embodiments of the present invention:

[0014] Such as figure 1 A method for automatically generating a summary of submission requirements based on a strategy gradient algorithm is shown, which specifically includes the following steps:

[0015] S1: Collect submission requirements data from GitHub, for each submission requirement, retrieve its submission requirement summary and submission information, and analyze its submitted patches, extract the comments added in each patch, and build the source sequence and target Sequence, the source sequence is a combination of submission information and source code comments and its text semantic tree, and the target sequence is a summary of submission requirements. Filter out trivial and te...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for automatically generating a submission demand abstract based on a strategy gradient algorithm. The method comprises the steps of extracting submission information and source code annotation in a submission demand relationship and a text semantic tree structure corresponding to the submission information and the source code annotation; encoding into a hidden state through a bidirectional recurrent neural network encoder; mapping into a vector sequence with a fixed length; and carrying out soft control between a word selected from a vocabulary table and a wordcopied from a source sequence through the generation probability of the vocabulary by using a pointer generator to obtain final vocabulary distribution. A strategy gradient algorithm with a base lineis combined with N times of Monte Carlo search; the method comprises the following steps: calculating an average reward containing a sequence of an action through N times of Monte Carlo search, finding out an action sequence with the maximum average reward, taking the action as an action to be selected, performing the action according to the action to obtain a complete sequence, updating a strategy gradient by utilizing a difference value between the sequence searched by Monte Carlo search and a baseline sequence, and finally generating a submission demand abstract.

Description

technical field [0001] The invention relates to the technical field of information data processing, in particular to a method for automatically generating a summary of submission requirements based on a strategy gradient algorithm. Background technique [0002] A commit-based development model, popular on modern collaborative coding platforms, eases the developer's contribution to the project. In this model, the developer does not need to directly access the central repository to contribute to the project. He only needs to Clone the central repository by yourself, make changes independently in the central repository of personal clones, such as fixing bugs or implementing functions, and then submit the changes to the central repository by submitting requirements, and then the reviewers of the central repository review the submitted requirements Review, and if the review passes, the developer has made a contribution to the project. So developers can easily contribute to the m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/34G06N3/04G06N3/08
CPCG06F16/345G06N3/08G06N3/045
Inventor 李辉王思文
Owner DALIAN MARITIME UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products