Is Compression Really Linear with Code Intelligence?
Not on the map. Why?
Abstract (arXiv)
Understanding the relationship between data compression and the capabilities of Large Language Models (LLMs) is crucial, especially in specialized domains like code intelligence. Prior work posited a linear relationship between compression and general intelligence. However, it overlooked the multifaceted nature of code that encompasses diverse programming languages and tasks, and struggled with fair evaluation of modern Code LLMs. We address this by evaluating a diverse array of open-source Code LLMs on comprehensive multi-language, multi-task code benchmarks. To address the challenge of efficient and fair evaluation of pre-trained LLMs' code intelligence, we introduce textitFormat Annealing, a lightweight, transparent training methodology designed to assess the intrinsic capabilities of these pre-trained models equitably. Compression efficacy, measured as bits-per-character (BPC), is determined using a novel, large-scale, and previously unseen code validation set derived from GitHub. Our empirical results reveal a fundamental logarithmic relationship between measured code intelligence and BPC. This finding refines prior hypotheses of linearity, which we suggest are likely observations of the logarithmic curve's tail under specific, limited conditions. Our work provides a more nuanced understanding of compression's role in developing code intelligence and contributes a robust evaluation framework in the code domain.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 48 of its 64 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
48 of 64 references.
References · 48
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2023StarCoder: may the source be with you!cited by 799
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
36 more
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2025From System 1 to System 2: A Survey of Reasoning Large Language Modelscited by 320
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
- 2023Using an LLM to Help With Code Understandingcited by 228
- 2023Language Modeling Is Compressioncited by 225
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
- 2024CodeGemma: Open Code Models Based on Gemmacited by 150
- 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 136
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
- 2023Skywork: A More Open Bilingual Foundation Modelcited by 112
- 2024HumanEval-XL: A Multilingual Code Generation Benchmark for Cross-lingual Natural Language Generalizationcited by 86
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2024Compression Represents Intelligence Linearlycited by 56
- 2024To Code, or Not To Code? Exploring Impact of Code in Pre-trainingcited by 47
- 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 45
- 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 45
- 2024McEval: Massively Multilingual Code Evaluationcited by 44
- 2024A Survey on Evaluating Large Language Models in Code Generation Taskscited by 44
- 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 41
- 2021Understanding Neural Code Intelligence Through Program Simplificationcited by 22
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021RED : Looking for Redundancies for Data-Free Structured Compression of Deep Neural Networkscited by 19
- 2024MdEval: Massively Multilingual Code Debuggingcited by 16
- 2023The Cost of Compression: Investigating the Impact of Compression on Parametric Knowledge in Language Modelscited by 9
- 2024Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughtscited by 8
- 2025Position: Scaling LLM Agents Requires Asymptotic Analysis with LLM Primitivescited by 7
- 2024Language Models as Zero-shot Lossless Gradient Compressors: Towards General Neural Parameter Prior Modelscited by 5
- 2025The KoLMogorov Test: Compression by Code Generationcited by 5
- 2022A Survey on Natural Language Processing for Programmingcited by 3
- 2025Bringing Structure to Naturalness: On the Naturalness of ASTscited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2025Scaling Laws for Code: A More Data-Hungry Regimecited by 3
- 2026Proxy Compression for Language Modelingcited by 3
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2025Scaling Laws for Code: A More Data-Hungry Regime9 Oct 2025