Code Generation Method and Apparatus, Storage Medium and Electronic Device
Summary
USPTO published patent application US20260099303A1 for an AI code generation method and apparatus. The invention acquires target text (program code or natural language) and inputs it into a trained code generation model to produce target program code. The model is trained on both code understanding tasks (syntax and semantic features) and code generation tasks (producing new code from sample code).
What changed
USPTO published patent application US20260099303A1 for a code generation method using artificial intelligence. The method acquires target text containing program code to be supplemented or natural language describing code functionality, then inputs this text into a trained code generation model to produce target program code. The model is trained on two tasks: code understanding (learning syntax and semantic features from sample code) and code generation (learning to create new program code from sample inputs).
Affected parties including AI developers, software tool vendors, and organizations utilizing code generation systems should monitor this application's progression toward grant. If the patent issues, it may affect development approaches for AI code generation technologies and could require licensing considerations.
What to do next
- Monitor for patent grant status
- Review claims for potential infringement concerns
- Assess relevance to AI code generation operations
Archived snapshot
Apr 9, 2026GovPing captured this document from the original source. If the source has since changed or been removed, this is the text as it existed at that time.
CODE GENERATION METHOD AND APPARATUS, STORAGE MEDIUM AND ELECTRONIC DEVICE
Application US20260099303A1 Kind: A1 Apr 09, 2026
Inventors
Luping Liu, Qinyun Wu, Ping Yang, Landong Lin, Jie Liu, Huan Song
Abstract
The present disclosure relates to a code generation method and apparatus, a storage medium, and an electronic device, to improve the accuracy of automatically generated code. The method includes: acquiring target text, where the target text includes program code text to be supplemented or natural language text for describing a code function; and inputting the target text into a code generation model to obtain a target program code generated based on the target text, where the code generation model is obtained by training a code understanding task and a code generation task, the code understanding task is used for the code generation model to learn a syntax feature and a semantic feature of a sample program code, and the code generation task is used for the code generation model to learn a process of generating a new program code based on the sample program code.
CPC Classifications
G06F 8/35 G06N 3/04 G06N 3/08
Filing Date
2024-02-07
Application No.
19114774
Related changes
Get daily alerts for USPTO Patent Applications - AI & Computing (G06N)
Daily digest delivered to your inbox.
Free. Unsubscribe anytime.
Source
About this page
Every important government, regulator, and court update from around the world. One place. Real-time. Free. Our mission
Source document text, dates, docket IDs, and authority are extracted directly from USPTO.
The plain-English summary, classification, and "what to do next" steps are AI-generated from the original text. Cite the source document, not the AI analysis.
Classification
Who this affects
Taxonomy
Browse Categories
Get alerts for this source
We'll email you when USPTO Patent Applications - AI & Computing (G06N) publishes new changes.