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.
Hong Kong Metropolitan University(香港都会大学);Hong Kong Polytechnic University(香港理工大学);Shanghai 100me Internet Technology Co., Ltd.(上海一零零米互联网科技有限公司);Lingnan University(岭南大学)
Causal Reasoning Favors Encoders: On The Limits of Decoder-Only Models
SIRE, IIT Delhi(IIT德里SIRE);Robert Bosch GmbH, India(印度罗伯特博世集团);IIIT Hyderabad(海得拉巴IIIT);IISER Kolkata(科钦IISER);Microsoft and the University of York(微软和约克大学)
Can Large Language Models Infer Causation from Correlation?
Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ETH Zürich(苏黎世联邦理工学院);LTI, CMU(卡内基梅隆大学语言技术研究所);University of Hong Kong(香港大学);Meta AI;University of Michigan(密歇根大学)
Tracing Multilingual Representations in LLMs with Cross-Layer Transcoders
Max Planck Institute for Intelligent Systems, Tübingen, Germany(马克斯·普朗克智能系统研究所);Mohammed VI Polytechnic University, Morocco(穆莱·伊斯梅尔polytechnic大学);University of Toronto, Canada(多伦多大学);Vector Institute, Canada(向量研究所);ELLIS Institute, Tübingen, Germany(ELLIS研究所)