The Ohio State University
On Parametric and Non-Parametric Memory in Language Models: Foundations, Dynamics, and Synergies
Abstract
dc:descriptionReasoning in Large Language Models (LLMs) is driven by two distinct memory components that work in concert: parametric memory, the implicit knowledge stored in the model’s weights, and non-parametric memory, the explicit information supplied in the model’s context. This dissertation aims to advance LLM reasoning by characterizing and enhancing the memory systems in current language models and architectures.The frst part of this dissertation investigates the mechanisms of reasoning over parametric memory. Through behavioral and mechanistic studies, we identify and explain the training dynamics required for Transformers, the backbone architecture of today’s LLMs, to transition from rote memorization to genuine reasoning. Furthermore, we reveal fundamental limitations of Transformers that hinder their generalization, specifcally, aspects of the classical “binding problem” where the model fails to appropriately associate concepts/knowledge distributed across the network, leading to disconnected and redundant internal representations. These fndings also inform architectural innovations that unlock new forms of generalization, enabling models to solve challenging problems through parametric reasoning.The second part advances reasoning over non-parametric memory. We elucidate the role of in-context examples in LLM reasoning, specifcally analyzing mechanics of “Chain-of-Thought” (CoT) prompting, a seminal work which inspired the advances in LLM reasoning in recent years. We then propose methods to expand the utility of non-parametric memory for coding/software engineering tasks, where we introduce frameworks for building repository-level long-term memory for coding agents by leveraging historical information in codebases.The third part establishes synergies between these two memory components, introducing frameworks that enhance performance by systematically accumulating and converting knowledge between modalities. We propose novel architectural designs that efectively elicit latent parametric knowledge into explicit reasoning chains. Additionally, we present methods allowing models to explore progressively via nonparametric memory, while distilling transient experiences into long-term parametric skills. Together, these contributions ofer a pathway toward language agents that can better learn continually and utilize past experiences for problem-solving.Finally, we conclude by summarizing the contributions of this work and outlining future research directions. We discuss open problems and potential pathways for better designing individual memory components, and orchestrating them to achieve more robust reasoning in language models and agents.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wang, Boshi
- Advisor dc:contributor.advisor
-
- Sun, Huan
Subjects
dc:subject × 2Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1773715796512155