Language models retain a significant amount of world knowledge from their pre-training stage. This allows knowledgeable models to be applied to knowledge-intensive tasks prevalent in information retrieval, such as ranking or question answering. Understanding how and which factual information is acquired by our models is necessary to build responsible models. However, limited work has been done to understand the effect of pre-training tasks on the amount of knowledge captured and forgotten by language models during pre-training. Building a better understanding of knowledge acquisition is the goal of this paper. Therefore, we utilize a selection of pre-training tasks to infuse knowledge into our model. In the following steps, we test the model's knowledge retention by measuring its ability to answer factual questions. Our experiments show that masking entities and principled masking of correlated spans based on pointwise mutual information lead to more factual knowledge being retained than masking random tokens. Our findings demonstrate that, like the ability to perform a task, the (factual) knowledge acquired from being trained on that task is forgotten when a model is trained to perform another task (catastrophic forgetting) and how to prevent this phenomenon. To foster reproducibility, the code, as well as the data used in this paper, are openly available.
Beyond Fully Random Masking: Attention-Guided Denoising and Optimization for Diffusion Language Models
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系);Meituan(美团);WeChat, Tencent(腾讯微信);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(大型模型与智能治理北京市重点实验室)
Refining Salience-Aware Sparse Fine-Tuning Strategies for Language Models
Southern University of Science and Technology(南方科技大学);Shenzhen Institutes of Advanced Technology, CAS(深圳先进技术研究院);University of Birmingham(伯明翰大学);Imperial College London(伦敦帝国理工学院);University of Edinburgh(爱丁堡大学);Shenzhen University of Advanced Technology(深圳大学)