mlsanityData to 14 Oct 2026

Evaluating Large Language Models for Generalization and Robustness via Data Compression

arXiv 2402.00861 ↗First posted 1 Feb 2024cs.CL cs.AIcited by 5

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  10. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  12. 2023Qwen Technical Reportcited by 3,344
23 more
  1. 2023Mistral 7Bcited by 3,164
  2. 2016Pointer Sentinel Mixture Modelscited by 3,096
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  4. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  5. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  6. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  7. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  8. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
  9. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
  10. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  11. 2023Baichuan 2: Open Large-scale Language Modelscited by 670
  12. 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
  13. 2023Language Modeling Is Compressioncited by 225
  14. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
  15. 2023Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarkscited by 142
  16. 2022An Introduction to Neural Data Compressioncited by 79
  17. 2023Unlocking Context Constraints of LLMs: Enhancing Context Efficiency of LLMs with Self-Information-Based Content Filteringcited by 65
  18. 2023LatestEval: Addressing Data Contamination in Language Model Evaluation through Dynamic and Time-Sensitive Test Constructioncited by 58
  19. 2023An Open Source Data Contamination Report for Large Language Modelscited by 51
  20. 2023Estimating Contamination via Perplexity: Quantifying Memorisation in Language Model Evaluationcited by 48
  21. 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
  22. 2023Data Contamination Through the Lens of Timecited by 40
  23. 2023Exploring Lottery Prompts for Pre-trained Language Modelscited by 5

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 3.

5 papers.