In-Context Code-Text Learning for Bimodal Software Engineering
Xunzhu Tang, Liran Wang, Yonghui Liu, Linzheng Chai, Jian Yang,, Zhoujun Li, Haoye Tian, Jacques Klein, Tegawende F. Bissyande

TL;DR
This paper introduces INCTRL, a prompt-based in-context learning approach for bimodal code-text tasks in software engineering, leveraging pretrained CodeLLAMA models to improve performance across diverse tasks.
Contribution
It proposes a unified prompt learning pipeline, INCTRL, that enhances few-shot performance of CodeLLAMA on multiple software engineering tasks.
Findings
INCTRL outperforms state-of-the-art models in few-shot settings.
Significant improvements in precision and recall across tasks.
State-of-the-art results with retrieval-augmented generation.
Abstract
Bimodal software analysis initially appeared to be within reach with the advent of large language models. Unfortunately, the complex interplay of natural language text and code in software engineering, presents unique challenges that prevent pretrained models to generalize to a variety of tasks. We postulate that in-context learning for the code-text bimodality is a promising avenue. This paper thus introduces a comprehensive study of in-context code-text learning, focusing on leveraging pretrained CodeLLAMA models. We consider a diverse dataset encompassing 23 software engineering tasks, which we transform in an in-context learning format. To effectively extract informative features, we propose a configurable prompt template. Our proposed pipeline, InCTRL, then unifies prompt learning across various software engineering tasks. Extensive evaluation on the study datasets demonstrates…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpeech and dialogue systems · Software Engineering Techniques and Practices
