mlsanityData to 14 Oct 2026

Elephants Never Forget: Testing Language Models for Memorization of Tabular Data

arXiv 2403.06644 ↗First posted 11 Mar 2024cs.LG cs.CLcited by 19

Not on the map. Why?

Abstract (arXiv)

While many have shown how Large Language Models (LLMs) can be applied to a diverse set of tasks, the critical issues of data contamination and memorization are often glossed over. In this work, we address this concern for tabular data. Starting with simple qualitative tests for whether an LLM knows the names and values of features, we introduce a variety of different techniques to assess the degrees of contamination, including statistical tests for conditional distribution modeling and four tests that identify memorization. Our investigation reveals that LLMs are pre-trained on many popular tabular datasets. This exposure can lead to invalid performance evaluation on downstream tasks because the LLMs have, in effect, been fit to the test set. Interestingly, we also identify a regime where the language model reproduces important statistics of the data, but fails to reproduce the dataset verbatim. On these datasets, although seen during training, good performance on downstream tasks might not be due to overfitting. Our findings underscore the need for ensuring data integrity in machine learning tasks with LLMs. To facilitate future research, we release an open-source tool that can perform various tests for memorization urlhttps://github.com/interpretml/LLM-Tabular-Memorization-Checker.

Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 25 of its 34 references that are in the map. First posted on arXiv 11 Mar 2024.

Builds on

25 of 34 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
  6. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  7. 2020Extracting Training Data from Large Language Modelscited by 2,189
  8. 2018Datasheets for Datasetscited by 1,386
  9. 2021Membership Inference Attacks From First Principlescited by 878
  10. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  11. 2023Capabilities of GPT-4 on Medical Challenge Problemscited by 638
  12. 2014OpenML: networked science in machine learningcited by 526
13 more
  1. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
  2. 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 449
  3. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 424
  4. 2022Language Models are Realistic Tabular Data Generatorscited by 294
  5. 2022TabLLM: Few-shot Classification of Tabular Data with Large Language Modelscited by 277
  6. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
  7. 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
  8. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
  9. 2022Can Foundation Models Wrangle Your Data?cited by 175
  10. 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Taskscited by 148
  11. 2023Speak, Memory: An Archaeology of Books Known to ChatGPT/GPT-4cited by 125
  12. 2018An Interpretable Model with Globally Consistent Explanations for Credit Riskcited by 33
  13. 2023Adapting Pretrained Language Models for Solving Tabular Prediction Problems in the Electronic Health Recordcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 10; 2025: 8; 2026: 1.

19 papers.

Sort:

By area:

  1. 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 289
  2. 2025Preference Leakage: A Contamination Problem in LLM-as-a-judgecited by 125
  3. 2024Retrieval & Fine-Tuning for In-Context Tabular Modelscited by 59
  4. 2025A Survey on Data Contamination for Large Language Modelscited by 35
  5. 2024Unveiling the Spectrum of Data Contamination in Language Models: A Survey from Detection to Remediationcited by 30
  6. 2024Take Caution in Using LLMs as Human Surrogates: Scylla Ex Machinacited by 29
  7. 2024Differentially Private Tabular Data Synthesis using Large Language Modelscited by 16
  8. 2024Large Language Models Engineer Too Many Simple Features For Tabular Datacited by 10
  9. 2025Training an LLM-as-a-Judge Model: Pipeline, Insights, and Practical Lessonscited by 9
  10. 2024Clinical Insights: A Comprehensive Review of Language Models in Medicinecited by 6
  11. 2024"Oh LLM, I'm Asking Thee, Please Give Me a Decision Tree": Zero-Shot Decision Tree Induction and Embedding with Large Language Modelscited by 6
  12. 2024Gradient Boosting Trees and Large Language Models for Tabular Data Few-Shot Learningcited by 5
7 more
  1. 2024A text-to-tabular approach to generate synthetic patient data using LLMscited by 4
  2. 2025Realizing LLMs' Causal Potential Requires Science-Grounded, Novel Benchmarkscited by 4
  3. 2024Large Language Models Memorize Sensor Datasets! Implications on Human Activity Recognition Researchcited by 3
  4. 2025Make Still Further Progress: Chain of Thoughts for Tabular Data Leaderboardcited by 3
  5. 2025Establishing Trustworthy LLM Evaluation via Shortcut Neuron Analysiscited by 3
  6. 2025FAA Framework: A Large Language Model-Based Approach for Credit Card Fraud Investigationscited by 2
  7. 2026Probing Memorization of Tabular In-Context Learningcited by 1