Evaluating Large Language Models for Generalization and Robustness via Data Compression
Not on the map. Why?
Abstract (arXiv)
Existing methods for evaluating large language models face challenges such as data contamination, sensitivity to prompts, and the high cost of benchmark creation. To address this, we propose a lossless data compression based evaluation approach that tests how models' predictive abilities generalize after their training cutoff. Specifically, we collect comprehensive test data spanning 83 months from 2017 to 2023 and split the data into training and testing periods according to models' training data cutoff. We measure: 1) the compression performance on the testing period as a measure of generalization on unseen data; and 2) the performance gap between the training and testing period as a measure of robustness. Our experiments test 14 representative large language models with various sizes on sources including Wikipedia, news articles, code, arXiv papers, and multi-modal data. We find that the compression rate of many models reduces significantly after their cutoff date, but models such as Mistral and Llama-2 demonstrate a good balance between performance and robustness. Results also suggest that models struggle to generalize on news and code data, but work especially well on arXiv papers. We also find the context size and tokenization implementation have a big impact of on the overall compression performance.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 35 of its 54 references that are in the map. First posted on arXiv 1 Feb 2024.
Builds on
35 of 54 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023Qwen Technical Reportcited by 3,344
23 more
- 2023Mistral 7Bcited by 3,164
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
- 2023Baichuan 2: Open Large-scale Language Modelscited by 670
- 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
- 2023Language Modeling Is Compressioncited by 225
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
- 2023Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarkscited by 142
- 2022An Introduction to Neural Data Compressioncited by 79
- 2023Unlocking Context Constraints of LLMs: Enhancing Context Efficiency of LLMs with Self-Information-Based Content Filteringcited by 65
- 2023LatestEval: Addressing Data Contamination in Language Model Evaluation through Dynamic and Time-Sensitive Test Constructioncited by 58
- 2023An Open Source Data Contamination Report for Large Language Modelscited by 51
- 2023Estimating Contamination via Perplexity: Quantifying Memorisation in Language Model Evaluationcited by 48
- 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
- 2023Data Contamination Through the Lens of Timecited by 40
- 2023Exploring Lottery Prompts for Pre-trained Language Modelscited by 5
Built on by
Citing papers per year: 2024: 2; 2025: 3.
5 papers.
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
- 2025TiC-LM: A Web-Scale Benchmark for Time-Continual LLM Pretrainingcited by 15
- 2024In-Context Learning May Not Elicit Trustworthy Reasoning: A-Not-B Errors in Pretrained Language Modelscited by 8
- 2024LLM-PCGC: Large Language Model-based Point Cloud Geometry Compressioncited by 2
- 2025The Information-Theoretic Imperative: Compression and the Epistemic Foundations of Intelligencecited by 1
- 2025The Information-Theoretic Imperative: Compression and the Epistemic Foundations of Intelligence29 Oct 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025TiC-LM: A Web-Scale Benchmark for Time-Continual LLM Pretraining2 Apr 2025
- 2024In-Context Learning May Not Elicit Trustworthy Reasoning: A-Not-B Errors in Pretrained Language Models23 Sep 2024
- 2024LLM-PCGC: Large Language Model-based Point Cloud Geometry Compression16 Aug 2024