Towards Better Few-Shot and Finetuning Performance with Forgetful Causal Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLM) trained using the next-token-prediction objective, such as GPT3 and PaLM, have revolutionized natural language processing in recent years by showing impressive zero-shot and few-shot capabilities across a wide range of tasks. In this work, we propose a simple technique that significantly boosts the performance of LLMs without adding computational cost. Our key observation is that, by performing the next token prediction task with randomly selected past tokens masked out, we can improve the quality of the learned representations for downstream language understanding tasks. We hypothesize that randomly masking past tokens prevents over-attending to recent tokens and encourages attention to tokens in the distant past. We find that our method, Forgetful Causal Masking (FCM), significantly improves both few-shot and finetuning performance of PaLM. We further consider a simple extension, T-FCM, which introduces bidirectional context to causal language model without altering the sequence order, and further improves finetuning performance.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 50 of its 62 references that are in the map. First posted on arXiv 24 Oct 2022.
Builds on
50 of 62 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2018Deep contextualized word representationscited by 2,290
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2020GLU Variants Improve Transformercited by 1,804
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,443
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 803
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
- 2015Generating Sentences from a Continuous Spacecited by 612
- 2022Efficient Training of Language Models to Fill in the Middlecited by 255
- 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
- 2015Semi-supervised Sequence Learningcited by 198
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 150
- 2022CM3: A Causal Masked Multimodal Model of the Internetcited by 142
- 2020Enabling Language Models to Fill in the Blankscited by 122
- 2017Data Noising as Smoothing in Neural Network Language Modelscited by 78
- 2019Quick and (not so) Dirty: Unsupervised Selection of Justification Sentences for Multi-hop Question Answeringcited by 59
- 2020A Review of Winograd Schema Challenge Datasets and Approachescited by 27
- 2022On the Role of Bidirectionality in Language Model Pre-Trainingcited by 15
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 1; 2026: 1.
3 papers.