The LAMBADA dataset: Word prediction requiring a broad discourse context
Written for the Research library (claude-opus-5-5) from the paper text. Original — aclanthology.org/P16-1144.pdf
Summary
LAMBADA is an English benchmark for testing whether language models use broad discourse context or rely only on nearby words. Each item is a short narrative passage taken from unpublished novels in the Book Corpus. It has a context of about 4.6 sentences and a target sentence whose final word must be predicted. To build it, the authors removed passages that four simple language models found easy. Then they kept only items where crowd workers could guess the missing word from the full passage but not from the target sentence alone. The authors show that solving the items involves many linguistic phenomena, such as coreference, tracking dialogue participants and inferring how a scene develops. Several standard architectures were tested: N-gram models, RNN, LSTM and a Memory Network. None of them got above 1% accuracy. On an unfiltered control set, the same models got about 15–22% (8.5% for the Memory Network). Even guessing a random capitalized word from the passage beat all of them. This makes LAMBADA a hard test of whether models really understand discourse rather than just exploiting local statistics.
Key points
- The source corpus is Book Corpus after deduplication and offensive-content filtering: 5,325 novels and 465M words. It was split by novel, so the training half (2,662 novels, over 200M words of raw text) shares no books with the dev/test passages.
- Each context is the smallest run of whole sentences that adds up to at least 50 tokens. The target is always the final word of the next sentence.
- Before human checking, a passage was dropped if any of four filtering language models gave its target word a probability of at least 0.00175.
- On LAMBADA, the N-Gram, N-Gram w/cache, RNN, LSTM and Memory Network models scored 0–0.1% accuracy. Guessing a random capitalized word from the passage reached 7.3%.
- N-Gram w/cache did best relative to the others, with perplexity 768 and median rank 87. The authors argue that strong models will need long-term memory plus reasoning over what is stored.
Cited by
- The Falcon Series of Open Language Models
- PaLM 2 Technical Report
- A General Language Assistant as a Laboratory for Alignment
- Qwen Technical Report
- Efficient Training of Language Models to Fill in the Middle
- Experience Grounds Language
- GPT-NeoX-20B: An Open-Source Autoregressive Language Model
- On the Opportunities and Risks of Foundation Models
- What you can cram into a single \$&!\#* vector: Probing sentence embeddings for linguistic properties
- GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- GLM: General Language Model Pretraining with Autoregressive Blank Infilling
- DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphs
- English Machine Reading Comprehension Datasets: A Survey
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English?
- Gemini: A Family of Highly Capable Multimodal Models
- Knowledge Unlearning for Mitigating Privacy Risks in Language Models
- Adversarial Examples for Evaluating Reading Comprehension Systems
- TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension
- How Much Reading Does Reading Comprehension Require? A Critical Investigation of Popular Benchmarks
- Natural Questions: A Benchmark for Question Answering Research
- DataComp-LM: In search of the next generation of training sets for language models
- Orca 2: Teaching Small Language Models How to Reason
- A Comprehensive Overview of Large Language Models
- Compressive Transformers for Long-Range Sequence Modelling
- DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
- Multitask Prompted Training Enables Zero-Shot Task Generalization
- Personality Traits in Large Language Models
- FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
- Aya Dataset: An Open-Access Collection for Multilingual Instruction Tuning
- Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Model
- PUB: A Pragmatics Understanding Benchmark for Assessing LLMs' Pragmatics Capabilities
- Recent Advances in Natural Language Inference: A Survey of Benchmarks, Resources, and Approaches
- Long Range Arena: A Benchmark for Efficient Transformers
- Aya Model: An Instruction Finetuned Open-Access Multilingual Language Model
- Survey on Factuality in Large Language Models: Knowledge, Retrieval and Domain-Specificity
- RedPajama: an Open Dataset for Training Large Language Models
- Crowdsourcing Multiple Choice Science Questions
- An Explanation of In-context Learning as Implicit Bayesian Inference
- ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
- GLM-130B: An Open Bilingual Pre-trained Model
- ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehension
- A Survey of Large Language Models
- MiniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- AGIEval: A Human-Centric Benchmark for Evaluating Foundation Models
- A Survey on Model Compression for Large Language Models
Cite
@inproceedings{paperno2016lambada,
title = {{The LAMBADA dataset: Word prediction requiring a broad discourse context}},
author = {Paperno, Denis and Kruszewski, Germán and Lazaridou, Angeliki and Pham, Ngoc Quan and Bernardi, Raffaella and Pezzelle, Sandro and Baroni, Marco and Boleda, Gemma and Fernández, Raquel},
booktitle = {Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2016},
doi = {10.18653/v1/p16-1144},
eprint = {1606.06031},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/p16-1144}
}References
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. In ICLR. find our card
- Samuel Bowman, Gabor Angeli, Christopher Potts, and Christopher Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of EMNLP, pages 632–642, Lisbon, Portugal. find
- Jeffrey L Elman. 1990. Finding structure in time. Cognitive science, 14(2):179–211. find
- Karl Moritz Hermann, Tomáš Kočiský, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. 2015. Teaching machines to read and comprehend. In Proceedings of NIPS, Montreal, Canada. Published online: https://papers.nips.cc/book/ advances-in-neural-information-processin… ↗ our card
- Felix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. 2016. The Goldilocks principle: Reading children’s books with explicit memory representations. In Proceedings of ICLR Conference Track, San Juan, Puerto Rico. Published online: http://www.iclr.cc/doku.php?id= iclr2016:main. ↗ our card
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8):1735–178–. find
- Yangfeng Ji, Trevor Cohn, Lingpeng Kong, Chris Dyer, and Jacob Eisenstein. 2015. Document context language models. http://arxiv.org/abs/ 1511.03962. ↗
- Tomas Mikolov, Stefan Kombrink, Anoop Deoras, Lukar Burget, and Jan Honza Cernocky. 2011. Rnnlm - recurrent neural network language. In Proceedings of ASRU. IEEE Automatic Speech Recognition and Understanding Workshop. find
- Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. 2013. Efficient estimation of word representations in vector space. http://arxiv.org/ abs/1301.3781/. ↗
- Tomas Mikolov, Armand Joulin, Sumit Chopra, Michael Mathieu, and Marc’Aurelio Ranzato. 2015. Learning longer memory in recurrent neural networks. In Proceedings of ICLR Workshop Track, San Diego, CA. Published online: http://www. iclr.cc/doku.php?id=iclr2015:main. find
- Tomas Mikolov. 2014. Using neural networks for modelling and representing natural languages. Slides presented at COL-ING, online at http://www.coling-2014.org/COLING\\2014\\Tutorial-fix\\-\\TomasMikolov.pdf. ↗
- Tian Wang and Kyunghyun Cho. 2015. Larger-context language modelling. http://arxiv. org/abs/1511.03729. — [arXiv:1511.03729](https://arxiv.org/abs/1511.03729) find
- Jason Weston, Antoine Bordes, Sumit Chopra, and Tomas Mikolov. 2015. Towards AI-complete question answering: A set of prerequisite toy tasks. http://arxiv.org/abs/1502.05698. ↗ our card
- Wenpeng Yin and Hinrich Schütze. 2015. Multi-GranCNN: An architecture for general matching of text chunks on multiple levels of granularity. In Proceedings of ACL, pages 63–73, Beijing, China. find
- Yukun Zhu, Ryan Kiros, Richard Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In ICCV 2015, pages 19–27. find our card
- Geoffrey Zweig and Christopher Burges. 2011. The Microsoft Research sentence completion challenge. Technical Report MSR-TR-2011-129, Microsoft Research. find
- Matthew Richardson, Christopher Burges, and Erin Renshaw. 2013. MCTest: A challenge dataset for the open-domain machine comprehension of text. In Proceedings of EMNLP, pages 193–203, Seattle, WA. find our card
- Tim Rocktäschel, Edward Grefenstette, Karl Moritz Hermann, Tomáš Kočiský, and Phil Blunsom. 2016. Reasoning about entailment with neural attention. In Proceedings of ICLR Conference Track, San Juan, Puerto Rico. Published online: http://www. iclr.cc/doku.php?id=iclr2016:main. find our card
- Alessandro Sordoni, Michel Galley, Michael Auli, Chris Brockett, Yangfeng Ji, Margaret Mitchell, Jian-Yun Nie, Jianfeng Gao, and Bill Dolan. 2015. A neural network approach to context-sensitive generation of conversational responses. In Proceedings of NAACL, pages 196–205, Denver, CO. find our card
- Andreas Stolcke. 2002. Srilm-an extensible language modeling toolkit. In INTERSPEECH, volume 2002, page 2002. find
- Sainbayar Sukhbaatar, Arthur Szlam, Jason Weston, and Rob Fergus. 2015. End-to-end memory networks. http://arxiv.org/abs/1503. 08895. ↗
- Oriol Vinyals and Quoc Le. 2015. A neural conversational model. In Proceedings of the ICML Deep Learning Workshop, Lille, France. Published online: https://sites.google.com/site/ deeplearning2015/accepted-papers. ↗ our card