paper-with-me

홈 › Papers

On Multi-Modal Learning of Editing Source Code

2021-08-15 · Saikat Chakraborty, Baishakhi Ray

In recent years, Neural Machine Translator (NMT) has shown promise in automatically editing source code. Typical NMT based code editor only considers the code that needs to be changed as input and suggests developers with a ranked list of patched code to choose from - where the correct one may not always be at the top of the list. While NMT based code editing systems generate a broad spectrum of plausible patches, the correct one depends on the developers' requirement and often on the context where the patch is applied. Thus, if developers provide some hints, using natural language, or providing patch context, NMT models can benefit from them. As a proof of concept, in this research, we leverage three modalities of information: edit location, edit code context, commit messages (as a proxy of developers' hint in natural language) to automatically generate edits with NMT models. To that end, we build MODIT, a multi-modal NMT based code editing engine. With in-depth investigation and analysis, we show that developers' hint as an input modality can narrow the search space for patches and outperform state-of-the-art models to generate correctly patched code in top-1 position.

📄 PDF Abstract BibTeX arXiv:2108.06645

Code (1)

modit-team/MODIT 공식 구현 pytorch

Tasks

NMT

Similar Papers 제목 키워드 기반

MindBridge: Scalable and Cross-Model Knowledge Editing via Memory-Augmented Modality

2025-03-04 · Shuaike Li, Kai Zhang, Qi Liu, Enhong Chen

Knowledge editing is a technique for efficiently and accurately updating the knowledge of large language models (LLMs) to alleviate obsolescence and correct errors. However, most existing methods overfit to specific mode…

knowledge editing

StyleBooth: Image Style Editing with Multimodal Instruction

2024-04-18 · Zhen Han, Chaojie Mao, Zeyinzi Jiang, Yulin Pan 외

Given an original image, image editing aims to generate an image that align with the provided instruction. The challenges are to accept multimodal inputs as instructions and a scarcity of high-quality training data, incl…

PlotEdit: Natural Language-Driven Accessible Chart Editing in PDFs via Multimodal LLM Agents

2025-01-20 · Kanika Goswami, Puneet Mathur, Ryan Rossi, Franck Dernoncourt

Chart visualizations, while essential for data interpretation and communication, are predominantly accessible only as images in PDFs, lacking source data tables and stylistic information. To enable effective editing of c…

AttributeTable Extraction

ProductWebGen: Benchmarking Multimodal Product Webpage Generation

2026-05-31 · Zhihong Liu, Siqi Kou, Zheng Li, Ye Ma 외 arxiv

Crafting a product display webpage from a source product image, along with layout and visual content instructions, holds significant practical value for domains such as marketing, advertising, and E-commerce. Intuitively…

Instruction FollowingImage GenerationImage Editing

Step1X-Edit: A Practical Framework for General Image Editing

2025-04-24 · Shiyu Liu, Yucheng Han, Peng Xing, Fukun Yin 외

In recent years, image editing models have witnessed remarkable and rapid development. The recent unveiling of cutting-edge multimodal models such as GPT-4o and Gemini2 Flash has introduced highly promising image editing…

Image EditingImage Manipulation