Large Language Models (LLMs) have demonstrated strong performance in handling complex tasks requiring both extensive knowledge and reasoning abilities. However, the existing LLM inference pipeline operates as an opaque process without explicit separation between knowledge retrieval and reasoning steps, making the model's decision-making process unclear and disorganized. This ambiguity can lead to issues such as hallucinations and knowledge forgetting, which significantly impact the reliability of LLMs in high-stakes domains. In this paper, we propose a new inference paradigm that decomposes the complex inference process into two distinct and clear actions: (1) memory recall: which retrieves relevant knowledge, and (2) reasoning: which performs logical steps based on the recalled knowledge. To facilitate this decomposition, we introduce two special tokens memory and reason, guiding the model to distinguish between steps that require knowledge retrieval and those that involve reasoning. Our experiment results show that this decomposition not only improves model performance but also enhances the interpretability of the inference process, enabling users to identify sources of error and refine model responses effectively. The code is available at https://github.com/MingyuJ666/Disentangling-Memory-and-Reasoning.
Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms
German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Saarland University(萨尔兰大学);Center for European Research in Trusted AI (CERTAIN)(可信人工智能欧洲研究中心)
Reflection Steering: Disentangling Reflection from Reasoning in Activation Space for Token-Efficient Inference
School of Computing and Data Science, The University of Hong Kong(香港大学计算与数据科学学院);Department of Computing, The Hong Kong Polytechnic University(香港理工大学计算学院);School of Data Science, Lingnan University(岭南大学数据科学学院);Centre for Learning, Teaching and Technology, The Education University of Hong Kong(香港教育大学学习、教学与技术中心)
C2PO: Diagnosing and Disentangling Bias Shortcuts in LLMs
Jinan University(济南大学);Nanyang Technological University(南洋理工大学);Engineering Research Center of Trustworthy AI (Ministry of Education)(可信人工智能工程研究中心);Guangxi Key Laboratory of Trusted Software(广西可信软件重点实验室)
Disentangling Perception and Reasoning in Multimodal LLMs via Reward Design
Department of Computer Science, Dartmouth College(达特茅斯大学计算机科学系);Department of Computer Science, University of Central Florida(中央佛罗里达大学计算机科学系);Independent Researcher(独立研究者)
Disentangling Language and Culture for Evaluating Multilingual Large Language Models
Singapore Management University(新加坡管理学院);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);Institute of Trustworthy Embodied AI, Fudan University(复旦大学可信具身人工智能研究院);DAMO Academy, Alibaba Group(阿里集团大模型实验室);Singapore University of Technology and Design(新加坡科技设计大学)
Distill Visual Chart Reasoning Ability from LLMs to MLLMs
School of Computer Science, Fudan University(复旦大学计算机学院);Weixin Group, Tencent(腾讯Weixin部门);Shanghai Innovation Institute(上海创新研究院);Shanghai Key Lab of Intelligent Information Processing(上海智能信息处理重点实验室)
Exploring Generalization Ability of Pretrained Language Models on Arithmetic and Logical Reasoning
Zhejiang University(浙江大学);Westlake University(西湖大学);Westlake Institute for Advanced Study(西湖高等研究院);Johns Hopkins University(约翰斯·霍普金斯大学);Imperial College London(帝国理工学院)
An Empirical Study of Data Ability Boundary in LLMs' Math Reasoning
School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院);Shanghai Innovation Center for Processor Technologies(上海处理器技术创新中心);School of Information Science and Technology, University of Science and Technology of China(中国科学技术大学信息科学与技术学院)
Actial: Activate Spatial Reasoning Ability of Multimodal Large Language Models
Nanjing University(南京大学);Xiaohongshu Inc.(小红书公司);East China Normal University(华东师范大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Jiao Tong University(上海交通大学);University of Oxford(牛津大学)
ReasonRank: Empowering Passage Ranking with Strong Reasoning Ability
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院 Gallagher 分校);Baidu Inc., Beijing, China(百度公司,北京,中国);Carnegie Mellon University(卡内基梅隆大学)