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


Abstract
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.

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.
Anthology ID:
2026.findings-aacl.31
Volume:
Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026
Month:
November
Year:
2026
Address:
Hengqin, China
Editors:
Yue Zhang, Ruifeng Xu, Ayu Purwarianti, Tong Rong, Jun Suzuki
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
580–604
Language:
URL:
https://aclanthology.org/2026.findings-aacl.31/
DOI:
Bibkey:
Cite (ACL):
Yuxuan Chen, Philippe Thomas, Robert Oehring, Felix Krenzien, Sebastian Möller, and Roland Roller. 2026. Code-Prompt: Evaluating Code-LLMs for Natural Language Tasks via Code Aligned Prompts. In Findings of the Association for Computational Linguistics: IJCNLP-AACL 2026, pages 580–604, Hengqin, China. Association for Computational Linguistics.
Cite (Informal):
Code-Prompt: Evaluating Code-LLMs for Natural Language Tasks via Code Aligned Prompts (Chen et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-aacl.31.pdf