atlas

Research map / Large language models / Agents, code and math

CS-Bench: A Comprehensive Benchmark for Large Language Models towards Computer Science Mastery

ICLR 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces CS-Bench, a quadrilingual (EN/ZH/FR/DE) benchmark of about 10K samples across 26 computer science subfields and 4 tasks, evaluates over 30 LLMs, and studies links between CS, math, and coding ability.

Problem

Existing LLM benchmarks either cover CS only as a small slice of broad multi-discipline exams or focus on specific skills such as math and coding, leaving no comprehensive evaluation of computer science knowledge and reasoning.

Approach

A multilingual CS benchmark with four task formats (multiple-choice, assertion, fill-in-the-blank, open-ended) and knowledge vs. reasoning labels, paired with analyses of scale-score fitting, error types, and correlations between CS and math/code performance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use 5-shot answer-only prompting instead of 0-shotModels evaluated on CS-Bench · CS-Bench (EN)average score: +1.47%Helped
Use 5-shot COT prompting instead of 0-shotModels evaluated on CS-Bench · CS-Bench (EN)average score: +2.00%Helped
Specialize DeepseekLLM-7B for mathematicsDeepseekLLM-7B · CS-Bench (EN)overall Avg score (%): 43.67 -> 50.49Helped
Specialize Llama2-7B for code with CodeLlamaLlama2-7B · CS-Bench (EN), Data Structure and Algorithmknowledge score (%): 51.51 -> 58.90Helped
Specialize Llama2-7B for code with CodeLlamaLlama2-7B · CS-Bench (EN), Computer Organizationoverall score (%)Hurt
Increase model scale within the same model familyLLMs evaluated on CS-Bench · CS-Benchoverall scoreHelped
Increase Qwen1.5 scale from 72B to 110BQwen1.5 · CS-Bench (EN)overall Avg score (%): 2.66%Helped
Use OpenAI-o1-mini reasoningOpenAI-o1-mini · CS-Bench reasoning problemsscore: +11.97 pointsHelped
Use OpenAI-o1-preview reasoningOpenAI-o1-preview · CS-Bench knowledge and reasoning questionsscoreHelped
Use OpenAI-o1-preview reasoning instead of GPT-4oCS-Bench reasoning questions · CS-Bench reasoning questionstoken consumption: 21.24 timesHurt
Specialize InternLm2-7B for mathematics with InternLm-Math-7BInternLm2-7B · CS-Bench (EN), Computer Networkreasoning score (%): 40.60 -> 44.47Helped
Specialize InternLm2-7B for mathematics with InternLm-Math-7BInternLm2-7B · CS-Bench (EN)overall Avg score (%): 51.56 -> 48.45Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MATH HumanEval MBPP GPQA C-Eval MMLU

Benchmarks: CS-Bench

Metrics: accuracy GPT-4-scored score (0-1 mapped) Pearson correlation

Baselines: GPT-4o GPT-4 Claude-3.5-Sonnet Claude-3-Opus Llama3.1-405B Mistral-Large-123B Qwen1.5-110B Llama3-70B

Builds on: MMLU C-Eval DeepSeekMath CodeLlama

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy