Paul, Indraneil ; Glavaš, Goran ; Gurevych, Iryna (2024)
IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generators.
The 62nd Annual Meeting of the Association for Computational Linguistics. Bangkok, Thailand (12-16.08.2024)
Conference or Workshop Item, Bibliographie
Abstract
Code generation has fast become one of the most popular applications of language models (LMs). Nonetheless, research on multilingual aspects of Code-LMs, such as cross-lingual transfer between different programming languages, language-specific data augmentation, and post-hoc LM adaptation, alongside the exploitation of data sources other than the original textual content, has been much sparser than for their natural language counterparts. In particular, most mainstream Code-LMs have been pre-trained on source code files alone. In this work, we investigate the prospect of leveraging readily available compiler intermediate representations (IR)—shared across programming languages—to improve the multilingual capabilities of Code-LMs and facilitate cross-lingual transfer. To this end, we first compile SLTrans, a parallel dataset consisting of nearly 4M self-contained source code files coupled with their respective intermediate representations. Next, starting from various base Code-LMs (ranging from 1.1B to 7.3B parameters), we carry out continued causal language modelling training on SLTrans, forcing the Code-LMs to (1) learn the IR language and (2) align the IR constructs with respective constructs of various programming languages. Our resulting models, dubbed IRCoder, display sizeable and consistent gains across various code generation tasks and metrics, including prompt robustness, multilingual code completion, code understanding, and instruction following.
Item Type: | Conference or Workshop Item |
---|---|
Erschienen: | 2024 |
Creators: | Paul, Indraneil ; Glavaš, Goran ; Gurevych, Iryna |
Type of entry: | Bibliographie |
Title: | IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generators |
Language: | English |
Date: | August 2024 |
Publisher: | Association for Computational Linguistics |
Book Title: | Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) |
Event Title: | The 62nd Annual Meeting of the Association for Computational Linguistics |
Event Location: | Bangkok, Thailand |
Event Dates: | 12-16.08.2024 |
URL / URN: | https://aclanthology.org/2024.acl-long.802/ |
Abstract: | Code generation has fast become one of the most popular applications of language models (LMs). Nonetheless, research on multilingual aspects of Code-LMs, such as cross-lingual transfer between different programming languages, language-specific data augmentation, and post-hoc LM adaptation, alongside the exploitation of data sources other than the original textual content, has been much sparser than for their natural language counterparts. In particular, most mainstream Code-LMs have been pre-trained on source code files alone. In this work, we investigate the prospect of leveraging readily available compiler intermediate representations (IR)—shared across programming languages—to improve the multilingual capabilities of Code-LMs and facilitate cross-lingual transfer. To this end, we first compile SLTrans, a parallel dataset consisting of nearly 4M self-contained source code files coupled with their respective intermediate representations. Next, starting from various base Code-LMs (ranging from 1.1B to 7.3B parameters), we carry out continued causal language modelling training on SLTrans, forcing the Code-LMs to (1) learn the IR language and (2) align the IR constructs with respective constructs of various programming languages. Our resulting models, dubbed IRCoder, display sizeable and consistent gains across various code generation tasks and metrics, including prompt robustness, multilingual code completion, code understanding, and instruction following. |
Uncontrolled Keywords: | moveUKP_p_HUAWEI,UKP_p_code_transformers |
Divisions: | 20 Department of Computer Science 20 Department of Computer Science > Ubiquitous Knowledge Processing |
Date Deposited: | 11 Sep 2024 08:30 |
Last Modified: | 28 Oct 2024 13:23 |
PPN: | 522512070 |
Export: | |
Suche nach Titel in: | TUfind oder in Google |
Send an inquiry |
Options (only for editors)
Show editorial Details |