Publikation
Code-Prompt: Evaluating Code-LLMs for Natural Language Tasks via Code Aligned Prompts
Yuxuan Chen; Philippe Thomas; Robert Oehring; Felix Krenzien; Sebastian Möller; Roland Roller
In: Yue Zhang; Ruifeng Xu; Ayu Purwarianti; Tong Rong; Jun Suzuki (Hrsg.). Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026. International Joint Conference on Natural Language Processing & Asia-Pacific Chapter of the Association for Computational Linguistics (IJCNLP-AACL-2026), Hengqin, China, Pages 580-604, ISBN 979-8-89176-444-6, Association for Computational Linguistics, 2026.
Zusammenfassung
Large language models pre-trained on code (Code-LLMs) have achieved remarkable performance on coding tasks. Despite their success of processing programming language, their application to natural language tasks has largely been limited to narrow tasks and ad-hoc model selection. In this paper, we present Code-Prompt, a comprehensive prompt-based framework to benchmark Code-LLMs over ten NLP tasks. We evaluate Code-Prompt on 13 Code-LLMs using code-aligned prompts and compare them with their parallel natural language LLMs (NL-LLMs) using natural language prompts.par Our results show that Code-LLMs perform on par with NL-LLMs across a range of NLP tasks, while producing more format-consistent generation with less redundancy. Our cross-lingual experiments further indicate that knowledge in Code-LLMs is well shared among different programming languages, whereas performance across different human languages still varies significantly. All our code and data will be made publicly available at https://github.com/chen-yuxuan/code-prompt.
