Reducing semantic errors in code generated by machine learning models
US11507352B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 15, 2021 |
| Grant date | Nov 22, 2022 |
| Priority date | — |
| Expiry date | Jun 15, 2041 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N3/044
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Embodiments are disclosed for a method. The method includes identifying a prefix updated by a searcher of a machine learning model. The machine learning model is configured to generate source code in a programming language. The method also includes determining whether the prefix violates a semantic correctness property of the programming language. Additionally, the method includes instructing the searcher, in response to the determination, to prune the prefix from a set of prefixes under consideration by the searcher.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.