Large language models (LLMs) have led to a series of breakthroughs in natural language processing (NLP), owing to their excellent understanding and generation abilities. Remarkably, what further sets these models apart is the massive amounts of world knowledge they internalize during pretraining. While many downstream applications provide the model with an informational context to aid its performance on the underlying task, how the model's world knowledge interacts with the factual information presented in the context remains under explored. As a desirable behavior, an LLM should give precedence to the context whenever it contains task-relevant information that conflicts with the model's memorized knowledge. This enables model predictions to be grounded in the context, which can then be used to update or correct specific model predictions without frequent retraining. By contrast, when the context is irrelevant to the task, the model should ignore it and fall back on its internal knowledge. In this paper, we undertake a first joint study of the aforementioned two properties, namely controllability and robustness, in the context of LLMs. We demonstrate that state-of-the-art T5 and PaLM (both pretrained and finetuned) could exhibit poor controllability and robustness, which do not scale with increasing model size. As a solution, we propose a novel method - Knowledge Aware FineTuning (KAFT) - to strengthen both controllability and robustness by incorporating counterfactual and irrelevant contexts to standard supervised datasets. Our comprehensive evaluation showcases the utility of KAFT across model architectures and sizes.
HGMEM: Hypergraph-based Working Memory to Improve Multi-step RAG for Long-Context Complex Relational Modeling
The Chinese University of Hong Kong.(香港中文大学);Pengcheng Laboratory.(鹏城实验室);WeChat AI, Tencent(微信AI,腾讯);University of Chinese Academy of Sciences.(中国科学院大学)
In-context superposition: human-like working memory interference in large language models
School of Psychological and Brain Sciences, Georgia Tech(佐治亚理工学院心理与脑科学学院);Department of Psychology, New York University(纽约大学心理学系);Department of Cognitive Science, Indiana University Bloomington(印第安纳大学布卢明顿分校认知科学系);Honda Research Institute(本田研究所);Center of Excellence for Computational Cognition, Georgia Tech(佐治亚理工学院计算认知卓越中心);Departments of Neuroscience and Psychology, The University of Texas at Austin(德克萨斯大学奥斯汀分校神经科学和心理学系)
Unlocking the Working Memory of Large Language Models for Latent Reasoning
ELLIS Unit Linz and LIT AI Lab, Institute for Machine Learning, Johannes Kepler University Linz, Austria(林茨ELLIS单元和LIT AI实验室,机器学习研究所,约翰·凯撒大学林茨,奥地利);NXAI GmbH, Linz, Austria(NXAI公司,林茨,奥地利)
Strong Memory, Weak Control: An Empirical Study of Executive Functioning in LLMs
Department of Computer Science and Engineering, University of Minnesota(计算机科学与工程系,明尼苏达大学);Department of Linguistics, Hamline University(语言学系,哈姆林大学);Department of Psychology, University of Wisconsin-Stout(心理学系,威斯尼斯托大学);Department of English, University of Minnesota(英语系,明尼苏达大学)
AWM: Answerable Working Memory for Long-Document VQA Agents
University of Oslo(奥斯陆大学);Bosch Center for AI(博世人工智能中心);University of Stuttgart(斯图加特大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Tsinghua University(清华大学)
Controllable Text Generation with Residual Memory Transformer
School of Computer Science & Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);Department of Electronic Engineering, Tsinghua University(清华大学电子工程系)
School of Natural Sciences, Institute for Advanced Study, Princeton, NJ, 08540, USA(自然科学学院,普林斯顿高级研究院);Department of Brain Sciences, Weizmann Institute of Science, Rehovot, 76100 Israel(脑科学系,魏兹曼科学研究院)
Gated Differentiable Working Memory for Long-Context Language Modeling
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);University of California, Merced(加州大学梅尔塞德斯分校);UBS AG(UBS集团)
Department of Engineering “Enzo Ferrari”, University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学恩佐·法拉利工程系);University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学);Engineering “Enzo Ferrari”, University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学恩佐·法拉利工程系);Department of Engineering “Enzo Ferrari”(恩佐·法拉利工程系)
LLMs Can't Play Hangman: On the Necessity of a Private Working Memory for Language Agents
Mila – Quebec AI Institute(魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔大学);University of California, San Diego(加州大学圣地亚哥分校);LAMA-WeST Lab(LAMA-WeST实验室);Chandar Research Lab(Chandar研究实验室)
Event-Centric Memory with Query-Aware Graph Augmentation for Long-Term Conversational Agents
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团);PeopleAI Inc.(北京人人智能科技有限公司);Renmin University of China(中国人民大学);ShanghaiTech University(上海科技大学)
Language Hierarchization Provides the Optimal Solution to Human Working Memory Limits
Max Planck Institute for Human Cognitive and Brain Sciences(马克斯·普朗克人类认知与脑科学研究所);University of Science and Technology of China(中国科学技术大学);Tianjin Normal University(天津师范大学);Macquarie University(麦考瑞大学);Beijing Normal University(北京师范大学)