中文
相关论文

相关论文: Neural Code Translation of Legacy Code: APL to C#

200 篇论文

Large language models (LLMs) have shown remarkable capabilities in code translation, yet their performance deteriorates in low-resource programming domains such as Fortran and emerging frameworks like CUDA, where high-quality parallel data…

编程语言 · 计算机科学 2025-12-04 Le Chen , Nuo Xu , Winson Chen , Bin Lei , Pei-Hung Lin , Dunzhi Zhou , Rajeev Thakur , Caiwen Ding , Ali Jannesari , Chunhua Liao

This work explores the use of self-generated natural language explanations as an intermediate step for code-to-code translation with language models. Across three types of explanations and 19 programming languages constructed from the…

计算与语言 · 计算机科学 2023-11-14 Zilu Tang , Mayank Agarwal , Alex Shypula , Bailin Wang , Derry Wijaya , Jie Chen , Yoon Kim

Large Language Models (LLMs) have shown promise for program translation, particularly for migrating systems code to memory-safe languages such as Rust. However, existing approaches struggle when source programs depend on external libraries:…

Code translation migrates codebases across programming languages. Recently, large language models (LLMs) have achieved significant advancements in software mining. However, handling the syntactic structure of source code remains a…

软件工程 · 计算机科学 2025-10-14 Yali Du , Hui Sun , Ming Li

Large language models (LLMs) have achieved state-of-the-art performance in various software engineering tasks, including error detection, clone detection, and code translation, primarily leveraging high-resource programming languages like…

计算与语言 · 计算机科学 2025-06-11 Razan Baltaji , Saurabh Pujar , Louis Mandel , Martin Hirzel , Luca Buratti , Lav Varshney

For half a century, artificial intelligence research has attempted to reproduce the human qualities of abstraction and reasoning - creating computer systems that can learn new concepts from a minimal set of examples, in settings where…

人工智能 · 计算机科学 2024-02-07 Mikel Bober-Irizar , Soumya Banerjee

This paper examines the problem of adapting neural machine translation systems to new, low-resourced languages (LRLs) as effectively and rapidly as possible. We propose methods based on starting with massively multilingual "seed models",…

计算与语言 · 计算机科学 2018-08-14 Graham Neubig , Junjie Hu

AI-assisted code generation tools have revolutionized software development, offering unprecedented efficiency and scalability. However, multiple studies have consistently highlighted challenges such as security vulnerabilities, reliability…

软件工程 · 计算机科学 2025-06-16 Ahilan Ayyachamy Nadar Ponnusamy

Large Language Models (LLMs) are unable to reliably reason about specific physical systems. Attempts to imbue LLMs with knowledge of the necessary physics concepts have shown great promise, but explainability and validation remain open…

人工智能 · 计算机科学 2026-05-22 Sean Memery , Kartic Subr

Binary code analysis allows analyzing binary code without having access to the corresponding source code. A binary, after disassembly, is expressed in an assembly language. This inspires us to approach binary analysis by leveraging ideas…

软件工程 · 计算机科学 2018-12-18 Fei Zuo , Xiaopeng Li , Patrick Young , Lannan Luo , Qiang Zeng , Zhexin Zhang

Current Text-to-Code models demonstrate impressive capabilities in generating executable code from natural language snippets. However, current studies focus on technical instructions and programmer-oriented language, and it is an open…

计算与语言 · 计算机科学 2024-07-17 Asaf Achi Mordechai , Yoav Goldberg , Reut Tsarfaty

We study the problem of generating source code in a strongly typed, Java-like programming language, given a label (for example a set of API calls or types) carrying a small amount of information about the code that is desired. The generated…

编程语言 · 计算机科学 2018-04-16 Vijayaraghavan Murali , Letao Qi , Swarat Chaudhuri , Chris Jermaine

Like text, programs have styles, and certain programming styles are more desirable than others for program readability, maintainability, and performance. Code style transfer, however, is difficult to automate except for trivial style…

软件工程 · 计算机科学 2024-06-18 Karl Munson , Chih-Kai Ting , Serenity Wade , Anish Savla , Julian Dolby , Kiran Kate , Kavitha Srinivas

We assess how the code reasoning abilities of large language models (LLMs) generalize to different kinds of programs. We present techniques for obtaining in- and out-of-distribution programs with different characteristics: code sampled from…

软件工程 · 计算机科学 2025-04-09 Rem Yang , Julian Dai , Nikos Vasilakis , Martin Rinard

The rapid proliferation of diverse programming languages presents both opportunities and challenges for developing multilingual code LLMs. While existing techniques often train code LLMs by simply aggregating multilingual code data, few…

软件工程 · 计算机科学 2025-12-23 Shangbo Yun , Xiaodong Gu , Jianghong Huang , Beijun Shen

Modern language models demonstrate impressive coding capabilities in common programming languages (PLs), such as C++ and Python, but their performance in lower-resource PLs is often limited by training data availability. In principle,…

计算与语言 · 计算机科学 2026-04-24 Zhaofeng Wu , Shiqi Wang , Boya Peng , Anuj Goyal , Melanie Kambadur , Sebastian Ruder , Yoon Kim , Chloe Bi

This paper moves the first step towards automating the composition of Answer Set Programming (ASP) specifications. In particular, the following contributions are provided: (i) A dataset focused on graph-related problem specifications,…

人工智能 · 计算机科学 2024-03-08 Manuel Borroto , Irfan Kareem , Francesco Ricca

Programming languages are emerging as a challenging and interesting domain for machine learning. A core task, which has received significant attention in recent years, is building generative models of source code. However, to our knowledge,…

机器学习 · 计算机科学 2019-04-08 Rui Zhao , David Bieber , Kevin Swersky , Daniel Tarlow

While recent neural machine translation approaches have delivered state-of-the-art performance for resource-rich language pairs, they suffer from the data scarcity problem for resource-scarce language pairs. Although this problem can be…

计算与语言 · 计算机科学 2017-02-22 Yong Cheng , Yang Liu , Qian Yang , Maosong Sun , Wei Xu

As the modern vehicle becomes more software-defined, it is beginning to take significant effort to avoid serious regression in software design. This is because automotive software architects rely largely upon manual review of code to spot…

软件工程 · 计算机科学 2022-08-30 Dhasarathy Parthasarathy , Cecilia Ekelin , Anjali Karri , Jiapeng Sun , Panagiotis Moraitis