English

Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models

Software Engineering 2025-12-05 v1

Abstract

Large Language Models (LLMs) have revolutionized both general natural language processing and domain-specific applications such as code synthesis, legal reasoning, and finance. However, while prior studies have explored individual model capabilities, a systematic cross-domain comparison that unifies linguistic, reasoning, and code understanding abilities remains underexplored. In this work, we present a comprehensive evaluation of five general-purpose and three code-specific state-of-the-art LLMs across six diverse benchmarks encompassing linguistic competence, mathematical reasoning, and trustworthiness. Additionally, we analyze model behavior on the CoNaLa dataset for code explanation, comparing natural language and code-specialized LLMs. Our findings reveal that models optimized for code (e.g., CodeLLaMA variants) exhibit strong reasoning and syntactic precision, that even for non-coding tasks can show measurable performance gains, in contrast to general-purpose models like Mistral-7B and Llama-3-8B.

Keywords

Cite

@article{arxiv.2512.04673,
  title  = {Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models},
  author = {Gunjan Das and Paheli Bhattacharya and Rishabh Gupta},
  journal= {arXiv preprint arXiv:2512.04673},
  year   = {2025}
}
R2 v1 2026-07-01T08:09:15.554Z