MUMBAI, India, June 24 -- Intellectual Property India has published a patent application (202617059854 A) filed by Microsoft Technology Licensing, LLC on May 11, 2026, for Code Translation Prompt Augmented With Compiled Code Candidates.
Inventors include Clement, Colin Bruce; Sundaresan, Neelakantan; Huang, Yufan; Qi, Mengnan; Wang, Maoquan; and Yao, Yongqiang.
The application for the patent was published on June 12, 2026, under issue no. 24/2026.
Abstract: A prompt to a large language model for a source code translation of an input source code snippet written in a source programming language into a different target programming language is augmented with compiled code translations. The compiled code translations are identified from a ranked list of the top-k code candidates in the target programming language having a close similarity to an embedding of the input source code snippet. A reward model generates a reward score for each of the top-k code candidates which is used to identify the top-n code candidates having less compilation errors. The top-n code candidates are included in the prompt to the large language model to guide the model on the translation task.
Disclaimer: Curated by HT Syndication.