DASH
Repository logo
Communities & Collections
Browse DASH
DASH Stories
Statistics
  1. Home
  2. Faculty of Arts and Sciences
  3. FAS Theses and Dissertations
  4. Mechanistic Control of Language Models

Mechanistic Control of Language Models

Open/View files
tbs.pdf (4.31 MB)
Date
May 12, 2025
Author(s)
Li, Kenneth
The Harvard community has made this article openly available. Please share how this access benefits you.
Citation
Li, Kenneth. 2025. Mechanistic Control of Language Models. Doctoral Dissertation, Harvard University Graduate School of Arts and Sciences.
Abstract
This dissertation talks about mechanistic control of large language models (LLM). The intuition is that, in order to rigorously control large language models, it is beneficial to first understand their inner working mechanisms. Even though a fully mechanistic understanding of language models is far from complete at the time this dissertation is written, I will demonstrate several cases where such understanding provides a useful surface for control. I argue that connecting interpretability to real-life applications--e.g., alignment and safety--offers advantages to the development of both fields. I first position this methodological approach within a broader scientific context, discussing and systematizing the role of interpretability in artificial intelligence research. I then present four intensive case studies, each leveraging certain interpretability insights to control the behavior of language models. The interpretability insights I explored span emergent world representations, representation of internal knowledge, phenomenon of attention decay, and representation of users. The demonstrated effects of control include targeted editing of the world model, reduced hallucination, improved stability of system prompts in long conversations, and better planning in multi-turn dialogue.
Terms of Use
This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service
URI
https://dash.harvard.edu/handle/1/42719451
Subjects

Computer science

Collection
FAS Theses and Dissertations
Metrics
Repository logo
  • CONTACT US
  • OSRDS
  • ABOUT DASH
  • DEPOSITING TO DASH
  • TERMS OF USE
  • REQUEST A WAIVER
  • TAKE DOWN POLICY
  • NAME CHANGE POLICY
  • HARVARD OA POLICIES
  • DASH SUBMITTER AGREEMENT
  • Accessibility
  • Privacy
Creative Commons License BY
Creative Commons Attribution 4.0 International License

Except where otherwise noted, this work is subject to a Creative Commons Attribution 4.0 International License,
which allows anyone to share and adapt our material as long as proper attribution is given.
For details and exceptions, see the Harvard Library Copyright Policy
©2024 Presidents and Fellows of Harvard College.