Search Results for author: Zimin Chen

Found 11 papers, 7 papers with code

Supersonic: Learning to Generate Source Code Optimizations in C/C++

no code implementations26 Sep 2023 Zimin Chen, Sen Fang, Martin Monperrus

Software optimization refines programs for resource efficiency while preserving functionality.

PLUR: A Unifying, Graph-Based View of Program Learning, Understanding, and Repair

1 code implementation NeurIPS 2021 Zimin Chen, Vincent Hellendoorn, Pascal Lamblin, Petros Maniatis, Pierre-Antoine Manzagol, Daniel Tarlow, Subhodeep Moitra

Machine learning for understanding and editing source code has recently attracted significant interest, with many developments in new models, new code representations, and new tasks. This proliferation can appear disparate and disconnected, making each approach seemingly unique and incompatible, thus obscuring the core machine learning challenges and contributions. In this work, we demonstrate that the landscape can be significantly simplified by taking a general approach of mapping a graph to a sequence of tokens and pointers. Our main result is to show that 16 recently published tasks of different shapes can be cast in this form, based on which a single model architecture achieves near or above state-of-the-art results on nearly all tasks, outperforming custom models like code2seq and alternative generic models like Transformers. This unification further enables multi-task learning and a series of cross-cutting experiments about the importance of different modeling choices for code understanding and repair tasks. The full framework, called PLUR, is easily extensible to more tasks, and will be open-sourced (https://github. com/google-research/plur).

BIG-bench Machine Learning Multi-Task Learning

Multimodal Representation for Neural Code Search

1 code implementation2 Jul 2021 Jian Gu, Zimin Chen, Martin Monperrus

In this paper, to improve the vector space, we introduce tree-serialization methods on a simplified form of AST and build the multimodal representation for the code data.

Code Search Semantic Similarity +1

Neural Transfer Learning for Repairing Security Vulnerabilities in C Code

2 code implementations16 Apr 2021 Zimin Chen, Steve Kommrusch, Martin Monperrus

To sum up, this paper shows that transfer learning works well for repairing security vulnerabilities in C compared to learning on a small dataset.

Bug fixing C++ code +2

Using Sequence-to-Sequence Learning for Repairing C Vulnerabilities

no code implementations4 Dec 2019 Zimin Chen, Steve Kommrusch, Martin Monperrus

Software vulnerabilities affect all businesses and research is being done to avoid, detect or repair them.

Learning to Fix Build Errors with Graph2Diff Neural Networks

no code implementations4 Nov 2019 Daniel Tarlow, Subhodeep Moitra, Andrew Rice, Zimin Chen, Pierre-Antoine Manzagol, Charles Sutton, Edward Aftandilian

A diff specifies how to modify the code's abstract syntax tree, represented in the neural network as a sequence of tokens and of pointers to code locations.

Program Repair

A Literature Study of Embeddings on Source Code

1 code implementation5 Apr 2019 Zimin Chen, Martin Monperrus

In this survey, we aim to collect and discuss the usage of word embedding techniques on programs and source code.

The Remarkable Role of Similarity in Redundancy-based Program Repair

no code implementations14 Nov 2018 Zimin Chen, Martin Monperrus

Recently, there have been original attempts to use the concept of "code similarity" in program repair, suggesting that similarity analysis has an important role in the repair process.

Software Engineering

Cannot find the paper you are looking for? You can Submit a new open access paper.