paper-with-me

Papers

Disentangling Memory and Reasoning Ability in Large Language Models

2024-11-20 · Mingyu Jin, Weidi Luo, Sitao Cheng, Xinyi Wang, Wenyue Hua, Ruixiang Tang, William Yang Wang, Yongfeng Zhang

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.

📄 PDF Abstract BibTeX arXiv:2411.13504

Code (1)

mingyuj666/disentangling-memory-and-reasoning 공식 구현 pytorch

Tasks

Decision MakingRetrieval

Similar Papers 제목 키워드 기반

Disentangling Extraction and Reasoning in Multi-hop Spatial Reasoning

2023-10-25 · Roshanak Mirzaee, Parisa Kordjamshidi

Spatial reasoning over text is challenging as the models not only need to extract the direct spatial information from the text but also reason over those and infer implicit spatial relations. Recent studies highlight the…

Spatial Reasoning

General Intelligence Requires Reward-based Pretraining

2025-02-26 · Seungwook Han, Jyothish Pari, Samuel J. Gershman, Pulkit Agrawal

Large Language Models (LLMs) have demonstrated impressive real-world utility, exemplifying artificial useful intelligence (AUI). However, their ability to reason adaptively and robustly -- the hallmarks of artificial gen…

Disentangling Logic: The Role of Context in Large Language Model Reasoning Capabilities

2024-06-04 · Wenyue Hua, Kaijie Zhu, Lingyao Li, Lizhou Fan 외

This study intends to systematically disentangle pure logic reasoning and text understanding by investigating the contrast across abstract and contextualized logical problems from a comprehensive set of domains. We explo…

Language ModelingLanguage ModellingLarge Language ModelLogical Reasoning

On Computational Modeling of Sleep-Wake Cycle

2024-04-08 · Xin Li

Why do mammals need to sleep? Neuroscience treats sleep and wake as default and perturbation modes of the brain. It is hypothesized that the brain self-organizes neural activities without environmental inputs. This paper…

Dimensionality ReductionInductive Bias

Learning based Deep Disentangling Light Field Reconstruction and Disparity Estimation Application

2023-11-14 · Langqing Shi, Ping Zhou

Light field cameras have a wide range of uses due to their ability to simultaneously record light intensity and direction. The angular resolution of light fields is important for downstream tasks such as depth estimation…

Depth EstimationDisparity EstimationSuper-Resolution