Publication: Language Models with Retrieval Augmentation and Conditional Computation
| datacite.rights | open.access | |
| dc.contributor.advisor | Chen, Danqi | |
| dc.contributor.author | Zhong, Zexuan | |
| dc.contributor.other | Computer Science Department | |
| dc.date.accessioned | 2025-06-27T14:17:18Z | |
| dc.date.accessioned | 2026-12-04T11:30:12Z | |
| dc.date.available | 2025-06-27T14:17:18Z | |
| dc.date.available | 2026-12-04T11:30:12Z | |
| dc.date.created | 2024-01-01 | |
| dc.date.issued | 2025 | |
| dc.description.abstract | Recent advancements in large language models (LMs) have primarily focused on scaling up model parameters and training data, which improves performance but significantly increases computational costs. Furthermore, conventional parametric LMs are fundamentally incapable of adapting to unseen domains, editing learned knowledge, retaining long-tail knowledge, and are shown to easily leak private data from the training corpus. This thesis explores alternative approaches to scaling LMs while addressing these limitations. Firstly, we study LMs with retrieval augmentation, where LMs leverage external datastores for predictions. We develop TRIME, a novel end-to-end training approach that jointly optimizes LMs and the retrieval models. Our results show that TRIME significantly improves LM performance without increasing the model size or computational budget. Additionally, retrieval-augmented LMs trained with TRIME adapt effectively to previously unseen domains. Secondly, we focus on a fundamental challenge of LMs: editing knowledge stored in their parameters—a critical problem to address as real-world information constantly evolves. We examine state-of-the-art knowledge editing methods and find that existing evaluation paradigms are extremely limited. We propose a novel benchmark MQuAKE, consisting of multi-hop questions that assess whether edited models correctly infer changes entailed by updated facts. We demonstrate that existing knowledge editing methods fail on the constructed multi-hop questions. We also propose a simple retrieval-augmented approach that stores all edited facts externally, outperforming previous methods by a large margin. Thirdly, we explore scaling LMs through conditional computation to reduce computational costs. Specifically, we focus on mixture-of-experts (MoE), a widely used conditional computation technique for efficient scaling. However, training MoE routing networks introduces the challenge of optimizing a non-differentiable, discrete objective. We present a fully differentiable MoE architecture for autoregressive language model pre-training, Lory, based on two key techniques: (1) a causal segment routing strategy for high efficiency of expert merging and (2) a similarity-based data batching method for better expert specialization. Despite segment-level routing, Lory models achieve competitive performance compared to state-of-the-art MoE models with token-level routing, while also capturing domain-level specialization. Overall, our research illuminates a new paradigm in LM scalability, fundamentally addressing critical limitations and advancing the development of more efficient, effective, adaptable, and updatable language models. | |
| dc.format.mimetype | application/pdf | |
| dc.identifier.uri | http://arks.princeton.edu/ark:/88435/dsp016h440w89n | |
| dc.identifier.uri | https://theses-dissertations.princeton.edu/handle/88435/dsp016h440w89n | |
| dc.language.iso | en | |
| dc.publisher | Princeton, NJ : Princeton University | |
| dc.subject | Conditional Computation | |
| dc.subject | Language Models | |
| dc.subject | Mixture of Experts | |
| dc.subject | Retrieval Augmentation | |
| dc.subject.classification | Computer science | |
| dc.subject.classification | Artificial intelligence | |
| dc.title | Language Models with Retrieval Augmentation and Conditional Computation | |
| dc.type | Academic dissertations (Ph.D.) | |
| dspace.entity.type | Publication | |
| pu.date.classyear | 2025 | |
| pu.department | Computer Science |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Zhong_princeton_0181D_15338.pdf
- Size:
- 5.8 MB
- Format:
- Adobe Portable Document Format