LMD3: Language Model Data Density Dependence

John Kirchenbauer, Garrett Honke, Gowthami Somepalli, Jonas Geiping, Daphne Ippolito +3 more
5/10/2024
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

We develop a methodology for analyzing language model task performance at the individual example level based on training data density estimation. Experiments with paraphrasing as a controlled intervention on finetuning data demonstrate that increasing the support in the training distribution for specific test queries results in a measurable increase in density, which is also a significant predictor of the performance increase caused by the intervention. Experiments with pretraining data demonstrate that we can explain a significant fraction of the variance in model perplexity via density measurements. We conclude that our framework can provide statistical evidence of the dependence of a target model's predictions on subsets of its training data, and can more generally be used to characterize the support (or lack thereof) in the training data for a given test task.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kirchenbauer2024lmd,
  title  = {LMD3: Language Model Data Density Dependence},
  author = {John Kirchenbauer and Garrett Honke and Gowthami Somepalli and Jonas Geiping and Daphne Ippolito and Katherine Lee and Tom Goldstein and David Andre},
  year   = {2024},
  eprint = {2405.06331},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.06331v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.06331.svg)](https://codeofpaper.com/paper/2405.06331)

Discussion