“Language models typically need to be trained or finetuned in order to acquire new knowledge, which involves updating their weights. We instead envision language models that can simply read and memorize new data at inference time, thus acquiring new knowledge immediately. In this work, we extend language models with the ability to memorize the internal representations of past inputs. We demonstrate that an approximate kNN lookup into a non-differentiable memory of recent (key, value) pairs improves language modeling across various benchmarks and tasks, including generic webtext (C4), math papers (arXiv), books (PG-19), code (Github), as well as formal theorems (Isabelle). We show that the performance steadily improves when we increase the size of memory up to 262K tokens. On benchmarks including code and mathematics, we find that the model is capable of making use of newly defined functions and theorems during test time.”
Memorizing Transformers (arXiv)
Categories:
Related Post
Improving Generalization of Hate Speech Detection Systems to Novel Target Groups via Domain Adaptation (ACL Anthology)Improving Generalization of Hate Speech Detection Systems to Novel Target Groups via Domain Adaptation (ACL Anthology)
In this paper, we investigate the generalization capabilities of deep learning models to different target groups of hate speech under clean experimental settings. Furthermore, we assess the efficacy of three
Free speech or Free Hate Speech? Analyzing the Proliferation of Hate Speech in Parler (ACL Anothology)Free speech or Free Hate Speech? Analyzing the Proliferation of Hate Speech in Parler (ACL Anothology)
“Social platforms such as Gab and Parler, branded as ‘free-speech’ networks, have seen a significant growth of their user base in recent years. This popularity is mainly attributed to the
Intersectional discrimination, bullying/cyberbullying, and suicidal ideation among South Korean youths: a latent profile analysis (LPA) (International Journal of Adolescence and Youth)Intersectional discrimination, bullying/cyberbullying, and suicidal ideation among South Korean youths: a latent profile analysis (LPA) (International Journal of Adolescence and Youth)
The latent profile analysis revealed that a four-class; the data were divided into low discrimination (85.2%), moderate intersectional discrimination (2.6%), high intersectional discrimination (1.3%), and gender discrimination (10.9%) groups. In